Sanity Library Reference Docs
    Preparing search index...

    Interface QueryResponseInitial<QueryResponseResult>

    interface QueryResponseInitial<QueryResponseResult> {
        data: QueryResponseResult;
        perspective?: ClientPerspective;
        sourceMap: undefined | ContentSourceMap;
    }

    Type Parameters

    • QueryResponseResult
    Index

    Properties

    perspective?: ClientPerspective

    The perspective used to fetch the data, if not provided it'll assume 'published'

    sourceMap: undefined | ContentSourceMap