DurationConstraints
Defined in: core/build/field/types/Duration.d.ts:14
Duration-specific constraints
Extends
Section titled “Extends”BaseConstraints
Properties
Section titled “Properties”
optionalenum:string[]
Defined in: core/build/field/types/Duration.d.ts:27
Restrict values to a specified set of durations Should be in ISO 8601 duration format
maximum?
Section titled “maximum?”
optionalmaximum:string
Defined in: core/build/field/types/Duration.d.ts:22
Maximum allowed duration (ISO 8601 format)
minimum?
Section titled “minimum?”
optionalminimum:string
Defined in: core/build/field/types/Duration.d.ts:18
Minimum allowed duration (ISO 8601 format)
required?
Section titled “required?”
optionalrequired:boolean
Defined in: core/build/field/types/Base.d.ts:51
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/build/field/types/Base.d.ts:55
Indicates if values must be unique within the column
Inherited from
Section titled “Inherited from”BaseConstraints.unique