Sanity App SDK
    Preparing search index...

    Interface SanityConfig

    Represents the complete configuration for a Sanity SDK instance

    interface SanityConfig {
        auth?: AuthConfig;
        dataset?: string;
        perspective?: ReleasePerspective | ClientPerspective;
        projectId?: string;
        studioMode?: { enabled: boolean };
    }

    Hierarchy (View Summary)

    Index

    Properties

    auth?: AuthConfig

    Authentication configuration for the instance

    Merged with parent configurations when using createChild

    dataset?: string
    perspective?: ReleasePerspective | ClientPerspective
    projectId?: string
    studioMode?: { enabled: boolean }

    Studio mode configuration for use of the SDK in a Sanity Studio

    Controls whether studio mode features are enabled