Sanity Library Reference Docs
    Preparing search index...
    • Every child cohort a definition spawns, in definition order. An action's spawn block is the only carrier, and one action declares at most one cohort, so each address appears at most once.

      Parameters

      • def: {
            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 SpawnSite[]