UNPKG

@prismicio/client

Version:

The official JavaScript + TypeScript client library for Prismic

34 lines (32 loc) 903 B
import { CustomTypeModelFieldType } from "./types.cjs"; //#region src/types/model/link.d.ts /** * A link custom type field. * * More details: {@link https://prismic.io/docs/link} */ interface CustomTypeModelLinkField { type: typeof CustomTypeModelFieldType.Link; config?: { label?: string | null; placeholder?: string; select?: null | (typeof CustomTypeModelLinkSelectType)[keyof typeof CustomTypeModelLinkSelectType]; allowText?: boolean; allowTargetBlank?: boolean; repeat?: boolean; variants?: string[]; }; } /** * Type of a link custom type field. * * More details: {@link https://prismic.io/docs/link} */ declare const CustomTypeModelLinkSelectType: { readonly Document: "document"; readonly Media: "media"; readonly Web: "web"; }; //#endregion export { CustomTypeModelLinkField, CustomTypeModelLinkSelectType }; //# sourceMappingURL=link.d.cts.map