dyna-record
    Preparing search index...

    Type Alias NarrowByNames<T, Names>

    NarrowByNames: [ResolveEntityByName<T, Names>] extends [never]
        ? QueryResults<T>
        : DistributeEntityAttributes<ResolveEntityByName<T, Names>>[]

    Narrows query results to specific entity types identified by name. Falls back to QueryResults if names don't resolve to known entities.

    Type Parameters

    • T extends default

      The root entity being queried.

    • Names extends string

      Union of entity name string literals to narrow to.