UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

18 lines (14 loc) 430 B
import {type FieldGroup} from '@sanity/types' /** * Max supported field depth. Fields deeper than this will be considered hidden. */ export const MAX_FIELD_DEPTH = 20 /** * Start auto-collapsing fields at this nesting level unless schema/field configuration says otherwise */ export const AUTO_COLLAPSE_DEPTH = 3 export const ALL_FIELDS_GROUP: FieldGroup = { name: 'all-fields', title: 'All fields', hidden: false, }