fastapi-rtk 0.2.31 → 0.2.33
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/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/utils.cjs +24 -21
- package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/suspense.cjs +6 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.cjs +2 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.cjs +1 -1
- package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/utils.mjs +24 -21
- package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/suspense.mjs +6 -2
- package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.mjs +2 -2
- package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.mjs +1 -1
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/Provider.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideAuth.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideInfo.cjs +1 -1
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/Provider.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideAuth.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideInfo.mjs +1 -1
- package/package.json +1 -1
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/focusManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/mutation.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/mutationCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/notifyManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/onlineManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/query.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/queryCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/queryClient.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/queryObserver.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/removable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/retryer.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/subscribable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/thenable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/focusManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/mutation.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/mutationCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/notifyManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/onlineManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/query.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/queryCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/queryClient.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/queryObserver.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/removable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/retryer.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/subscribable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.85.7}/@tanstack/query-core/build/modern/thenable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.85.8_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +0 -0
|
@@ -103,34 +103,37 @@ function partialMatchKey(a, b) {
|
|
|
103
103
|
}
|
|
104
104
|
return false;
|
|
105
105
|
}
|
|
106
|
+
var hasOwn = Object.prototype.hasOwnProperty;
|
|
106
107
|
function replaceEqualDeep(a, b) {
|
|
107
108
|
if (a === b) {
|
|
108
109
|
return a;
|
|
109
110
|
}
|
|
110
111
|
const array = isPlainArray(a) && isPlainArray(b);
|
|
111
|
-
if (array
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
112
|
+
if (!array && !(isPlainObject(a) && isPlainObject(b))) return b;
|
|
113
|
+
const aItems = array ? a : Object.keys(a);
|
|
114
|
+
const aSize = aItems.length;
|
|
115
|
+
const bItems = array ? b : Object.keys(b);
|
|
116
|
+
const bSize = bItems.length;
|
|
117
|
+
const copy = array ? new Array(bSize) : {};
|
|
118
|
+
let equalItems = 0;
|
|
119
|
+
for (let i = 0; i < bSize; i++) {
|
|
120
|
+
const key = array ? i : bItems[i];
|
|
121
|
+
const aItem = a[key];
|
|
122
|
+
const bItem = b[key];
|
|
123
|
+
if (aItem === bItem) {
|
|
124
|
+
copy[key] = aItem;
|
|
125
|
+
if (array ? i < aSize : hasOwn.call(a, key)) equalItems++;
|
|
126
|
+
continue;
|
|
127
|
+
}
|
|
128
|
+
if (aItem === null || bItem === null || typeof aItem !== "object" || typeof bItem !== "object") {
|
|
129
|
+
copy[key] = bItem;
|
|
130
|
+
continue;
|
|
130
131
|
}
|
|
131
|
-
|
|
132
|
+
const v = replaceEqualDeep(aItem, bItem);
|
|
133
|
+
copy[key] = v;
|
|
134
|
+
if (v === aItem) equalItems++;
|
|
132
135
|
}
|
|
133
|
-
return
|
|
136
|
+
return aSize === bSize && equalItems === aSize ? a : copy;
|
|
134
137
|
}
|
|
135
138
|
function shallowEqualObjects(a, b) {
|
|
136
139
|
if (!b || Object.keys(a).length !== Object.keys(b).length) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const utils = require("../../../../../@tanstack_query-core@5.85.
|
|
4
|
+
const utils = require("../../../../../@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/utils.cjs");
|
|
5
5
|
function _interopNamespaceDefault(e) {
|
|
6
6
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
7
|
if (e) {
|
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
var ensureSuspenseTimers = (defaultedOptions) => {
|
|
4
4
|
if (defaultedOptions.suspense) {
|
|
5
|
-
const
|
|
5
|
+
const MIN_SUSPENSE_TIME_MS = 1e3;
|
|
6
|
+
const clamp = (value) => value === "static" ? value : Math.max(value ?? MIN_SUSPENSE_TIME_MS, MIN_SUSPENSE_TIME_MS);
|
|
6
7
|
const originalStaleTime = defaultedOptions.staleTime;
|
|
7
8
|
defaultedOptions.staleTime = typeof originalStaleTime === "function" ? (...args) => clamp(originalStaleTime(...args)) : clamp(originalStaleTime);
|
|
8
9
|
if (typeof defaultedOptions.gcTime === "number") {
|
|
9
|
-
defaultedOptions.gcTime = Math.max(
|
|
10
|
+
defaultedOptions.gcTime = Math.max(
|
|
11
|
+
defaultedOptions.gcTime,
|
|
12
|
+
MIN_SUSPENSE_TIME_MS
|
|
13
|
+
);
|
|
10
14
|
}
|
|
11
15
|
}
|
|
12
16
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const notifyManager = require("../../../../../@tanstack_query-core@5.85.
|
|
5
|
-
const utils = require("../../../../../@tanstack_query-core@5.85.
|
|
4
|
+
const notifyManager = require("../../../../../@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/notifyManager.cjs");
|
|
5
|
+
const utils = require("../../../../../@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/utils.cjs");
|
|
6
6
|
const QueryClientProvider = require("./QueryClientProvider.cjs");
|
|
7
7
|
const QueryErrorResetBoundary = require("./QueryErrorResetBoundary.cjs");
|
|
8
8
|
const errorBoundaryUtils = require("./errorBoundaryUtils.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const queryObserver = require("../../../../../@tanstack_query-core@5.85.
|
|
3
|
+
const queryObserver = require("../../../../../@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/queryObserver.cjs");
|
|
4
4
|
const useBaseQuery = require("./useBaseQuery.cjs");
|
|
5
5
|
function useQuery(options, queryClient) {
|
|
6
6
|
return useBaseQuery.useBaseQuery(options, queryObserver.QueryObserver);
|
|
@@ -101,34 +101,37 @@ function partialMatchKey(a, b) {
|
|
|
101
101
|
}
|
|
102
102
|
return false;
|
|
103
103
|
}
|
|
104
|
+
var hasOwn = Object.prototype.hasOwnProperty;
|
|
104
105
|
function replaceEqualDeep(a, b) {
|
|
105
106
|
if (a === b) {
|
|
106
107
|
return a;
|
|
107
108
|
}
|
|
108
109
|
const array = isPlainArray(a) && isPlainArray(b);
|
|
109
|
-
if (array
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
110
|
+
if (!array && !(isPlainObject(a) && isPlainObject(b))) return b;
|
|
111
|
+
const aItems = array ? a : Object.keys(a);
|
|
112
|
+
const aSize = aItems.length;
|
|
113
|
+
const bItems = array ? b : Object.keys(b);
|
|
114
|
+
const bSize = bItems.length;
|
|
115
|
+
const copy = array ? new Array(bSize) : {};
|
|
116
|
+
let equalItems = 0;
|
|
117
|
+
for (let i = 0; i < bSize; i++) {
|
|
118
|
+
const key = array ? i : bItems[i];
|
|
119
|
+
const aItem = a[key];
|
|
120
|
+
const bItem = b[key];
|
|
121
|
+
if (aItem === bItem) {
|
|
122
|
+
copy[key] = aItem;
|
|
123
|
+
if (array ? i < aSize : hasOwn.call(a, key)) equalItems++;
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
if (aItem === null || bItem === null || typeof aItem !== "object" || typeof bItem !== "object") {
|
|
127
|
+
copy[key] = bItem;
|
|
128
|
+
continue;
|
|
128
129
|
}
|
|
129
|
-
|
|
130
|
+
const v = replaceEqualDeep(aItem, bItem);
|
|
131
|
+
copy[key] = v;
|
|
132
|
+
if (v === aItem) equalItems++;
|
|
130
133
|
}
|
|
131
|
-
return
|
|
134
|
+
return aSize === bSize && equalItems === aSize ? a : copy;
|
|
132
135
|
}
|
|
133
136
|
function shallowEqualObjects(a, b) {
|
|
134
137
|
if (!b || Object.keys(a).length !== Object.keys(b).length) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { shouldThrowError } from "../../../../../@tanstack_query-core@5.85.
|
|
2
|
+
import { shouldThrowError } from "../../../../../@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/utils.mjs";
|
|
3
3
|
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary) => {
|
|
4
4
|
if (options.suspense || options.throwOnError || options.experimental_prefetchInRender) {
|
|
5
5
|
if (!errorResetBoundary.isReset()) {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
var ensureSuspenseTimers = (defaultedOptions) => {
|
|
2
2
|
if (defaultedOptions.suspense) {
|
|
3
|
-
const
|
|
3
|
+
const MIN_SUSPENSE_TIME_MS = 1e3;
|
|
4
|
+
const clamp = (value) => value === "static" ? value : Math.max(value ?? MIN_SUSPENSE_TIME_MS, MIN_SUSPENSE_TIME_MS);
|
|
4
5
|
const originalStaleTime = defaultedOptions.staleTime;
|
|
5
6
|
defaultedOptions.staleTime = typeof originalStaleTime === "function" ? (...args) => clamp(originalStaleTime(...args)) : clamp(originalStaleTime);
|
|
6
7
|
if (typeof defaultedOptions.gcTime === "number") {
|
|
7
|
-
defaultedOptions.gcTime = Math.max(
|
|
8
|
+
defaultedOptions.gcTime = Math.max(
|
|
9
|
+
defaultedOptions.gcTime,
|
|
10
|
+
MIN_SUSPENSE_TIME_MS
|
|
11
|
+
);
|
|
8
12
|
}
|
|
9
13
|
}
|
|
10
14
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { notifyManager } from "../../../../../@tanstack_query-core@5.85.
|
|
3
|
-
import { noop, isServer } from "../../../../../@tanstack_query-core@5.85.
|
|
2
|
+
import { notifyManager } from "../../../../../@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
3
|
+
import { noop, isServer } from "../../../../../@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/utils.mjs";
|
|
4
4
|
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
5
5
|
import { useQueryErrorResetBoundary } from "./QueryErrorResetBoundary.mjs";
|
|
6
6
|
import { ensurePreventErrorBoundaryRetry, useClearResetErrorBoundary, getHasError } from "./errorBoundaryUtils.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryObserver } from "../../../../../@tanstack_query-core@5.85.
|
|
1
|
+
import { QueryObserver } from "../../../../../@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/queryObserver.mjs";
|
|
2
2
|
import { useBaseQuery } from "./useBaseQuery.mjs";
|
|
3
3
|
function useQuery(options, queryClient) {
|
|
4
4
|
return useBaseQuery(options, QueryObserver);
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const utils = require("fastapi-rtk/utils");
|
|
5
5
|
const hooks = require("@mantine/hooks");
|
|
6
|
-
const utils$1 = require("../../../../../.external/cjs/@tanstack_query-core@5.85.
|
|
7
|
-
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.85.
|
|
6
|
+
const utils$1 = require("../../../../../.external/cjs/@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/utils.cjs");
|
|
7
|
+
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
|
|
8
8
|
const createItem = require("../utils/api/createItem.cjs");
|
|
9
9
|
const deleteItem = require("../utils/api/deleteItem.cjs");
|
|
10
10
|
const downloadItems = require("../utils/api/downloadItems.cjs");
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const zustand = require("fastapi-rtk/zustand");
|
|
5
|
-
const queryClient = require("../../../../.external/cjs/@tanstack_query-core@5.85.
|
|
6
|
-
const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.85.
|
|
5
|
+
const queryClient = require("../../../../.external/cjs/@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/queryClient.cjs");
|
|
6
|
+
const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
|
|
7
7
|
const React = require("react");
|
|
8
8
|
const useProvideAuth = require("../../fab-react-toolkit-patch/auth/hooks/useProvideAuth.cjs");
|
|
9
9
|
const useProvideInfo = require("../../fab-react-toolkit-patch/auth/hooks/useProvideInfo.cjs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.85.
|
|
4
|
-
const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.85.
|
|
3
|
+
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
|
|
4
|
+
const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
|
|
5
5
|
const React = require("react");
|
|
6
6
|
const authFetch = require("../utils/authFetch.cjs");
|
|
7
7
|
const userCRUD = require("../utils/userCRUD.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.85.
|
|
3
|
+
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const authFetch = require("../utils/authFetch.cjs");
|
|
6
6
|
const defaultInfo = { getInfo: authFetch.authInfo };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState, useRef, useEffect, useMemo, useCallback } from "react";
|
|
2
2
|
import { convertId, getItemId, urlJoin } from "fastapi-rtk/utils";
|
|
3
3
|
import { useDidUpdate, useSetState } from "@mantine/hooks";
|
|
4
|
-
import { keepPreviousData } from "../../../../../.external/esm/@tanstack_query-core@5.85.
|
|
5
|
-
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.85.
|
|
4
|
+
import { keepPreviousData } from "../../../../../.external/esm/@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/utils.mjs";
|
|
5
|
+
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
|
|
6
6
|
import { createItem } from "../utils/api/createItem.mjs";
|
|
7
7
|
import { deleteItem } from "../utils/api/deleteItem.mjs";
|
|
8
8
|
import { downloadItems } from "../utils/api/downloadItems.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useProxy } from "fastapi-rtk/zustand";
|
|
3
|
-
import { QueryClient } from "../../../../.external/esm/@tanstack_query-core@5.85.
|
|
4
|
-
import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.85.
|
|
3
|
+
import { QueryClient } from "../../../../.external/esm/@tanstack_query-core@5.85.7/@tanstack/query-core/build/modern/queryClient.mjs";
|
|
4
|
+
import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
|
|
5
5
|
import { useState, useMemo } from "react";
|
|
6
6
|
import { defaultAuth } from "../../fab-react-toolkit-patch/auth/hooks/useProvideAuth.mjs";
|
|
7
7
|
import { defaultInfo } from "../../fab-react-toolkit-patch/auth/hooks/useProvideInfo.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.85.
|
|
2
|
-
import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.85.
|
|
1
|
+
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
|
|
2
|
+
import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
|
|
3
3
|
import { useState, useCallback, useMemo } from "react";
|
|
4
4
|
import { authOAuthSignin, authResetPassword, authSignout, authSignin } from "../utils/authFetch.mjs";
|
|
5
5
|
import { updateUser, getUser } from "../utils/userCRUD.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.85.
|
|
1
|
+
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.85.8_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import { authInfo } from "../utils/authFetch.mjs";
|
|
4
4
|
const defaultInfo = { getInfo: authInfo };
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|