@manta-eu/client/shared/memory-schema-property
Reference for @manta-eu/client/shared/memory-schema-property as it is on main.
Type Aliases
CheckedMemorySchemaProperty
CheckedMemorySchemaProperty =
object
Properties
allowedValues
allowedValues:
string[]
defaultValue
defaultValue:
string|null
description
description:
string|null
entityClass
entityClass:
string|null
inferred
inferred:
boolean
keyProperty
keyProperty:
boolean
label
label:
string
maxLength
maxLength:
number|null
maxValue
maxValue:
string|null
minValue
minValue:
string|null
multiValued
multiValued:
boolean
options
options:
MemorySchemaOption[]
pattern
pattern:
string|null
required
required:
boolean
unit
unit:
string|null
valueType
valueType:
MemorySchemaValueType
MemorySchemaOption
MemorySchemaOption =
object
Properties
description
description:
string|null
label
label:
string|null
value
value:
string
MemorySchemaOptionInput
MemorySchemaOptionInput =
object
Properties
description?
optionaldescription?:string|null
label?
optionallabel?:string|null
value
value:
string
MemorySchemaPropertyCheck
MemorySchemaPropertyCheck =
object
Properties
errors
errors:
MemorySchemaValidationError[]
property
property:
CheckedMemorySchemaProperty|null
MemorySchemaPropertyInput
MemorySchemaPropertyInput =
object
Properties
computed?
optionalcomputed?:boolean|null
defaultValue?
optionaldefaultValue?:string|null
description?
optionaldescription?:string|null
entityClass?
optionalentityClass?:string|null
key?
optionalkey?:string|null
keyProperty?
optionalkeyProperty?:boolean|null
label
label:
string
maxLength?
optionalmaxLength?:number|null
maxValue?
optionalmaxValue?:string|null
minValue?
optionalminValue?:string|null
multiValued?
optionalmultiValued?:boolean|null
options?
optionaloptions?: readonlyMemorySchemaOptionInput[] |null
path?
optionalpath?:string|null
pattern?
optionalpattern?:string|null
required?
optionalrequired?:boolean|null
unit?
optionalunit?:string|null
valueType
valueType:
MemorySchemaValueType
MemorySchemaValidationError
MemorySchemaValidationError =
object
Properties
field
field:
string
message
message:
string
Functions
checkMemorySchemaProperty()
checkMemorySchemaProperty(
input,field,compilePattern):MemorySchemaPropertyCheck
Parameters
input
Omit<MemorySchemaPropertyInput, "valueType"> & object
field
string
compilePattern
CompileMemoryValuePattern | null
Returns
deriveMemoryPropertyKey()
deriveMemoryPropertyKey(
label):string
Parameters
label
string
Returns
string
deriveMemorySchemaKey()
deriveMemorySchemaKey(
label):string
Parameters
label
string
Returns
string
memoryPropertyKeyProblem()
memoryPropertyKeyProblem(
key):string|null
Parameters
key
string
Returns
string | null
trimmedOrNull()
trimmedOrNull(
value):string|null
Parameters
value
string | null | undefined
Returns
string | null