@karmaniverous/entity-manager
    Preparing search index...

    Type Alias ShardQueryMap<CC, ET, ITS, CF, K>Protected

    ShardQueryMap: CF extends { indexes?: infer I }
        ? I extends Record<string, unknown>
            ? Record<
                ITS & keyof I & string,
                ShardQueryFunction<CC, ET, ITS & keyof I & string, CF, K>,
            >
            : Record<ITS, ShardQueryFunction<CC, ET, ITS, CF, K>>
        : Record<ITS, ShardQueryFunction<CC, ET, ITS, CF, K>>

    Relates a specific index token to a ShardQueryFunction to be performed on that index.

    Type Parameters

    • CC extends BaseConfigMap
    • ET extends EntityToken<CC>

      Entity token narrowing the function item types.

    • ITS extends string

      Index token subset (inferred from object keys).

    • CF = unknown

      Optional values-first config literal type for narrowing. When provided and it carries an indexes object with preserved literal keys (prefer as const at call sites), the map keys are constrained to that set. Excess keys are rejected by excess property checks on object literals.

    • K = unknown

      Optional projection keys; narrows item shape when provided.