UNPKG

@prismicio/types-internal

Version:
20 lines (19 loc) 761 B
import * as t from "io-ts"; export declare const DateFieldType = "Date"; export declare const DateConfig: t.ExactC<t.PartialC<{ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; placeholder: t.StringC; default: t.StringC; }>>; export declare type DateConfig = t.TypeOf<typeof DateConfig>; export declare const Date: t.ExactC<t.IntersectionC<[t.TypeC<{ type: t.LiteralC<"Date">; }>, t.PartialC<{ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; config: t.ExactC<t.PartialC<{ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; placeholder: t.StringC; default: t.StringC; }>>; }>]>>; export declare type Date = t.TypeOf<typeof Date>;