@infrab4a/connect 3.10.0-beta.4 → 3.10.0-beta.5

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.
@@ -1359,6 +1359,10 @@
1359
1359
  });
1360
1360
  return Product;
1361
1361
  }(BaseModel));
1362
+ __decorate([
1363
+ classTransformer.Type(function () { return Category; }),
1364
+ __metadata("design:type", Category)
1365
+ ], Product.prototype, "category", void 0);
1362
1366
  __decorate([
1363
1367
  classTransformer.Type(function () { return KitProduct; }),
1364
1368
  __metadata("design:type", Array)
@@ -3984,7 +3988,7 @@
3984
3988
  {
3985
3989
  parent: {
3986
3990
  columnName: 'parent',
3987
- foreignKeyColumn: { parent_id: 'id' },
3991
+ foreignKeyColumn: { id: 'parentId' },
3988
3992
  fields: ['id', 'name', 'reference', 'slug'],
3989
3993
  },
3990
3994
  },
@@ -4748,10 +4752,11 @@
4748
4752
  },
4749
4753
  },
4750
4754
  { shoppingCount: { columnName: 'shopping_count' } },
4755
+ { categoryId: { columnName: 'category_id' } },
4751
4756
  {
4752
4757
  category: {
4753
- columnName: 'category_id',
4754
- foreignKeyColumn: { category_id: 'id' },
4758
+ columnName: 'category',
4759
+ foreignKeyColumn: { id: 'categoryId' },
4755
4760
  fields: ['id', 'name', 'reference', 'slug'],
4756
4761
  },
4757
4762
  },