Skip to content

IntegerConstraints

Defined in: core/build/field/types/Integer.d.ts:35

Internal

Integer-specific constraints

  • BaseConstraints

optional enum: string[] | number[]

Defined in: core/build/field/types/Integer.d.ts:56

Restrict values to a specified set Can be an array of integers or strings that parse to integers


optional exclusiveMaximum: string | number

Defined in: core/build/field/types/Integer.d.ts:51

Exclusive maximum allowed value


optional exclusiveMinimum: string | number

Defined in: core/build/field/types/Integer.d.ts:47

Exclusive minimum allowed value


optional maximum: string | number

Defined in: core/build/field/types/Integer.d.ts:43

Maximum allowed value


optional minimum: string | number

Defined in: core/build/field/types/Integer.d.ts:39

Minimum allowed value


optional required: boolean

Defined in: core/build/field/types/Base.d.ts:51

Indicates if field is allowed to be null/empty

BaseConstraints.required


optional unique: boolean

Defined in: core/build/field/types/Base.d.ts:55

Indicates if values must be unique within the column

BaseConstraints.unique