Sanity Library Reference Docs
    Preparing search index...

    Interface ProjectionValuePending<TValue>

    The result of a projection query

    interface ProjectionValuePending<TValue extends object> {
        data: TValue & { _status?: DocumentStatus } | null;
        isPending: boolean;
    }

    Type Parameters

    • TValue extends object
    Index

    Properties

    Properties

    data: TValue & { _status?: DocumentStatus } | null

    The projected fields, plus the _status the projection store adds to every result

    isPending: boolean