tsdf 9.1.1 → 9.2.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/dist/main.cjs CHANGED
@@ -1411,7 +1411,8 @@ function newTSDFListQueryStore({
1411
1411
  error: null,
1412
1412
  hasMore: false,
1413
1413
  payload: omitPayload ? void 0 : payload,
1414
- isLoading: returnIdleStatus ? false : true
1414
+ isLoading: returnIdleStatus ? false : true,
1415
+ isLoadingMore: false
1415
1416
  };
1416
1417
  }
1417
1418
  let status = query.status;
@@ -1425,7 +1426,8 @@ function newTSDFListQueryStore({
1425
1426
  error: query.error,
1426
1427
  hasMore: query.hasMore,
1427
1428
  isLoading: status === "loading",
1428
- payload: omitPayload ? void 0 : query.payload
1429
+ payload: omitPayload ? void 0 : query.payload,
1430
+ isLoadingMore: status === "loadingMore"
1429
1431
  };
1430
1432
  }
1431
1433
  );
@@ -1487,7 +1489,8 @@ function newTSDFListQueryStore({
1487
1489
  isLoading: false,
1488
1490
  status: "idle",
1489
1491
  queryKey: "",
1490
- items: []
1492
+ items: [],
1493
+ isLoadingMore: false
1491
1494
  },
1492
1495
  [queryResult]
1493
1496
  );
package/dist/main.d.ts CHANGED
@@ -159,6 +159,7 @@ type TSFDUseListQueryReturn<Selected, ItemPayload, NError> = {
159
159
  queryKey: string;
160
160
  hasMore: boolean;
161
161
  isLoading: boolean;
162
+ isLoadingMore: boolean;
162
163
  };
163
164
  type TSFDUseListItemReturn<Selected, NError, ItemPayload> = {
164
165
  data: Selected;
package/dist/main.js CHANGED
@@ -1377,7 +1377,8 @@ function newTSDFListQueryStore({
1377
1377
  error: null,
1378
1378
  hasMore: false,
1379
1379
  payload: omitPayload ? void 0 : payload,
1380
- isLoading: returnIdleStatus ? false : true
1380
+ isLoading: returnIdleStatus ? false : true,
1381
+ isLoadingMore: false
1381
1382
  };
1382
1383
  }
1383
1384
  let status = query.status;
@@ -1391,7 +1392,8 @@ function newTSDFListQueryStore({
1391
1392
  error: query.error,
1392
1393
  hasMore: query.hasMore,
1393
1394
  isLoading: status === "loading",
1394
- payload: omitPayload ? void 0 : query.payload
1395
+ payload: omitPayload ? void 0 : query.payload,
1396
+ isLoadingMore: status === "loadingMore"
1395
1397
  };
1396
1398
  }
1397
1399
  );
@@ -1453,7 +1455,8 @@ function newTSDFListQueryStore({
1453
1455
  isLoading: false,
1454
1456
  status: "idle",
1455
1457
  queryKey: "",
1456
- items: []
1458
+ items: [],
1459
+ isLoadingMore: false
1457
1460
  },
1458
1461
  [queryResult]
1459
1462
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsdf",
3
- "version": "9.1.1",
3
+ "version": "9.2.0",
4
4
  "description": "A data fetching solution based on t-state",
5
5
  "license": "MIT",
6
6
  "author": "Lucas Santos",