UNPKG

@prismicio/types-internal

Version:
17 lines (16 loc) 725 B
import * as t from "io-ts"; import type { LegacyContentCtx, WithTypes } from "../../LegacyContentCtx"; export declare const IntegrationFieldContentType = "IntegrationFieldsContent"; export declare const isIntegrationFieldContent: (u: unknown) => u is { __TYPE__: "IntegrationFieldsContent"; value: string; }; export declare const IntegrationFieldLegacy: (ctx: LegacyContentCtx) => t.Type<{ __TYPE__: "IntegrationFieldsContent"; value: string; }, WithTypes<string>, unknown>; export declare const IntegrationFieldContent: t.ExactC<t.TypeC<{ __TYPE__: t.LiteralC<"IntegrationFieldsContent">; value: t.StringC; }>>; export declare type IntegrationFieldContent = t.TypeOf<typeof IntegrationFieldContent>;