Skip to content

TimeConstraints

Defined in: core/field/types/Time.ts:24

Time-specific constraints

  • BaseConstraints

optional enum: string[]

Defined in: core/field/types/Time.ts:39

Restrict values to a specified set of times Should be in string time format (e.g., “HH:MM:SS”)


optional maximum: string

Defined in: core/field/types/Time.ts:33

Maximum allowed time value


optional minimum: string

Defined in: core/field/types/Time.ts:28

Minimum allowed time value


optional required: boolean

Defined in: core/field/types/Base.ts:52

Indicates if field is allowed to be null/empty

BaseConstraints.required


optional unique: boolean

Defined in: core/field/types/Base.ts:57

Indicates if values must be unique within the column

BaseConstraints.unique