Sanity Library Reference Docs
    Preparing search index...

    The Stack ids and scope, with the source of each id

    interface StackConfig {
        organizationId?: string;
        projectId?: string;
        scopeId?: string;
        scopeType?: ScopeType;
        sources: {
            organizationId?: ConfigSource;
            projectId?: ConfigSource;
            stackId?: ConfigSource;
        };
        stackId?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    organizationId?: string
    projectId?: string
    scopeId?: string
    scopeType?: ScopeType

    project when a project id is known, else organization when an organization id is known

    sources: {
        organizationId?: ConfigSource;
        projectId?: ConfigSource;
        stackId?: ConfigSource;
    }

    Which source supplied each id

    stackId?: string