IntegerConstraints
Defined in: core/field/types/Integer.ts:38
Internal
Integer-specific constraints
Extends
Section titled “Extends”BaseConstraints
Properties
Section titled “Properties”
optionalenum:string[] |number[]
Defined in: core/field/types/Integer.ts:63
Restrict values to a specified set Can be an array of integers or strings that parse to integers
exclusiveMaximum?
Section titled “exclusiveMaximum?”
optionalexclusiveMaximum:string|number
Defined in: core/field/types/Integer.ts:57
Exclusive maximum allowed value
exclusiveMinimum?
Section titled “exclusiveMinimum?”
optionalexclusiveMinimum:string|number
Defined in: core/field/types/Integer.ts:52
Exclusive minimum allowed value
maximum?
Section titled “maximum?”
optionalmaximum:string|number
Defined in: core/field/types/Integer.ts:47
Maximum allowed value
minimum?
Section titled “minimum?”
optionalminimum:string|number
Defined in: core/field/types/Integer.ts:42
Minimum allowed value
required?
Section titled “required?”
optionalrequired:boolean
Defined in: core/field/types/Base.ts:57
Indicates if field is allowed to be null/empty
Inherited from
Section titled “Inherited from”BaseConstraints.required
unique?
Section titled “unique?”
optionalunique:boolean
Defined in: core/field/types/Base.ts:62
Indicates if values must be unique within the column
Inherited from
Section titled “Inherited from”BaseConstraints.unique