UnknownType
Hierarchy
- NodeTrait
- UnknownType
Index
Constructors
publicconstructor
Parameters
__namedParameters: SchemaOptions<Partial<UnknownOptions>>
Returns UnknownType
Properties
public_attributes
Type declaration
generic: GenericAttributes
typescript: TypescriptAttributes
publicoptional_canReference
publicoptional_children
publicoptional_connections
public_definition
publicoptional_hooks
public_id
public_isCommutative
publicoptional_name
public_options
publicoptional_sourcePath
publicoptional_transform
Type declaration
optionalaliasName?: (name: string) => string
Parameters
name: string
Returns string
optionalreferenceName?: (name: string) => string
Parameters
name: string
Returns string
optionalsymbolName?: (name: string) => string
Parameters
name: string
Returns string
public_type
publicinfer
publicinput
Accessors
public_output
Returns undefined | (TypescriptOutput | GenericOutput)[]
Methods
publicarbitrary
Parameters
options: Partial<UnknownGenerator>
Returns UnknownType
publicarray
Parameters
options: SchemaOptions<ArrayOptions> = {}
Returns ArrayType<UnknownType>
publiccompile
Parameters
__namedParameters: { formats?: boolean } = {}
optionalformats: boolean = true
Returns Schema<unknown>
publicdefault
Parameters
value: unknown
Returns DefaultType<UnknownType>
publicdescribe
Parameters
description: string
Returns this
publicjsonschema
Parameters
schema: JsonSchema<unknown>
Returns this
publicnullable
Returns NullableType<UnknownType>
publicoptional
Returns OptionalType<UnknownType>
publicreference
Parameters
options: SchemaOptions<object> = {}
Returns RefType<UnknownType>
publicvalidator
Parameters
validator: Partial<ValidatorOptions> = {}
Returns this