UNPKG

@nerdware/ddb-single-table

Version:

A schema-based DynamoDB modeling tool, high-level API, and type-generator built to supercharge single-table designs!⚡

15 lines 701 B
import type { AttributeName } from "./AttributeName.js"; import type { ModelSchemaAttributeConfig } from "./ModelSchemaAttributeConfig.js"; /** * This type reflects `Object.entries(modelSchema)`. * * This type is used by the `Model` class to achieve the following: * * - Ensure `IOAction`s aren't needlessly re-creating schema entries * using `Object.entries(schema)` on every call. * - Ensure that the order of attributes processed by `IOAction`s is * always consistent. * - Ensure that key attributes are always processed before non-key attributes. */ export type ModelSchemaEntries = Array<[AttributeName, ModelSchemaAttributeConfig]>; //# sourceMappingURL=ModelSchemaEntries.d.ts.map