Sanity App SDK
    Preparing search index...

    Variable getPerspectiveStateConst

    getPerspectiveState: BoundStoreAction<
        ReleasesStoreState,
        [options?: PerspectiveHandle],
        StateSource<
            undefined
            | string[]
            | "published"
            | "drafts"
            | "previewDrafts"
            | "raw",
        >,
    > = ...

    Provides a subscribable state source for a "perspective" for the Sanity client, which is used to fetch documents as though certain Content Releases are active.

    The Sanity instance to get the perspective for

    The options for the perspective -- usually a release name

    A subscribable perspective value, usually a list of applicable release names, or a single release name / default perspective (such as 'drafts').