@prismicio/client
Version:
The official JavaScript + TypeScript client library for Prismic
16 lines (15 loc) • 414 B
TypeScript
import type { CustomTypeModelFieldType } from "./types";
/**
* A boolean custom type field.
*
* More details: {@link https://prismic.io/docs/boolean}
*/
export interface CustomTypeModelBooleanField {
type: typeof CustomTypeModelFieldType.Boolean;
config?: {
label?: string | null;
default_value?: boolean;
placeholder_true?: string;
placeholder_false?: string;
};
}