diff --git a/.pnp.cjs b/.pnp.cjs index 7dcd08ed..43e1d138 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -426,8 +426,9 @@ const RAW_RUNTIME_STATE = ["@boolti/eslint-config", "workspace:packages/config-eslint"],\ ["@boolti/typescript-config", "workspace:packages/config-typescript"],\ ["@lukemorales/query-key-factory", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:1.3.2"],\ - ["@tanstack/react-query", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:5.17.15"],\ - ["@tanstack/react-query-devtools", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:5.17.18"],\ + ["@tanstack/query-core", "npm:4.36.1"],\ + ["@tanstack/react-query", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:4.36.1"],\ + ["@tanstack/react-query-devtools", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:4.36.1"],\ ["@types/react", "npm:18.2.48"],\ ["@types/react-dom", "npm:18.2.18"],\ ["ky", "npm:1.2.0"],\ @@ -1042,8 +1043,8 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/__virtual__/@lukemorales-query-key-factory-virtual-c881ec6422/3/.yarn/berry/cache/@lukemorales-query-key-factory-npm-1.3.2-1e303991d7-10c0.zip/node_modules/@lukemorales/query-key-factory/",\ "packageDependencies": [\ ["@lukemorales/query-key-factory", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:1.3.2"],\ - ["@tanstack/query-core", null],\ - ["@tanstack/react-query", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:5.17.15"],\ + ["@tanstack/query-core", "npm:4.36.1"],\ + ["@tanstack/react-query", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:4.36.1"],\ ["@types/tanstack__query-core", null],\ ["@types/tanstack__react-query", null]\ ],\ @@ -1246,69 +1247,85 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["@tanstack/query-core", [\ - ["npm:5.17.15", {\ - "packageLocation": "../../.yarn/berry/cache/@tanstack-query-core-npm-5.17.15-2f8a2ca5ca-10c0.zip/node_modules/@tanstack/query-core/",\ + ["@tanstack/match-sorter-utils", [\ + ["npm:8.11.3", {\ + "packageLocation": "../../.yarn/berry/cache/@tanstack-match-sorter-utils-npm-8.11.3-170f90ae68-10c0.zip/node_modules/@tanstack/match-sorter-utils/",\ "packageDependencies": [\ - ["@tanstack/query-core", "npm:5.17.15"]\ + ["@tanstack/match-sorter-utils", "npm:8.11.3"],\ + ["remove-accents", "npm:0.4.2"]\ ],\ "linkType": "HARD"\ }]\ ]],\ - ["@tanstack/query-devtools", [\ - ["npm:5.17.7", {\ - "packageLocation": "../../.yarn/berry/cache/@tanstack-query-devtools-npm-5.17.7-610e8296ad-10c0.zip/node_modules/@tanstack/query-devtools/",\ + ["@tanstack/query-core", [\ + ["npm:4.36.1", {\ + "packageLocation": "../../.yarn/berry/cache/@tanstack-query-core-npm-4.36.1-7594b7a096-10c0.zip/node_modules/@tanstack/query-core/",\ "packageDependencies": [\ - ["@tanstack/query-devtools", "npm:5.17.7"]\ + ["@tanstack/query-core", "npm:4.36.1"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@tanstack/react-query", [\ - ["npm:5.17.15", {\ - "packageLocation": "../../.yarn/berry/cache/@tanstack-react-query-npm-5.17.15-a12de92c66-10c0.zip/node_modules/@tanstack/react-query/",\ + ["npm:4.36.1", {\ + "packageLocation": "../../.yarn/berry/cache/@tanstack-react-query-npm-4.36.1-435eddf619-10c0.zip/node_modules/@tanstack/react-query/",\ "packageDependencies": [\ - ["@tanstack/react-query", "npm:5.17.15"]\ + ["@tanstack/react-query", "npm:4.36.1"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:5.17.15", {\ - "packageLocation": "./.yarn/__virtual__/@tanstack-react-query-virtual-3fab8afddd/3/.yarn/berry/cache/@tanstack-react-query-npm-5.17.15-a12de92c66-10c0.zip/node_modules/@tanstack/react-query/",\ + ["virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:4.36.1", {\ + "packageLocation": "./.yarn/__virtual__/@tanstack-react-query-virtual-74c32c2fb6/3/.yarn/berry/cache/@tanstack-react-query-npm-4.36.1-435eddf619-10c0.zip/node_modules/@tanstack/react-query/",\ "packageDependencies": [\ - ["@tanstack/react-query", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:5.17.15"],\ - ["@tanstack/query-core", "npm:5.17.15"],\ + ["@tanstack/react-query", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:4.36.1"],\ + ["@tanstack/query-core", "npm:4.36.1"],\ ["@types/react", "npm:18.2.48"],\ - ["react", "npm:18.2.0"]\ + ["@types/react-dom", "npm:18.2.18"],\ + ["@types/react-native", null],\ + ["react", "npm:18.2.0"],\ + ["react-dom", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:18.2.0"],\ + ["react-native", null],\ + ["use-sync-external-store", "virtual:cebc0d66a965b590cbdd479c3e5095d91bc562a9ed61e5e04d49fb0008c8bd6a15b3a843a3ff45fb4ae3c1f31fb03fdb1e2bbc757d55ebee01057f2cb726d2f1#npm:1.2.0"]\ ],\ "packagePeers": [\ + "@types/react-dom",\ + "@types/react-native",\ "@types/react",\ + "react-dom",\ + "react-native",\ "react"\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@tanstack/react-query-devtools", [\ - ["npm:5.17.18", {\ - "packageLocation": "../../.yarn/berry/cache/@tanstack-react-query-devtools-npm-5.17.18-3b6f499ab0-10c0.zip/node_modules/@tanstack/react-query-devtools/",\ + ["npm:4.36.1", {\ + "packageLocation": "../../.yarn/berry/cache/@tanstack-react-query-devtools-npm-4.36.1-8448e7912a-10c0.zip/node_modules/@tanstack/react-query-devtools/",\ "packageDependencies": [\ - ["@tanstack/react-query-devtools", "npm:5.17.18"]\ + ["@tanstack/react-query-devtools", "npm:4.36.1"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:5.17.18", {\ - "packageLocation": "./.yarn/__virtual__/@tanstack-react-query-devtools-virtual-77ded1fc4b/3/.yarn/berry/cache/@tanstack-react-query-devtools-npm-5.17.18-3b6f499ab0-10c0.zip/node_modules/@tanstack/react-query-devtools/",\ + ["virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:4.36.1", {\ + "packageLocation": "./.yarn/__virtual__/@tanstack-react-query-devtools-virtual-cebc0d66a9/3/.yarn/berry/cache/@tanstack-react-query-devtools-npm-4.36.1-8448e7912a-10c0.zip/node_modules/@tanstack/react-query-devtools/",\ "packageDependencies": [\ - ["@tanstack/react-query-devtools", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:5.17.18"],\ - ["@tanstack/query-devtools", "npm:5.17.7"],\ - ["@tanstack/react-query", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:5.17.15"],\ + ["@tanstack/react-query-devtools", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:4.36.1"],\ + ["@tanstack/match-sorter-utils", "npm:8.11.3"],\ + ["@tanstack/react-query", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:4.36.1"],\ ["@types/react", "npm:18.2.48"],\ + ["@types/react-dom", "npm:18.2.18"],\ ["@types/tanstack__react-query", null],\ - ["react", "npm:18.2.0"]\ + ["react", "npm:18.2.0"],\ + ["react-dom", "virtual:de80dc576383b2386358abc0e9fe49c00e3397fe355a0337462b73ab3115c2e557eb85784ee0fe776394cc11dd020b4e84dbbd75acf72ee6d54415d82d21f5c5#npm:18.2.0"],\ + ["superjson", "npm:1.13.3"],\ + ["use-sync-external-store", "virtual:cebc0d66a965b590cbdd479c3e5095d91bc562a9ed61e5e04d49fb0008c8bd6a15b3a843a3ff45fb4ae3c1f31fb03fdb1e2bbc757d55ebee01057f2cb726d2f1#npm:1.2.0"]\ ],\ "packagePeers": [\ "@tanstack/react-query",\ + "@types/react-dom",\ "@types/react",\ "@types/tanstack__react-query",\ + "react-dom",\ "react"\ ],\ "linkType": "HARD"\ @@ -2134,6 +2151,16 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ + ["copy-anything", [\ + ["npm:3.0.5", {\ + "packageLocation": "../../.yarn/berry/cache/copy-anything-npm-3.0.5-562d15fb3f-10c0.zip/node_modules/copy-anything/",\ + "packageDependencies": [\ + ["copy-anything", "npm:3.0.5"],\ + ["is-what", "npm:4.1.16"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["cosmiconfig", [\ ["npm:7.1.0", {\ "packageLocation": "../../.yarn/berry/cache/cosmiconfig-npm-7.1.0-13a5090bcd-10c0.zip/node_modules/cosmiconfig/",\ @@ -3074,6 +3101,15 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ + ["is-what", [\ + ["npm:4.1.16", {\ + "packageLocation": "../../.yarn/berry/cache/is-what-npm-4.1.16-1622ed8fd8-10c0.zip/node_modules/is-what/",\ + "packageDependencies": [\ + ["is-what", "npm:4.1.16"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["isexe", [\ ["npm:2.0.0", {\ "packageLocation": "../../.yarn/berry/cache/isexe-npm-2.0.0-b58870bd2e-10c0.zip/node_modules/isexe/",\ @@ -3808,6 +3844,15 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ + ["remove-accents", [\ + ["npm:0.4.2", {\ + "packageLocation": "../../.yarn/berry/cache/remove-accents-npm-0.4.2-7cb341092a-10c0.zip/node_modules/remove-accents/",\ + "packageDependencies": [\ + ["remove-accents", "npm:0.4.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["resolve", [\ ["patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d", {\ "packageLocation": "../../.yarn/berry/cache/resolve-patch-4254c24959-10c0.zip/node_modules/resolve/",\ @@ -4103,6 +4148,16 @@ const RAW_RUNTIME_STATE = "linkType": "SOFT"\ }]\ ]],\ + ["superjson", [\ + ["npm:1.13.3", {\ + "packageLocation": "../../.yarn/berry/cache/superjson-npm-1.13.3-25a5e9e483-10c0.zip/node_modules/superjson/",\ + "packageDependencies": [\ + ["superjson", "npm:1.13.3"],\ + ["copy-anything", "npm:3.0.5"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["supports-color", [\ ["npm:5.5.0", {\ "packageLocation": "../../.yarn/berry/cache/supports-color-npm-5.5.0-183ac537bc-10c0.zip/node_modules/supports-color/",\ @@ -4379,6 +4434,28 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ + ["use-sync-external-store", [\ + ["npm:1.2.0", {\ + "packageLocation": "../../.yarn/berry/cache/use-sync-external-store-npm-1.2.0-44f75d2564-10c0.zip/node_modules/use-sync-external-store/",\ + "packageDependencies": [\ + ["use-sync-external-store", "npm:1.2.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:cebc0d66a965b590cbdd479c3e5095d91bc562a9ed61e5e04d49fb0008c8bd6a15b3a843a3ff45fb4ae3c1f31fb03fdb1e2bbc757d55ebee01057f2cb726d2f1#npm:1.2.0", {\ + "packageLocation": "./.yarn/__virtual__/use-sync-external-store-virtual-dbafebcc02/3/.yarn/berry/cache/use-sync-external-store-npm-1.2.0-44f75d2564-10c0.zip/node_modules/use-sync-external-store/",\ + "packageDependencies": [\ + ["use-sync-external-store", "virtual:cebc0d66a965b590cbdd479c3e5095d91bc562a9ed61e5e04d49fb0008c8bd6a15b3a843a3ff45fb4ae3c1f31fb03fdb1e2bbc757d55ebee01057f2cb726d2f1#npm:1.2.0"],\ + ["@types/react", "npm:18.2.48"],\ + ["react", "npm:18.2.0"]\ + ],\ + "packagePeers": [\ + "@types/react",\ + "react"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["vite", [\ ["npm:5.0.11", {\ "packageLocation": "../../.yarn/berry/cache/vite-npm-5.0.11-d5457a8b86-10c0.zip/node_modules/vite/",\ diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index 49693e6a..06e16d80 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/apps/admin/src/App.tsx b/apps/admin/src/App.tsx index c94354d5..71ad4da4 100644 --- a/apps/admin/src/App.tsx +++ b/apps/admin/src/App.tsx @@ -1,12 +1,11 @@ -import { Hello, QueryClientProvider, ReactQueryDevtools } from '@boolti/api'; +import { QueryClientProvider } from '@boolti/api'; const App = () => { + // const { data } = useHelloQuery(); + // console.log(data?.hello) return ( -

- {Hello()} - -

+

Hello World

); }; diff --git a/packages/api/package.json b/packages/api/package.json index 90519ac5..61d94fd6 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -3,15 +3,16 @@ "private": true, "version": "0.0.0", "type": "module", - "main": "src/index.tsx", - "types": "src/index.tsx", + "main": "src/index.ts", + "types": "src/index.ts", "scripts": { "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" }, "dependencies": { "@lukemorales/query-key-factory": "^1.3.2", - "@tanstack/react-query": "^5.17.15", - "@tanstack/react-query-devtools": "^5.17.18", + "@tanstack/query-core": "^4.32.6", + "@tanstack/react-query": "^4.32.6", + "@tanstack/react-query-devtools": "^4.32.6", "ky": "^1.2.0", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/packages/api/src/index.tsx b/packages/api/src/QueryClientProvider.tsx similarity index 57% rename from packages/api/src/index.tsx rename to packages/api/src/QueryClientProvider.tsx index 7d5ce42e..b5f1d31a 100644 --- a/packages/api/src/index.tsx +++ b/packages/api/src/QueryClientProvider.tsx @@ -1,12 +1,13 @@ import { QueryClientProvider as BaseQueryClientProvider, QueryClient } from '@tanstack/react-query'; import { useState } from 'react'; -export { ReactQueryDevtools } from '@tanstack/react-query-devtools'; +import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; export function QueryClientProvider({ children }: React.PropsWithChildren) { const [queryClient] = useState(() => new QueryClient()); - return {children}; -} - -export function Hello() { - return 'World'; + return ( + + {children} + + + ); } diff --git a/packages/api/src/fetcher.ts b/packages/api/src/fetcher.ts new file mode 100644 index 00000000..f8a2f44b --- /dev/null +++ b/packages/api/src/fetcher.ts @@ -0,0 +1,34 @@ +import ky, { Options, ResponsePromise } from 'ky'; + +// TODO 환경 변수로 API 베이스 설정 +const API_URL = ''; + +export const instance = ky.create({ + prefixUrl: API_URL, + headers: { + 'content-type': 'application/json', + }, + hooks: { + // TODO 인증 관련 헤더 검증 로직 추가 + beforeRequest: [], + // TODO 서버 에러 처리 + beforeError: [], + }, +}); + +export async function resultify(response: ResponsePromise) { + try { + // TODO 바디가 없는 경우 어떻게 할지 논의 필요 + return await response.json(); + } catch (e) { + console.error('[fetcher.ts] resultify에서 JSON 파싱을 하는 도중 오류 발생'); + throw e; + } +} + +export const fetcher = { + get: (pathname: string, options?: Options) => resultify(ky.get(pathname, options)), + post: (pathname: string, options?: Options) => resultify(ky.post(pathname, options)), + put: (pathname: string, options?: Options) => resultify(ky.put(pathname, options)), + delete: (pathname: string, options?: Options) => resultify(ky.delete(pathname, options)), +}; diff --git a/packages/api/src/index.ts b/packages/api/src/index.ts new file mode 100644 index 00000000..54eb4926 --- /dev/null +++ b/packages/api/src/index.ts @@ -0,0 +1,2 @@ +export { useHelloQuery } from './useHelloQuery'; +export { QueryClientProvider } from './QueryClientProvider'; diff --git a/packages/api/src/queryKey.ts b/packages/api/src/queryKey.ts new file mode 100644 index 00000000..88057705 --- /dev/null +++ b/packages/api/src/queryKey.ts @@ -0,0 +1,13 @@ +import { createQueryKeys } from '@lukemorales/query-key-factory'; +import { fetcher } from './fetcher'; + +export interface Hello { + hello: string; +} + +export const queryKey = createQueryKeys('boolti', { + hello: { + queryKey: null, + queryFn: () => fetcher.get('/hello'), + }, +}); diff --git a/packages/api/src/useHelloQuery.ts b/packages/api/src/useHelloQuery.ts new file mode 100644 index 00000000..a1a68ab7 --- /dev/null +++ b/packages/api/src/useHelloQuery.ts @@ -0,0 +1,10 @@ +import { useQuery } from '@tanstack/react-query'; +import { queryKey } from './queryKey'; +import { TypedUseQueryOptions } from '@lukemorales/query-key-factory'; + +export function useHelloQuery(options?: TypedUseQueryOptions) { + return useQuery({ + ...options, + ...queryKey.hello, + }); +} diff --git a/packages/api/tsconfig.json b/packages/api/tsconfig.json index b2945f9b..401e6eaa 100644 --- a/packages/api/tsconfig.json +++ b/packages/api/tsconfig.json @@ -1,5 +1,8 @@ { "extends": "@boolti/typescript-config/vite.json", + "compilerOptions": { + "moduleResolution": "node", + }, "include": [ "src" ] diff --git a/yarn.lock b/yarn.lock index df26738d..74300648 100644 --- a/yarn.lock +++ b/yarn.lock @@ -292,8 +292,9 @@ __metadata: "@boolti/eslint-config": "npm:*" "@boolti/typescript-config": "npm:*" "@lukemorales/query-key-factory": "npm:^1.3.2" - "@tanstack/react-query": "npm:^5.17.15" - "@tanstack/react-query-devtools": "npm:^5.17.18" + "@tanstack/query-core": "npm:^4.32.6" + "@tanstack/react-query": "npm:^4.32.6" + "@tanstack/react-query-devtools": "npm:^4.32.6" "@types/react": "npm:^18.2.43" "@types/react-dom": "npm:^18.2.17" ky: "npm:^1.2.0" @@ -918,40 +919,53 @@ __metadata: languageName: node linkType: hard -"@tanstack/query-core@npm:5.17.15": - version: 5.17.15 - resolution: "@tanstack/query-core@npm:5.17.15" - checksum: 2967963e94ff78c8bf4941efc09c81e6a6a78400322c26cf5d9528b169c3901a399752d679c3f4ab066c2a6e8df712b5a1b2e033e06fbbaa4b29f5be17032ab4 +"@tanstack/match-sorter-utils@npm:^8.7.0": + version: 8.11.3 + resolution: "@tanstack/match-sorter-utils@npm:8.11.3" + dependencies: + remove-accents: "npm:0.4.2" + checksum: 2be996a6c0f7bfdfbd7b21ebf2dcfbb280818a27188991f2fab29316b06d99b10fd83799766f56e8fee63c7085604788bc7b992bd4e6d0134f14c3a9021dd797 languageName: node linkType: hard -"@tanstack/query-devtools@npm:5.17.7": - version: 5.17.7 - resolution: "@tanstack/query-devtools@npm:5.17.7" - checksum: 96bb17aec640e23150154e9f7eb7b841a5931bb748a86fe06946b307ab3832a94cbf065f1d394d26c576ab620d4f9e59f9518947acf569a7a42b83fd2421b209 +"@tanstack/query-core@npm:4.36.1, @tanstack/query-core@npm:^4.32.6": + version: 4.36.1 + resolution: "@tanstack/query-core@npm:4.36.1" + checksum: f286529dbd4c9cdb237ef0bfa72d785c74b5d0958290e8d85c343043ba7be4bbc6cb771167d8c13ca12bd4f37412a3d8b69331f57daa375b2071fd4752aed66a languageName: node linkType: hard -"@tanstack/react-query-devtools@npm:^5.17.18": - version: 5.17.18 - resolution: "@tanstack/react-query-devtools@npm:5.17.18" +"@tanstack/react-query-devtools@npm:^4.32.6": + version: 4.36.1 + resolution: "@tanstack/react-query-devtools@npm:4.36.1" dependencies: - "@tanstack/query-devtools": "npm:5.17.7" + "@tanstack/match-sorter-utils": "npm:^8.7.0" + superjson: "npm:^1.10.0" + use-sync-external-store: "npm:^1.2.0" peerDependencies: - "@tanstack/react-query": ^5.17.15 - react: ^18.0.0 - checksum: 34aee5515df3dcddb360967f03c66da684fb92c86afa0693de88d12d2e5445274c5b8afe18d856513c581130c81d6bdbe472cc0d9486d044ff04a1b4fd0a6c97 + "@tanstack/react-query": ^4.36.1 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: 7b5f31a90474bf45fce627d6831537a8a8e2fe5b588e9149ca00af3c443d1eed772c55bbbf1093071a29bf9a8267f662bbc4618a9c98c3225f501f7fa1cfa958 languageName: node linkType: hard -"@tanstack/react-query@npm:^5.17.15": - version: 5.17.15 - resolution: "@tanstack/react-query@npm:5.17.15" +"@tanstack/react-query@npm:^4.32.6": + version: 4.36.1 + resolution: "@tanstack/react-query@npm:4.36.1" dependencies: - "@tanstack/query-core": "npm:5.17.15" + "@tanstack/query-core": "npm:4.36.1" + use-sync-external-store: "npm:^1.2.0" peerDependencies: - react: ^18.0.0 - checksum: 99e590cc7feb6355541673f48d8e700ef5f8373ed3d431a31bc8836d867d1ee6b7f9cdce54a4fc0b07686e35fe13631755debe7f2f8d228f1b74f06e0aab16de + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-native: "*" + peerDependenciesMeta: + react-dom: + optional: true + react-native: + optional: true + checksum: 15d9c98269d52fbdd49f4eb4b077b5d70346f904ea2ae51fd0400949d731afde658919a1143dd849fb50d4c5b6d0ab072e7b313a098ef316dd1c24089653f626 languageName: node linkType: hard @@ -1532,6 +1546,15 @@ __metadata: languageName: node linkType: hard +"copy-anything@npm:^3.0.2": + version: 3.0.5 + resolution: "copy-anything@npm:3.0.5" + dependencies: + is-what: "npm:^4.1.8" + checksum: 01eadd500c7e1db71d32d95a3bfaaedcb839ef891c741f6305ab0461398056133de08f2d1bf4c392b364e7bdb7ce498513896e137a7a183ac2516b065c28a4fe + languageName: node + linkType: hard + "cosmiconfig@npm:^7.0.0": version: 7.1.0 resolution: "cosmiconfig@npm:7.1.0" @@ -2370,6 +2393,13 @@ __metadata: languageName: node linkType: hard +"is-what@npm:^4.1.8": + version: 4.1.16 + resolution: "is-what@npm:4.1.16" + checksum: 611f1947776826dcf85b57cfb7bd3b3ea6f4b94a9c2f551d4a53f653cf0cb9d1e6518846648256d46ee6c91d114b6d09d2ac8a07306f7430c5900f87466aae5b + languageName: node + linkType: hard + "isexe@npm:^2.0.0": version: 2.0.0 resolution: "isexe@npm:2.0.0" @@ -3019,6 +3049,13 @@ __metadata: languageName: node linkType: hard +"remove-accents@npm:0.4.2": + version: 0.4.2 + resolution: "remove-accents@npm:0.4.2" + checksum: 5cbc00efa52df29ce947a0c572ff975b011f5f197ebe7b4f6e527de26aba534cba12d502e3040b72e46ad01de3d4f2d5ef57a6593c964965e43ddb60438da0f8 + languageName: node + linkType: hard + "resolve-from@npm:^4.0.0": version: 4.0.0 resolution: "resolve-from@npm:4.0.0" @@ -3330,6 +3367,15 @@ __metadata: languageName: unknown linkType: soft +"superjson@npm:^1.10.0": + version: 1.13.3 + resolution: "superjson@npm:1.13.3" + dependencies: + copy-anything: "npm:^3.0.2" + checksum: 389a0a0c86884dd0558361af5d6d7f37102b71dda9595a665fe8b39d1ba0e57c859e39a9bd79b6f1fde6f4dcceac49a1c205f248d292744b2a340ee52846efdb + languageName: node + linkType: hard + "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -3566,6 +3612,15 @@ __metadata: languageName: node linkType: hard +"use-sync-external-store@npm:^1.2.0": + version: 1.2.0 + resolution: "use-sync-external-store@npm:1.2.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: ac4814e5592524f242921157e791b022efe36e451fe0d4fd4d204322d5433a4fc300d63b0ade5185f8e0735ded044c70bcf6d2352db0f74d097a238cebd2da02 + languageName: node + linkType: hard + "vite@npm:^5.0.8": version: 5.0.11 resolution: "vite@npm:5.0.11"