dyna-record
    Preparing search index...

    Type Alias EntityKeysWithIncludedAssociations<T, P>

    EntityKeysWithIncludedAssociations: {
        [K in P]: T[K] extends default
            ? EntityInstance<T[K]>
            : T[K] extends default[]
                ? EntityInstance<T[K][number]>[]
                : T[K] extends default
                | undefined
                    ? EntityInstance<Exclude<T[K], undefined>> | undefined
                    : T[K]
    }

    Given an entity type T and a set of keys, produce the output type that augments the entity attributes with included associations.

    Type Parameters