UNPKG

@prismicio/client

Version:

The official JavaScript + TypeScript client library for Prismic

29 lines (28 loc) 804 B
import type { CustomTypeModelFieldType } from "./types"; /** * A link custom type field. * * More details: {@link https://prismic.io/docs/link} */ export 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} */ export declare const CustomTypeModelLinkSelectType: { readonly Document: "document"; readonly Media: "media"; readonly Web: "web"; };