@lyxa.ai/core 1.4.74 → 1.4.75

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.
@@ -3,8 +3,10 @@ import { ServiceBooking } from '../service-booking.model';
3
3
  import { ReviewType } from '../../../../utilities/enum';
4
4
  import { Review } from '../review.model';
5
5
  import { Vendor } from '../vendor.model';
6
+ import { VendorParent } from '../vendor-parent.model';
6
7
  export declare class ServiceBookingReview extends Review {
7
8
  reviewType: ReviewType.SERVICE_BOOKING;
9
+ vendorParent: Ref<VendorParent>;
8
10
  vendor: Ref<Vendor>;
9
11
  serviceBooking: Ref<ServiceBooking>;
10
12
  }
@@ -15,12 +15,18 @@ const service_booking_model_1 = require("../service-booking.model");
15
15
  const enum_1 = require("../../../../utilities/enum");
16
16
  const review_model_1 = require("../review.model");
17
17
  const vendor_model_1 = require("../vendor.model");
18
+ const vendor_parent_model_1 = require("../vendor-parent.model");
18
19
  class ServiceBookingReview extends review_model_1.Review {
19
20
  reviewType = enum_1.ReviewType.SERVICE_BOOKING;
21
+ vendorParent;
20
22
  vendor;
21
23
  serviceBooking;
22
24
  }
23
25
  exports.ServiceBookingReview = ServiceBookingReview;
26
+ __decorate([
27
+ (0, typegoose_1.prop)({ required: true, ref: () => vendor_parent_model_1.VendorParent }),
28
+ __metadata("design:type", Object)
29
+ ], ServiceBookingReview.prototype, "vendorParent", void 0);
24
30
  __decorate([
25
31
  (0, typegoose_1.prop)({ required: true, ref: () => vendor_model_1.Vendor }),
26
32
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"service-booking-review.model.js","sourceRoot":"/","sources":["libraries/mongo/models/providers/service-booking-review.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiD;AACjD,oEAA0D;AAC1D,qDAAwD;AACxD,kDAAyC;AACzC,kDAAyC;AAEzC,MAAa,oBAAqB,SAAQ,qBAAM;IACxC,UAAU,GAAG,iBAAU,CAAC,eAAwB,CAAC;IAGjD,MAAM,CAAe;IAGrB,cAAc,CAAuB;CAC5C;AARD,oDAQC;AAJO;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,qBAAM,EAAE,CAAC;;oDAChB;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,sCAAc,EAAE,CAAC;;4DACR","sourcesContent":["import { prop, Ref } from '@typegoose/typegoose';\nimport { ServiceBooking } from '../service-booking.model';\nimport { ReviewType } from '../../../../utilities/enum';\nimport { Review } from '../review.model';\nimport { Vendor } from '../vendor.model';\n\nexport class ServiceBookingReview extends Review {\n\tpublic reviewType = ReviewType.SERVICE_BOOKING as const;\n\n\t@prop({ required: true, ref: () => Vendor })\n\tpublic vendor!: Ref<Vendor>;\n\n\t@prop({ required: true, ref: () => ServiceBooking })\n\tpublic serviceBooking!: Ref<ServiceBooking>;\n}\n"]}
1
+ {"version":3,"file":"service-booking-review.model.js","sourceRoot":"/","sources":["libraries/mongo/models/providers/service-booking-review.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiD;AACjD,oEAA0D;AAC1D,qDAAwD;AACxD,kDAAyC;AACzC,kDAAyC;AACzC,gEAAsD;AAEtD,MAAa,oBAAqB,SAAQ,qBAAM;IACxC,UAAU,GAAG,iBAAU,CAAC,eAAwB,CAAC;IAGjD,YAAY,CAAqB;IAGjC,MAAM,CAAe;IAGrB,cAAc,CAAuB;CAC5C;AAXD,oDAWC;AAPO;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,kCAAY,EAAE,CAAC;;0DACV;AAGjC;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,qBAAM,EAAE,CAAC;;oDAChB;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,sCAAc,EAAE,CAAC;;4DACR","sourcesContent":["import { prop, Ref } from '@typegoose/typegoose';\nimport { ServiceBooking } from '../service-booking.model';\nimport { ReviewType } from '../../../../utilities/enum';\nimport { Review } from '../review.model';\nimport { Vendor } from '../vendor.model';\nimport { VendorParent } from '../vendor-parent.model';\n\nexport class ServiceBookingReview extends Review {\n\tpublic reviewType = ReviewType.SERVICE_BOOKING as const;\n\n\t@prop({ required: true, ref: () => VendorParent })\n\tpublic vendorParent!: Ref<VendorParent>;\n\n\t@prop({ required: true, ref: () => Vendor })\n\tpublic vendor!: Ref<Vendor>;\n\n\t@prop({ required: true, ref: () => ServiceBooking })\n\tpublic serviceBooking!: Ref<ServiceBooking>;\n}\n"]}
@@ -2,7 +2,11 @@ import { Ref } from '@typegoose/typegoose';
2
2
  import { ReviewType } from '../../../../utilities/enum';
3
3
  import { Review } from '../review.model';
4
4
  import { ServicePackage } from '../service-package.model';
5
+ import { Vendor } from '../vendor.model';
6
+ import { VendorParent } from '../vendor-parent.model';
5
7
  export declare class ServicePackageReview extends Review {
6
8
  reviewType: ReviewType.SERVICE_PACKAGE;
9
+ vendorParent: Ref<VendorParent>;
10
+ vendor: Ref<Vendor>;
7
11
  servicePackage: Ref<ServicePackage>;
8
12
  }
@@ -14,11 +14,23 @@ const typegoose_1 = require("@typegoose/typegoose");
14
14
  const enum_1 = require("../../../../utilities/enum");
15
15
  const review_model_1 = require("../review.model");
16
16
  const service_package_model_1 = require("../service-package.model");
17
+ const vendor_model_1 = require("../vendor.model");
18
+ const vendor_parent_model_1 = require("../vendor-parent.model");
17
19
  class ServicePackageReview extends review_model_1.Review {
18
20
  reviewType = enum_1.ReviewType.SERVICE_PACKAGE;
21
+ vendorParent;
22
+ vendor;
19
23
  servicePackage;
20
24
  }
21
25
  exports.ServicePackageReview = ServicePackageReview;
26
+ __decorate([
27
+ (0, typegoose_1.prop)({ required: true, ref: () => vendor_parent_model_1.VendorParent }),
28
+ __metadata("design:type", Object)
29
+ ], ServicePackageReview.prototype, "vendorParent", void 0);
30
+ __decorate([
31
+ (0, typegoose_1.prop)({ required: true, ref: () => vendor_model_1.Vendor }),
32
+ __metadata("design:type", Object)
33
+ ], ServicePackageReview.prototype, "vendor", void 0);
22
34
  __decorate([
23
35
  (0, typegoose_1.prop)({ required: true, ref: () => service_package_model_1.ServicePackage }),
24
36
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"service-package-review.model.js","sourceRoot":"/","sources":["libraries/mongo/models/providers/service-package-review.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiD;AACjD,qDAAwD;AACxD,kDAAyC;AACzC,oEAA0D;AAE1D,MAAa,oBAAqB,SAAQ,qBAAM;IACxC,UAAU,GAAG,iBAAU,CAAC,eAAwB,CAAC;IAGjD,cAAc,CAAuB;CAC5C;AALD,oDAKC;AADO;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,sCAAc,EAAE,CAAC;;4DACR","sourcesContent":["import { prop, Ref } from '@typegoose/typegoose';\nimport { ReviewType } from '../../../../utilities/enum';\nimport { Review } from '../review.model'; \nimport { ServicePackage } from '../service-package.model';\n\nexport class ServicePackageReview extends Review {\n\tpublic reviewType = ReviewType.SERVICE_PACKAGE as const;\n\n\t@prop({ required: true, ref: () => ServicePackage })\n\tpublic servicePackage!: Ref<ServicePackage>;\n}\n"]}
1
+ {"version":3,"file":"service-package-review.model.js","sourceRoot":"/","sources":["libraries/mongo/models/providers/service-package-review.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiD;AACjD,qDAAwD;AACxD,kDAAyC;AACzC,oEAA0D;AAC1D,kDAAyC;AACzC,gEAAsD;AAEtD,MAAa,oBAAqB,SAAQ,qBAAM;IACxC,UAAU,GAAG,iBAAU,CAAC,eAAwB,CAAC;IAGjD,YAAY,CAAqB;IAGjC,MAAM,CAAe;IAGrB,cAAc,CAAuB;CAC5C;AAXD,oDAWC;AAPO;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,kCAAY,EAAE,CAAC;;0DACV;AAGjC;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,qBAAM,EAAE,CAAC;;oDAChB;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,sCAAc,EAAE,CAAC;;4DACR","sourcesContent":["import { prop, Ref } from '@typegoose/typegoose';\nimport { ReviewType } from '../../../../utilities/enum';\nimport { Review } from '../review.model';\nimport { ServicePackage } from '../service-package.model';\nimport { Vendor } from '../vendor.model';\nimport { VendorParent } from '../vendor-parent.model';\n\nexport class ServicePackageReview extends Review {\n\tpublic reviewType = ReviewType.SERVICE_PACKAGE as const;\n\n\t@prop({ required: true, ref: () => VendorParent })\n\tpublic vendorParent!: Ref<VendorParent>;\n\n\t@prop({ required: true, ref: () => Vendor })\n\tpublic vendor!: Ref<Vendor>;\n\n\t@prop({ required: true, ref: () => ServicePackage })\n\tpublic servicePackage!: Ref<ServicePackage>;\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.74
25
+ Version: 1.4.75
26
26
 
27
27
  ## Dependencies
28
28
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/types",
3
- "version": "1.4.74",
3
+ "version": "1.4.75",
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.74",
3
+ "version": "1.4.75",
4
4
  "description": "The Core system of the Lyxa services.",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",