DateMetaMetadata union for Date-specific validation checks (valid, min, max, between).
Source effect/SchemaRepresentation.ts:6378 lines
export type type DateMeta =
| {
readonly _tag: "isDateValid"
}
| {
readonly _tag: "isGreaterThanDate"
readonly exclusiveMinimum: globalThis.Date
}
| {
readonly _tag: "isGreaterThanOrEqualToDate"
readonly minimum: globalThis.Date
}
| {
readonly _tag: "isLessThanDate"
readonly exclusiveMaximum: globalThis.Date
}
| {
readonly _tag: "isLessThanOrEqualToDate"
readonly maximum: globalThis.Date
}
| {
readonly _tag: "isBetweenDate"
readonly minimum: globalThis.Date
readonly maximum: globalThis.Date
readonly exclusiveMinimum?:
| boolean
| undefined
readonly exclusiveMaximum?:
| boolean
| undefined
}
Metadata union for Date-specific validation checks (valid, min, max, between).
DateMeta = import SchemaSchema.Annotations.interface Annotations.BuiltInMetaDefinitionsRegistry of metadata payloads emitted by built-in schema filters and checks.
Details
Do not augment this interface with custom metadata; extend MetaDefinitions
instead.
BuiltInMetaDefinitions[
| "isDateValid"
| "isGreaterThanDate"
| "isGreaterThanOrEqualToDate"
| "isLessThanDate"
| "isLessThanOrEqualToDate"
| "isBetweenDate"
]Referenced by 1 symbols