UNPKG

dyngoose

Version:

Elegant DynamoDB object modeling for Typescript

10 lines 347 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PrimaryKey = void 0; function PrimaryKey(primaryKey, sortKey) { return (tableClass, propertyKey) => { tableClass.schema.setPrimaryKey(primaryKey, sortKey, propertyKey); }; } exports.PrimaryKey = PrimaryKey; //# sourceMappingURL=primary-key.js.map