buymeua-api-fe 0.21.0 → 0.22.0
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/CHANGELOG.md +41 -0
- package/README.md +11 -4
- package/dist/entities/ad/api/adApi.d.ts +15 -2
- package/dist/entities/ad/api/adApi.d.ts.map +1 -1
- package/dist/entities/cart/api/cartApi.d.ts +30 -4
- package/dist/entities/cart/api/cartApi.d.ts.map +1 -1
- package/dist/entities/category/api/categoryApi.d.ts +102 -740
- package/dist/entities/category/api/categoryApi.d.ts.map +1 -1
- package/dist/entities/category/api/categoryApi.js +4 -12
- package/dist/entities/category/api/categoryApi.js.map +1 -1
- package/dist/entities/category/model/types.d.ts +41 -12
- package/dist/entities/category/model/types.d.ts.map +1 -1
- package/dist/entities/category/model/useCategoryBreadcrumbs.d.ts +20 -1
- package/dist/entities/category/model/useCategoryBreadcrumbs.d.ts.map +1 -1
- package/dist/entities/category/model/useCategoryBreadcrumbs.js +34 -3
- package/dist/entities/category/model/useCategoryBreadcrumbs.js.map +1 -1
- package/dist/entities/chat/api/chatApi.d.ts +30 -4
- package/dist/entities/chat/api/chatApi.d.ts.map +1 -1
- package/dist/entities/country/api/countryApi.d.ts +15 -2
- package/dist/entities/country/api/countryApi.d.ts.map +1 -1
- package/dist/entities/favorite/api/favoriteApi.d.ts +30 -4
- package/dist/entities/favorite/api/favoriteApi.d.ts.map +1 -1
- package/dist/entities/notification/api/notificationApi.d.ts +15 -2
- package/dist/entities/notification/api/notificationApi.d.ts.map +1 -1
- package/dist/entities/novaposhta/api/novaposhtaApi.d.ts +45 -6
- package/dist/entities/novaposhta/api/novaposhtaApi.d.ts.map +1 -1
- package/dist/entities/order/api/orderApi.d.ts +15 -2
- package/dist/entities/order/api/orderApi.d.ts.map +1 -1
- package/dist/entities/product/api/productApi.d.ts +45 -6
- package/dist/entities/product/api/productApi.d.ts.map +1 -1
- package/dist/entities/referral/api/referralApi.d.ts +30 -4
- package/dist/entities/referral/api/referralApi.d.ts.map +1 -1
- package/dist/entities/stories/api/storiesApi.d.ts +15 -2
- package/dist/entities/stories/api/storiesApi.d.ts.map +1 -1
- package/dist/entities/supplier/api/supplierApi.d.ts +47 -193
- package/dist/entities/supplier/api/supplierApi.d.ts.map +1 -1
- package/dist/entities/supplier/api/supplierApi.js +1 -6
- package/dist/entities/supplier/api/supplierApi.js.map +1 -1
- package/dist/entities/supplier/model/types.d.ts +182 -5
- package/dist/entities/supplier/model/types.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/shared/api/api.d.ts.map +1 -1
- package/dist/shared/api/api.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,47 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.22.0] - 2026-01-14
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add JSDoc documentation to GetSupplierCategoriesRequest with detailed field descriptions and examples
|
|
15
|
+
- Add void support to getSupplierCategories and getBuymeCategories for optional parameters
|
|
16
|
+
- Add supplier categories support to useCategoryBreadcrumbs hook via optional supplierId parameter
|
|
17
|
+
- Add RatingStatistic interface with comprehensive JSDoc documentation
|
|
18
|
+
- Add new fields to Supplier interface: rating_statistic, is_verified_supplier_by_payouts, balance, balance_formatted
|
|
19
|
+
- Add JSDoc documentation to all Supplier interface fields with examples
|
|
20
|
+
- Add JSDoc documentation to useCategoryBreadcrumbs hook with usage examples
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- **BREAKING**: Replace getSupplierCategories infinite query with regular query
|
|
25
|
+
- Changed from useGetSupplierCategoriesInfiniteQuery to useGetSupplierCategoriesQuery
|
|
26
|
+
- Update endpoint to v3 API (suppliers/v3/categories/search)
|
|
27
|
+
- Change request method from path params to body params
|
|
28
|
+
- Migration: Replace useGetSupplierCategoriesInfiniteQuery() with useGetSupplierCategoriesQuery()
|
|
29
|
+
- **BREAKING**: Update GetSupplierCategoriesRequest interface
|
|
30
|
+
- Remove required customer field (replaced with optional filter_customer_id)
|
|
31
|
+
- Remove parent_id and per_page fields
|
|
32
|
+
- Add new optional fields: search, filter_parent_id, filter_customer_id, filter_has_products, filter_status
|
|
33
|
+
- Migration: Replace `customer: id` with `filter_customer_id: id` in request parameters
|
|
34
|
+
- **BREAKING**: Update GetSupplierCategoriesResponse structure
|
|
35
|
+
- Response now returns TreeCategory[] instead of SupplierCategory[]
|
|
36
|
+
- Returns hierarchical tree structure instead of flat list
|
|
37
|
+
- Migration: Update code to handle nested category structure with childrens property
|
|
38
|
+
- Update GetBuymeCategoriesResponse to use TreeCategory[] for consistency
|
|
39
|
+
- Enhance useCategoryBreadcrumbs to conditionally use supplier or regular categories based on supplierId parameter
|
|
40
|
+
- Mark SupplierRating interface as deprecated
|
|
41
|
+
- Update @reduxjs/toolkit peer dependency to 2.11.2 (from 2.9.1)
|
|
42
|
+
|
|
43
|
+
### Removed
|
|
44
|
+
|
|
45
|
+
- Remove SupplierCategory interface (replaced with TreeCategory for consistency)
|
|
46
|
+
- **BREAKING**: Remove getSupplierRating endpoint (deprecated, use Supplier.rating_statistic instead)
|
|
47
|
+
- Remove useGetSupplierRatingQuery hook
|
|
48
|
+
- Remove GetSupplierRatingRequest and GetSupplierRatingResponse types
|
|
49
|
+
- Migration: Use getSupplierInfo endpoint and access rating_statistic field from Supplier object
|
|
50
|
+
|
|
10
51
|
## [0.21.0] - 2025-12-31
|
|
11
52
|
|
|
12
53
|
### Added
|
package/README.md
CHANGED
|
@@ -391,14 +391,21 @@ const { data } = useGetCategoriesQuery({
|
|
|
391
391
|
|
|
392
392
|
// Build category breadcrumbs
|
|
393
393
|
import { useCategoryBreadcrumbs } from 'buymeua-api-fe';
|
|
394
|
+
|
|
395
|
+
// For regular categories
|
|
394
396
|
const { breadcrumbs, isLoading } = useCategoryBreadcrumbs(categoryId);
|
|
397
|
+
|
|
398
|
+
// For supplier categories
|
|
399
|
+
const { breadcrumbs, isLoading } = useCategoryBreadcrumbs(categoryId, supplierId);
|
|
395
400
|
// Returns array of categories from root to current
|
|
396
401
|
|
|
397
402
|
// Get supplier categories
|
|
398
|
-
const { data
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
403
|
+
const { data } = useGetSupplierCategoriesQuery({
|
|
404
|
+
search?: string;
|
|
405
|
+
filter_parent_id?: number;
|
|
406
|
+
filter_customer_id?: number;
|
|
407
|
+
filter_has_products?: boolean;
|
|
408
|
+
filter_status?: boolean;
|
|
402
409
|
});
|
|
403
410
|
|
|
404
411
|
// Get Buyme categories
|
|
@@ -598,6 +598,7 @@ export declare const useGetAdPagesQuery: <R extends Record<string, any> = import
|
|
|
598
598
|
skip?: boolean;
|
|
599
599
|
refetchOnMountOrArgChange?: boolean | number;
|
|
600
600
|
initialPageParam?: number;
|
|
601
|
+
refetchCachedPages?: boolean;
|
|
601
602
|
} & {
|
|
602
603
|
skip?: boolean;
|
|
603
604
|
selectFromResult?: (state: import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
@@ -1008,14 +1009,26 @@ export declare const useGetAdPagesQuery: <R extends Record<string, any> = import
|
|
|
1008
1009
|
}, "error">>)>> & {
|
|
1009
1010
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
1010
1011
|
}) => R;
|
|
1011
|
-
}) | undefined) => [R][R extends any ? 0 : never] & Pick<
|
|
1012
|
+
}) | undefined) => [R][R extends any ? 0 : never] & Pick<{
|
|
1013
|
+
refetch: (options?: Pick<import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
1014
|
+
skip?: boolean;
|
|
1015
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
1016
|
+
initialPageParam?: number;
|
|
1017
|
+
refetchCachedPages?: boolean;
|
|
1018
|
+
}, "refetchCachedPages"> | undefined) => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetAdPlatformsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetAdPlatformsResponse, "buymeuaApi", unknown>>;
|
|
1012
1019
|
trigger: (arg: {
|
|
1013
1020
|
queryArg: void | GetAdPlatformsRequest;
|
|
1014
1021
|
pageParam: number;
|
|
1015
1022
|
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetAdPlatformsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetAdPlatformsResponse, "buymeuaApi", unknown>>;
|
|
1016
1023
|
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetAdPlatformsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetAdPlatformsResponse, "buymeuaApi", unknown>>;
|
|
1017
1024
|
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetAdPlatformsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetAdPlatformsResponse, "buymeuaApi", unknown>>;
|
|
1018
|
-
}, "refetch"
|
|
1025
|
+
}, "refetch" | "fetchNextPage" | "fetchPreviousPage"> & Pick<{
|
|
1026
|
+
refetch: (options?: Pick<import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
1027
|
+
skip?: boolean;
|
|
1028
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
1029
|
+
initialPageParam?: number;
|
|
1030
|
+
refetchCachedPages?: boolean;
|
|
1031
|
+
}, "refetchCachedPages"> | undefined) => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetAdPlatformsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetAdPlatformsResponse, "buymeuaApi", unknown>>;
|
|
1019
1032
|
trigger: (arg: {
|
|
1020
1033
|
queryArg: void | GetAdPlatformsRequest;
|
|
1021
1034
|
pageParam: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adApi.d.ts","sourceRoot":"","sources":["../../../../src/entities/ad/api/adApi.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC5B,MAAM,gBAAgB,CAAC;AAGxB,eAAO,MAAM,KAAK;;;oJA+BhB,CAAC;AAEH,eAAO,MAAQ,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,8BAA8B
|
|
1
|
+
{"version":3,"file":"adApi.d.ts","sourceRoot":"","sources":["../../../../src/entities/ad/api/adApi.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC5B,MAAM,gB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAAU,CAAC"}
|
|
@@ -604,6 +604,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
604
604
|
skip?: boolean;
|
|
605
605
|
refetchOnMountOrArgChange?: boolean | number;
|
|
606
606
|
initialPageParam?: number;
|
|
607
|
+
refetchCachedPages?: boolean;
|
|
607
608
|
} & {
|
|
608
609
|
skip?: boolean;
|
|
609
610
|
selectFromResult?: (state: import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
@@ -1014,14 +1015,26 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
1014
1015
|
}, "error">>)>> & {
|
|
1015
1016
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
1016
1017
|
}) => R;
|
|
1017
|
-
}) | undefined) => [R][R extends any ? 0 : never] & Pick<
|
|
1018
|
+
}) | undefined) => [R][R extends any ? 0 : never] & Pick<{
|
|
1019
|
+
refetch: (options?: Pick<import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
1020
|
+
skip?: boolean;
|
|
1021
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
1022
|
+
initialPageParam?: number;
|
|
1023
|
+
refetchCachedPages?: boolean;
|
|
1024
|
+
}, "refetchCachedPages"> | undefined) => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1018
1025
|
trigger: (arg: {
|
|
1019
1026
|
queryArg: void | GetCartMerchantsRequest;
|
|
1020
1027
|
pageParam: number;
|
|
1021
1028
|
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1022
1029
|
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1023
1030
|
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1024
|
-
}, "refetch"
|
|
1031
|
+
}, "refetch" | "fetchNextPage" | "fetchPreviousPage"> & Pick<{
|
|
1032
|
+
refetch: (options?: Pick<import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
1033
|
+
skip?: boolean;
|
|
1034
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
1035
|
+
initialPageParam?: number;
|
|
1036
|
+
refetchCachedPages?: boolean;
|
|
1037
|
+
}, "refetchCachedPages"> | undefined) => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1025
1038
|
trigger: (arg: {
|
|
1026
1039
|
queryArg: void | GetCartMerchantsRequest;
|
|
1027
1040
|
pageParam: number;
|
|
@@ -1439,6 +1452,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
1439
1452
|
skip?: boolean;
|
|
1440
1453
|
refetchOnMountOrArgChange?: boolean | number;
|
|
1441
1454
|
initialPageParam?: number;
|
|
1455
|
+
refetchCachedPages?: boolean;
|
|
1442
1456
|
} & {
|
|
1443
1457
|
skip?: boolean;
|
|
1444
1458
|
selectFromResult?: (state: import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
@@ -1849,14 +1863,26 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
1849
1863
|
}, "error">>)>> & {
|
|
1850
1864
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
1851
1865
|
}) => R;
|
|
1852
|
-
}) | undefined) => [R][R extends any ? 0 : never] & Pick<
|
|
1866
|
+
}) | undefined) => [R][R extends any ? 0 : never] & Pick<{
|
|
1867
|
+
refetch: (options?: Pick<import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
1868
|
+
skip?: boolean;
|
|
1869
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
1870
|
+
initialPageParam?: number;
|
|
1871
|
+
refetchCachedPages?: boolean;
|
|
1872
|
+
}, "refetchCachedPages"> | undefined) => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantItemsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantItemsResponse, "buymeuaApi", unknown>>;
|
|
1853
1873
|
trigger: (arg: {
|
|
1854
1874
|
queryArg: GetCartMerchantItemsRequest;
|
|
1855
1875
|
pageParam: number;
|
|
1856
1876
|
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantItemsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantItemsResponse, "buymeuaApi", unknown>>;
|
|
1857
1877
|
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantItemsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantItemsResponse, "buymeuaApi", unknown>>;
|
|
1858
1878
|
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantItemsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantItemsResponse, "buymeuaApi", unknown>>;
|
|
1859
|
-
}, "refetch"
|
|
1879
|
+
}, "refetch" | "fetchNextPage" | "fetchPreviousPage"> & Pick<{
|
|
1880
|
+
refetch: (options?: Pick<import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
1881
|
+
skip?: boolean;
|
|
1882
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
1883
|
+
initialPageParam?: number;
|
|
1884
|
+
refetchCachedPages?: boolean;
|
|
1885
|
+
}, "refetchCachedPages"> | undefined) => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantItemsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "CartCount" | "CartMerchant" | "CartMerchantItem", GetCartMerchantItemsResponse, "buymeuaApi", unknown>>;
|
|
1860
1886
|
trigger: (arg: {
|
|
1861
1887
|
queryArg: GetCartMerchantItemsRequest;
|
|
1862
1888
|
pageParam: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cartApi.d.ts","sourceRoot":"","sources":["../../../../src/entities/cart/api/cartApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,4BAA4B,EAC5B,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,gBAAgB,CAAC;AAcxB,eAAO,MAAM,OAAO;;;;;;;;;2PAochB,CAAC;AAEL,eAAO,MACL,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GACpB,gCAAgC
|
|
1
|
+
{"version":3,"file":"cartApi.d.ts","sourceRoot":"","sources":["../../../../src/entities/cart/api/cartApi.ts"],"names":[],"mappings":"AACA,O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