@prismicio/client
Version:
The official JavaScript + TypeScript client library for Prismic
18 lines (17 loc) • 524 B
TypeScript
import type { CustomTypeModelFieldType } from "./types";
import type { CustomTypeModelLinkSelectType } from "./link";
/**
* A link to media custom type field.
*
* More details: {@link https://prismic.io/docs/media}
*/
export interface CustomTypeModelLinkToMediaField {
type: typeof CustomTypeModelFieldType.Link;
config?: {
label?: string | null;
placeholder?: string;
select: typeof CustomTypeModelLinkSelectType.Media;
allowText?: boolean;
variants?: string[];
};
}