YearConstraints
Defined in: field/types/Year.ts:16
Year-specific constraints
Extends
Section titled “Extends”BaseConstraints
Properties
Section titled “Properties”
optionalenum:string[] |number[]
Defined in: field/types/Year.ts:41
Restrict values to a specified set of years Can be an array of numbers or strings that parse to years
exclusiveMaximum?
Section titled “exclusiveMaximum?”
optionalexclusiveMaximum:string|number
Defined in: field/types/Year.ts:35
Exclusive maximum year value
exclusiveMinimum?
Section titled “exclusiveMinimum?”
optionalexclusiveMinimum:string|number
Defined in: field/types/Year.ts:30
Exclusive minimum year value
maximum?
Section titled “maximum?”
optionalmaximum:string|number
Defined in: field/types/Year.ts:25
Maximum allowed year
minimum?
Section titled “minimum?”
optionalminimum:string|number
Defined in: field/types/Year.ts:20
Minimum allowed year
required?
Section titled “required?”
optionalrequired:boolean
Defined in: field/types/Base.ts:62
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: field/types/Base.ts:67
Indicates if values must be unique within the column
Inherited from
Section titled “Inherited from”BaseConstraints.unique