ingeniuscliq-core 0.4.11 → 0.4.12
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/dist/index.js
CHANGED
|
@@ -2621,7 +2621,7 @@ class v4 {
|
|
|
2621
2621
|
throw t((a) => ({ ...a, error: o, loading: !1 })), o;
|
|
2622
2622
|
}
|
|
2623
2623
|
},
|
|
2624
|
-
|
|
2624
|
+
fetchBestSellers: async (r, { onSuccess: o = () => {
|
|
2625
2625
|
}, onError: a = () => {
|
|
2626
2626
|
}, onFinish: s = () => {
|
|
2627
2627
|
} } = {}) => {
|
|
@@ -36,7 +36,7 @@ export interface CoreProductStore<T extends CoreProduct, K extends CoreProductCa
|
|
|
36
36
|
getProductDetails: () => T | null;
|
|
37
37
|
fetchCategories: (params?: Record<string, any>) => Promise<BaseApiResponse<K[]>>;
|
|
38
38
|
getCategories: () => K[] | null;
|
|
39
|
-
|
|
39
|
+
fetchBestSellers: (params?: Record<string, any>, actions?: CoreActions) => Promise<BaseApiResponse<T[]>>;
|
|
40
40
|
}
|
|
41
41
|
export interface CoreProductible extends BaseType {
|
|
42
42
|
order_id: number;
|