@infrab4a/connect 3.10.0-beta.3 → 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.
- package/bundles/infrab4a-connect.umd.js +7 -2
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/domain/catalog/models/product.js +6 -1
- package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +1 -1
- package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +2 -2
- package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +3 -2
- package/fesm2015/infrab4a-connect.js +7 -2
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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: {
|
|
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
4758
|
columnName: 'category',
|
|
4754
|
-
foreignKeyColumn: {
|
|
4759
|
+
foreignKeyColumn: { id: 'categoryId' },
|
|
4755
4760
|
fields: ['id', 'name', 'reference', 'slug'],
|
|
4756
4761
|
},
|
|
4757
4762
|
},
|