@prismicio/client
Version:
The official JavaScript + TypeScript client library for Prismic
20 lines (17 loc) • 478 B
text/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[]
}
}