RefType <Reference>
Hierarchy
- Node
- NodeTrait
- RefType
Index
Constructors
publicconstructor
Type parameters
Parameters
reference: ConstExpr<Reference>
options: SchemaOptions<object, Reference[infer]>
Returns RefType<Reference>
Properties
public_attributes
Type declaration
generic: GenericAttributes
typescript: TypescriptAttributes
publicoptional_canReference
public_children
publicoptional_connections
public_definition
public_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
publicintrinsic
Accessors
public_output
Returns undefined | (TypescriptOutput | GenericOutput)[]
publicitem
Returns Reference
Methods
publicarray
Parameters
options: SchemaOptions<ArrayOptions> = {}
Returns ArrayType<RefType<Reference>>
publiccompile
Parameters
__namedParameters: { formats?: boolean } = {}
optionalformats: boolean = true
Returns Schema<Reference[infer]>
publicdefault
Parameters
value: Reference[input]
Returns DefaultType<RefType<Reference>>
publicdescribe
Parameters
description: string
Returns this
publicjsonschema
Parameters
schema: JsonSchema<Reference[infer]>
Returns this
publicnullable
Returns NullableType<RefType<Reference>>
publicoptional
Returns OptionalType<RefType<Reference>>
publicreference
Parameters
options: SchemaOptions<object> = {}
Returns RefType<Intrinsic<Reference>>
publicvalidator
Parameters
validator: Partial<ValidatorOptions> = {}
Returns this
publicstatic_from
Type parameters
- Reference: Node
Parameters
ref: ConstExpr<Reference>
options: SchemaOptions<object>
Returns RefType<Intrinsic<Reference>>