UNPKG

@prismicio/types-internal

Version:
20 lines (19 loc) 866 B
import * as t from "io-ts"; export declare const IntegrationFieldType = "IntegrationFields"; export declare const IntegrationFieldConfig: t.ExactC<t.PartialC<{ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; placeholder: t.StringC; catalog: t.StringC; }>>; export declare type IntegrationFieldConfig = t.TypeOf<typeof IntegrationFieldConfig>; export declare const IntegrationField: t.ExactC<t.IntersectionC<[t.TypeC<{ type: t.LiteralC<"IntegrationFields">; }>, 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; catalog: t.StringC; }>>; }>]>>; export declare type IntegrationField = t.TypeOf<typeof IntegrationField>;