@eventista/ticketing-common 1.0.1010 → 1.0.1012
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas/promotions/promotions.interfaces.d.ts +1 -0
- package/dist/schemas/promotions/promotions.schema.d.ts +1 -0
- package/dist/schemas/promotions/promotions.schema.js +7 -0
- package/dist/schemas/promotions/promotions.schema.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -52,6 +52,13 @@ __decorate([
|
|
|
52
52
|
}),
|
|
53
53
|
__metadata("design:type", Number)
|
|
54
54
|
], Promotion.prototype, "maxUsage", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, mongoose_1.Prop)({
|
|
57
|
+
type: Number,
|
|
58
|
+
default: 0,
|
|
59
|
+
}),
|
|
60
|
+
__metadata("design:type", Number)
|
|
61
|
+
], Promotion.prototype, "currentUsage", void 0);
|
|
55
62
|
__decorate([
|
|
56
63
|
(0, mongoose_1.Prop)({
|
|
57
64
|
type: Boolean,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promotions.schema.js","sourceRoot":"","sources":["../../../src/schemas/promotions/promotions.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,oCAA8G;AAC9G,mEAAkG;AAO3F,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,kBAAU;
|
|
1
|
+
{"version":3,"file":"promotions.schema.js","sourceRoot":"","sources":["../../../src/schemas/promotions/promotions.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,oCAA8G;AAC9G,mEAAkG;AAO3F,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,kBAAU;CAwExC,CAAA;AAxEY,8BAAS;AAMlB;IAJC,IAAA,eAAI,EAAC;QACF,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;KACd,CAAC;;0CACc;AAMhB;IAJC,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