@lyxa.ai/core 1.4.322-alpha.1 → 1.4.322-alpha.2

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.
@@ -2,6 +2,6 @@ import { CouponType } from '../../../../utilities/enum';
2
2
  import { BaseCoupon } from '../base/base-coupon.model';
3
3
  export declare class GlobalCoupon extends BaseCoupon {
4
4
  couponType: CouponType.GLOBAL;
5
- couponDurationInDaysEnabled?: boolean;
5
+ isCouponDurationInDaysEnabled?: boolean;
6
6
  couponDurationInDays?: number | null;
7
7
  }
@@ -15,14 +15,14 @@ const enum_1 = require("../../../../utilities/enum");
15
15
  const base_coupon_model_1 = require("../base/base-coupon.model");
16
16
  class GlobalCoupon extends base_coupon_model_1.BaseCoupon {
17
17
  couponType = enum_1.CouponType.GLOBAL;
18
- couponDurationInDaysEnabled;
18
+ isCouponDurationInDaysEnabled;
19
19
  couponDurationInDays;
20
20
  }
21
21
  exports.GlobalCoupon = GlobalCoupon;
22
22
  __decorate([
23
23
  (0, typegoose_1.prop)({ type: Boolean, default: false }),
24
24
  __metadata("design:type", Boolean)
25
- ], GlobalCoupon.prototype, "couponDurationInDaysEnabled", void 0);
25
+ ], GlobalCoupon.prototype, "isCouponDurationInDaysEnabled", void 0);
26
26
  __decorate([
27
27
  (0, typegoose_1.prop)({ type: Number, default: null }),
28
28
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"global-coupon.model.js","sourceRoot":"/","sources":["libraries/mongo/models/providers/global-coupon.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAC5C,qDAAwD;AACxD,iEAAuD;AAEvD,MAAa,YAAa,SAAQ,8BAAU;IACpC,UAAU,GAAG,iBAAU,CAAC,MAAe,CAAC;IAGxC,2BAA2B,CAAW;IAGtC,oBAAoB,CAAiB;CAC5C;AARD,oCAQC;AAJO;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;iEACK;AAGtC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;0DACM","sourcesContent":["import { prop } from '@typegoose/typegoose';\nimport { CouponType } from '../../../../utilities/enum';\nimport { BaseCoupon } from '../base/base-coupon.model';\n\nexport class GlobalCoupon extends BaseCoupon {\n\tpublic couponType = CouponType.GLOBAL as const;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic couponDurationInDaysEnabled?: boolean;\n\n\t@prop({ type: Number, default: null })\n\tpublic couponDurationInDays?: number | null;\n}\n"]}
1
+ {"version":3,"file":"global-coupon.model.js","sourceRoot":"/","sources":["libraries/mongo/models/providers/global-coupon.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAC5C,qDAAwD;AACxD,iEAAuD;AAEvD,MAAa,YAAa,SAAQ,8BAAU;IACpC,UAAU,GAAG,iBAAU,CAAC,MAAe,CAAC;IAGxC,6BAA6B,CAAW;IAGxC,oBAAoB,CAAiB;CAC5C;AARD,oCAQC;AAJO;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;mEACO;AAGxC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;0DACM","sourcesContent":["import { prop } from '@typegoose/typegoose';\nimport { CouponType } from '../../../../utilities/enum';\nimport { BaseCoupon } from '../base/base-coupon.model';\n\nexport class GlobalCoupon extends BaseCoupon {\n\tpublic couponType = CouponType.GLOBAL as const;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isCouponDurationInDaysEnabled?: boolean;\n\n\t@prop({ type: Number, default: null })\n\tpublic couponDurationInDays?: number | null;\n}\n"]}
@@ -22,7 +22,7 @@ Perfect for sharing types between frontend and backend applications.
22
22
 
23
23
  ## Version
24
24
 
25
- Version: 1.4.322-alpha.1
25
+ Version: 1.4.322-alpha.2
26
26
 
27
27
  ## Dependencies
28
28
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/types",
3
- "version": "1.4.322-alpha.1",
3
+ "version": "1.4.322-alpha.2",
4
4
  "description": "Lyxa type definitions and validation schemas for both frontend and backend",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/core",
3
- "version": "1.4.322-alpha.1",
3
+ "version": "1.4.322-alpha.2",
4
4
  "description": "The Core system of the Lyxa services.",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",