@prismicio/types-internal
Version:
Prismic types for Custom Types and Prismic Data
20 lines (19 loc) • 866 B
TypeScript
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>;