DateConstraints
Defined in: core/field/types/Date.ts:24
Date-specific constraints
Extends
Section titled “Extends”BaseConstraints
Properties
Section titled “Properties”
optionalenum:string[]
Defined in: core/field/types/Date.ts:39
Restrict values to a specified set of dates Should be in string date format (e.g., “YYYY-MM-DD”)
maximum?
Section titled “maximum?”
optionalmaximum:string
Defined in: core/field/types/Date.ts:33
Maximum allowed date value
minimum?
Section titled “minimum?”
optionalminimum:string
Defined in: core/field/types/Date.ts:28
Minimum allowed date 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