@lystech/core 3.0.117 → 3.0.119
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.d.ts +109 -1
- package/dist/lystech-core-provider.es.js +5686 -5627
- package/dist/lystech-core-provider.umd.js +77 -77
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
2
|
import { AxiosResponse } from 'axios';
|
|
3
3
|
import { default as default_2 } from 'react';
|
|
4
|
+
import { FetchStatus } from '@tanstack/react-query';
|
|
4
5
|
import { JSX } from 'react/jsx-runtime';
|
|
5
6
|
import { Location as Location_2 } from 'react-router-dom';
|
|
6
7
|
import { NavigateFunction } from 'react-router-dom';
|
|
7
8
|
import { QueryClient } from '@tanstack/react-query';
|
|
9
|
+
import { QueryObserverResult } from '@tanstack/react-query';
|
|
8
10
|
import { ReactNode } from 'react';
|
|
11
|
+
import { RefetchOptions } from '@tanstack/react-query';
|
|
12
|
+
import { RefetchQueryFilters } from '@tanstack/react-query';
|
|
9
13
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
10
14
|
|
|
11
15
|
export declare type AppliedPromoCodeType = {
|
|
@@ -1262,7 +1266,111 @@ export declare const useContextMenuHandler: () => {
|
|
|
1262
1266
|
|
|
1263
1267
|
export declare const useFeaturedImages: () => UseQueryResult<ImageType[], unknown>;
|
|
1264
1268
|
|
|
1265
|
-
export declare const useInvitedToOrders: (email: string, organization?: string) =>
|
|
1269
|
+
export declare const useInvitedToOrders: (email: string, organization?: string) => {
|
|
1270
|
+
data: CollectionInvitationType[];
|
|
1271
|
+
isLoading: boolean;
|
|
1272
|
+
error: unknown;
|
|
1273
|
+
isError: true;
|
|
1274
|
+
isLoadingError: false;
|
|
1275
|
+
isRefetchError: true;
|
|
1276
|
+
isSuccess: false;
|
|
1277
|
+
status: "error";
|
|
1278
|
+
dataUpdatedAt: number;
|
|
1279
|
+
errorUpdatedAt: number;
|
|
1280
|
+
failureCount: number;
|
|
1281
|
+
failureReason: unknown;
|
|
1282
|
+
errorUpdateCount: number;
|
|
1283
|
+
isFetched: boolean;
|
|
1284
|
+
isFetchedAfterMount: boolean;
|
|
1285
|
+
isFetching: boolean;
|
|
1286
|
+
isInitialLoading: boolean;
|
|
1287
|
+
isPaused: boolean;
|
|
1288
|
+
isPlaceholderData: boolean;
|
|
1289
|
+
isPreviousData: boolean;
|
|
1290
|
+
isRefetching: boolean;
|
|
1291
|
+
isStale: boolean;
|
|
1292
|
+
refetch: <TPageData>(options?: (RefetchOptions & RefetchQueryFilters<TPageData>) | undefined) => Promise<QueryObserverResult<CollectionInvitationType[], unknown>>;
|
|
1293
|
+
remove: () => void;
|
|
1294
|
+
fetchStatus: FetchStatus;
|
|
1295
|
+
} | {
|
|
1296
|
+
data: CollectionInvitationType[];
|
|
1297
|
+
isLoading: boolean;
|
|
1298
|
+
error: unknown;
|
|
1299
|
+
isError: false;
|
|
1300
|
+
isLoadingError: false;
|
|
1301
|
+
isRefetchError: false;
|
|
1302
|
+
isSuccess: true;
|
|
1303
|
+
status: "success";
|
|
1304
|
+
dataUpdatedAt: number;
|
|
1305
|
+
errorUpdatedAt: number;
|
|
1306
|
+
failureCount: number;
|
|
1307
|
+
failureReason: unknown;
|
|
1308
|
+
errorUpdateCount: number;
|
|
1309
|
+
isFetched: boolean;
|
|
1310
|
+
isFetchedAfterMount: boolean;
|
|
1311
|
+
isFetching: boolean;
|
|
1312
|
+
isInitialLoading: boolean;
|
|
1313
|
+
isPaused: boolean;
|
|
1314
|
+
isPlaceholderData: boolean;
|
|
1315
|
+
isPreviousData: boolean;
|
|
1316
|
+
isRefetching: boolean;
|
|
1317
|
+
isStale: boolean;
|
|
1318
|
+
refetch: <TPageData>(options?: (RefetchOptions & RefetchQueryFilters<TPageData>) | undefined) => Promise<QueryObserverResult<CollectionInvitationType[], unknown>>;
|
|
1319
|
+
remove: () => void;
|
|
1320
|
+
fetchStatus: FetchStatus;
|
|
1321
|
+
} | {
|
|
1322
|
+
data: CollectionInvitationType[];
|
|
1323
|
+
isLoading: boolean;
|
|
1324
|
+
error: unknown;
|
|
1325
|
+
isError: true;
|
|
1326
|
+
isLoadingError: true;
|
|
1327
|
+
isRefetchError: false;
|
|
1328
|
+
isSuccess: false;
|
|
1329
|
+
status: "error";
|
|
1330
|
+
dataUpdatedAt: number;
|
|
1331
|
+
errorUpdatedAt: number;
|
|
1332
|
+
failureCount: number;
|
|
1333
|
+
failureReason: unknown;
|
|
1334
|
+
errorUpdateCount: number;
|
|
1335
|
+
isFetched: boolean;
|
|
1336
|
+
isFetchedAfterMount: boolean;
|
|
1337
|
+
isFetching: boolean;
|
|
1338
|
+
isInitialLoading: boolean;
|
|
1339
|
+
isPaused: boolean;
|
|
1340
|
+
isPlaceholderData: boolean;
|
|
1341
|
+
isPreviousData: boolean;
|
|
1342
|
+
isRefetching: boolean;
|
|
1343
|
+
isStale: boolean;
|
|
1344
|
+
refetch: <TPageData>(options?: (RefetchOptions & RefetchQueryFilters<TPageData>) | undefined) => Promise<QueryObserverResult<CollectionInvitationType[], unknown>>;
|
|
1345
|
+
remove: () => void;
|
|
1346
|
+
fetchStatus: FetchStatus;
|
|
1347
|
+
} | {
|
|
1348
|
+
data: CollectionInvitationType[];
|
|
1349
|
+
isLoading: boolean;
|
|
1350
|
+
error: unknown;
|
|
1351
|
+
isError: false;
|
|
1352
|
+
isLoadingError: false;
|
|
1353
|
+
isRefetchError: false;
|
|
1354
|
+
isSuccess: false;
|
|
1355
|
+
status: "loading";
|
|
1356
|
+
dataUpdatedAt: number;
|
|
1357
|
+
errorUpdatedAt: number;
|
|
1358
|
+
failureCount: number;
|
|
1359
|
+
failureReason: unknown;
|
|
1360
|
+
errorUpdateCount: number;
|
|
1361
|
+
isFetched: boolean;
|
|
1362
|
+
isFetchedAfterMount: boolean;
|
|
1363
|
+
isFetching: boolean;
|
|
1364
|
+
isInitialLoading: boolean;
|
|
1365
|
+
isPaused: boolean;
|
|
1366
|
+
isPlaceholderData: boolean;
|
|
1367
|
+
isPreviousData: boolean;
|
|
1368
|
+
isRefetching: boolean;
|
|
1369
|
+
isStale: boolean;
|
|
1370
|
+
refetch: <TPageData>(options?: (RefetchOptions & RefetchQueryFilters<TPageData>) | undefined) => Promise<QueryObserverResult<CollectionInvitationType[], unknown>>;
|
|
1371
|
+
remove: () => void;
|
|
1372
|
+
fetchStatus: FetchStatus;
|
|
1373
|
+
};
|
|
1266
1374
|
|
|
1267
1375
|
export declare const useLystechPolitiqueAndConditions: () => UseQueryResult<PolitiqueAndConditionsType[], unknown>;
|
|
1268
1376
|
|