@lyxa.ai/core 1.4.161-alpha.0 → 1.4.161-alpha.1

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.
@@ -16,13 +16,13 @@ const enum_1 = require("../../../utilities/enum");
16
16
  const service_line_item_model_1 = require("./embedded/service-line-item.model");
17
17
  const duration_model_1 = require("./shared/duration.model");
18
18
  const cart_model_1 = require("./cart.model");
19
- let ServiceCart = class ServiceCart extends cart_model_1.Cart {
19
+ class ServiceCart extends cart_model_1.Cart {
20
20
  vendor;
21
21
  serviceType;
22
22
  subServiceType;
23
23
  serviceLineItems;
24
24
  slotRange;
25
- };
25
+ }
26
26
  exports.ServiceCart = ServiceCart;
27
27
  __decorate([
28
28
  (0, typegoose_1.prop)({ type: String, enum: enum_1.CartType, default: enum_1.CartType.SERVICE }),
@@ -48,10 +48,4 @@ __decorate([
48
48
  (0, typegoose_1.prop)({ type: duration_model_1.OrderSlotRange, _id: false }),
49
49
  __metadata("design:type", duration_model_1.OrderSlotRange)
50
50
  ], ServiceCart.prototype, "slotRange", void 0);
51
- exports.ServiceCart = ServiceCart = __decorate([
52
- (0, typegoose_1.modelOptions)({
53
- schemaOptions: { collection: 'carts', toJSON: { virtuals: true }, toObject: { virtuals: true } },
54
- options: { allowMixed: typegoose_1.Severity.ALLOW },
55
- })
56
- ], ServiceCart);
57
51
  //# sourceMappingURL=service-cart.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"service-cart.model.js","sourceRoot":"/","sources":["libraries/mongo/models/service-cart.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAyE;AACzE,iDAAwC;AACxC,kDAAgF;AAChF,gFAAqE;AACrE,4DAAyD;AACzD,6CAAoC;AAM7B,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,iBAAI;IAK7B,MAAM,CAAe;IAGrB,WAAW,CAAe;IAG1B,cAAc,CAAkB;IAGhC,gBAAgB,CAAqB;IAGrC,SAAS,CAAkB;CAClC,CAAA;AAlBY,kCAAW;AAER;IADd,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,eAAQ,EAAE,OAAO,EAAE,eAAQ,CAAC,OAAO,EAAE,CAAC;;6CAC/B;AAG5B;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,qBAAM,EAAE,CAAC;;2CAChB;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAW,EAAE,CAAC;;gDACzB;AAG1B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAc,EAAE,CAAC;;mDACN;AAGhC;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,yCAAe,CAAC,EAAE,CAAC;;qDACN;AAGrC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,+BAAc,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BACxB,+BAAc;8CAAC;sBAjBtB,WAAW;IAJvB,IAAA,wBAAY,EAAC;QACb,aAAa,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE;QAChG,OAAO,EAAE,EAAE,UAAU,EAAE,oBAAQ,CAAC,KAAK,EAAE;KACvC,CAAC;GACW,WAAW,CAkBvB","sourcesContent":["import { modelOptions, prop, Ref, Severity } from '@typegoose/typegoose';\nimport { Vendor } from './vendor.model';\nimport { CartType, ServiceType, SubServiceType } from '../../../utilities/enum';\nimport { ServiceLineItem } from './embedded/service-line-item.model';\nimport { OrderSlotRange } from './shared/duration.model';\nimport { Cart } from './cart.model';\n\n@modelOptions({\n\tschemaOptions: { collection: 'carts', toJSON: { virtuals: true }, toObject: { virtuals: true } },\n\toptions: { allowMixed: Severity.ALLOW },\n})\nexport class ServiceCart extends Cart {\n\t@prop({ type: String, enum: CartType, default: CartType.SERVICE })\n\tpublic declare cartType?: CartType;\n\n\t@prop({ required: true, ref: () => Vendor })\n\tpublic vendor!: Ref<Vendor>;\n\n\t@prop({ required: true, type: String, enum: ServiceType })\n\tpublic serviceType!: ServiceType;\n\n\t@prop({ type: String, enum: SubServiceType })\n\tpublic subServiceType?: SubServiceType;\n\n\t@prop({ required: true, type: [ServiceLineItem] })\n\tpublic serviceLineItems!: ServiceLineItem[];\n\n\t@prop({ type: OrderSlotRange, _id: false })\n\tpublic slotRange?: OrderSlotRange;\n}\n"]}
1
+ {"version":3,"file":"service-cart.model.js","sourceRoot":"/","sources":["libraries/mongo/models/service-cart.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiD;AACjD,iDAAwC;AACxC,kDAAgF;AAChF,gFAAqE;AACrE,4DAAyD;AACzD,6CAAoC;AAEpC,MAAa,WAAY,SAAQ,iBAAI;IAK7B,MAAM,CAAe;IAGrB,WAAW,CAAe;IAG1B,cAAc,CAAkB;IAGhC,gBAAgB,CAAqB;IAGrC,SAAS,CAAkB;CAClC;AAlBD,kCAkBC;AAhBe;IADd,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,eAAQ,EAAE,OAAO,EAAE,eAAQ,CAAC,OAAO,EAAE,CAAC;;6CAC/B;AAG5B;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,qBAAM,EAAE,CAAC;;2CAChB;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAW,EAAE,CAAC;;gDACzB;AAG1B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAc,EAAE,CAAC;;mDACN;AAGhC;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,yCAAe,CAAC,EAAE,CAAC;;qDACN;AAGrC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,+BAAc,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BACxB,+BAAc;8CAAC","sourcesContent":["import { prop, Ref } from '@typegoose/typegoose';\nimport { Vendor } from './vendor.model';\nimport { CartType, ServiceType, SubServiceType } from '../../../utilities/enum';\nimport { ServiceLineItem } from './embedded/service-line-item.model';\nimport { OrderSlotRange } from './shared/duration.model';\nimport { Cart } from './cart.model';\n\nexport class ServiceCart extends Cart {\n\t@prop({ type: String, enum: CartType, default: CartType.SERVICE })\n\tdeclare public cartType?: CartType;\n\n\t@prop({ required: true, ref: () => Vendor })\n\tpublic vendor!: Ref<Vendor>;\n\n\t@prop({ required: true, type: String, enum: ServiceType })\n\tpublic serviceType!: ServiceType;\n\n\t@prop({ type: String, enum: SubServiceType })\n\tpublic subServiceType?: SubServiceType;\n\n\t@prop({ required: true, type: [ServiceLineItem] })\n\tpublic serviceLineItems!: ServiceLineItem[];\n\n\t@prop({ type: OrderSlotRange, _id: false })\n\tpublic slotRange?: OrderSlotRange;\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.161-alpha.0
25
+ Version: 1.4.161-alpha.1
26
26
 
27
27
  ## Dependencies
28
28
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/types",
3
- "version": "1.4.161-alpha.0",
3
+ "version": "1.4.161-alpha.1",
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.161-alpha.0",
3
+ "version": "1.4.161-alpha.1",
4
4
  "description": "The Core system of the Lyxa services.",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",