rerobe-js-orm 2.6.5 → 2.6.8
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.
|
@@ -1576,6 +1576,7 @@ const colors = [
|
|
|
1576
1576
|
{ label: 'Yellow', value: 'Yellow' },
|
|
1577
1577
|
];
|
|
1578
1578
|
exports.colors = colors;
|
|
1579
|
+
// Review
|
|
1579
1580
|
const conditions = [
|
|
1580
1581
|
{
|
|
1581
1582
|
label: 'New with tags',
|
|
@@ -1594,17 +1595,25 @@ const conditions = [
|
|
|
1594
1595
|
description: 'This item has been worn 1-2 times, it’s in a very good condition. No visible defects, no smell, no spots, no sweat marks.',
|
|
1595
1596
|
},
|
|
1596
1597
|
{
|
|
1597
|
-
label: '
|
|
1598
|
-
value: '
|
|
1599
|
-
description: 'This item has been worn over time, but is still well-preserved. Signs of wear is ok, but no defects like smaller stains or holes.',
|
|
1600
|
-
key: 'goodCondition',
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
label: 'Fair condition',
|
|
1604
|
-
value: 'Fair condition',
|
|
1598
|
+
label: 'Worn',
|
|
1599
|
+
value: 'worn',
|
|
1605
1600
|
description: 'Worn frequently, may have defects like smaller stains or discoloration. Many old vintage items are worn frequently, have their flaws but are still cool! Only criteria: Make sure it has no sweat marks, no big stains or odors.',
|
|
1606
1601
|
key: 'fairCondition',
|
|
1607
1602
|
},
|
|
1603
|
+
// {
|
|
1604
|
+
// label: 'Good condition',
|
|
1605
|
+
// value: 'Good condition',
|
|
1606
|
+
// description:
|
|
1607
|
+
// 'This item has been worn over time, but is still well-preserved. Signs of wear is ok, but no defects like smaller stains or holes.',
|
|
1608
|
+
// key: 'goodCondition',
|
|
1609
|
+
// },
|
|
1610
|
+
// {
|
|
1611
|
+
// label: 'Fair condition',
|
|
1612
|
+
// value: 'Fair condition',
|
|
1613
|
+
// description:
|
|
1614
|
+
// 'Worn frequently, may have defects like smaller stains or discoloration. Many old vintage items are worn frequently, have their flaws but are still cool! Only criteria: Make sure it has no sweat marks, no big stains or odors.',
|
|
1615
|
+
// key: 'fairCondition',
|
|
1616
|
+
// },
|
|
1608
1617
|
];
|
|
1609
1618
|
exports.conditions = conditions;
|
|
1610
1619
|
const gender = [
|
|
@@ -172,8 +172,13 @@ class ProductCollection extends Base_1.default {
|
|
|
172
172
|
name: 'tags',
|
|
173
173
|
type: 'string[]',
|
|
174
174
|
},
|
|
175
|
+
{
|
|
176
|
+
facet: true,
|
|
177
|
+
name: 'collectionId',
|
|
178
|
+
type: 'string',
|
|
179
|
+
},
|
|
175
180
|
],
|
|
176
|
-
name: '
|
|
181
|
+
name: 'dev_productCollections_20220726',
|
|
177
182
|
};
|
|
178
183
|
}
|
|
179
184
|
toObjForTypesense() {
|
|
@@ -202,6 +207,7 @@ class ProductCollection extends Base_1.default {
|
|
|
202
207
|
'refinements.statusRefinement': this.utilities.sanitzeStringArr(this.refinements.statusRefinement),
|
|
203
208
|
'refinements.salesChannelRefinement': this.utilities.sanitzeStringArr(this.refinements.salesChannelRefinement),
|
|
204
209
|
tags: this.utilities.sanitzeStringArr(this.tags),
|
|
210
|
+
collectionId: this.utilities.sanitizeString(this.collectionId),
|
|
205
211
|
};
|
|
206
212
|
return stagedObj;
|
|
207
213
|
}
|