@infrab4a/connect 5.3.0-beta.12 → 5.3.0-beta.14

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/index.cjs.js CHANGED
@@ -831,9 +831,10 @@ class ProductReview extends BaseModel {
831
831
  }
832
832
  }
833
833
  tslib.__decorate([
834
- classTransformer.Type(() => Product),
834
+ classTransformer.Type(resolveClass('Product')),
835
835
  tslib.__metadata("design:type", Product)
836
836
  ], ProductReview.prototype, "product", void 0);
837
+ registerClass('ProductReview', ProductReview);
837
838
 
838
839
  class ProductBase extends BaseModel {
839
840
  get evaluation() {
package/index.esm.js CHANGED
@@ -807,9 +807,10 @@ class ProductReview extends BaseModel {
807
807
  }
808
808
  }
809
809
  __decorate([
810
- Type(() => Product),
810
+ Type(resolveClass('Product')),
811
811
  __metadata("design:type", Product)
812
812
  ], ProductReview.prototype, "product", void 0);
813
+ registerClass('ProductReview', ProductReview);
813
814
 
814
815
  class ProductBase extends BaseModel {
815
816
  get evaluation() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "5.3.0-beta.12",
3
+ "version": "5.3.0-beta.14",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -17,6 +17,6 @@ export declare class ProductReview extends BaseModel<ProductReview> {
17
17
  orderId?: string;
18
18
  createdAt?: Date;
19
19
  updatedAt?: Date;
20
- product?: Product;
20
+ product: Product;
21
21
  static get identifiersFields(): GenericIdentifier[];
22
22
  }