UNPKG

@prismicio/types-internal

Version:
20 lines (19 loc) 806 B
import * as t from "io-ts"; export declare const TimestampFieldType = "Timestamp"; export declare const TimestampConfig: 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 TimestampConfig = t.TypeOf<typeof TimestampConfig>; export declare const Timestamp: t.ExactC<t.IntersectionC<[t.TypeC<{ type: t.LiteralC<"Timestamp">; }>, 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 Timestamp = t.TypeOf<typeof Timestamp>;