cmp-aws-database
Version:
The package "cmp-aws-database" is for its database, which defines global tables. These tables are designed to be imported and used across multiple applications of "craft-my-plate."
54 lines • 5.08 kB
JavaScript
;
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultPlattersItems = void 0;
const annotations_1 = require("@nova-odm/annotations");
const base_model_1 = require("../../base-model");
let DefaultPlattersItems = class DefaultPlattersItems extends base_model_1.BaseModel {
};
exports.DefaultPlattersItems = DefaultPlattersItems;
__decorate([
(0, annotations_1.hashKey)({ type: "String" })
], DefaultPlattersItems.prototype, "itemId", void 0);
__decorate([
(0, annotations_1.rangeKey)({ type: "String" }),
(0, annotations_1.attribute)({ indexKeyConfigurations: { "platterIndex": "HASH" }, type: 'String' })
], DefaultPlattersItems.prototype, "platterId", void 0);
__decorate([
(0, annotations_1.attribute)({
indexKeyConfigurations: { "platterCategoryIndex": "RANGE" }, type: 'String'
})
], DefaultPlattersItems.prototype, "categoryId", void 0);
__decorate([
(0, annotations_1.attribute)()
], DefaultPlattersItems.prototype, "categoryName", void 0);
__decorate([
(0, annotations_1.attribute)()
], DefaultPlattersItems.prototype, "itemName", void 0);
__decorate([
(0, annotations_1.attribute)()
], DefaultPlattersItems.prototype, "itemBasePrice", void 0);
__decorate([
(0, annotations_1.attribute)()
], DefaultPlattersItems.prototype, "itemQuantity", void 0);
__decorate([
(0, annotations_1.attribute)()
], DefaultPlattersItems.prototype, "itemQuantityUnit", void 0);
__decorate([
(0, annotations_1.attribute)()
], DefaultPlattersItems.prototype, "itemMinPrice", void 0);
__decorate([
(0, annotations_1.attribute)()
], DefaultPlattersItems.prototype, "platterName", void 0);
__decorate([
(0, annotations_1.attribute)()
], DefaultPlattersItems.prototype, "premium", void 0);
exports.DefaultPlattersItems = DefaultPlattersItems = __decorate([
(0, annotations_1.table)("DefaultPlatterItemsTable")
], DefaultPlattersItems);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdF9wbGF0dGVyc19pdGVtcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jdXN0b21lci11c2VyL2RlZmF1bHQtcGxhdHRlci9kZWZhdWx0X3BsYXR0ZXJzX2l0ZW1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBLHVEQUE0RTtBQUM1RSxpREFBNkM7QUFHdEMsSUFBTSxvQkFBb0IsR0FBMUIsTUFBTSxvQkFBcUIsU0FBUSxzQkFBUztDQTRCbEQsQ0FBQTtBQTVCWSxvREFBb0I7QUFFN0I7SUFEQyxJQUFBLHFCQUFPLEVBQUMsRUFBRSxJQUFJLEVBQUUsUUFBUSxFQUFFLENBQUM7b0RBQ2I7QUFHZjtJQUZDLElBQUEsc0JBQVEsRUFBQyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQztJQUM1QixJQUFBLHVCQUFTLEVBQUMsRUFBRSxzQkFBc0IsRUFBRSxFQUFFLGNBQWMsRUFBRSxNQUFNLEVBQUUsRUFBRSxJQUFJLEVBQUUsUUFBUSxFQUFFLENBQUM7dURBQ2hFO0FBS2xCO0lBSEMsSUFBQSx1QkFBUyxFQUFDO1FBQ1Asc0JBQXNCLEVBQUUsRUFBRSxzQkFBc0IsRUFBRSxPQUFPLEVBQUUsRUFBRSxJQUFJLEVBQUUsUUFBUTtLQUM5RSxDQUFDO3dEQUNpQjtBQUVuQjtJQURDLElBQUEsdUJBQVMsR0FBRTswRE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