Sanity Library Reference Docs
    Preparing search index...
    • Whether a document write can start definition: it needs a standalone lifecycle, an autonomous start kind, and a subject entry. The caller need not prefilter.

      Parameters

      • definition: {
            description?: string;
            fields?: FieldEntry[];
            groups?: Group[];
            initialStage: string;
            lifecycle?: WorkflowLifecycle;
            name: string;
            predicates?: Record<string, string>;
            roleAliases?: RoleAliases;
            semantics?: Semantic[];
            stages: Stage[];
            start?: StartBlock;
            title: string;
        }

      Returns boolean