UNPKG

@sprucelabs/schema

Version:

Static and dynamic binding plus runtime validation and transformation to ensure your app is sound. 🤓

7 lines (6 loc) • 274 B
import { FieldDefinition } from './field.static.types'; export type DateFieldValue = number; export type DateFieldDefinition = FieldDefinition<DateFieldValue> & { /** * A date/time field that stores everything in GMT and handles all the timezone */ type: 'date'; };