Type Alias: AnalyzeSchemaOptions
AnalyzeSchemaOptions =
object
Defined in: analyzeSchema.ts:47
Options for analyzeSchema.
Properties
formulaConflictBehavior?
optionalformulaConflictBehavior?:"ignore"|"warn"|"error"
Defined in: analyzeSchema.ts:59
What to do when multiple allOf branches define a formula for the same path.
'ignore': silently take the last definition.'warn'(default): emitconsole.warnand take the last definition.'error': throw aTypeErrorsynchronously.
formulaContextKey?
optionalformulaContextKey?:string
Defined in: analyzeSchema.ts:51
Schema key that selects the context mode for a computed field. Defaults to 'x-formula-context'.
formulaKey?
optionalformulaKey?:string
Defined in: analyzeSchema.ts:49
Schema key that marks a field as computed. Defaults to 'x-formula'.