Sanity Library Reference Docs
    Preparing search index...

    Interface QueryStoreState<QueryResponseResult, QueryResponseError>

    interface QueryStoreState<QueryResponseResult, QueryResponseError> {
        data?: QueryResponseResult;
        error?: QueryResponseError;
        loading: boolean;
        perspective?: ClientPerspective;
        sourceMap?: ContentSourceMap;
    }

    Type Parameters

    • QueryResponseResult
    • QueryResponseError
    Index

    Properties

    loading: boolean
    perspective?: ClientPerspective
    sourceMap?: ContentSourceMap