Sanity Library Reference Docs
    Preparing search index...

    Type Alias ResolveProjectionResult<TProjection, TDocumentType, TSchemaId>Beta

    ResolveProjectionResult: SanityProjectionResult<
        TProjection,
        TDocumentType,
        TSchemaId,
    >

    Resolves a projection using declarations from experimental Typegen. Selects the result by projection string, document type, and schema ID.

    Type Parameters

    • TProjection extends string = string
    • TDocumentType extends string = string
    • TSchemaId extends string = string