diff --git a/client/package-lock.json b/client/package-lock.json index baba89f..5bdfa51 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -13,18 +13,18 @@ "@tanstack/react-query": "^5.90.2", "@tanstack/react-query-devtools": "^5.90.2", "@tanstack/react-router": "^1.132.33", - "@tanstack/react-router-devtools": "^1.132.33", + "@tanstack/react-router-devtools": "^1.167.2", "@tanstack/react-table": "^8.21.3", "react": "^19.1.1", "react-dom": "^19.1.1", - "zod": "^4.1.12" + "zod": "^4.6.7" }, "devDependencies": { "@nkzw/eslint-config": "^3.0.3", "@tailwindcss/vite": "^4.1.14", "@tanstack/eslint-plugin-query": "^5.91.0", "@tanstack/eslint-plugin-router": "^1.132.31", - "@tanstack/router-plugin": "^1.132.33", + "@tanstack/router-plugin": "^1.168.48", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", @@ -182,19 +182,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz", - "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.27.3" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-compilation-targets": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", @@ -212,28 +199,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.5.tgz", - "integrity": "sha512-q3WC4JfdODypvxArsJQROfupPBq9+lMwjKq7C33GhbFYJsufD0yd/ziwD+hJucLeWsnFPWZjsU2DNFqBPE7jwQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.3", - "@babel/helper-member-expression-to-functions": "^7.28.5", - "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/helper-replace-supers": "^7.27.1", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/traverse": "^7.28.5", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, "node_modules/@babel/helper-globals": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", @@ -244,20 +209,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz", - "integrity": "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.28.5", - "@babel/types": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", @@ -290,19 +241,6 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz", - "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-plugin-utils": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz", @@ -313,38 +251,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz", - "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.27.1", - "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/traverse": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz", - "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-string-parser": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", @@ -405,55 +311,6 @@ "node": ">=6.0.0" } }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz", - "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz", - "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.27.1.tgz", - "integrity": "sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-transform-react-jsx-self": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz", @@ -486,46 +343,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.5.tgz", - "integrity": "sha512-x2Qa+v/CuEoX7Dr31iAfr0IhInrVOWZU/2vJMJ00FOR/2nM0BcBEclpaf9sWCDc+v5e9dMrhSH8/atq/kX7+bA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.3", - "@babel/helper-create-class-features-plugin": "^7.28.5", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/plugin-syntax-typescript": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-typescript": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.28.5.tgz", - "integrity": "sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-validator-option": "^7.27.1", - "@babel/plugin-syntax-jsx": "^7.27.1", - "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-typescript": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/runtime": { "version": "7.28.4", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz", @@ -756,422 +573,6 @@ "tslib": "^2.4.0" } }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.11.tgz", - "integrity": "sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==", - "cpu": [ - "ppc64" - ], - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.11.tgz", - "integrity": "sha512-uoa7dU+Dt3HYsethkJ1k6Z9YdcHjTrSb5NUy66ZfZaSV8hEYGD5ZHbEMXnqLFlbBflLsl89Zke7CAdDJ4JI+Gg==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.11.tgz", - "integrity": "sha512-9slpyFBc4FPPz48+f6jyiXOx/Y4v34TUeDDXJpZqAWQn/08lKGeD8aDp9TMn9jDz2CiEuHwfhRmGBvpnd/PWIQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.11.tgz", - "integrity": "sha512-Sgiab4xBjPU1QoPEIqS3Xx+R2lezu0LKIEcYe6pftr56PqPygbB7+szVnzoShbx64MUupqoE0KyRlN7gezbl8g==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.11.tgz", - "integrity": "sha512-VekY0PBCukppoQrycFxUqkCojnTQhdec0vevUL/EDOCnXd9LKWqD/bHwMPzigIJXPhC59Vd1WFIL57SKs2mg4w==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.11.tgz", - "integrity": "sha512-+hfp3yfBalNEpTGp9loYgbknjR695HkqtY3d3/JjSRUyPg/xd6q+mQqIb5qdywnDxRZykIHs3axEqU6l1+oWEQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.11.tgz", - "integrity": "sha512-CmKjrnayyTJF2eVuO//uSjl/K3KsMIeYeyN7FyDBjsR3lnSJHaXlVoAK8DZa7lXWChbuOk7NjAc7ygAwrnPBhA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.11.tgz", - "integrity": "sha512-Dyq+5oscTJvMaYPvW3x3FLpi2+gSZTCE/1ffdwuM6G1ARang/mb3jvjxs0mw6n3Lsw84ocfo9CrNMqc5lTfGOw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.11.tgz", - "integrity": "sha512-TBMv6B4kCfrGJ8cUPo7vd6NECZH/8hPpBHHlYI3qzoYFvWu2AdTvZNuU/7hsbKWqu/COU7NIK12dHAAqBLLXgw==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.11.tgz", - "integrity": "sha512-Qr8AzcplUhGvdyUF08A1kHU3Vr2O88xxP0Tm8GcdVOUm25XYcMPp2YqSVHbLuXzYQMf9Bh/iKx7YPqECs6ffLA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.11.tgz", - "integrity": "sha512-TmnJg8BMGPehs5JKrCLqyWTVAvielc615jbkOirATQvWWB1NMXY77oLMzsUjRLa0+ngecEmDGqt5jiDC6bfvOw==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.11.tgz", - "integrity": "sha512-DIGXL2+gvDaXlaq8xruNXUJdT5tF+SBbJQKbWy/0J7OhU8gOHOzKmGIlfTTl6nHaCOoipxQbuJi7O++ldrxgMw==", - "cpu": [ - "loong64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.11.tgz", - "integrity": "sha512-Osx1nALUJu4pU43o9OyjSCXokFkFbyzjXb6VhGIJZQ5JZi8ylCQ9/LFagolPsHtgw6himDSyb5ETSfmp4rpiKQ==", - "cpu": [ - "mips64el" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.11.tgz", - "integrity": "sha512-nbLFgsQQEsBa8XSgSTSlrnBSrpoWh7ioFDUmwo158gIm5NNP+17IYmNWzaIzWmgCxq56vfr34xGkOcZ7jX6CPw==", - "cpu": [ - "ppc64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.11.tgz", - "integrity": "sha512-HfyAmqZi9uBAbgKYP1yGuI7tSREXwIb438q0nqvlpxAOs3XnZ8RsisRfmVsgV486NdjD7Mw2UrFSw51lzUk1ww==", - "cpu": [ - "riscv64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.11.tgz", - "integrity": "sha512-HjLqVgSSYnVXRisyfmzsH6mXqyvj0SA7pG5g+9W7ESgwA70AXYNpfKBqh1KbTxmQVaYxpzA/SvlB9oclGPbApw==", - "cpu": [ - "s390x" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.11.tgz", - "integrity": "sha512-HSFAT4+WYjIhrHxKBwGmOOSpphjYkcswF449j6EjsjbinTZbp8PJtjsVK1XFJStdzXdy/jaddAep2FGY+wyFAQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.11.tgz", - "integrity": "sha512-hr9Oxj1Fa4r04dNpWr3P8QKVVsjQhqrMSUzZzf+LZcYjZNqhA3IAfPQdEh1FLVUJSiu6sgAwp3OmwBfbFgG2Xg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.11.tgz", - "integrity": "sha512-u7tKA+qbzBydyj0vgpu+5h5AeudxOAGncb8N6C9Kh1N4n7wU1Xw1JDApsRjpShRpXRQlJLb9wY28ELpwdPcZ7A==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.11.tgz", - "integrity": "sha512-Qq6YHhayieor3DxFOoYM1q0q1uMFYb7cSpLD2qzDSvK1NAvqFi8Xgivv0cFC6J+hWVw2teCYltyy9/m/14ryHg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.11.tgz", - "integrity": "sha512-CN+7c++kkbrckTOz5hrehxWN7uIhFFlmS/hqziSFVWpAzpWrQoAG4chH+nN3Be+Kzv/uuo7zhX716x3Sn2Jduw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openharmony-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.11.tgz", - "integrity": "sha512-rOREuNIQgaiR+9QuNkbkxubbp8MSO9rONmwP5nKncnWJ9v5jQ4JxFnLu4zDSRPf3x4u+2VN4pM4RdyIzDty/wQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "openharmony" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.11.tgz", - "integrity": "sha512-nq2xdYaWxyg9DcIyXkZhcYulC6pQ2FuCgem3LI92IwMgIZ69KHeY8T4Y88pcwoLIjbed8n36CyKoYRDygNSGhA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.11.tgz", - "integrity": "sha512-3XxECOWJq1qMZ3MN8srCJ/QfoLpL+VaxD/WfNRm1O3B4+AZ/BnLVgFbUV3eiRYDMXetciH16dwPbbHqwe1uU0Q==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.11.tgz", - "integrity": "sha512-3ukss6gb9XZ8TlRyJlgLn17ecsK4NSQTmdIXRASVsiS2sQ6zPPZklNJT5GR5tE/MUarymmy8kCEf5xPCNCqVOA==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.11.tgz", - "integrity": "sha512-D7Hpz6A2L4hzsRpPaCYkQnGOotdUpDzSGRIv9I+1ITdHROSFUWW95ZPZWQmGka1Fg7W3zFJowyn9WGwMJ0+KPA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.9.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz", @@ -1628,6 +1029,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1762,6 +1164,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1775,6 +1178,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1788,6 +1192,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1801,6 +1206,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1814,6 +1220,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1827,6 +1234,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1840,6 +1248,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1853,6 +1262,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1866,6 +1276,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1879,6 +1290,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1892,6 +1304,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1905,6 +1318,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1918,6 +1332,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1931,6 +1346,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1944,6 +1360,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1957,6 +1374,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1970,6 +1388,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1983,6 +1402,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1996,6 +1416,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2009,6 +1430,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2022,6 +1444,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2035,6 +1458,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2048,6 +1472,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2061,6 +1486,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2074,6 +1500,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2482,12 +1909,12 @@ } }, "node_modules/@tanstack/history": { - "version": "1.133.28", - "resolved": "https://registry.npmjs.org/@tanstack/history/-/history-1.133.28.tgz", - "integrity": "sha512-B7+x7eP2FFvi3fgd3rNH9o/Eixt+pp0zCIdGhnQbAJjFrlwIKGjGnwyJjhWJ5fMQlGks/E2LdDTqEV4W9Plx7g==", + "version": "1.162.5", + "resolved": "https://registry.npmjs.org/@tanstack/history/-/history-1.162.5.tgz", + "integrity": "sha512-w1+YvwmTkwt5n8yUqEH3IWZ9DsmorCZW/EQ3KYHnqEgIkOZpH54NvW6/Epq3Dzb8H0ifIeYX8PExvrNLIH5FIA==", "license": "MIT", "engines": { - "node": ">=12" + "node": ">=20.19" }, "funding": { "type": "github", @@ -2590,20 +2017,18 @@ } }, "node_modules/@tanstack/react-router": { - "version": "1.133.36", - "resolved": "https://registry.npmjs.org/@tanstack/react-router/-/react-router-1.133.36.tgz", - "integrity": "sha512-pT4d2uEucDQ3SAIQ0pLUw6RUKwkB5pHzpBB6otaoKpO0cAwHkRPi+p59DivuzSANJLHLVEiXyJCCk72EeHMRxA==", + "version": "1.170.46", + "resolved": "https://registry.npmjs.org/@tanstack/react-router/-/react-router-1.170.46.tgz", + "integrity": "sha512-ez1iNIhsPjGlaDHg3BXWs67EWVIYzB2tbopEHYDESdkO7owgkGb5de52+5Kv2v1fxdkggcNzo35bdk4arTVGQw==", "license": "MIT", "dependencies": { - "@tanstack/history": "1.133.28", - "@tanstack/react-store": "^0.8.0", - "@tanstack/router-core": "1.133.36", - "isbot": "^5.1.22", - "tiny-invariant": "^1.3.3", - "tiny-warning": "^1.0.3" + "@tanstack/history": "1.162.5", + "@tanstack/react-store": "^0.11.2", + "@tanstack/router-core": "1.171.39", + "isbot": "^5.1.22" }, "engines": { - "node": ">=12" + "node": ">=20.19" }, "funding": { "type": "github", @@ -2615,34 +2040,39 @@ } }, "node_modules/@tanstack/react-router-devtools": { - "version": "1.133.36", - "resolved": "https://registry.npmjs.org/@tanstack/react-router-devtools/-/react-router-devtools-1.133.36.tgz", - "integrity": "sha512-il+DNzc8Ia54N+HOmIlY10NBk7rp0N7Nyysk8eeC1ZSIXImC3MPchdAspwioE6DI7WfK+MfpTav2m9zoOL8wSQ==", + "version": "1.167.2", + "resolved": "https://registry.npmjs.org/@tanstack/react-router-devtools/-/react-router-devtools-1.167.2.tgz", + "integrity": "sha512-VuoqB7OhDUrBa4WOFSKiAQ8xI8sJpeZdo9sYE1hQa89iMuVFUQu1iWE4iCiQhB+6TYOZDZ9e+iHKxYjop4ZVYw==", "license": "MIT", "dependencies": { - "@tanstack/router-devtools-core": "1.133.36", - "vite": "^7.1.7" + "@tanstack/router-devtools-core": "1.168.2" }, "engines": { - "node": ">=12" + "node": ">=20.19" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@tanstack/react-router": "^1.133.36", + "@tanstack/react-router": "^1.170.36", + "@tanstack/router-core": "^1.171.30", "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0" + }, + "peerDependenciesMeta": { + "@tanstack/router-core": { + "optional": true + } } }, "node_modules/@tanstack/react-router/node_modules/@tanstack/react-store": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.8.0.tgz", - "integrity": "sha512-1vG9beLIuB7q69skxK9r5xiLN3ztzIPfSQSs0GfeqWGO2tGIyInZx0x1COhpx97RKaONSoAb8C3dxacWksm1ow==", + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.11.2.tgz", + "integrity": "sha512-oj5O5DmiMWE+ih+SioX2ayC1kbK7d3fpLx0B75fPJr9nY3zU+hoW010yr64qXsY/9fyiLVE2bn5mGNV3owm8RQ==", "license": "MIT", "dependencies": { - "@tanstack/store": "0.8.0", + "@tanstack/store": "0.11.2", "use-sync-external-store": "^1.6.0" }, "funding": { @@ -2655,9 +2085,9 @@ } }, "node_modules/@tanstack/react-router/node_modules/@tanstack/store": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.8.0.tgz", - "integrity": "sha512-Om+BO0YfMZe//X2z0uLF2j+75nQga6TpTJgLJQBiq85aOyZNIhkCgleNcud2KQg4k4v9Y9l+Uhru3qWMPGTOzQ==", + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.11.2.tgz", + "integrity": "sha512-sJ4mjol8uQsHV0gOJzzjwXfh2Fwm+Sz0+8deqiTm4jGbMdjzNSW+xZCFm0kUa870uhd8yi+DpKnZb5Kc4apa0Q==", "license": "MIT", "funding": { "type": "github", @@ -2703,59 +2133,64 @@ } }, "node_modules/@tanstack/router-core": { - "version": "1.133.36", - "resolved": "https://registry.npmjs.org/@tanstack/router-core/-/router-core-1.133.36.tgz", - "integrity": "sha512-VJ9kFduePsxgjhDW+uKxL6ol9ZpJlaUO2EI9Zmq8AA6uhW/LRg+0/365OZOZaVqNqvx2eKt3MZKHLN+29jd5Uw==", + "version": "1.171.39", + "resolved": "https://registry.npmjs.org/@tanstack/router-core/-/router-core-1.171.39.tgz", + "integrity": "sha512-qUhoJ0meuSUqGYQbHbcJYdASr06YtK+bulbj6vtrhKYFkLgkSsZ6tXmMyym7sFxiSJSPYgasgozrL01LyyR/6A==", "license": "MIT", "dependencies": { - "@tanstack/history": "1.133.28", - "@tanstack/store": "^0.8.0", - "cookie-es": "^2.0.0", - "seroval": "^1.3.2", - "seroval-plugins": "^1.3.2", - "tiny-invariant": "^1.3.3", - "tiny-warning": "^1.0.3" + "@tanstack/history": "1.162.5", + "cookie-es": "^3.0.0", + "seroval": "^1.6.7", + "seroval-plugins": "^1.6.7" }, "engines": { - "node": ">=12" + "node": ">=20.19" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" } }, - "node_modules/@tanstack/router-core/node_modules/@tanstack/store": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.8.0.tgz", - "integrity": "sha512-Om+BO0YfMZe//X2z0uLF2j+75nQga6TpTJgLJQBiq85aOyZNIhkCgleNcud2KQg4k4v9Y9l+Uhru3qWMPGTOzQ==", + "node_modules/@tanstack/router-core/node_modules/seroval": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/seroval/-/seroval-1.7.2.tgz", + "integrity": "sha512-NPOYrDVbvtuTo5m9InqKE7O6wBASON46OabjyqLUGPvoXNDYp0pReuFYkqOQwGsoj1OpZVj6mIdnRRgt5O1/gQ==", "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" + "engines": { + "node": ">=20" + } + }, + "node_modules/@tanstack/router-core/node_modules/seroval-plugins": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/seroval-plugins/-/seroval-plugins-1.7.2.tgz", + "integrity": "sha512-ud8kMCGLHmGkW9YtVDluJtqTukSx/4YBqtmPAvAz/HxbIwhwMeZU52imxeyZ1zoAXtqBDiaLwSasbnK9DptrDg==", + "license": "MIT", + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "seroval": "^1.0" } }, "node_modules/@tanstack/router-devtools-core": { - "version": "1.133.36", - "resolved": "https://registry.npmjs.org/@tanstack/router-devtools-core/-/router-devtools-core-1.133.36.tgz", - "integrity": "sha512-jgXSCfWPLukcjXDf4thpk/0QgLXv61mrvmfh9xc8+xeC5TMeLyz2xBaTghniD2PtdF6eII3vMaTWOpMHj4+cVQ==", + "version": "1.168.2", + "resolved": "https://registry.npmjs.org/@tanstack/router-devtools-core/-/router-devtools-core-1.168.2.tgz", + "integrity": "sha512-pCCdQ5M/NUeWdiAbPmjyfcNdls6G4vaVlIQbPf1IqZk1FLYFr00aQvi578yUuWFBNM2KNS2QcwM1uPucbtGf5Q==", "license": "MIT", "dependencies": { "clsx": "^2.1.1", - "goober": "^2.1.16", - "vite": "^7.1.7" + "goober": "^2.1.16" }, "engines": { - "node": ">=12" + "node": ">=20.19" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@tanstack/router-core": "^1.133.36", - "csstype": "^3.0.10", - "solid-js": ">=1.9.5", - "tiny-invariant": "^1.3.3" + "@tanstack/router-core": "^1.171.30", + "csstype": "^3.0.10" }, "peerDependenciesMeta": { "csstype": { @@ -2764,73 +2199,58 @@ } }, "node_modules/@tanstack/router-generator": { - "version": "1.133.36", - "resolved": "https://registry.npmjs.org/@tanstack/router-generator/-/router-generator-1.133.36.tgz", - "integrity": "sha512-3+pJBqkm95/zV7INyhbr688lp1PklZT3wtNNwW9oIxmsBiUJg5hqHWh7z4JgP9E+0D0KAwT535wncWUFfMMZwA==", + "version": "1.167.46", + "resolved": "https://registry.npmjs.org/@tanstack/router-generator/-/router-generator-1.167.46.tgz", + "integrity": "sha512-JSailAThcqPvqBzE3+MhNh6zQyZM2IdmIsHOxZgAc061Lh++SZqamNm/Whe7QNXWK5sLP4E0J1F8AI0hP8wTSw==", "dev": true, "license": "MIT", "dependencies": { - "@tanstack/router-core": "1.133.36", - "@tanstack/router-utils": "1.133.19", - "@tanstack/virtual-file-routes": "1.133.19", - "prettier": "^3.5.0", - "recast": "^0.23.11", - "source-map": "^0.7.4", - "tsx": "^4.19.2", - "zod": "^3.24.2" + "@babel/types": "^7.29.8", + "@tanstack/router-core": "1.171.39", + "@tanstack/router-utils": "1.162.4", + "@tanstack/virtual-file-routes": "1.162.0", + "jiti": "^2.7.0", + "magic-string": "^0.30.21", + "prettier": "^3.9.6", + "zod": "^4.5.4" }, "engines": { - "node": ">=12" + "node": ">=20.19" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" } }, - "node_modules/@tanstack/router-generator/node_modules/zod": { - "version": "3.25.76", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", - "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "node_modules/@tanstack/router-plugin": { - "version": "1.133.36", - "resolved": "https://registry.npmjs.org/@tanstack/router-plugin/-/router-plugin-1.133.36.tgz", - "integrity": "sha512-y0vttpDRFbniPk2EOS93wxfNA0SqvD/anj6kXTIl/3caW0rvOC4MzMXV09atJ+3jMSOgHFniljKQj/66AY5dZg==", + "version": "1.168.48", + "resolved": "https://registry.npmjs.org/@tanstack/router-plugin/-/router-plugin-1.168.48.tgz", + "integrity": "sha512-oLDEZO/vhvF5JLrQ6qMNYcCjMMhlHA0Byx6ZXl9AHJ6qVLRxUeCU41vlZQ4buisONY2p0Zl9O09/qwLiVrIBCQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/core": "^7.27.7", - "@babel/plugin-syntax-jsx": "^7.27.1", - "@babel/plugin-syntax-typescript": "^7.27.1", - "@babel/template": "^7.27.2", - "@babel/traverse": "^7.27.7", - "@babel/types": "^7.27.7", - "@tanstack/router-core": "1.133.36", - "@tanstack/router-generator": "1.133.36", - "@tanstack/router-utils": "1.133.19", - "@tanstack/virtual-file-routes": "1.133.19", - "babel-dead-code-elimination": "^1.0.10", - "chokidar": "^3.6.0", - "unplugin": "^2.1.2", - "zod": "^3.24.2" + "@babel/core": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.8", + "@tanstack/router-core": "1.171.39", + "@tanstack/router-generator": "1.167.46", + "@tanstack/router-utils": "1.162.4", + "chokidar": "^5.0.0", + "unplugin": "^3.3.0", + "zod": "^4.5.4" }, "engines": { - "node": ">=12" + "node": ">=20.19" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@rsbuild/core": ">=1.0.2", - "@tanstack/react-router": "^1.133.36", - "vite": ">=5.0.0 || >=6.0.0 || >=7.0.0", - "vite-plugin-solid": "^2.11.10", + "@rsbuild/core": ">=1.0.2 || ^2.0.0", + "@tanstack/react-router": "^1.170.46", + "vite": ">=5.0.0 || >=6.0.0 || >=7.0.0 || >=8.0.0", + "vite-plugin-solid": "^2.11.10 || ^3.0.0-0", "webpack": ">=5.92.0" }, "peerDependenciesMeta": { @@ -2851,34 +2271,24 @@ } } }, - "node_modules/@tanstack/router-plugin/node_modules/zod": { - "version": "3.25.76", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", - "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "node_modules/@tanstack/router-utils": { - "version": "1.133.19", - "resolved": "https://registry.npmjs.org/@tanstack/router-utils/-/router-utils-1.133.19.tgz", - "integrity": "sha512-WEp5D2gPxvlLDRXwD/fV7RXjYtqaqJNXKB/L6OyZEbT+9BG/Ib2d7oG9GSUZNNMGPGYAlhBUOi3xutySsk6rxA==", + "version": "1.162.4", + "resolved": "https://registry.npmjs.org/@tanstack/router-utils/-/router-utils-1.162.4.tgz", + "integrity": "sha512-3TSH3rwAQTqQOtTBF8IXMFXmGNJWnjwIm+l87uguyC/of0pSRKcU9GJrozaf0fY9it8dLQvUZJA2MOlfqbW1sA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/core": "^7.27.4", - "@babel/generator": "^7.27.5", - "@babel/parser": "^7.27.5", - "@babel/preset-typescript": "^7.27.1", - "ansis": "^4.1.0", - "diff": "^8.0.2", + "@babel/generator": "^7.29.8", + "@babel/parser": "^7.29.8", + "@babel/types": "^7.29.8", + "ansis": "^4.3.1", + "babel-dead-code-elimination": "^1.0.12", + "diff": "^9.0.0", "pathe": "^2.0.3", - "tinyglobby": "^0.2.15" + "tinyglobby": "^0.2.17" }, "engines": { - "node": ">=12" + "node": ">=20.19" }, "funding": { "type": "github", @@ -2909,13 +2319,13 @@ } }, "node_modules/@tanstack/virtual-file-routes": { - "version": "1.133.19", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-file-routes/-/virtual-file-routes-1.133.19.tgz", - "integrity": "sha512-IKwZENsK7owmW1Lm5FhuHegY/SyQ8KqtL/7mTSnzoKJgfzhrrf9qwKB1rmkKkt+svUuy/Zw3uVEpZtUzQruWtA==", + "version": "1.162.0", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-file-routes/-/virtual-file-routes-1.162.0.tgz", + "integrity": "sha512-uhOeFyxLcU41HzvrxsGpiWdcMbScY1EDgbZ5K7DVRMYInbLYWAC0EA/kx9wXAoSM8q82bUG2hRl8+EAjE6XAbA==", "dev": true, "license": "MIT", "engines": { - "node": ">=12" + "node": ">=20.19" }, "funding": { "type": "github", @@ -3098,6 +2508,7 @@ "version": "1.0.9", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, "license": "MIT" }, "node_modules/@types/json-schema": { @@ -3111,7 +2522,7 @@ "version": "24.9.2", "resolved": "https://registry.npmjs.org/@types/node/-/node-24.9.2.tgz", "integrity": "sha512-uWN8YqxXxqFMX2RqGOrumsKeti4LlmIMIyV0lgut4jx7KQBcBiW6vkDtIBvHnHIquwNfJhk8v2OtmO8zXWHfPA==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "undici-types": "~7.16.0" @@ -3893,29 +3304,15 @@ } }, "node_modules/ansis": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/ansis/-/ansis-4.2.0.tgz", - "integrity": "sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/ansis/-/ansis-4.4.0.tgz", + "integrity": "sha512-9k3v7xcHwgdO/DruxGIg4HtjvlAZlcnsX/mzqUb1t3NkYnl9kK2UJ+Gq0io+vQf7iT//BD/HB/NBkUR1LWxoeA==", "dev": true, "license": "ISC", "engines": { "node": ">=14" } }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "license": "ISC", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -4081,19 +3478,6 @@ "node": ">=12" } }, - "node_modules/ast-types": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.16.1.tgz", - "integrity": "sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==", - "dev": true, - "license": "MIT", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/async-function": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", @@ -4121,9 +3505,9 @@ } }, "node_modules/babel-dead-code-elimination": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/babel-dead-code-elimination/-/babel-dead-code-elimination-1.0.10.tgz", - "integrity": "sha512-DV5bdJZTzZ0zn0DC24v3jD7Mnidh6xhKa4GfKCbq3sfW8kaWhDdZjP3i81geA8T33tdYqWKw4D3fVv0CwEgKVA==", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/babel-dead-code-elimination/-/babel-dead-code-elimination-1.0.12.tgz", + "integrity": "sha512-GERT7L2TiYcYDtYk1IpD+ASAYXjKbLTDPhBtYj7X1NuRMDTMtAx9kyBenub1Ev41lo91OHCKdmP+egTDmfQ7Ig==", "dev": true, "license": "MIT", "dependencies": { @@ -4163,19 +3547,6 @@ "require-from-string": "^2.0.2" } }, - "node_modules/binary-extensions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/brace-expansion": { "version": "2.1.7", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz", @@ -4362,28 +3733,19 @@ "license": "MIT" }, "node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", "dev": true, "license": "MIT", "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" + "readdirp": "^5.0.0" }, "engines": { - "node": ">= 8.10.0" + "node": ">= 20.19.0" }, "funding": { "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" } }, "node_modules/ci-info": { @@ -4532,9 +3894,9 @@ } }, "node_modules/cookie-es": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-2.0.0.tgz", - "integrity": "sha512-RAj4E421UYRgqokKUmotqAwuplYw15qtdXfY+hGzgCJ/MBjCVZcSoHK/kH9kocfjRjcDME7IiDWR/1WX1TM2Pg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-3.1.1.tgz", + "integrity": "sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg==", "license": "MIT" }, "node_modules/core-js-compat": { @@ -4774,7 +4136,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", - "devOptional": true, + "dev": true, "license": "Apache-2.0", "engines": { "node": ">=8" @@ -4787,9 +4149,9 @@ "license": "MIT" }, "node_modules/diff": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/diff/-/diff-8.0.4.tgz", - "integrity": "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-9.0.0.tgz", + "integrity": "sha512-svtcdpS8CgJyqAjEQIXdb3OjhFVVYjzGAPO8WGCmRbrml64SPw/jJD4GoE98aR7r25A0XcgrK3F02yw9R/vhQw==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -5057,48 +4419,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/esbuild": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.11.tgz", - "integrity": "sha512-KohQwyzrKTQmhXDW1PjCv3Tyspn9n5GcY2RTDqeORIdIJY8yKIF7sTSopFmn/wpMPW4rdPXI0UE5LJLuq3bx0Q==", - "devOptional": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.25.11", - "@esbuild/android-arm": "0.25.11", - "@esbuild/android-arm64": "0.25.11", - "@esbuild/android-x64": "0.25.11", - "@esbuild/darwin-arm64": "0.25.11", - "@esbuild/darwin-x64": "0.25.11", - "@esbuild/freebsd-arm64": "0.25.11", - "@esbuild/freebsd-x64": "0.25.11", - "@esbuild/linux-arm": "0.25.11", - "@esbuild/linux-arm64": "0.25.11", - "@esbuild/linux-ia32": "0.25.11", - "@esbuild/linux-loong64": "0.25.11", - "@esbuild/linux-mips64el": "0.25.11", - "@esbuild/linux-ppc64": "0.25.11", - "@esbuild/linux-riscv64": "0.25.11", - "@esbuild/linux-s390x": "0.25.11", - "@esbuild/linux-x64": "0.25.11", - "@esbuild/netbsd-arm64": "0.25.11", - "@esbuild/netbsd-x64": "0.25.11", - "@esbuild/openbsd-arm64": "0.25.11", - "@esbuild/openbsd-x64": "0.25.11", - "@esbuild/openharmony-arm64": "0.25.11", - "@esbuild/sunos-x64": "0.25.11", - "@esbuild/win32-arm64": "0.25.11", - "@esbuild/win32-ia32": "0.25.11", - "@esbuild/win32-x64": "0.25.11" - } - }, "node_modules/escalade": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", @@ -5600,20 +4920,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/esquery": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", @@ -5825,6 +5131,7 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -5967,7 +5274,7 @@ "version": "4.13.0", "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.13.0.tgz", "integrity": "sha512-1VKTZJCwBrvbd+Wn3AOgQP/2Av+TfTCOlE4AcRJE72W1ksZXbAx8PPBR9RzgTeSPzlPMHrbANMH3LbltH73wxQ==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "resolve-pkg-maps": "^1.0.0" @@ -6020,9 +5327,9 @@ } }, "node_modules/goober": { - "version": "2.1.18", - "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.18.tgz", - "integrity": "sha512-2vFqsaDVIT9Gz7N6kAL++pLpp41l3PfDuusHcjnGLfR6+huZkl6ziX+zgVC3ZxpqWhzH6pyDdGrCeDhMIvwaxw==", + "version": "2.1.19", + "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.19.tgz", + "integrity": "sha512-U7veizMqxyKlM58+Z5j2ngJBH/r9siDmxpvNxSw0PylF6WQvrASJEZrxh1hidRBJc2jqoBVSyOban5u8m+6Rxg==", "license": "MIT", "peerDependencies": { "csstype": "^3.0.10" @@ -6356,19 +5663,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/is-boolean-object": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", @@ -6812,10 +6106,10 @@ } }, "node_modules/jiti": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz", - "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==", - "devOptional": true, + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", + "dev": true, "license": "MIT", "bin": { "jiti": "lib/jiti-cli.mjs" @@ -6982,7 +6276,7 @@ "version": "1.30.2", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.2.tgz", "integrity": "sha512-utfs7Pr5uJyyvDETitgsaqSyjCb2qNRAtuqUeWIAKztsOYdcACf2KtARYXg2pSvhkt+9NfoaNY7fxjl6nuMjIQ==", - "devOptional": true, + "dev": true, "license": "MPL-2.0", "dependencies": { "detect-libc": "^2.0.3" @@ -7015,6 +6309,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7035,6 +6330,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7055,6 +6351,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7075,6 +6372,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7095,6 +6393,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7115,6 +6414,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7135,6 +6435,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7155,6 +6456,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7175,6 +6477,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7195,6 +6498,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7215,6 +6519,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -7428,6 +6733,7 @@ "version": "3.3.19", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.19.tgz", "integrity": "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==", + "dev": true, "funding": [ { "type": "github", @@ -7485,16 +6791,6 @@ "node": ">=18" } }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -7763,6 +7059,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, "license": "ISC" }, "node_modules/picomatch": { @@ -7802,6 +7099,7 @@ "version": "8.5.28", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz", "integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==", + "dev": true, "funding": [ { "type": "opencollective", @@ -7837,9 +7135,9 @@ } }, "node_modules/prettier": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz", - "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", + "version": "3.9.10", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.10.tgz", + "integrity": "sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA==", "dev": true, "license": "MIT", "bin": { @@ -7972,43 +7270,17 @@ } }, "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.1.1.tgz", + "integrity": "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==", "dev": true, "license": "MIT", - "dependencies": { - "picomatch": "^2.2.1" - }, "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/recast": { - "version": "0.23.11", - "resolved": "https://registry.npmjs.org/recast/-/recast-0.23.11.tgz", - "integrity": "sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ast-types": "^0.16.1", - "esprima": "~4.0.0", - "source-map": "~0.6.1", - "tiny-invariant": "^1.3.3", - "tslib": "^2.0.1" + "node": ">= 20.19.0" }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/recast/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" } }, "node_modules/redent": { @@ -8180,7 +7452,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", - "devOptional": true, + "dev": true, "license": "MIT", "funding": { "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" @@ -8208,6 +7480,7 @@ "version": "4.63.3", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.63.3.tgz", "integrity": "sha512-1i2XreiAoMMXuPGD6Msj2xWrMMkHojNRKivInxGQcg7/1KuPuYlfUutLyh4drnOxUTHX9cHI4wFoat8D/NKaBw==", + "dev": true, "license": "MIT", "dependencies": { "@types/estree": "1.0.9" @@ -8371,27 +7644,6 @@ "semver": "bin/semver.js" } }, - "node_modules/seroval": { - "version": "1.5.6", - "resolved": "https://registry.npmjs.org/seroval/-/seroval-1.5.6.tgz", - "integrity": "sha512-rVQVWjjSvlINzaQPZH5JFqsqEsIWdTxY3iJZCnTL/5gQbXIRooVZKI60tVCkOVfzcRPejboxO2t0P89dg5mQaA==", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/seroval-plugins": { - "version": "1.5.6", - "resolved": "https://registry.npmjs.org/seroval-plugins/-/seroval-plugins-1.5.6.tgz", - "integrity": "sha512-HXuLAX2pu/UByPpaeo/TaMfvMIi+1QqIoPJYCcAtU8QkVNwgR6MPlGuCQTErV1JwraaMbYaWVIBX7mppzGLATQ==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "seroval": "^1.0" - } - }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", @@ -8560,32 +7812,11 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/solid-js": { - "version": "1.9.15", - "resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.9.15.tgz", - "integrity": "sha512-EeiY2xfpZJqPLjXspVEKjAII4yv8NyG//NxZ3IpOFHdUNnnTyL0uJOeS9LWGvA7cFCz5y94cjFwYlmw5Luncsg==", - "license": "MIT", - "peer": true, - "dependencies": { - "csstype": "^3.1.0", - "seroval": "~1.5.4", - "seroval-plugins": "~1.5.4" - } - }, - "node_modules/source-map": { - "version": "0.7.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", - "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 12" - } - }, "node_modules/source-map-js": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -8852,18 +8083,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/tiny-invariant": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz", - "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==", - "license": "MIT" - }, - "node_modules/tiny-warning": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", - "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==", - "license": "MIT" - }, "node_modules/tinybench": { "version": "2.9.0", "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", @@ -8882,13 +8101,14 @@ } }, "node_modules/tinyglobby": { - "version": "0.2.15", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", - "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==", + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, "license": "MIT", "dependencies": { "fdir": "^6.5.0", - "picomatch": "^4.0.3" + "picomatch": "^4.0.4" }, "engines": { "node": ">=12.0.0" @@ -8901,6 +8121,7 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, "license": "MIT", "engines": { "node": ">=12.0.0" @@ -8918,6 +8139,7 @@ "version": "4.0.7", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -9013,27 +8235,8 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "dev": true, - "license": "0BSD" - }, - "node_modules/tsx": { - "version": "4.20.6", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.20.6.tgz", - "integrity": "sha512-ytQKuwgmrrkDTFP4LjR0ToE2nqgy886GpvRSpU0JAnrdBYppuY5rLkRUYPU1yCryb24SsKBTL/hlDQAEFVwtZg==", - "devOptional": true, - "license": "MIT", - "dependencies": { - "esbuild": "~0.25.0", - "get-tsconfig": "^4.7.5" - }, - "bin": { - "tsx": "dist/cli.mjs" - }, - "engines": { - "node": ">=18.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - } + "license": "0BSD", + "optional": true }, "node_modules/type-check": { "version": "0.4.0", @@ -9200,23 +8403,66 @@ "version": "7.16.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/unplugin": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-2.3.10.tgz", - "integrity": "sha512-6NCPkv1ClwH+/BGE9QeoTIl09nuiAt0gS28nn1PvYXsGKRwM2TCbFA2QiilmehPDTXIe684k4rZI1yl3A1PCUw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-3.6.0.tgz", + "integrity": "sha512-btGFb33KNAaqsu3/jFenhevLmaP9ZjYbkiVKd7OBAtsbdqG7oSJsA8RlHa7NY5kt765PnB37mlAI8a15iQAm+w==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/remapping": "^2.3.5", - "acorn": "^8.15.0", - "picomatch": "^4.0.3", + "picomatch": "^4.0.7", "webpack-virtual-modules": "^0.6.2" }, "engines": { - "node": ">=18.12.0" + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "@farmfe/core": "*", + "@rsbuild/core": "*", + "@rspack/core": "*", + "bun-types-no-globals": "*", + "esbuild": "*", + "rolldown": "*", + "rollup": "*", + "unloader": "*", + "vite": "*", + "webpack": "*" + }, + "peerDependenciesMeta": { + "@farmfe/core": { + "optional": true + }, + "@rsbuild/core": { + "optional": true + }, + "@rspack/core": { + "optional": true + }, + "bun-types-no-globals": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "rolldown": { + "optional": true + }, + "rollup": { + "optional": true + }, + "unloader": { + "optional": true + }, + "vite": { + "optional": true + }, + "webpack": { + "optional": true + } } }, "node_modules/unplugin/node_modules/picomatch": { @@ -9331,6 +8577,7 @@ "version": "7.3.7", "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.7.tgz", "integrity": "sha512-AHEzTORMbi7/7aXp7w7KZ5+DCUdSeLsJz0grY8xHpc9DHdYb0vQu6DqJfm2tOw3gDExNgPgnJTXxM6syYFHaCA==", + "dev": true, "license": "MIT", "dependencies": { "esbuild": "^0.27.0 || ^0.28.0", @@ -9408,6 +8655,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9424,6 +8672,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9440,6 +8689,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9456,6 +8706,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9472,6 +8723,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9488,6 +8740,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9504,6 +8757,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9520,6 +8774,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9536,6 +8791,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9552,6 +8808,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9568,6 +8825,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9584,6 +8842,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9600,6 +8859,7 @@ "cpu": [ "mips64el" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9616,6 +8876,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9632,6 +8893,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9648,6 +8910,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9664,6 +8927,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9680,6 +8944,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9696,6 +8961,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9712,6 +8978,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9728,6 +8995,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9744,6 +9012,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9760,6 +9029,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9776,6 +9046,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9792,6 +9063,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9808,6 +9080,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -9821,6 +9094,7 @@ "version": "0.28.2", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", + "dev": true, "hasInstallScript": true, "license": "MIT", "bin": { @@ -9862,6 +9136,7 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, "license": "MIT", "engines": { "node": ">=12.0.0" @@ -9879,6 +9154,7 @@ "version": "4.0.7", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -10316,9 +9592,9 @@ } }, "node_modules/zod": { - "version": "4.1.12", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.1.12.tgz", - "integrity": "sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ==", + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" diff --git a/client/package.json b/client/package.json index b9b601d..e39e7c9 100644 --- a/client/package.json +++ b/client/package.json @@ -18,18 +18,18 @@ "@tanstack/react-query": "^5.90.2", "@tanstack/react-query-devtools": "^5.90.2", "@tanstack/react-router": "^1.132.33", - "@tanstack/react-router-devtools": "^1.132.33", + "@tanstack/react-router-devtools": "^1.167.2", "@tanstack/react-table": "^8.21.3", "react": "^19.1.1", "react-dom": "^19.1.1", - "zod": "^4.1.12" + "zod": "^4.6.7" }, "devDependencies": { "@nkzw/eslint-config": "^3.0.3", "@tailwindcss/vite": "^4.1.14", "@tanstack/eslint-plugin-query": "^5.91.0", "@tanstack/eslint-plugin-router": "^1.132.31", - "@tanstack/router-plugin": "^1.132.33", + "@tanstack/router-plugin": "^1.168.48", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", diff --git a/client/src/routeTree.gen.ts b/client/src/routeTree.gen.ts index 4388144..dd57247 100644 --- a/client/src/routeTree.gen.ts +++ b/client/src/routeTree.gen.ts @@ -9,53 +9,48 @@ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. import { Route as rootRouteImport } from './routes/__root' -import { Route as AboutRouteImport } from './routes/about' import { Route as authenticatedRouteRouteImport } from './routes/(authenticated)/route' -import { Route as TempIndexRouteImport } from './routes/temp/index' +import { Route as AboutRouteImport } from './routes/about' import { Route as authenticatedIndexRouteImport } from './routes/(authenticated)/index' -import { Route as TempRoomRouteImport } from './routes/temp/room' -import { Route as TempReservationsRouteImport } from './routes/temp/reservations' -import { Route as TempBuildingRouteImport } from './routes/temp/building' -import { Route as authenticatedTableExportRouteImport } from './routes/(authenticated)/table-export' -import { Route as authenticatedStylesRouteImport } from './routes/(authenticated)/styles' -import { Route as authenticatedNotificationRouteImport } from './routes/(authenticated)/notification' -import { Route as authenticatedMeRouteImport } from './routes/(authenticated)/me' -import { Route as authenticatedFormRouteImport } from './routes/(authenticated)/form' -import { Route as authenticatedFetchRouteImport } from './routes/(authenticated)/fetch' import { Route as authenticatedAdminRouteImport } from './routes/(authenticated)/admin' -import { Route as TempResourcesIndexRouteImport } from './routes/temp/resources/index' +import { Route as authenticatedFetchRouteImport } from './routes/(authenticated)/fetch' +import { Route as authenticatedFormRouteImport } from './routes/(authenticated)/form' +import { Route as authenticatedMeRouteImport } from './routes/(authenticated)/me' +import { Route as authenticatedNotificationRouteImport } from './routes/(authenticated)/notification' +import { Route as authenticatedStylesRouteImport } from './routes/(authenticated)/styles' +import { Route as authenticatedTableExportRouteImport } from './routes/(authenticated)/table-export' +import { Route as TempIndexRouteImport } from './routes/temp/index' +import { Route as TempBuildingRouteImport } from './routes/temp/building' +import { Route as TempReservationsRouteImport } from './routes/temp/reservations' +import { Route as TempRoomRouteImport } from './routes/temp/room' import { Route as authenticatedAdminIndexRouteImport } from './routes/(authenticated)/admin.index' -import { Route as TempResourcesResourceIdRouteImport } from './routes/temp/resources/$resourceId' -import { Route as TempAdminResourcesRouteImport } from './routes/temp/admin/resources' -import { Route as authenticatedTeamsTeamSlugRouteImport } from './routes/(authenticated)/teams.$teamSlug' -import { Route as authenticatedAdminUsersRouteImport } from './routes/(authenticated)/admin.users' -import { Route as authenticatedAdminTeamsRouteImport } from './routes/(authenticated)/admin.teams' import { Route as authenticatedAdminSpacesRouteImport } from './routes/(authenticated)/admin.spaces' -import { Route as authenticatedTeamsTeamSlugIndexRouteImport } from './routes/(authenticated)/teams.$teamSlug.index' +import { Route as authenticatedAdminTeamsRouteImport } from './routes/(authenticated)/admin.teams' +import { Route as authenticatedAdminUsersRouteImport } from './routes/(authenticated)/admin.users' +import { Route as authenticatedTeamsTeamSlugRouteImport } from './routes/(authenticated)/teams.$teamSlug' +import { Route as TempAdminResourcesRouteImport } from './routes/temp/admin/resources' +import { Route as TempResourcesIndexRouteImport } from './routes/temp/resources/index' +import { Route as TempResourcesResourceIdRouteImport } from './routes/temp/resources/$resourceId' import { Route as authenticatedAdminResourceTemplatesIndexRouteImport } from './routes/(authenticated)/admin.resource-templates.index' -import { Route as authenticatedTeamsTeamSlugResourceTemplatesRouteImport } from './routes/(authenticated)/teams.$teamSlug.resource-templates' -import { Route as authenticatedTeamsTeamSlugMembersRouteImport } from './routes/(authenticated)/teams.$teamSlug.members' -import { Route as authenticatedAdminResourceTemplatesNewRouteImport } from './routes/(authenticated)/admin.resource-templates.new' import { Route as authenticatedAdminResourceTemplatesTemplateIdRouteImport } from './routes/(authenticated)/admin.resource-templates.$templateId' -import { Route as authenticatedTeamsTeamSlugResourcesIndexRouteImport } from './routes/(authenticated)/teams.$teamSlug.resources.index' +import { Route as authenticatedAdminResourceTemplatesNewRouteImport } from './routes/(authenticated)/admin.resource-templates.new' +import { Route as authenticatedTeamsTeamSlugIndexRouteImport } from './routes/(authenticated)/teams.$teamSlug.index' +import { Route as authenticatedTeamsTeamSlugMembersRouteImport } from './routes/(authenticated)/teams.$teamSlug.members' +import { Route as authenticatedTeamsTeamSlugResourceTemplatesRouteImport } from './routes/(authenticated)/teams.$teamSlug.resource-templates' import { Route as authenticatedTeamsTeamSlugResourceTemplatesIndexRouteImport } from './routes/(authenticated)/teams.$teamSlug.resource-templates.index' -import { Route as authenticatedTeamsTeamSlugResourcesNewRouteImport } from './routes/(authenticated)/teams.$teamSlug.resources.new' -import { Route as authenticatedTeamsTeamSlugResourcesResourceIdRouteImport } from './routes/(authenticated)/teams.$teamSlug.resources.$resourceId' -import { Route as authenticatedTeamsTeamSlugResourceTemplatesNewRouteImport } from './routes/(authenticated)/teams.$teamSlug.resource-templates.new' import { Route as authenticatedTeamsTeamSlugResourceTemplatesTemplateIdRouteImport } from './routes/(authenticated)/teams.$teamSlug.resource-templates.$templateId' +import { Route as authenticatedTeamsTeamSlugResourceTemplatesNewRouteImport } from './routes/(authenticated)/teams.$teamSlug.resource-templates.new' +import { Route as authenticatedTeamsTeamSlugResourcesIndexRouteImport } from './routes/(authenticated)/teams.$teamSlug.resources.index' +import { Route as authenticatedTeamsTeamSlugResourcesResourceIdRouteImport } from './routes/(authenticated)/teams.$teamSlug.resources.$resourceId' +import { Route as authenticatedTeamsTeamSlugResourcesNewRouteImport } from './routes/(authenticated)/teams.$teamSlug.resources.new' -const AboutRoute = AboutRouteImport.update({ - id: '/about', - path: '/about', - getParentRoute: () => rootRouteImport, -} as any) const authenticatedRouteRoute = authenticatedRouteRouteImport.update({ id: '/(authenticated)', getParentRoute: () => rootRouteImport, } as any) -const TempIndexRoute = TempIndexRouteImport.update({ - id: '/temp/', - path: '/temp/', +const AboutRoute = AboutRouteImport.update({ + id: '/about', + path: '/about', getParentRoute: () => rootRouteImport, } as any) const authenticatedIndexRoute = authenticatedIndexRouteImport.update({ @@ -63,30 +58,24 @@ const authenticatedIndexRoute = authenticatedIndexRouteImport.update({ path: '/', getParentRoute: () => authenticatedRouteRoute, } as any) -const TempRoomRoute = TempRoomRouteImport.update({ - id: '/temp/room', - path: '/temp/room', - getParentRoute: () => rootRouteImport, +const authenticatedAdminRoute = authenticatedAdminRouteImport.update({ + id: '/admin', + path: '/admin', + getParentRoute: () => authenticatedRouteRoute, } as any) -const TempReservationsRoute = TempReservationsRouteImport.update({ - id: '/temp/reservations', - path: '/temp/reservations', - getParentRoute: () => rootRouteImport, +const authenticatedFetchRoute = authenticatedFetchRouteImport.update({ + id: '/fetch', + path: '/fetch', + getParentRoute: () => authenticatedRouteRoute, } as any) -const TempBuildingRoute = TempBuildingRouteImport.update({ - id: '/temp/building', - path: '/temp/building', - getParentRoute: () => rootRouteImport, +const authenticatedFormRoute = authenticatedFormRouteImport.update({ + id: '/form', + path: '/form', + getParentRoute: () => authenticatedRouteRoute, } as any) -const authenticatedTableExportRoute = - authenticatedTableExportRouteImport.update({ - id: '/table-export', - path: '/table-export', - getParentRoute: () => authenticatedRouteRoute, - } as any) -const authenticatedStylesRoute = authenticatedStylesRouteImport.update({ - id: '/styles', - path: '/styles', +const authenticatedMeRoute = authenticatedMeRouteImport.update({ + id: '/me', + path: '/me', getParentRoute: () => authenticatedRouteRoute, } as any) const authenticatedNotificationRoute = @@ -95,29 +84,35 @@ const authenticatedNotificationRoute = path: '/notification', getParentRoute: () => authenticatedRouteRoute, } as any) -const authenticatedMeRoute = authenticatedMeRouteImport.update({ - id: '/me', - path: '/me', +const authenticatedStylesRoute = authenticatedStylesRouteImport.update({ + id: '/styles', + path: '/styles', getParentRoute: () => authenticatedRouteRoute, } as any) -const authenticatedFormRoute = authenticatedFormRouteImport.update({ - id: '/form', - path: '/form', - getParentRoute: () => authenticatedRouteRoute, +const authenticatedTableExportRoute = + authenticatedTableExportRouteImport.update({ + id: '/table-export', + path: '/table-export', + getParentRoute: () => authenticatedRouteRoute, + } as any) +const TempIndexRoute = TempIndexRouteImport.update({ + id: '/temp/', + path: '/temp/', + getParentRoute: () => rootRouteImport, } as any) -const authenticatedFetchRoute = authenticatedFetchRouteImport.update({ - id: '/fetch', - path: '/fetch', - getParentRoute: () => authenticatedRouteRoute, +const TempBuildingRoute = TempBuildingRouteImport.update({ + id: '/temp/building', + path: '/temp/building', + getParentRoute: () => rootRouteImport, } as any) -const authenticatedAdminRoute = authenticatedAdminRouteImport.update({ - id: '/admin', - path: '/admin', - getParentRoute: () => authenticatedRouteRoute, +const TempReservationsRoute = TempReservationsRouteImport.update({ + id: '/temp/reservations', + path: '/temp/reservations', + getParentRoute: () => rootRouteImport, } as any) -const TempResourcesIndexRoute = TempResourcesIndexRouteImport.update({ - id: '/temp/resources/', - path: '/temp/resources/', +const TempRoomRoute = TempRoomRouteImport.update({ + id: '/temp/room', + path: '/temp/room', getParentRoute: () => rootRouteImport, } as any) const authenticatedAdminIndexRoute = authenticatedAdminIndexRouteImport.update({ @@ -125,15 +120,21 @@ const authenticatedAdminIndexRoute = authenticatedAdminIndexRouteImport.update({ path: '/', getParentRoute: () => authenticatedAdminRoute, } as any) -const TempResourcesResourceIdRoute = TempResourcesResourceIdRouteImport.update({ - id: '/temp/resources/$resourceId', - path: '/temp/resources/$resourceId', - getParentRoute: () => rootRouteImport, +const authenticatedAdminSpacesRoute = + authenticatedAdminSpacesRouteImport.update({ + id: '/spaces', + path: '/spaces', + getParentRoute: () => authenticatedAdminRoute, + } as any) +const authenticatedAdminTeamsRoute = authenticatedAdminTeamsRouteImport.update({ + id: '/teams', + path: '/teams', + getParentRoute: () => authenticatedAdminRoute, } as any) -const TempAdminResourcesRoute = TempAdminResourcesRouteImport.update({ - id: '/temp/admin/resources', - path: '/temp/admin/resources', - getParentRoute: () => rootRouteImport, +const authenticatedAdminUsersRoute = authenticatedAdminUsersRouteImport.update({ + id: '/users', + path: '/users', + getParentRoute: () => authenticatedAdminRoute, } as any) const authenticatedTeamsTeamSlugRoute = authenticatedTeamsTeamSlugRouteImport.update({ @@ -141,20 +142,37 @@ const authenticatedTeamsTeamSlugRoute = path: '/teams/$teamSlug', getParentRoute: () => authenticatedRouteRoute, } as any) -const authenticatedAdminUsersRoute = authenticatedAdminUsersRouteImport.update({ - id: '/users', - path: '/users', - getParentRoute: () => authenticatedAdminRoute, +const TempAdminResourcesRoute = TempAdminResourcesRouteImport.update({ + id: '/temp/admin/resources', + path: '/temp/admin/resources', + getParentRoute: () => rootRouteImport, } as any) -const authenticatedAdminTeamsRoute = authenticatedAdminTeamsRouteImport.update({ - id: '/teams', - path: '/teams', - getParentRoute: () => authenticatedAdminRoute, +const TempResourcesIndexRoute = TempResourcesIndexRouteImport.update({ + id: '/temp/resources/', + path: '/temp/resources/', + getParentRoute: () => rootRouteImport, } as any) -const authenticatedAdminSpacesRoute = - authenticatedAdminSpacesRouteImport.update({ - id: '/spaces', - path: '/spaces', +const TempResourcesResourceIdRoute = TempResourcesResourceIdRouteImport.update({ + id: '/temp/resources/$resourceId', + path: '/temp/resources/$resourceId', + getParentRoute: () => rootRouteImport, +} as any) +const authenticatedAdminResourceTemplatesIndexRoute = + authenticatedAdminResourceTemplatesIndexRouteImport.update({ + id: '/resource-templates/', + path: '/resource-templates/', + getParentRoute: () => authenticatedAdminRoute, + } as any) +const authenticatedAdminResourceTemplatesTemplateIdRoute = + authenticatedAdminResourceTemplatesTemplateIdRouteImport.update({ + id: '/resource-templates/$templateId', + path: '/resource-templates/$templateId', + getParentRoute: () => authenticatedAdminRoute, + } as any) +const authenticatedAdminResourceTemplatesNewRoute = + authenticatedAdminResourceTemplatesNewRouteImport.update({ + id: '/resource-templates/new', + path: '/resource-templates/new', getParentRoute: () => authenticatedAdminRoute, } as any) const authenticatedTeamsTeamSlugIndexRoute = @@ -163,11 +181,11 @@ const authenticatedTeamsTeamSlugIndexRoute = path: '/', getParentRoute: () => authenticatedTeamsTeamSlugRoute, } as any) -const authenticatedAdminResourceTemplatesIndexRoute = - authenticatedAdminResourceTemplatesIndexRouteImport.update({ - id: '/resource-templates/', - path: '/resource-templates/', - getParentRoute: () => authenticatedAdminRoute, +const authenticatedTeamsTeamSlugMembersRoute = + authenticatedTeamsTeamSlugMembersRouteImport.update({ + id: '/members', + path: '/members', + getParentRoute: () => authenticatedTeamsTeamSlugRoute, } as any) const authenticatedTeamsTeamSlugResourceTemplatesRoute = authenticatedTeamsTeamSlugResourceTemplatesRouteImport.update({ @@ -175,23 +193,23 @@ const authenticatedTeamsTeamSlugResourceTemplatesRoute = path: '/resource-templates', getParentRoute: () => authenticatedTeamsTeamSlugRoute, } as any) -const authenticatedTeamsTeamSlugMembersRoute = - authenticatedTeamsTeamSlugMembersRouteImport.update({ - id: '/members', - path: '/members', - getParentRoute: () => authenticatedTeamsTeamSlugRoute, +const authenticatedTeamsTeamSlugResourceTemplatesIndexRoute = + authenticatedTeamsTeamSlugResourceTemplatesIndexRouteImport.update({ + id: '/', + path: '/', + getParentRoute: () => authenticatedTeamsTeamSlugResourceTemplatesRoute, } as any) -const authenticatedAdminResourceTemplatesNewRoute = - authenticatedAdminResourceTemplatesNewRouteImport.update({ - id: '/resource-templates/new', - path: '/resource-templates/new', - getParentRoute: () => authenticatedAdminRoute, +const authenticatedTeamsTeamSlugResourceTemplatesTemplateIdRoute = + authenticatedTeamsTeamSlugResourceTemplatesTemplateIdRouteImport.update({ + id: '/$templateId', + path: '/$templateId', + getParentRoute: () => authenticatedTeamsTeamSlugResourceTemplatesRoute, } as any) -const authenticatedAdminResourceTemplatesTemplateIdRoute = - authenticatedAdminResourceTemplatesTemplateIdRouteImport.update({ - id: '/resource-templates/$templateId', - path: '/resource-templates/$templateId', - getParentRoute: () => authenticatedAdminRoute, +const authenticatedTeamsTeamSlugResourceTemplatesNewRoute = + authenticatedTeamsTeamSlugResourceTemplatesNewRouteImport.update({ + id: '/new', + path: '/new', + getParentRoute: () => authenticatedTeamsTeamSlugResourceTemplatesRoute, } as any) const authenticatedTeamsTeamSlugResourcesIndexRoute = authenticatedTeamsTeamSlugResourcesIndexRouteImport.update({ @@ -199,11 +217,11 @@ const authenticatedTeamsTeamSlugResourcesIndexRoute = path: '/resources/', getParentRoute: () => authenticatedTeamsTeamSlugRoute, } as any) -const authenticatedTeamsTeamSlugResourceTemplatesIndexRoute = - authenticatedTeamsTeamSlugResourceTemplatesIndexRouteImport.update({ - id: '/', - path: '/', - getParentRoute: () => authenticatedTeamsTeamSlugResourceTemplatesRoute, +const authenticatedTeamsTeamSlugResourcesResourceIdRoute = + authenticatedTeamsTeamSlugResourcesResourceIdRouteImport.update({ + id: '/resources/$resourceId', + path: '/resources/$resourceId', + getParentRoute: () => authenticatedTeamsTeamSlugRoute, } as any) const authenticatedTeamsTeamSlugResourcesNewRoute = authenticatedTeamsTeamSlugResourcesNewRouteImport.update({ @@ -211,24 +229,6 @@ const authenticatedTeamsTeamSlugResourcesNewRoute = path: '/resources/new', getParentRoute: () => authenticatedTeamsTeamSlugRoute, } as any) -const authenticatedTeamsTeamSlugResourcesResourceIdRoute = - authenticatedTeamsTeamSlugResourcesResourceIdRouteImport.update({ - id: '/resources/$resourceId', - path: '/resources/$resourceId', - getParentRoute: () => authenticatedTeamsTeamSlugRoute, - } as any) -const authenticatedTeamsTeamSlugResourceTemplatesNewRoute = - authenticatedTeamsTeamSlugResourceTemplatesNewRouteImport.update({ - id: '/new', - path: '/new', - getParentRoute: () => authenticatedTeamsTeamSlugResourceTemplatesRoute, - } as any) -const authenticatedTeamsTeamSlugResourceTemplatesTemplateIdRoute = - authenticatedTeamsTeamSlugResourceTemplatesTemplateIdRouteImport.update({ - id: '/$templateId', - path: '/$templateId', - getParentRoute: () => authenticatedTeamsTeamSlugResourceTemplatesRoute, - } as any) export interface FileRoutesByFullPath { '/about': typeof AboutRoute @@ -243,7 +243,7 @@ export interface FileRoutesByFullPath { '/temp/reservations': typeof TempReservationsRoute '/temp/room': typeof TempRoomRoute '/': typeof authenticatedIndexRoute - '/temp': typeof TempIndexRoute + '/temp/': typeof TempIndexRoute '/admin/spaces': typeof authenticatedAdminSpacesRoute '/admin/teams': typeof authenticatedAdminTeamsRoute '/admin/users': typeof authenticatedAdminUsersRoute @@ -251,19 +251,19 @@ export interface FileRoutesByFullPath { '/temp/admin/resources': typeof TempAdminResourcesRoute '/temp/resources/$resourceId': typeof TempResourcesResourceIdRoute '/admin/': typeof authenticatedAdminIndexRoute - '/temp/resources': typeof TempResourcesIndexRoute + '/temp/resources/': typeof TempResourcesIndexRoute '/admin/resource-templates/$templateId': typeof authenticatedAdminResourceTemplatesTemplateIdRoute '/admin/resource-templates/new': typeof authenticatedAdminResourceTemplatesNewRoute '/teams/$teamSlug/members': typeof authenticatedTeamsTeamSlugMembersRoute '/teams/$teamSlug/resource-templates': typeof authenticatedTeamsTeamSlugResourceTemplatesRouteWithChildren - '/admin/resource-templates': typeof authenticatedAdminResourceTemplatesIndexRoute + '/admin/resource-templates/': typeof authenticatedAdminResourceTemplatesIndexRoute '/teams/$teamSlug/': typeof authenticatedTeamsTeamSlugIndexRoute '/teams/$teamSlug/resource-templates/$templateId': typeof authenticatedTeamsTeamSlugResourceTemplatesTemplateIdRoute '/teams/$teamSlug/resource-templates/new': typeof authenticatedTeamsTeamSlugResourceTemplatesNewRoute '/teams/$teamSlug/resources/$resourceId': typeof authenticatedTeamsTeamSlugResourcesResourceIdRoute '/teams/$teamSlug/resources/new': typeof authenticatedTeamsTeamSlugResourcesNewRoute '/teams/$teamSlug/resource-templates/': typeof authenticatedTeamsTeamSlugResourceTemplatesIndexRoute - '/teams/$teamSlug/resources': typeof authenticatedTeamsTeamSlugResourcesIndexRoute + '/teams/$teamSlug/resources/': typeof authenticatedTeamsTeamSlugResourcesIndexRoute } export interface FileRoutesByTo { '/about': typeof AboutRoute @@ -349,7 +349,7 @@ export interface FileRouteTypes { | '/temp/reservations' | '/temp/room' | '/' - | '/temp' + | '/temp/' | '/admin/spaces' | '/admin/teams' | '/admin/users' @@ -357,19 +357,19 @@ export interface FileRouteTypes { | '/temp/admin/resources' | '/temp/resources/$resourceId' | '/admin/' - | '/temp/resources' + | '/temp/resources/' | '/admin/resource-templates/$templateId' | '/admin/resource-templates/new' | '/teams/$teamSlug/members' | '/teams/$teamSlug/resource-templates' - | '/admin/resource-templates' + | '/admin/resource-templates/' | '/teams/$teamSlug/' | '/teams/$teamSlug/resource-templates/$templateId' | '/teams/$teamSlug/resource-templates/new' | '/teams/$teamSlug/resources/$resourceId' | '/teams/$teamSlug/resources/new' | '/teams/$teamSlug/resource-templates/' - | '/teams/$teamSlug/resources' + | '/teams/$teamSlug/resources/' fileRoutesByTo: FileRoutesByTo to: | '/about' @@ -454,13 +454,6 @@ export interface RootRouteChildren { declare module '@tanstack/react-router' { interface FileRoutesByPath { - '/about': { - id: '/about' - path: '/about' - fullPath: '/about' - preLoaderRoute: typeof AboutRouteImport - parentRoute: typeof rootRouteImport - } '/(authenticated)': { id: '/(authenticated)' path: '' @@ -468,11 +461,11 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof authenticatedRouteRouteImport parentRoute: typeof rootRouteImport } - '/temp/': { - id: '/temp/' - path: '/temp' - fullPath: '/temp' - preLoaderRoute: typeof TempIndexRouteImport + '/about': { + id: '/about' + path: '/about' + fullPath: '/about' + preLoaderRoute: typeof AboutRouteImport parentRoute: typeof rootRouteImport } '/(authenticated)/': { @@ -482,46 +475,25 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof authenticatedIndexRouteImport parentRoute: typeof authenticatedRouteRoute } - '/temp/room': { - id: '/temp/room' - path: '/temp/room' - fullPath: '/temp/room' - preLoaderRoute: typeof TempRoomRouteImport - parentRoute: typeof rootRouteImport - } - '/temp/reservations': { - id: '/temp/reservations' - path: '/temp/reservations' - fullPath: '/temp/reservations' - preLoaderRoute: typeof TempReservationsRouteImport - parentRoute: typeof rootRouteImport - } - '/temp/building': { - id: '/temp/building' - path: '/temp/building' - fullPath: '/temp/building' - preLoaderRoute: typeof TempBuildingRouteImport - parentRoute: typeof rootRouteImport - } - '/(authenticated)/table-export': { - id: '/(authenticated)/table-export' - path: '/table-export' - fullPath: '/table-export' - preLoaderRoute: typeof authenticatedTableExportRouteImport + '/(authenticated)/admin': { + id: '/(authenticated)/admin' + path: '/admin' + fullPath: '/admin' + preLoaderRoute: typeof authenticatedAdminRouteImport parentRoute: typeof authenticatedRouteRoute } - '/(authenticated)/styles': { - id: '/(authenticated)/styles' - path: '/styles' - fullPath: '/styles' - preLoaderRoute: typeof authenticatedStylesRouteImport + '/(authenticated)/fetch': { + id: '/(authenticated)/fetch' + path: '/fetch' + fullPath: '/fetch' + preLoaderRoute: typeof authenticatedFetchRouteImport parentRoute: typeof authenticatedRouteRoute } - '/(authenticated)/notification': { - id: '/(authenticated)/notification' - path: '/notification' - fullPath: '/notification' - preLoaderRoute: typeof authenticatedNotificationRouteImport + '/(authenticated)/form': { + id: '/(authenticated)/form' + path: '/form' + fullPath: '/form' + preLoaderRoute: typeof authenticatedFormRouteImport parentRoute: typeof authenticatedRouteRoute } '/(authenticated)/me': { @@ -531,32 +503,53 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof authenticatedMeRouteImport parentRoute: typeof authenticatedRouteRoute } - '/(authenticated)/form': { - id: '/(authenticated)/form' - path: '/form' - fullPath: '/form' - preLoaderRoute: typeof authenticatedFormRouteImport + '/(authenticated)/notification': { + id: '/(authenticated)/notification' + path: '/notification' + fullPath: '/notification' + preLoaderRoute: typeof authenticatedNotificationRouteImport parentRoute: typeof authenticatedRouteRoute } - '/(authenticated)/fetch': { - id: '/(authenticated)/fetch' - path: '/fetch' - fullPath: '/fetch' - preLoaderRoute: typeof authenticatedFetchRouteImport + '/(authenticated)/styles': { + id: '/(authenticated)/styles' + path: '/styles' + fullPath: '/styles' + preLoaderRoute: typeof authenticatedStylesRouteImport parentRoute: typeof authenticatedRouteRoute } - '/(authenticated)/admin': { - id: '/(authenticated)/admin' - path: '/admin' - fullPath: '/admin' - preLoaderRoute: typeof authenticatedAdminRouteImport + '/(authenticated)/table-export': { + id: '/(authenticated)/table-export' + path: '/table-export' + fullPath: '/table-export' + preLoaderRoute: typeof authenticatedTableExportRouteImport parentRoute: typeof authenticatedRouteRoute } - '/temp/resources/': { - id: '/temp/resources/' - path: '/temp/resources' - fullPath: '/temp/resources' - preLoaderRoute: typeof TempResourcesIndexRouteImport + '/temp/': { + id: '/temp/' + path: '/temp' + fullPath: '/temp/' + preLoaderRoute: typeof TempIndexRouteImport + parentRoute: typeof rootRouteImport + } + '/temp/building': { + id: '/temp/building' + path: '/temp/building' + fullPath: '/temp/building' + preLoaderRoute: typeof TempBuildingRouteImport + parentRoute: typeof rootRouteImport + } + '/temp/reservations': { + id: '/temp/reservations' + path: '/temp/reservations' + fullPath: '/temp/reservations' + preLoaderRoute: typeof TempReservationsRouteImport + parentRoute: typeof rootRouteImport + } + '/temp/room': { + id: '/temp/room' + path: '/temp/room' + fullPath: '/temp/room' + preLoaderRoute: typeof TempRoomRouteImport parentRoute: typeof rootRouteImport } '/(authenticated)/admin/': { @@ -566,19 +559,26 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof authenticatedAdminIndexRouteImport parentRoute: typeof authenticatedAdminRoute } - '/temp/resources/$resourceId': { - id: '/temp/resources/$resourceId' - path: '/temp/resources/$resourceId' - fullPath: '/temp/resources/$resourceId' - preLoaderRoute: typeof TempResourcesResourceIdRouteImport - parentRoute: typeof rootRouteImport + '/(authenticated)/admin/spaces': { + id: '/(authenticated)/admin/spaces' + path: '/spaces' + fullPath: '/admin/spaces' + preLoaderRoute: typeof authenticatedAdminSpacesRouteImport + parentRoute: typeof authenticatedAdminRoute } - '/temp/admin/resources': { - id: '/temp/admin/resources' - path: '/temp/admin/resources' - fullPath: '/temp/admin/resources' - preLoaderRoute: typeof TempAdminResourcesRouteImport - parentRoute: typeof rootRouteImport + '/(authenticated)/admin/teams': { + id: '/(authenticated)/admin/teams' + path: '/teams' + fullPath: '/admin/teams' + preLoaderRoute: typeof authenticatedAdminTeamsRouteImport + parentRoute: typeof authenticatedAdminRoute + } + '/(authenticated)/admin/users': { + id: '/(authenticated)/admin/users' + path: '/users' + fullPath: '/admin/users' + preLoaderRoute: typeof authenticatedAdminUsersRouteImport + parentRoute: typeof authenticatedAdminRoute } '/(authenticated)/teams/$teamSlug': { id: '/(authenticated)/teams/$teamSlug' @@ -587,25 +587,46 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof authenticatedTeamsTeamSlugRouteImport parentRoute: typeof authenticatedRouteRoute } - '/(authenticated)/admin/users': { - id: '/(authenticated)/admin/users' - path: '/users' - fullPath: '/admin/users' - preLoaderRoute: typeof authenticatedAdminUsersRouteImport + '/temp/admin/resources': { + id: '/temp/admin/resources' + path: '/temp/admin/resources' + fullPath: '/temp/admin/resources' + preLoaderRoute: typeof TempAdminResourcesRouteImport + parentRoute: typeof rootRouteImport + } + '/temp/resources/': { + id: '/temp/resources/' + path: '/temp/resources' + fullPath: '/temp/resources/' + preLoaderRoute: typeof TempResourcesIndexRouteImport + parentRoute: typeof rootRouteImport + } + '/temp/resources/$resourceId': { + id: '/temp/resources/$resourceId' + path: '/temp/resources/$resourceId' + fullPath: '/temp/resources/$resourceId' + preLoaderRoute: typeof TempResourcesResourceIdRouteImport + parentRoute: typeof rootRouteImport + } + '/(authenticated)/admin/resource-templates/': { + id: '/(authenticated)/admin/resource-templates/' + path: '/resource-templates' + fullPath: '/admin/resource-templates/' + preLoaderRoute: typeof authenticatedAdminResourceTemplatesIndexRouteImport parentRoute: typeof authenticatedAdminRoute } - '/(authenticated)/admin/teams': { - id: '/(authenticated)/admin/teams' - path: '/teams' - fullPath: '/admin/teams' - preLoaderRoute: typeof authenticatedAdminTeamsRouteImport + '/(authenticated)/admin/resource-templates/$templateId': { + id: '/(authenticated)/admin/resource-templates/$templateId' + path: '/resource-templates/$templateId' + fullPath: '/admin/resource-templates/$templateId' + preLoaderRoute: typeof authenticatedAdminResourceTemplatesTemplateIdRouteImport parentRoute: typeof authenticatedAdminRoute } - '/(authenticated)/admin/spaces': { - id: '/(authenticated)/admin/spaces' - path: '/spaces' - fullPath: '/admin/spaces' - preLoaderRoute: typeof authenticatedAdminSpacesRouteImport + '/(authenticated)/admin/resource-templates/new': { + id: '/(authenticated)/admin/resource-templates/new' + path: '/resource-templates/new' + fullPath: '/admin/resource-templates/new' + preLoaderRoute: typeof authenticatedAdminResourceTemplatesNewRouteImport parentRoute: typeof authenticatedAdminRoute } '/(authenticated)/teams/$teamSlug/': { @@ -615,20 +636,6 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof authenticatedTeamsTeamSlugIndexRouteImport parentRoute: typeof authenticatedTeamsTeamSlugRoute } - '/(authenticated)/admin/resource-templates/': { - id: '/(authenticated)/admin/resource-templates/' - path: '/resource-templates' - fullPath: '/admin/resource-templates' - preLoaderRoute: typeof authenticatedAdminResourceTemplatesIndexRouteImport - parentRoute: typeof authenticatedAdminRoute - } - '/(authenticated)/teams/$teamSlug/resource-templates': { - id: '/(authenticated)/teams/$teamSlug/resource-templates' - path: '/resource-templates' - fullPath: '/teams/$teamSlug/resource-templates' - preLoaderRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesRouteImport - parentRoute: typeof authenticatedTeamsTeamSlugRoute - } '/(authenticated)/teams/$teamSlug/members': { id: '/(authenticated)/teams/$teamSlug/members' path: '/members' @@ -636,25 +643,11 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof authenticatedTeamsTeamSlugMembersRouteImport parentRoute: typeof authenticatedTeamsTeamSlugRoute } - '/(authenticated)/admin/resource-templates/new': { - id: '/(authenticated)/admin/resource-templates/new' - path: '/resource-templates/new' - fullPath: '/admin/resource-templates/new' - preLoaderRoute: typeof authenticatedAdminResourceTemplatesNewRouteImport - parentRoute: typeof authenticatedAdminRoute - } - '/(authenticated)/admin/resource-templates/$templateId': { - id: '/(authenticated)/admin/resource-templates/$templateId' - path: '/resource-templates/$templateId' - fullPath: '/admin/resource-templates/$templateId' - preLoaderRoute: typeof authenticatedAdminResourceTemplatesTemplateIdRouteImport - parentRoute: typeof authenticatedAdminRoute - } - '/(authenticated)/teams/$teamSlug/resources/': { - id: '/(authenticated)/teams/$teamSlug/resources/' - path: '/resources' - fullPath: '/teams/$teamSlug/resources' - preLoaderRoute: typeof authenticatedTeamsTeamSlugResourcesIndexRouteImport + '/(authenticated)/teams/$teamSlug/resource-templates': { + id: '/(authenticated)/teams/$teamSlug/resource-templates' + path: '/resource-templates' + fullPath: '/teams/$teamSlug/resource-templates' + preLoaderRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesRouteImport parentRoute: typeof authenticatedTeamsTeamSlugRoute } '/(authenticated)/teams/$teamSlug/resource-templates/': { @@ -664,11 +657,25 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesIndexRouteImport parentRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesRoute } - '/(authenticated)/teams/$teamSlug/resources/new': { - id: '/(authenticated)/teams/$teamSlug/resources/new' - path: '/resources/new' - fullPath: '/teams/$teamSlug/resources/new' - preLoaderRoute: typeof authenticatedTeamsTeamSlugResourcesNewRouteImport + '/(authenticated)/teams/$teamSlug/resource-templates/$templateId': { + id: '/(authenticated)/teams/$teamSlug/resource-templates/$templateId' + path: '/$templateId' + fullPath: '/teams/$teamSlug/resource-templates/$templateId' + preLoaderRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesTemplateIdRouteImport + parentRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesRoute + } + '/(authenticated)/teams/$teamSlug/resource-templates/new': { + id: '/(authenticated)/teams/$teamSlug/resource-templates/new' + path: '/new' + fullPath: '/teams/$teamSlug/resource-templates/new' + preLoaderRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesNewRouteImport + parentRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesRoute + } + '/(authenticated)/teams/$teamSlug/resources/': { + id: '/(authenticated)/teams/$teamSlug/resources/' + path: '/resources' + fullPath: '/teams/$teamSlug/resources/' + preLoaderRoute: typeof authenticatedTeamsTeamSlugResourcesIndexRouteImport parentRoute: typeof authenticatedTeamsTeamSlugRoute } '/(authenticated)/teams/$teamSlug/resources/$resourceId': { @@ -678,19 +685,12 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof authenticatedTeamsTeamSlugResourcesResourceIdRouteImport parentRoute: typeof authenticatedTeamsTeamSlugRoute } - '/(authenticated)/teams/$teamSlug/resource-templates/new': { - id: '/(authenticated)/teams/$teamSlug/resource-templates/new' - path: '/new' - fullPath: '/teams/$teamSlug/resource-templates/new' - preLoaderRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesNewRouteImport - parentRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesRoute - } - '/(authenticated)/teams/$teamSlug/resource-templates/$templateId': { - id: '/(authenticated)/teams/$teamSlug/resource-templates/$templateId' - path: '/$templateId' - fullPath: '/teams/$teamSlug/resource-templates/$templateId' - preLoaderRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesTemplateIdRouteImport - parentRoute: typeof authenticatedTeamsTeamSlugResourceTemplatesRoute + '/(authenticated)/teams/$teamSlug/resources/new': { + id: '/(authenticated)/teams/$teamSlug/resources/new' + path: '/resources/new' + fullPath: '/teams/$teamSlug/resources/new' + preLoaderRoute: typeof authenticatedTeamsTeamSlugResourcesNewRouteImport + parentRoute: typeof authenticatedTeamsTeamSlugRoute } } } diff --git a/client/src/test/routerDevtools.test.tsx b/client/src/test/routerDevtools.test.tsx new file mode 100644 index 0000000..227a9cb --- /dev/null +++ b/client/src/test/routerDevtools.test.tsx @@ -0,0 +1,65 @@ +import { + createMemoryHistory, + createRootRoute, + createRoute, + createRouter, + Link, + Outlet, + RouterProvider, +} from '@tanstack/react-router'; +import { TanStackRouterDevtoolsInProd } from '@tanstack/react-router-devtools'; +import { cleanup, render, screen, within } from '@testing-library/react'; +import { userEvent } from '@testing-library/user-event'; +import { describe, expect, it } from 'vitest'; + +describe('router devtools', () => { + it('renders the real panel and updates its pathname after navigation', async () => { + const rootRoute = createRootRoute({ + component: () => ( + <> + + {/* The regular export renders nothing when NODE_ENV is test. */} + + + ), + }); + const indexRoute = createRoute({ + component: () => Open about, + getParentRoute: () => rootRoute, + path: '/', + }); + const aboutRoute = createRoute({ + component: () =>

Devtools test destination

, + getParentRoute: () => rootRoute, + path: '/about', + }); + const router = createRouter({ + history: createMemoryHistory({ initialEntries: ['/'] }), + routeTree: rootRoute.addChildren([indexRoute, aboutRoute]), + }); + + try { + await router.load(); + render(); + + const pathnameLabel = await screen.findByText('Pathname'); + expect(pathnameLabel).toBeVisible(); + const pathname = pathnameLabel.parentElement + ?.nextElementSibling as HTMLElement; + expect(pathname).toHaveTextContent(/^\/$/); + + await userEvent + .setup() + .click(screen.getByRole('link', { name: 'Open about' })); + + expect( + await screen.findByRole('heading', { + name: 'Devtools test destination', + }) + ).toBeVisible(); + expect(await within(pathname).findByText('/about')).toBeVisible(); + } finally { + cleanup(); + } + }); +}); diff --git a/client/src/test/setup.ts b/client/src/test/setup.ts index ced943f..999dfbe 100644 --- a/client/src/test/setup.ts +++ b/client/src/test/setup.ts @@ -1,5 +1,11 @@ import '@testing-library/jest-dom/vitest'; -import { afterEach } from 'vitest'; +import { afterEach, beforeEach, vi } from 'vitest'; import { clearCsrfToken } from '@/lib/api.ts'; +beforeEach(() => { + // jsdom does not implement window scrolling. + const scrollTo = vi.spyOn(window, 'scrollTo').mockImplementation(() => {}); + return () => scrollTo.mockRestore(); +}); + afterEach(clearCsrfToken); diff --git a/package-lock.json b/package-lock.json index f46ebfd..5eaee22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -602,9 +602,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", - "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.2.tgz", + "integrity": "sha512-/kVP2U8z596Ia0gwFrwyIeo74ta5aVmSeU1FfAUMAmcEP5EP7zydmag3SLiN64NaRKef3lxsq7i/g7ltJQDGow==", "dev": true, "funding": [ {