Type Alias ConfigEntities<M, HashKey, RangeKey, T>Protected

ConfigEntities<M, HashKey, RangeKey, T>: ([keyof Exactify<M>] extends [never]
    ? never
    : {
        [E in keyof Exactify<M>]: ConfigEntity<E, M, HashKey, RangeKey, T>
    }) | Record<string, never>

Returns the entities property of the Config tyoe.

Type Parameters

  • M extends EntityMap

    The EntityMap type that identitfies the Entity & related property types to be managed by EntityManager.

  • HashKey extends string

    The property used across the configuration to store an Entity's sharded hash key. Should be configured as the table hash key. Must not conflict with any Entity property.

  • RangeKey extends string

    The property used across the configuration to store an Entity's range key. Should be configured as the table range key. Must not conflict with any Entity property.

  • T extends TranscodeMap

    The TranscodeMap identifying transcodable property types. Only Entity properties of these types can be components of an index or a generated property.

All properties of M must be represented, and no extra properties are allowed.