@gem-sdk/core 1.14.0-next.52 → 1.14.0-next.54
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.
|
@@ -78,7 +78,7 @@ const loopFetchCollection = async (fetcher, arg)=>{
|
|
|
78
78
|
firstVariant: 1,
|
|
79
79
|
firstMedia: 30,
|
|
80
80
|
orderBy: {
|
|
81
|
-
field: '
|
|
81
|
+
field: 'PLATFORM_UPDATED_AT',
|
|
82
82
|
direction: 'DESC'
|
|
83
83
|
},
|
|
84
84
|
orderByMedia: {
|
|
@@ -88,7 +88,6 @@ const loopFetchCollection = async (fetcher, arg)=>{
|
|
|
88
88
|
firstProduct: calculateFirstProduct(arg.numberOfProducts, currentPage, PRODUCT_PER_PAGE),
|
|
89
89
|
...!arg.id || arg.id.toLowerCase() === 'latest' ? {
|
|
90
90
|
where: {
|
|
91
|
-
hasCollectionProducts: true,
|
|
92
91
|
isSample: arg.isSample
|
|
93
92
|
}
|
|
94
93
|
} : {
|
|
@@ -76,7 +76,7 @@ const loopFetchCollection = async (fetcher, arg)=>{
|
|
|
76
76
|
firstVariant: 1,
|
|
77
77
|
firstMedia: 30,
|
|
78
78
|
orderBy: {
|
|
79
|
-
field: '
|
|
79
|
+
field: 'PLATFORM_UPDATED_AT',
|
|
80
80
|
direction: 'DESC'
|
|
81
81
|
},
|
|
82
82
|
orderByMedia: {
|
|
@@ -86,7 +86,6 @@ const loopFetchCollection = async (fetcher, arg)=>{
|
|
|
86
86
|
firstProduct: calculateFirstProduct(arg.numberOfProducts, currentPage, PRODUCT_PER_PAGE),
|
|
87
87
|
...!arg.id || arg.id.toLowerCase() === 'latest' ? {
|
|
88
88
|
where: {
|
|
89
|
-
hasCollectionProducts: true,
|
|
90
89
|
isSample: arg.isSample
|
|
91
90
|
}
|
|
92
91
|
} : {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -204,6 +204,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
204
204
|
active?: boolean;
|
|
205
205
|
};
|
|
206
206
|
devices?: ResponsiveConfig<U>;
|
|
207
|
+
emptyOnClear?: boolean;
|
|
207
208
|
} : {
|
|
208
209
|
id: K;
|
|
209
210
|
label?: string;
|
|
@@ -234,6 +235,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
234
235
|
focus?: boolean;
|
|
235
236
|
active?: boolean;
|
|
236
237
|
};
|
|
238
|
+
emptyOnClear?: boolean;
|
|
237
239
|
default?: T;
|
|
238
240
|
};
|
|
239
241
|
type SharedControlType<T> = {
|