UNPKG

@nerdware/ddb-single-table

Version:

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

10 lines 438 B
import type { IOAction } from "./types/index.js"; /** * This `IOAction` swaps attribute-names with their corresponding aliases: * - `toDB`: replaces "alias" keys with attribute names * - `fromDB`: replaces attribute names with "alias" keys * * @throws If an attribute is not defined in the schema, and `allowUnknownAttributes` is not `true`. */ export declare const aliasMapping: IOAction; //# sourceMappingURL=aliasMapping.d.ts.map