routier-collection / core/src / SchemaDefault
Class: SchemaDefault<T, I, TModifiers>
Defined in: core/src/schema/property/modifiers/SchemaDefault.ts:7
Extends
SchemaBase<T,TModifiers>
Type Parameters
T
T extends any
I
I
TModifiers
TModifiers extends SchemaModifiers
Constructors
Constructor
new SchemaDefault<
T,I,TModifiers>(defaultValue,injected,current):SchemaDefault<T,I,TModifiers>
Defined in: core/src/schema/property/modifiers/SchemaDefault.ts:11
Parameters
defaultValue
DefaultValue<T, I>
injected
I
current
SchemaBase<T, TModifiers>
Returns
SchemaDefault<T, I, TModifiers>
Overrides
Properties
modifiers
modifiers:
TModifiers
Defined in: core/src/schema/property/base/SchemaBase.ts:6
Inherited from
isNullable
isNullable:
boolean=false
Defined in: core/src/schema/property/base/SchemaBase.ts:8
Inherited from
isUnmapped
isUnmapped:
boolean=false
Defined in: core/src/schema/property/base/SchemaBase.ts:9
Inherited from
isOptional
isOptional:
boolean=false
Defined in: core/src/schema/property/base/SchemaBase.ts:10
Inherited from
isKey
isKey:
boolean=false
Defined in: core/src/schema/property/base/SchemaBase.ts:11
Inherited from
isIdentity
isIdentity:
boolean=false
Defined in: core/src/schema/property/base/SchemaBase.ts:12
Inherited from
isReadonly
isReadonly:
boolean=false
Defined in: core/src/schema/property/base/SchemaBase.ts:13
Inherited from
isDistict
isDistict:
boolean=false
Defined in: core/src/schema/property/base/SchemaBase.ts:14
Inherited from
indexes
indexes:
string[] =[]
Defined in: core/src/schema/property/base/SchemaBase.ts:15
Inherited from
fromPropertyName
fromPropertyName:
string=null
Defined in: core/src/schema/property/base/SchemaBase.ts:16
Inherited from
injected
injected:
any=null
Defined in: core/src/schema/property/base/SchemaBase.ts:18
Inherited from
defaultValue
defaultValue:
DefaultValue<T> =null
Defined in: core/src/schema/property/base/SchemaBase.ts:19
Inherited from
valueSerializer
valueSerializer:
PropertySerializer<T> =null
Defined in: core/src/schema/property/base/SchemaBase.ts:20
Inherited from
valueDeserializer
valueDeserializer:
PropertyDeserializer<T> =null
Defined in: core/src/schema/property/base/SchemaBase.ts:21
Inherited from
type
type:
SchemaTypes
Defined in: core/src/schema/property/base/SchemaBase.ts:22
Inherited from
functionBody
functionBody:
FunctionBody<any,T>
Defined in: core/src/schema/property/base/SchemaBase.ts:23
Inherited from
literals
readonlyliterals:T[] =[]
Defined in: core/src/schema/property/base/SchemaBase.ts:25
Inherited from
instance
instance:
T
Defined in: core/src/schema/property/modifiers/SchemaDefault.ts:8
Overrides
Methods
serialize()
serialize(
serializer):SchemaSerialize<T,"serialize"|TModifiers>
Defined in: core/src/schema/property/modifiers/SchemaDefault.ts:18
Parameters
serializer
Returns
SchemaSerialize<T, "serialize" | TModifiers>
deserialize()
deserialize(
deserializer):SchemaDeserialize<T,"deserialize"|TModifiers>
Defined in: core/src/schema/property/modifiers/SchemaDefault.ts:22
Parameters
deserializer
Returns
SchemaDeserialize<T, "deserialize" | TModifiers>
from()
from(
propertyName):SchemaFrom<T,TModifiers>
Defined in: core/src/schema/property/modifiers/SchemaDefault.ts:26
Parameters
propertyName
string
Returns
SchemaFrom<T, TModifiers>