buymeua-api-fe 0.17.0 → 0.19.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 +43 -0
- package/README.md +16 -5
- package/dist/entities/cart/api/cartApi.d.ts +60 -60
- package/dist/entities/cart/api/cartApi.d.ts.map +1 -1
- package/dist/entities/cart/api/cartApi.js +23 -8
- package/dist/entities/cart/api/cartApi.js.map +1 -1
- package/dist/entities/cart/model/types.d.ts +2 -21
- package/dist/entities/cart/model/types.d.ts.map +1 -1
- package/dist/entities/category/model/types.d.ts +1 -0
- package/dist/entities/category/model/types.d.ts.map +1 -1
- package/dist/entities/chat/api/chatApi.d.ts +60 -60
- package/dist/entities/chat/api/chatApi.d.ts.map +1 -1
- package/dist/entities/chat/api/chatApi.js +8 -8
- package/dist/entities/chat/api/chatApi.js.map +1 -1
- package/dist/entities/country/api/countryApi.d.ts +60 -60
- package/dist/entities/country/api/countryApi.d.ts.map +1 -1
- package/dist/entities/country/api/countryApi.js.map +1 -1
- package/dist/entities/favorite/api/favoriteApi.js +3 -3
- package/dist/entities/favorite/api/favoriteApi.js.map +1 -1
- package/dist/entities/notification/api/notificationApi.d.ts +60 -60
- package/dist/entities/notification/api/notificationApi.d.ts.map +1 -1
- package/dist/entities/notification/api/notificationApi.js +3 -3
- package/dist/entities/notification/api/notificationApi.js.map +1 -1
- package/dist/entities/novaposhta/api/novaposhtaApi.d.ts +180 -180
- package/dist/entities/novaposhta/api/novaposhtaApi.d.ts.map +1 -1
- package/dist/entities/novaposhta/api/novaposhtaApi.js.map +1 -1
- package/dist/entities/product/api/productApi.d.ts +10 -10
- package/dist/entities/product/api/productApi.js +2 -2
- package/dist/entities/product/api/productApi.js.map +1 -1
- package/dist/entities/product/model/types.d.ts +6 -1
- package/dist/entities/product/model/types.d.ts.map +1 -1
- package/dist/entities/store/api/storeApi.d.ts +2 -2
- package/dist/entities/stories/api/storiesApi.js +2 -2
- package/dist/entities/stories/api/storiesApi.js.map +1 -1
- package/dist/entities/supplier/api/supplierApi.d.ts +1 -1
- package/dist/entities/supplier/api/supplierApi.js +6 -6
- package/dist/entities/supplier/api/supplierApi.js.map +1 -1
- package/dist/entities/supplier/model/types.d.ts +12 -1
- package/dist/entities/supplier/model/types.d.ts.map +1 -1
- package/dist/shared/api/api.d.ts +1 -1
- package/dist/shared/api/api.d.ts.map +1 -1
- package/dist/shared/api/api.js +1 -1
- package/dist/shared/api/api.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DeleteAllNotificationsResponse, DeleteNotificationRequest, DeleteNotificationResponse, GetNewSuppliersCountResponse, GetNotificationRequest, GetNotificationsCountResponse, GetNotificationsRequest, GetNotificationsResponse, MarkAllNotificationsAsReadResponse, MarkNotificationAsReadRequest, MarkNotificationAsReadResponse } from '../model/types';
|
|
2
2
|
export declare const notificationApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, import("@reduxjs/toolkit/query").UpdateDefinitions<{
|
|
3
|
-
getNotifications: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetNotificationsResponse, "buymeuaApi", unknown>;
|
|
3
|
+
getNotifications: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetNotificationsResponse, "buymeuaApi", unknown>;
|
|
4
4
|
getNotification: import("@reduxjs/toolkit/query").QueryDefinition<GetNotificationRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, import("..").Notification, "buymeuaApi", unknown>;
|
|
5
5
|
getNotificationsCount: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetNotificationsCountResponse, "buymeuaApi", unknown>;
|
|
6
6
|
getNewSuppliersCount: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetNewSuppliersCountResponse, "buymeuaApi", unknown>;
|
|
@@ -50,7 +50,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
50
50
|
}) | ({
|
|
51
51
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
52
52
|
error: undefined;
|
|
53
|
-
originalArgs: GetNotificationsRequest;
|
|
53
|
+
originalArgs: void | GetNotificationsRequest;
|
|
54
54
|
requestId: string;
|
|
55
55
|
endpointName: string;
|
|
56
56
|
startedTimeStamp: number;
|
|
@@ -60,7 +60,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
60
60
|
direction?: "forward" | "backward";
|
|
61
61
|
}) | ({
|
|
62
62
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
63
|
-
originalArgs: GetNotificationsRequest;
|
|
63
|
+
originalArgs: void | GetNotificationsRequest;
|
|
64
64
|
requestId: string;
|
|
65
65
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
66
66
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -73,7 +73,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
73
73
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
74
74
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
75
75
|
fulfilledTimeStamp?: number;
|
|
76
|
-
originalArgs: GetNotificationsRequest;
|
|
76
|
+
originalArgs: void | GetNotificationsRequest;
|
|
77
77
|
requestId: string;
|
|
78
78
|
endpointName: string;
|
|
79
79
|
startedTimeStamp: number;
|
|
@@ -83,7 +83,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
83
83
|
}) | ({
|
|
84
84
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
85
85
|
error: undefined;
|
|
86
|
-
originalArgs: GetNotificationsRequest;
|
|
86
|
+
originalArgs: void | GetNotificationsRequest;
|
|
87
87
|
requestId: string;
|
|
88
88
|
endpointName: string;
|
|
89
89
|
startedTimeStamp: number;
|
|
@@ -93,7 +93,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
93
93
|
direction?: "forward" | "backward";
|
|
94
94
|
}) | ({
|
|
95
95
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
96
|
-
originalArgs: GetNotificationsRequest;
|
|
96
|
+
originalArgs: void | GetNotificationsRequest;
|
|
97
97
|
requestId: string;
|
|
98
98
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
99
99
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -106,7 +106,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
106
106
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
107
107
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
108
108
|
fulfilledTimeStamp?: number;
|
|
109
|
-
originalArgs: GetNotificationsRequest;
|
|
109
|
+
originalArgs: void | GetNotificationsRequest;
|
|
110
110
|
requestId: string;
|
|
111
111
|
endpointName: string;
|
|
112
112
|
startedTimeStamp: number;
|
|
@@ -149,7 +149,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
149
149
|
}) | ({
|
|
150
150
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
151
151
|
error: undefined;
|
|
152
|
-
originalArgs: GetNotificationsRequest;
|
|
152
|
+
originalArgs: void | GetNotificationsRequest;
|
|
153
153
|
requestId: string;
|
|
154
154
|
endpointName: string;
|
|
155
155
|
startedTimeStamp: number;
|
|
@@ -159,7 +159,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
159
159
|
direction?: "forward" | "backward";
|
|
160
160
|
}) | ({
|
|
161
161
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
162
|
-
originalArgs: GetNotificationsRequest;
|
|
162
|
+
originalArgs: void | GetNotificationsRequest;
|
|
163
163
|
requestId: string;
|
|
164
164
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
165
165
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -172,7 +172,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
172
172
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
173
173
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
174
174
|
fulfilledTimeStamp?: number;
|
|
175
|
-
originalArgs: GetNotificationsRequest;
|
|
175
|
+
originalArgs: void | GetNotificationsRequest;
|
|
176
176
|
requestId: string;
|
|
177
177
|
endpointName: string;
|
|
178
178
|
startedTimeStamp: number;
|
|
@@ -182,7 +182,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
182
182
|
}) | ({
|
|
183
183
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
184
184
|
error: undefined;
|
|
185
|
-
originalArgs: GetNotificationsRequest;
|
|
185
|
+
originalArgs: void | GetNotificationsRequest;
|
|
186
186
|
requestId: string;
|
|
187
187
|
endpointName: string;
|
|
188
188
|
startedTimeStamp: number;
|
|
@@ -192,7 +192,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
192
192
|
direction?: "forward" | "backward";
|
|
193
193
|
}) | ({
|
|
194
194
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
195
|
-
originalArgs: GetNotificationsRequest;
|
|
195
|
+
originalArgs: void | GetNotificationsRequest;
|
|
196
196
|
requestId: string;
|
|
197
197
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
198
198
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -205,7 +205,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
205
205
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
206
206
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
207
207
|
fulfilledTimeStamp?: number;
|
|
208
|
-
originalArgs: GetNotificationsRequest;
|
|
208
|
+
originalArgs: void | GetNotificationsRequest;
|
|
209
209
|
requestId: string;
|
|
210
210
|
endpointName: string;
|
|
211
211
|
startedTimeStamp: number;
|
|
@@ -244,7 +244,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
244
244
|
}) | ({
|
|
245
245
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
246
246
|
error: undefined;
|
|
247
|
-
originalArgs: GetNotificationsRequest;
|
|
247
|
+
originalArgs: void | GetNotificationsRequest;
|
|
248
248
|
requestId: string;
|
|
249
249
|
endpointName: string;
|
|
250
250
|
startedTimeStamp: number;
|
|
@@ -254,7 +254,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
254
254
|
direction?: "forward" | "backward";
|
|
255
255
|
}) | ({
|
|
256
256
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
257
|
-
originalArgs: GetNotificationsRequest;
|
|
257
|
+
originalArgs: void | GetNotificationsRequest;
|
|
258
258
|
requestId: string;
|
|
259
259
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
260
260
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -267,7 +267,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
267
267
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
268
268
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
269
269
|
fulfilledTimeStamp?: number;
|
|
270
|
-
originalArgs: GetNotificationsRequest;
|
|
270
|
+
originalArgs: void | GetNotificationsRequest;
|
|
271
271
|
requestId: string;
|
|
272
272
|
endpointName: string;
|
|
273
273
|
startedTimeStamp: number;
|
|
@@ -277,7 +277,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
277
277
|
}) | ({
|
|
278
278
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
279
279
|
error: undefined;
|
|
280
|
-
originalArgs: GetNotificationsRequest;
|
|
280
|
+
originalArgs: void | GetNotificationsRequest;
|
|
281
281
|
requestId: string;
|
|
282
282
|
endpointName: string;
|
|
283
283
|
startedTimeStamp: number;
|
|
@@ -287,7 +287,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
287
287
|
direction?: "forward" | "backward";
|
|
288
288
|
}) | ({
|
|
289
289
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
290
|
-
originalArgs: GetNotificationsRequest;
|
|
290
|
+
originalArgs: void | GetNotificationsRequest;
|
|
291
291
|
requestId: string;
|
|
292
292
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
293
293
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -300,7 +300,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
300
300
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
301
301
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
302
302
|
fulfilledTimeStamp?: number;
|
|
303
|
-
originalArgs: GetNotificationsRequest;
|
|
303
|
+
originalArgs: void | GetNotificationsRequest;
|
|
304
304
|
requestId: string;
|
|
305
305
|
endpointName: string;
|
|
306
306
|
startedTimeStamp: number;
|
|
@@ -337,7 +337,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
337
337
|
}) | ({
|
|
338
338
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
339
339
|
error: undefined;
|
|
340
|
-
originalArgs: GetNotificationsRequest;
|
|
340
|
+
originalArgs: void | GetNotificationsRequest;
|
|
341
341
|
requestId: string;
|
|
342
342
|
endpointName: string;
|
|
343
343
|
startedTimeStamp: number;
|
|
@@ -347,7 +347,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
347
347
|
direction?: "forward" | "backward";
|
|
348
348
|
}) | ({
|
|
349
349
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
350
|
-
originalArgs: GetNotificationsRequest;
|
|
350
|
+
originalArgs: void | GetNotificationsRequest;
|
|
351
351
|
requestId: string;
|
|
352
352
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
353
353
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -360,7 +360,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
360
360
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
361
361
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
362
362
|
fulfilledTimeStamp?: number;
|
|
363
|
-
originalArgs: GetNotificationsRequest;
|
|
363
|
+
originalArgs: void | GetNotificationsRequest;
|
|
364
364
|
requestId: string;
|
|
365
365
|
endpointName: string;
|
|
366
366
|
startedTimeStamp: number;
|
|
@@ -370,7 +370,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
370
370
|
}) | ({
|
|
371
371
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
372
372
|
error: undefined;
|
|
373
|
-
originalArgs: GetNotificationsRequest;
|
|
373
|
+
originalArgs: void | GetNotificationsRequest;
|
|
374
374
|
requestId: string;
|
|
375
375
|
endpointName: string;
|
|
376
376
|
startedTimeStamp: number;
|
|
@@ -380,7 +380,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
380
380
|
direction?: "forward" | "backward";
|
|
381
381
|
}) | ({
|
|
382
382
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
383
|
-
originalArgs: GetNotificationsRequest;
|
|
383
|
+
originalArgs: void | GetNotificationsRequest;
|
|
384
384
|
requestId: string;
|
|
385
385
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
386
386
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -393,7 +393,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
393
393
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
394
394
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
395
395
|
fulfilledTimeStamp?: number;
|
|
396
|
-
originalArgs: GetNotificationsRequest;
|
|
396
|
+
originalArgs: void | GetNotificationsRequest;
|
|
397
397
|
requestId: string;
|
|
398
398
|
endpointName: string;
|
|
399
399
|
startedTimeStamp: number;
|
|
@@ -416,7 +416,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
416
416
|
isFetchingPreviousPage: boolean;
|
|
417
417
|
}, "error">>)>> & {
|
|
418
418
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
419
|
-
}>(arg: typeof import("@reduxjs/toolkit/query").skipToken | GetNotificationsRequest, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
419
|
+
}>(arg: void | typeof import("@reduxjs/toolkit/query").skipToken | GetNotificationsRequest, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
420
420
|
skip?: boolean;
|
|
421
421
|
refetchOnMountOrArgChange?: boolean | number;
|
|
422
422
|
initialPageParam?: number;
|
|
@@ -463,7 +463,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
463
463
|
}) | ({
|
|
464
464
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
465
465
|
error: undefined;
|
|
466
|
-
originalArgs: GetNotificationsRequest;
|
|
466
|
+
originalArgs: void | GetNotificationsRequest;
|
|
467
467
|
requestId: string;
|
|
468
468
|
endpointName: string;
|
|
469
469
|
startedTimeStamp: number;
|
|
@@ -473,7 +473,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
473
473
|
direction?: "forward" | "backward";
|
|
474
474
|
}) | ({
|
|
475
475
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
476
|
-
originalArgs: GetNotificationsRequest;
|
|
476
|
+
originalArgs: void | GetNotificationsRequest;
|
|
477
477
|
requestId: string;
|
|
478
478
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
479
479
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -486,7 +486,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
486
486
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
487
487
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
488
488
|
fulfilledTimeStamp?: number;
|
|
489
|
-
originalArgs: GetNotificationsRequest;
|
|
489
|
+
originalArgs: void | GetNotificationsRequest;
|
|
490
490
|
requestId: string;
|
|
491
491
|
endpointName: string;
|
|
492
492
|
startedTimeStamp: number;
|
|
@@ -496,7 +496,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
496
496
|
}) | ({
|
|
497
497
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
498
498
|
error: undefined;
|
|
499
|
-
originalArgs: GetNotificationsRequest;
|
|
499
|
+
originalArgs: void | GetNotificationsRequest;
|
|
500
500
|
requestId: string;
|
|
501
501
|
endpointName: string;
|
|
502
502
|
startedTimeStamp: number;
|
|
@@ -506,7 +506,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
506
506
|
direction?: "forward" | "backward";
|
|
507
507
|
}) | ({
|
|
508
508
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
509
|
-
originalArgs: GetNotificationsRequest;
|
|
509
|
+
originalArgs: void | GetNotificationsRequest;
|
|
510
510
|
requestId: string;
|
|
511
511
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
512
512
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -519,7 +519,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
519
519
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
520
520
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
521
521
|
fulfilledTimeStamp?: number;
|
|
522
|
-
originalArgs: GetNotificationsRequest;
|
|
522
|
+
originalArgs: void | GetNotificationsRequest;
|
|
523
523
|
requestId: string;
|
|
524
524
|
endpointName: string;
|
|
525
525
|
startedTimeStamp: number;
|
|
@@ -562,7 +562,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
562
562
|
}) | ({
|
|
563
563
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
564
564
|
error: undefined;
|
|
565
|
-
originalArgs: GetNotificationsRequest;
|
|
565
|
+
originalArgs: void | GetNotificationsRequest;
|
|
566
566
|
requestId: string;
|
|
567
567
|
endpointName: string;
|
|
568
568
|
startedTimeStamp: number;
|
|
@@ -572,7 +572,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
572
572
|
direction?: "forward" | "backward";
|
|
573
573
|
}) | ({
|
|
574
574
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
575
|
-
originalArgs: GetNotificationsRequest;
|
|
575
|
+
originalArgs: void | GetNotificationsRequest;
|
|
576
576
|
requestId: string;
|
|
577
577
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
578
578
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -585,7 +585,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
585
585
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
586
586
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
587
587
|
fulfilledTimeStamp?: number;
|
|
588
|
-
originalArgs: GetNotificationsRequest;
|
|
588
|
+
originalArgs: void | GetNotificationsRequest;
|
|
589
589
|
requestId: string;
|
|
590
590
|
endpointName: string;
|
|
591
591
|
startedTimeStamp: number;
|
|
@@ -595,7 +595,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
595
595
|
}) | ({
|
|
596
596
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
597
597
|
error: undefined;
|
|
598
|
-
originalArgs: GetNotificationsRequest;
|
|
598
|
+
originalArgs: void | GetNotificationsRequest;
|
|
599
599
|
requestId: string;
|
|
600
600
|
endpointName: string;
|
|
601
601
|
startedTimeStamp: number;
|
|
@@ -605,7 +605,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
605
605
|
direction?: "forward" | "backward";
|
|
606
606
|
}) | ({
|
|
607
607
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
608
|
-
originalArgs: GetNotificationsRequest;
|
|
608
|
+
originalArgs: void | GetNotificationsRequest;
|
|
609
609
|
requestId: string;
|
|
610
610
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
611
611
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -618,7 +618,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
618
618
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
619
619
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
620
620
|
fulfilledTimeStamp?: number;
|
|
621
|
-
originalArgs: GetNotificationsRequest;
|
|
621
|
+
originalArgs: void | GetNotificationsRequest;
|
|
622
622
|
requestId: string;
|
|
623
623
|
endpointName: string;
|
|
624
624
|
startedTimeStamp: number;
|
|
@@ -657,7 +657,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
657
657
|
}) | ({
|
|
658
658
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
659
659
|
error: undefined;
|
|
660
|
-
originalArgs: GetNotificationsRequest;
|
|
660
|
+
originalArgs: void | GetNotificationsRequest;
|
|
661
661
|
requestId: string;
|
|
662
662
|
endpointName: string;
|
|
663
663
|
startedTimeStamp: number;
|
|
@@ -667,7 +667,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
667
667
|
direction?: "forward" | "backward";
|
|
668
668
|
}) | ({
|
|
669
669
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
670
|
-
originalArgs: GetNotificationsRequest;
|
|
670
|
+
originalArgs: void | GetNotificationsRequest;
|
|
671
671
|
requestId: string;
|
|
672
672
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
673
673
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -680,7 +680,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
680
680
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
681
681
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
682
682
|
fulfilledTimeStamp?: number;
|
|
683
|
-
originalArgs: GetNotificationsRequest;
|
|
683
|
+
originalArgs: void | GetNotificationsRequest;
|
|
684
684
|
requestId: string;
|
|
685
685
|
endpointName: string;
|
|
686
686
|
startedTimeStamp: number;
|
|
@@ -690,7 +690,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
690
690
|
}) | ({
|
|
691
691
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
692
692
|
error: undefined;
|
|
693
|
-
originalArgs: GetNotificationsRequest;
|
|
693
|
+
originalArgs: void | GetNotificationsRequest;
|
|
694
694
|
requestId: string;
|
|
695
695
|
endpointName: string;
|
|
696
696
|
startedTimeStamp: number;
|
|
@@ -700,7 +700,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
700
700
|
direction?: "forward" | "backward";
|
|
701
701
|
}) | ({
|
|
702
702
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
703
|
-
originalArgs: GetNotificationsRequest;
|
|
703
|
+
originalArgs: void | GetNotificationsRequest;
|
|
704
704
|
requestId: string;
|
|
705
705
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
706
706
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -713,7 +713,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
713
713
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
714
714
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
715
715
|
fulfilledTimeStamp?: number;
|
|
716
|
-
originalArgs: GetNotificationsRequest;
|
|
716
|
+
originalArgs: void | GetNotificationsRequest;
|
|
717
717
|
requestId: string;
|
|
718
718
|
endpointName: string;
|
|
719
719
|
startedTimeStamp: number;
|
|
@@ -750,7 +750,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
750
750
|
}) | ({
|
|
751
751
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
752
752
|
error: undefined;
|
|
753
|
-
originalArgs: GetNotificationsRequest;
|
|
753
|
+
originalArgs: void | GetNotificationsRequest;
|
|
754
754
|
requestId: string;
|
|
755
755
|
endpointName: string;
|
|
756
756
|
startedTimeStamp: number;
|
|
@@ -760,7 +760,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
760
760
|
direction?: "forward" | "backward";
|
|
761
761
|
}) | ({
|
|
762
762
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
763
|
-
originalArgs: GetNotificationsRequest;
|
|
763
|
+
originalArgs: void | GetNotificationsRequest;
|
|
764
764
|
requestId: string;
|
|
765
765
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
766
766
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -773,7 +773,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
773
773
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
774
774
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
775
775
|
fulfilledTimeStamp?: number;
|
|
776
|
-
originalArgs: GetNotificationsRequest;
|
|
776
|
+
originalArgs: void | GetNotificationsRequest;
|
|
777
777
|
requestId: string;
|
|
778
778
|
endpointName: string;
|
|
779
779
|
startedTimeStamp: number;
|
|
@@ -783,7 +783,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
783
783
|
}) | ({
|
|
784
784
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
785
785
|
error: undefined;
|
|
786
|
-
originalArgs: GetNotificationsRequest;
|
|
786
|
+
originalArgs: void | GetNotificationsRequest;
|
|
787
787
|
requestId: string;
|
|
788
788
|
endpointName: string;
|
|
789
789
|
startedTimeStamp: number;
|
|
@@ -793,7 +793,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
793
793
|
direction?: "forward" | "backward";
|
|
794
794
|
}) | ({
|
|
795
795
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
796
|
-
originalArgs: GetNotificationsRequest;
|
|
796
|
+
originalArgs: void | GetNotificationsRequest;
|
|
797
797
|
requestId: string;
|
|
798
798
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
799
799
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -806,7 +806,7 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
806
806
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
807
807
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetNotificationsResponse, number>;
|
|
808
808
|
fulfilledTimeStamp?: number;
|
|
809
|
-
originalArgs: GetNotificationsRequest;
|
|
809
|
+
originalArgs: void | GetNotificationsRequest;
|
|
810
810
|
requestId: string;
|
|
811
811
|
endpointName: string;
|
|
812
812
|
startedTimeStamp: number;
|
|
@@ -830,20 +830,20 @@ export declare const useGetNotificationsInfiniteQuery: <R extends Record<string,
|
|
|
830
830
|
}, "error">>)>> & {
|
|
831
831
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
832
832
|
}) => R;
|
|
833
|
-
}) | undefined) => [R][R extends any ? 0 : never] & Pick<Pick<import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>, "refetch"> & {
|
|
833
|
+
}) | undefined) => [R][R extends any ? 0 : never] & Pick<Pick<import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>, "refetch"> & {
|
|
834
834
|
trigger: (arg: {
|
|
835
|
-
queryArg: GetNotificationsRequest;
|
|
835
|
+
queryArg: void | GetNotificationsRequest;
|
|
836
836
|
pageParam: number;
|
|
837
|
-
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
838
|
-
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
839
|
-
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
840
|
-
}, "refetch"> & Pick<Pick<import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>, "refetch"> & {
|
|
837
|
+
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
838
|
+
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
839
|
+
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
840
|
+
}, "refetch"> & Pick<Pick<import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>, "refetch"> & {
|
|
841
841
|
trigger: (arg: {
|
|
842
|
-
queryArg: GetNotificationsRequest;
|
|
842
|
+
queryArg: void | GetNotificationsRequest;
|
|
843
843
|
pageParam: number;
|
|
844
|
-
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
845
|
-
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
846
|
-
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
844
|
+
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
845
|
+
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
846
|
+
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetNotificationsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetNotificationsResponse, "buymeuaApi", unknown>>;
|
|
847
847
|
}, "fetchNextPage" | "fetchPreviousPage">, useGetNotificationQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
848
848
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
849
849
|
originalArgs?: undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationApi.d.ts","sourceRoot":"","sources":["../../../../src/entities/notification/api/notificationApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,8BAA8B,EAC9B,yBAAyB,EACzB,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EAEtB,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,kCAAkC,EAClC,6BAA6B,EAC7B,8B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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEjC,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACjC,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EACZ,CAAC"}
|
|
@@ -62,7 +62,7 @@ export const notificationApi = buymeuaApi
|
|
|
62
62
|
addTagTypes: ['Notification', 'NotificationsCount', 'NewSuppliersCount'],
|
|
63
63
|
endpoints: {
|
|
64
64
|
getNotifications: {
|
|
65
|
-
providesTags: (result) => result
|
|
65
|
+
providesTags: (result, _error, _arg, _meta) => result
|
|
66
66
|
? [
|
|
67
67
|
...result.pages.flatMap((page) => page.data.map((notification) => ({
|
|
68
68
|
type: 'Notification',
|
|
@@ -82,7 +82,7 @@ export const notificationApi = buymeuaApi
|
|
|
82
82
|
invalidatesTags: ['Notification', 'NotificationsCount'],
|
|
83
83
|
},
|
|
84
84
|
markNotificationAsRead: {
|
|
85
|
-
invalidatesTags: (result,
|
|
85
|
+
invalidatesTags: (result, _error, arg, _meta) => {
|
|
86
86
|
return result
|
|
87
87
|
? [
|
|
88
88
|
{ type: 'Notification', id: arg.notification },
|
|
@@ -95,7 +95,7 @@ export const notificationApi = buymeuaApi
|
|
|
95
95
|
invalidatesTags: ['Notification', 'NotificationsCount'],
|
|
96
96
|
},
|
|
97
97
|
deleteNotification: {
|
|
98
|
-
invalidatesTags: (result,
|
|
98
|
+
invalidatesTags: (result, _error, arg, _meta) => {
|
|
99
99
|
return result
|
|
100
100
|
? [
|
|
101
101
|
{ type: 'Notification', id: arg.notification },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationApi.js","sourceRoot":"","sources":["../../../../src/entities/notification/api/notificationApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAejD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,CAAC,MAAM,eAAe,GAAG,UAAU;KACtC,eAAe,CAAC;IACf,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrB,gBAAgB,EAAE,KAAK,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"notificationApi.js","sourceRoot":"","sources":["../../../../src/entities/notification/api/notificationApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAejD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,CAAC,MAAM,eAAe,GAAG,UAAU;KACtC,eAAe,CAAC;IACf,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrB,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAKnC;YACA,oBAAoB,EAAE;gBACpB,gBAAgB,EAAE,CAAC;gBAEnB,gBAAgB;aACjB;YAED,KAAK,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;gBACf,GAAG,EAAE,kBAAkB;gBACvB,MAAM,EAAE;oBACN,GAAG,GAAG,CAAC,QAAQ;oBACf,IAAI,EAAE,GAAG,CAAC,SAAS;iBACpB;aACF,CAAC;SACH,CAAC;QAEF,eAAe,EAAE,KAAK,CAAC,KAAK,CAG1B;YACA,KAAK,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;gBACf,GAAG,EAAE,oBAAoB,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