IntegerType
Hierarchy
- NodeTrait
- IntegerType
Index
Constructors
Properties
Accessors
Methods
Constructors
publicconstructor
Parameters
__namedParameters: SchemaOptions<Partial<IntegerOptions>>
Returns IntegerType
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<IntegerGenerator>
Returns IntegerType
publicarray
Parameters
options: SchemaOptions<ArrayOptions> = {}
Returns ArrayType<IntegerType>
publiccompile
Parameters
__namedParameters: { formats?: boolean } = {}
optionalformats: boolean = true
Returns Schema<number>
publicdefault
Parameters
value: number
Returns DefaultType<IntegerType>
publicdescribe
Parameters
description: string
Returns this
publicgt
Parameters
value: number
Returns IntegerType
publicgte
Parameters
value: number
Returns IntegerType
publicjsonschema
Parameters
schema: JsonSchema<number>
Returns this
publiclt
Parameters
value: number
Returns IntegerType
publiclte
Parameters
value: number
Returns IntegerType
publicmultipleOf
Parameters
value: number
Returns IntegerType
publicnegative
Returns IntegerType
publicnonnegative
Returns IntegerType
publicnonpositive
Returns IntegerType
publicnullable
Returns NullableType<IntegerType>
publicoptional
Returns OptionalType<IntegerType>
publicpositive
Returns IntegerType
publicreference
Parameters
options: SchemaOptions<object> = {}
Returns RefType<IntegerType>
publicvalidator
Parameters
validator: Partial<ValidatorOptions> = {}
Returns this