Sanity Library Reference Docs
    Preparing search index...

    Variable ALL_FIELDS_GROUPConst

    ALL_FIELDS_GROUP: FieldGroup = ...

    The "all fields" group definition Users can import this to create a custom "all fields" group. Name must be all-fields to be considered an "all fields" group.


    const author = defineType({
    name: 'author',
    title: 'Author',
    type: 'document',
    groups: [
    {
    ...ALL_FIELDS_GROUP,
    hidden: true,
    },
    ],
    })