Sanity Library Reference Docs
    Preparing search index...

    Type Alias SanityClientConfig

    Narrow client interface — only needs config(). Used by resolveApplication which doesn't need URL generation.

    type SanityClientConfig = {
        config(): { apiHost?: string; dataset?: string; projectId?: string };
    }
    Index

    Methods

    Methods

    • Returns { apiHost?: string; dataset?: string; projectId?: string }