@prismicio/client
Version:
The official JavaScript + TypeScript client library for Prismic
16 lines (15 loc) • 380 B
TypeScript
import type { CustomTypeModelFieldType } from "./types";
/**
* A number custom type field.
*
* More details: {@link https://prismic.io/docs/number}
*/
export interface CustomTypeModelNumberField {
type: typeof CustomTypeModelFieldType.Number;
config?: {
label?: string | null;
placeholder?: string;
min?: number;
max?: number;
};
}