Sanity Library Reference Docs
    Preparing search index...

    A field reference with scope optional; desugar resolves it lexically (activity → stage → workflow) into StoredFieldRef.

    interface AuthoringFieldRef {
        field: string;
        scope?: "workflow" | "stage" | "activity";
    }
    Index

    Properties

    Properties

    field: string = NonEmpty
    scope?: "workflow" | "stage" | "activity" = ...