Type Alias ValidateConfigMap<C>Protected

ValidateConfigMap<C>: MutuallyExclusive<[C["HashKey"], C["RangeKey"], C["ShardedKeys"], C["UnshardedKeys"], keyof FlattenEntityMap<C["EntityMap"]>]> extends true
    ? NotNever<C, ["HashKey" | "RangeKey"]> extends true
        ? C
        : Exclude<NotNever<C, ["HashKey" | "RangeKey"]>, true>
    : Exclude<MutuallyExclusive<[C["HashKey"], C["RangeKey"], C["ShardedKeys"], C["UnshardedKeys"], keyof FlattenEntityMap<C["EntityMap"]>]>, true>

Validates a type derived from BaseConfigMap to ensure HashKey and RangeKey are both defined and that all sets of special keys are mutually exclusive.

Type Parameters