@infrab4a/connect 4.3.0-beta.6 → 4.3.0-beta.7
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
|
@@ -4482,6 +4482,8 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
4482
4482
|
fields: ['id', 'name', 'reference', 'slug'],
|
|
4483
4483
|
},
|
|
4484
4484
|
},
|
|
4485
|
+
'theme',
|
|
4486
|
+
{ bannerUrl: { columnName: 'banner_url' } },
|
|
4485
4487
|
],
|
|
4486
4488
|
});
|
|
4487
4489
|
this.productRepository = productRepository;
|
|
@@ -5153,7 +5155,9 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
5153
5155
|
objects: {
|
|
5154
5156
|
type: '[category_product_insert_input!]',
|
|
5155
5157
|
required: true,
|
|
5156
|
-
value: plainData.categories
|
|
5158
|
+
value: plainData.categories
|
|
5159
|
+
.filter((categoryId) => !product.categories.includes(categoryId))
|
|
5160
|
+
.map((categoryId) => ({ category_id: categoryId, product_id: productId })),
|
|
5157
5161
|
},
|
|
5158
5162
|
});
|
|
5159
5163
|
return plainData.categories;
|
|
@@ -5524,6 +5528,8 @@ class WishlistHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
5524
5528
|
{ personId: { columnName: 'person_id' } },
|
|
5525
5529
|
{ personName: { columnName: 'person_name' } },
|
|
5526
5530
|
{ personPhoto: { columnName: 'person_photo' } },
|
|
5531
|
+
'theme',
|
|
5532
|
+
{ bannerUrl: { columnName: 'banner_url' } },
|
|
5527
5533
|
],
|
|
5528
5534
|
});
|
|
5529
5535
|
this.categoryFilterRepository = categoryFilterRepository;
|
package/index.esm.js
CHANGED
|
@@ -4458,6 +4458,8 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
4458
4458
|
fields: ['id', 'name', 'reference', 'slug'],
|
|
4459
4459
|
},
|
|
4460
4460
|
},
|
|
4461
|
+
'theme',
|
|
4462
|
+
{ bannerUrl: { columnName: 'banner_url' } },
|
|
4461
4463
|
],
|
|
4462
4464
|
});
|
|
4463
4465
|
this.productRepository = productRepository;
|
|
@@ -5129,7 +5131,9 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
5129
5131
|
objects: {
|
|
5130
5132
|
type: '[category_product_insert_input!]',
|
|
5131
5133
|
required: true,
|
|
5132
|
-
value: plainData.categories
|
|
5134
|
+
value: plainData.categories
|
|
5135
|
+
.filter((categoryId) => !product.categories.includes(categoryId))
|
|
5136
|
+
.map((categoryId) => ({ category_id: categoryId, product_id: productId })),
|
|
5133
5137
|
},
|
|
5134
5138
|
});
|
|
5135
5139
|
return plainData.categories;
|
|
@@ -5500,6 +5504,8 @@ class WishlistHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
5500
5504
|
{ personId: { columnName: 'person_id' } },
|
|
5501
5505
|
{ personName: { columnName: 'person_name' } },
|
|
5502
5506
|
{ personPhoto: { columnName: 'person_photo' } },
|
|
5507
|
+
'theme',
|
|
5508
|
+
{ bannerUrl: { columnName: 'banner_url' } },
|
|
5503
5509
|
],
|
|
5504
5510
|
});
|
|
5505
5511
|
this.categoryFilterRepository = categoryFilterRepository;
|
package/package.json
CHANGED
|
@@ -24,6 +24,8 @@ export declare class CategoryBase<ChildCategory extends ModelBaseStructure<Child
|
|
|
24
24
|
isWishlist?: boolean;
|
|
25
25
|
reference?: string;
|
|
26
26
|
parentId?: number;
|
|
27
|
+
theme?: string;
|
|
28
|
+
bannerUrl?: string;
|
|
27
29
|
parent?: CategoryBase;
|
|
28
30
|
filters?: Filter[];
|
|
29
31
|
static get identifiersFields(): GenericIdentifier[];
|