@infrab4a/connect 5.4.0-beta.3 → 5.4.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/index.cjs.js +9 -0
- package/index.esm.js +9 -0
- package/package.json +1 -1
- package/src/domain/catalog/models/variant.d.ts +1 -0
package/index.cjs.js
CHANGED
|
@@ -7373,6 +7373,13 @@ const commonFields$1 = [
|
|
|
7373
7373
|
{ reviewsTotal: { columnName: 'reviews_total' } },
|
|
7374
7374
|
{ shoppingCount: { columnName: 'shopping_count' } },
|
|
7375
7375
|
{ categoryId: { columnName: 'category_id' } },
|
|
7376
|
+
{
|
|
7377
|
+
category: {
|
|
7378
|
+
columnName: 'category',
|
|
7379
|
+
foreignKeyColumn: { id: 'categoryId' },
|
|
7380
|
+
fields: ['id', 'name', 'reference', 'slug'],
|
|
7381
|
+
},
|
|
7382
|
+
},
|
|
7376
7383
|
'group',
|
|
7377
7384
|
'validity',
|
|
7378
7385
|
{ tagsCollection: { columnName: 'tags_collection', type: HasuraGraphQLColumnType.Jsonb } },
|
|
@@ -7898,6 +7905,7 @@ const fieldsConfiguration$2 = [
|
|
|
7898
7905
|
},
|
|
7899
7906
|
{ tagsProfile: { columnName: 'tags_profile' } },
|
|
7900
7907
|
{ tagsCollection: { columnName: 'tags_collection' } },
|
|
7908
|
+
{ variantSlug: { columnName: 'variant_slug' } },
|
|
7901
7909
|
],
|
|
7902
7910
|
},
|
|
7903
7911
|
},
|
|
@@ -8682,6 +8690,7 @@ const fieldsConfiguration$1 = [
|
|
|
8682
8690
|
}),
|
|
8683
8691
|
},
|
|
8684
8692
|
},
|
|
8693
|
+
{ variantSlug: { columnName: 'variant_slug' } },
|
|
8685
8694
|
{ createdAt: { columnName: 'created_at' } },
|
|
8686
8695
|
{ updatedAt: { columnName: 'updated_at' } },
|
|
8687
8696
|
];
|
package/index.esm.js
CHANGED
|
@@ -7349,6 +7349,13 @@ const commonFields$1 = [
|
|
|
7349
7349
|
{ reviewsTotal: { columnName: 'reviews_total' } },
|
|
7350
7350
|
{ shoppingCount: { columnName: 'shopping_count' } },
|
|
7351
7351
|
{ categoryId: { columnName: 'category_id' } },
|
|
7352
|
+
{
|
|
7353
|
+
category: {
|
|
7354
|
+
columnName: 'category',
|
|
7355
|
+
foreignKeyColumn: { id: 'categoryId' },
|
|
7356
|
+
fields: ['id', 'name', 'reference', 'slug'],
|
|
7357
|
+
},
|
|
7358
|
+
},
|
|
7352
7359
|
'group',
|
|
7353
7360
|
'validity',
|
|
7354
7361
|
{ tagsCollection: { columnName: 'tags_collection', type: HasuraGraphQLColumnType.Jsonb } },
|
|
@@ -7874,6 +7881,7 @@ const fieldsConfiguration$2 = [
|
|
|
7874
7881
|
},
|
|
7875
7882
|
{ tagsProfile: { columnName: 'tags_profile' } },
|
|
7876
7883
|
{ tagsCollection: { columnName: 'tags_collection' } },
|
|
7884
|
+
{ variantSlug: { columnName: 'variant_slug' } },
|
|
7877
7885
|
],
|
|
7878
7886
|
},
|
|
7879
7887
|
},
|
|
@@ -8658,6 +8666,7 @@ const fieldsConfiguration$1 = [
|
|
|
8658
8666
|
}),
|
|
8659
8667
|
},
|
|
8660
8668
|
},
|
|
8669
|
+
{ variantSlug: { columnName: 'variant_slug' } },
|
|
8661
8670
|
{ createdAt: { columnName: 'created_at' } },
|
|
8662
8671
|
{ updatedAt: { columnName: 'updated_at' } },
|
|
8663
8672
|
];
|
package/package.json
CHANGED
|
@@ -4,5 +4,6 @@ export type ProductVariantIdentifiers = 'id' | 'productId';
|
|
|
4
4
|
export declare class Variant extends ProductBase<Variant, ProductVariantIdentifiers> {
|
|
5
5
|
productId: string;
|
|
6
6
|
grade?: VariantGrade[];
|
|
7
|
+
variantSlug?: string;
|
|
7
8
|
static get identifiersFields(): ProductVariantIdentifiers[];
|
|
8
9
|
}
|