diff --git a/package.json b/package.json index 5c3bee5..e33ee40 100644 --- a/package.json +++ b/package.json @@ -48,19 +48,20 @@ "ioredis": "^5.6.1", "minio": "^8.0.5", "pg": "^8.16.0", - "pm2": "^6.0.6", + "pm2": "^6.0.8", "sequelize": "^6.37.7", "sqlite3": "^5.1.7" }, "devDependencies": { "@kevisual/code-center-module": "workspace:*", - "@kevisual/local-app-manager": "0.1.20", + "@kevisual/file-listener": "^0.0.2", + "@kevisual/local-app-manager": "0.1.22", "@kevisual/logger": "^0.0.4", "@kevisual/oss": "workspace:*", "@kevisual/permission": "^0.0.3", - "@kevisual/router": "0.0.20", + "@kevisual/router": "0.0.22", "@kevisual/types": "^0.0.10", - "@kevisual/use-config": "^1.0.17", + "@kevisual/use-config": "^1.0.18", "@rollup/plugin-alias": "^5.1.1", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-json": "^6.1.0", @@ -72,8 +73,8 @@ "@types/formidable": "^3.4.5", "@types/jsonwebtoken": "^9.0.9", "@types/lodash-es": "^4.17.12", - "@types/node": "^22.15.19", - "@types/react": "^19.1.4", + "@types/node": "^22.15.30", + "@types/react": "^19.1.6", "@types/semver": "^7.7.0", "@types/uuid": "^10.0.0", "archiver": "^7.0.1", @@ -92,9 +93,9 @@ "nodemon": "^3.1.10", "p-queue": "^8.1.0", "pg": "^8.16.0", - "pm2": "^6.0.6", + "pm2": "^6.0.8", "rimraf": "^6.0.1", - "rollup": "^4.41.0", + "rollup": "^4.42.0", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-esbuild": "^6.2.1", @@ -105,10 +106,10 @@ "tape": "^5.9.0", "tar": "^7.4.3", "tsx": "^4.19.4", - "turbo": "^2.5.3", + "turbo": "^2.5.4", "typescript": "^5.8.3", "uuid": "^11.1.0", - "zod": "^3.25.7" + "zod": "^3.25.56" }, "resolutions": { "inflight": "latest", @@ -116,5 +117,5 @@ "picomatch": "^4.0.2" }, "pnpm": {}, - "packageManager": "pnpm@10.11.0" + "packageManager": "pnpm@10.11.1" } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f9efe8e..0e97af4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,8 +26,8 @@ importers: specifier: ^8.16.0 version: 8.16.0 pm2: - specifier: ^6.0.6 - version: 6.0.6 + specifier: ^6.0.8 + version: 6.0.8 sequelize: specifier: ^6.37.7 version: 6.37.7(pg@8.16.0)(sqlite3@5.1.7) @@ -38,9 +38,12 @@ importers: '@kevisual/code-center-module': specifier: workspace:* version: link:submodules/code-center-module + '@kevisual/file-listener': + specifier: ^0.0.2 + version: 0.0.2(dotenv@16.5.0)(sqlite3@5.1.7) '@kevisual/local-app-manager': - specifier: 0.1.20 - version: 0.1.20 + specifier: 0.1.22 + version: 0.1.22 '@kevisual/logger': specifier: ^0.0.4 version: 0.0.4 @@ -51,32 +54,32 @@ importers: specifier: ^0.0.3 version: 0.0.3 '@kevisual/router': - specifier: 0.0.20 - version: 0.0.20 + specifier: 0.0.22 + version: 0.0.22 '@kevisual/types': specifier: ^0.0.10 version: 0.0.10 '@kevisual/use-config': - specifier: ^1.0.17 - version: 1.0.17(dotenv@16.5.0) + specifier: ^1.0.18 + version: 1.0.18(dotenv@16.5.0) '@rollup/plugin-alias': specifier: ^5.1.1 - version: 5.1.1(rollup@4.41.0) + version: 5.1.1(rollup@4.42.0) '@rollup/plugin-commonjs': specifier: ^28.0.3 - version: 28.0.3(rollup@4.41.0) + version: 28.0.3(rollup@4.42.0) '@rollup/plugin-json': specifier: ^6.1.0 - version: 6.1.0(rollup@4.41.0) + version: 6.1.0(rollup@4.42.0) '@rollup/plugin-node-resolve': specifier: ^16.0.1 - version: 16.0.1(rollup@4.41.0) + version: 16.0.1(rollup@4.42.0) '@rollup/plugin-replace': specifier: ^6.0.2 - version: 6.0.2(rollup@4.41.0) + version: 6.0.2(rollup@4.42.0) '@rollup/plugin-typescript': specifier: ^12.1.2 - version: 12.1.2(rollup@4.41.0)(tslib@2.8.1)(typescript@5.8.3) + version: 12.1.2(rollup@4.42.0)(tslib@2.8.1)(typescript@5.8.3) '@types/archiver': specifier: ^6.0.3 version: 6.0.3 @@ -93,11 +96,11 @@ importers: specifier: ^4.17.12 version: 4.17.12 '@types/node': - specifier: ^22.15.19 - version: 22.15.19 + specifier: ^22.15.30 + version: 22.15.30 '@types/react': - specifier: ^19.1.4 - version: 19.1.4 + specifier: ^19.1.6 + version: 19.1.6 '@types/semver': specifier: ^7.7.0 version: 7.7.0 @@ -147,17 +150,17 @@ importers: specifier: latest version: 6.0.1 rollup: - specifier: ^4.41.0 - version: 4.41.0 + specifier: ^4.42.0 + version: 4.42.0 rollup-plugin-copy: specifier: ^3.5.0 version: 3.5.0 rollup-plugin-dts: specifier: ^6.2.1 - version: 6.2.1(rollup@4.41.0)(typescript@5.8.3) + version: 6.2.1(rollup@4.42.0)(typescript@5.8.3) rollup-plugin-esbuild: specifier: ^6.2.1 - version: 6.2.1(esbuild@0.25.0)(rollup@4.41.0) + version: 6.2.1(esbuild@0.25.0)(rollup@4.42.0) semver: specifier: ^7.7.2 version: 7.7.2 @@ -177,8 +180,8 @@ importers: specifier: ^4.19.4 version: 4.19.4 turbo: - specifier: ^2.5.3 - version: 2.5.3 + specifier: ^2.5.4 + version: 2.5.4 typescript: specifier: ^5.8.3 version: 5.8.3 @@ -186,8 +189,8 @@ importers: specifier: ^11.1.0 version: 11.1.0 zod: - specifier: ^3.25.7 - version: 3.25.7 + specifier: ^3.25.56 + version: 3.25.56 submodules/code-center-module: dependencies: @@ -638,11 +641,17 @@ packages: pg: ^8.13.3 sequelize: ^6.37.5 + '@kevisual/code-center-module@0.0.20': + resolution: {integrity: sha512-WFSB5iLnvc/RQ2NcO5xXTgkE1rDc39F9ezt0853ePq9kL9qOiOmzLWNBSN/0mN5rvPbwrTBajmEyuXv5MYfcWQ==} + + '@kevisual/file-listener@0.0.2': + resolution: {integrity: sha512-1XVoXBtNi813x6JXVT0xJeAzIjVJtputCyArgczhzH6KYX4P3W60QIYh45riuMFBynO21ULWnmJJqZmPmeKsNQ==} + '@kevisual/load@0.0.6': resolution: {integrity: sha512-+3YTFehRcZ1haGel5DKYMUwmi5i6f2psyaPZlfkKU/cOXgkpwoG9/BEqPCnPjicKqqnksEpixVRkyHJ+5bjLVA==} - '@kevisual/local-app-manager@0.1.20': - resolution: {integrity: sha512-PQf1wL9vQazTYvxhTqnhno3ZYccFGmgjkPEqKUY9IUpc2vP7srX73TGn/3e7S5dysO1urzgif4dciGe0yPbxAg==} + '@kevisual/local-app-manager@0.1.22': + resolution: {integrity: sha512-TUsD5CTyxhK55zf9Zk4XWDdLlwKxoWnQA8dcKG74Hh77H4l+z6nHoytNiAkFDEZyS4zLXEbHpQ8khpUHYltPqw==} '@kevisual/logger@0.0.1': resolution: {integrity: sha512-xxCWIhx48fsRZnh/zF9hW58v/vtJWUN7ZobpJiARFW3wgRpvZNAM6v66O2QuVkDoLfSm+M9wRxEJ7dlvcB4BPg==} @@ -663,12 +672,12 @@ packages: '@kevisual/router@0.0.13': resolution: {integrity: sha512-raji8aKXr0jigmJVOKBXb5gpstiAuyoIDy9m6SyPf4lRjCU3pspVI1bpscOUCBlaPICo6TLzPQxXhyTvvvtdWw==} - '@kevisual/router@0.0.20': - resolution: {integrity: sha512-uSwDYWh+kvAu6i0m0SJVgcLR/CYz7WvIWGz0nSF8Vg6smJuAgI+laHR4ESO8Fbz+Xn8bPHuSwmM//HHLMLx2FA==} - '@kevisual/router@0.0.21': resolution: {integrity: sha512-XKTxbNO924cT18UOAGplWErZ+hMze8Y53F2jYCk18v4jsdsvjRho5uXXjJb6HSVsuITMtQR4R3rG0IcM3jkDKQ==} + '@kevisual/router@0.0.22': + resolution: {integrity: sha512-Cqv2vV+hPBHrMMfvWlfDIuNrQcmd260oQZ4S5QR/R4tV35XtMKiseqhnC9uR09oVBJUh+d5rW3YucDDddheeDQ==} + '@kevisual/router@0.0.7': resolution: {integrity: sha512-4n1Tp4YLoraJv7jtfy7jbuLGyAj0B2QkTlnlEDHCUTlEUOvOkjtf7DHAe2SL92fTgXhSbod0I/0vUcDF85oj/w==} @@ -683,6 +692,11 @@ packages: peerDependencies: dotenv: ^16.4.7 + '@kevisual/use-config@1.0.18': + resolution: {integrity: sha512-v3m84iyNlXB3zdLw9/NmrZk8AEdeS6zKQkMsQmSIQntHW+v9AEpuCX7ipW3pl2yIxMxwo6sedi8NwchHADtblw==} + peerDependencies: + dotenv: ^16.4.7 + '@kevisual/wechatpay@2.2.3': resolution: {integrity: sha512-KDnTalEZr1c0T7rmqgCxsS4wF/A4CqBUwNWk0BUeerDp2Vle9PtrQBq0KRfMxbXnPIGZCTKH3+TJJj3X2TeXNQ==} @@ -825,6 +839,11 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.42.0': + resolution: {integrity: sha512-gldmAyS9hpj+H6LpRNlcjQWbuKUtb94lodB9uCz71Jm+7BxK1VIOo7y62tZZwxhA7j1ylv/yQz080L5WkS+LoQ==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.41.0': resolution: {integrity: sha512-yDvqx3lWlcugozax3DItKJI5j05B0d4Kvnjx+5mwiUpWramVvmAByYigMplaoAQ3pvdprGCTCE03eduqE/8mPQ==} cpu: [arm64] @@ -835,6 +854,11 @@ packages: cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.42.0': + resolution: {integrity: sha512-bpRipfTgmGFdCZDFLRvIkSNO1/3RGS74aWkJJTFJBH7h3MRV4UijkaEUeOMbi9wxtxYmtAbVcnMtHTPBhLEkaw==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.41.0': resolution: {integrity: sha512-2KOU574vD3gzcPSjxO0eyR5iWlnxxtmW1F5CkNOHmMlueKNCQkxR6+ekgWyVnz6zaZihpUNkGxjsYrkTJKhkaw==} cpu: [arm64] @@ -845,6 +869,11 @@ packages: cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.42.0': + resolution: {integrity: sha512-JxHtA081izPBVCHLKnl6GEA0w3920mlJPLh89NojpU2GsBSB6ypu4erFg/Wx1qbpUbepn0jY4dVWMGZM8gplgA==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.41.0': resolution: {integrity: sha512-gE5ACNSxHcEZyP2BA9TuTakfZvULEW4YAOtxl/A/YDbIir/wPKukde0BNPlnBiP88ecaN4BJI2TtAd+HKuZPQQ==} cpu: [x64] @@ -855,6 +884,11 @@ packages: cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.42.0': + resolution: {integrity: sha512-rv5UZaWVIJTDMyQ3dCEK+m0SAn6G7H3PRc2AZmExvbDvtaDc+qXkei0knQWcI3+c9tEs7iL/4I4pTQoPbNL2SA==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-freebsd-arm64@4.41.0': resolution: {integrity: sha512-GSxU6r5HnWij7FoSo7cZg3l5GPg4HFLkzsFFh0N/b16q5buW1NAWuCJ+HMtIdUEi6XF0qH+hN0TEd78laRp7Dg==} cpu: [arm64] @@ -865,6 +899,11 @@ packages: cpu: [arm64] os: [freebsd] + '@rollup/rollup-freebsd-arm64@4.42.0': + resolution: {integrity: sha512-fJcN4uSGPWdpVmvLuMtALUFwCHgb2XiQjuECkHT3lWLZhSQ3MBQ9pq+WoWeJq2PrNxr9rPM1Qx+IjyGj8/c6zQ==} + cpu: [arm64] + os: [freebsd] + '@rollup/rollup-freebsd-x64@4.41.0': resolution: {integrity: sha512-KGiGKGDg8qLRyOWmk6IeiHJzsN/OYxO6nSbT0Vj4MwjS2XQy/5emsmtoqLAabqrohbgLWJ5GV3s/ljdrIr8Qjg==} cpu: [x64] @@ -875,6 +914,11 @@ packages: cpu: [x64] os: [freebsd] + '@rollup/rollup-freebsd-x64@4.42.0': + resolution: {integrity: sha512-CziHfyzpp8hJpCVE/ZdTizw58gr+m7Y2Xq5VOuCSrZR++th2xWAz4Nqk52MoIIrV3JHtVBhbBsJcAxs6NammOQ==} + cpu: [x64] + os: [freebsd] + '@rollup/rollup-linux-arm-gnueabihf@4.41.0': resolution: {integrity: sha512-46OzWeqEVQyX3N2/QdiU/CMXYDH/lSHpgfBkuhl3igpZiaB3ZIfSjKuOnybFVBQzjsLwkus2mjaESy8H41SzvA==} cpu: [arm] @@ -885,6 +929,11 @@ packages: cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.42.0': + resolution: {integrity: sha512-UsQD5fyLWm2Fe5CDM7VPYAo+UC7+2Px4Y+N3AcPh/LdZu23YcuGPegQly++XEVaC8XUTFVPscl5y5Cl1twEI4A==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.41.0': resolution: {integrity: sha512-lfgW3KtQP4YauqdPpcUZHPcqQXmTmH4nYU0cplNeW583CMkAGjtImw4PKli09NFi2iQgChk4e9erkwlfYem6Lg==} cpu: [arm] @@ -895,6 +944,11 @@ packages: cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.42.0': + resolution: {integrity: sha512-/i8NIrlgc/+4n1lnoWl1zgH7Uo0XK5xK3EDqVTf38KvyYgCU/Rm04+o1VvvzJZnVS5/cWSd07owkzcVasgfIkQ==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.41.0': resolution: {integrity: sha512-nn8mEyzMbdEJzT7cwxgObuwviMx6kPRxzYiOl6o/o+ChQq23gfdlZcUNnt89lPhhz3BYsZ72rp0rxNqBSfqlqw==} cpu: [arm64] @@ -905,6 +959,11 @@ packages: cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.42.0': + resolution: {integrity: sha512-eoujJFOvoIBjZEi9hJnXAbWg+Vo1Ov8n/0IKZZcPZ7JhBzxh2A+2NFyeMZIRkY9iwBvSjloKgcvnjTbGKHE44Q==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.41.0': resolution: {integrity: sha512-l+QK99je2zUKGd31Gh+45c4pGDAqZSuWQiuRFCdHYC2CSiO47qUWsCcenrI6p22hvHZrDje9QjwSMAFL3iwXwQ==} cpu: [arm64] @@ -915,6 +974,11 @@ packages: cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.42.0': + resolution: {integrity: sha512-/3NrcOWFSR7RQUQIuZQChLND36aTU9IYE4j+TB40VU78S+RA0IiqHR30oSh6P1S9f9/wVOenHQnacs/Byb824g==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-loongarch64-gnu@4.41.0': resolution: {integrity: sha512-WbnJaxPv1gPIm6S8O/Wg+wfE/OzGSXlBMbOe4ie+zMyykMOeqmgD1BhPxZQuDqwUN+0T/xOFtL2RUWBspnZj3w==} cpu: [loong64] @@ -925,6 +989,11 @@ packages: cpu: [loong64] os: [linux] + '@rollup/rollup-linux-loongarch64-gnu@4.42.0': + resolution: {integrity: sha512-O8AplvIeavK5ABmZlKBq9/STdZlnQo7Sle0LLhVA7QT+CiGpNVe197/t8Aph9bhJqbDVGCHpY2i7QyfEDDStDg==} + cpu: [loong64] + os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.41.0': resolution: {integrity: sha512-eRDWR5t67/b2g8Q/S8XPi0YdbKcCs4WQ8vklNnUYLaSWF+Cbv2axZsp4jni6/j7eKvMLYCYdcsv8dcU+a6QNFg==} cpu: [ppc64] @@ -935,6 +1004,11 @@ packages: cpu: [ppc64] os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.42.0': + resolution: {integrity: sha512-6Qb66tbKVN7VyQrekhEzbHRxXXFFD8QKiFAwX5v9Xt6FiJ3BnCVBuyBxa2fkFGqxOCSGGYNejxd8ht+q5SnmtA==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.41.0': resolution: {integrity: sha512-TWrZb6GF5jsEKG7T1IHwlLMDRy2f3DPqYldmIhnA2DVqvvhY2Ai184vZGgahRrg8k9UBWoSlHv+suRfTN7Ua4A==} cpu: [riscv64] @@ -945,6 +1019,11 @@ packages: cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.42.0': + resolution: {integrity: sha512-KQETDSEBamQFvg/d8jajtRwLNBlGc3aKpaGiP/LvEbnmVUKlFta1vqJqTrvPtsYsfbE/DLg5CC9zyXRX3fnBiA==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-riscv64-musl@4.41.0': resolution: {integrity: sha512-ieQljaZKuJpmWvd8gW87ZmSFwid6AxMDk5bhONJ57U8zT77zpZ/TPKkU9HpnnFrM4zsgr4kiGuzbIbZTGi7u9A==} cpu: [riscv64] @@ -955,6 +1034,11 @@ packages: cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-musl@4.42.0': + resolution: {integrity: sha512-qMvnyjcU37sCo/tuC+JqeDKSuukGAd+pVlRl/oyDbkvPJ3awk6G6ua7tyum02O3lI+fio+eM5wsVd66X0jQtxw==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.41.0': resolution: {integrity: sha512-/L3pW48SxrWAlVsKCN0dGLB2bi8Nv8pr5S5ocSM+S0XCn5RCVCXqi8GVtHFsOBBCSeR+u9brV2zno5+mg3S4Aw==} cpu: [s390x] @@ -965,6 +1049,11 @@ packages: cpu: [s390x] os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.42.0': + resolution: {integrity: sha512-I2Y1ZUgTgU2RLddUHXTIgyrdOwljjkmcZ/VilvaEumtS3Fkuhbw4p4hgHc39Ypwvo2o7sBFNl2MquNvGCa55Iw==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.41.0': resolution: {integrity: sha512-XMLeKjyH8NsEDCRptf6LO8lJk23o9wvB+dJwcXMaH6ZQbbkHu2dbGIUindbMtRN6ux1xKi16iXWu6q9mu7gDhQ==} cpu: [x64] @@ -975,6 +1064,11 @@ packages: cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.42.0': + resolution: {integrity: sha512-Gfm6cV6mj3hCUY8TqWa63DB8Mx3NADoFwiJrMpoZ1uESbK8FQV3LXkhfry+8bOniq9pqY1OdsjFWNsSbfjPugw==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.41.0': resolution: {integrity: sha512-m/P7LycHZTvSQeXhFmgmdqEiTqSV80zn6xHaQ1JSqwCtD1YGtwEK515Qmy9DcB2HK4dOUVypQxvhVSy06cJPEg==} cpu: [x64] @@ -985,6 +1079,11 @@ packages: cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.42.0': + resolution: {integrity: sha512-g86PF8YZ9GRqkdi0VoGlcDUb4rYtQKyTD1IVtxxN4Hpe7YqLBShA7oHMKU6oKTCi3uxwW4VkIGnOaH/El8de3w==} + cpu: [x64] + os: [linux] + '@rollup/rollup-win32-arm64-msvc@4.41.0': resolution: {integrity: sha512-4yodtcOrFHpbomJGVEqZ8fzD4kfBeCbpsUy5Pqk4RluXOdsWdjLnjhiKy2w3qzcASWd04fp52Xz7JKarVJ5BTg==} cpu: [arm64] @@ -995,6 +1094,11 @@ packages: cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.42.0': + resolution: {integrity: sha512-+axkdyDGSp6hjyzQ5m1pgcvQScfHnMCcsXkx8pTgy/6qBmWVhtRVlgxjWwDp67wEXXUr0x+vD6tp5W4x6V7u1A==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.41.0': resolution: {integrity: sha512-tmazCrAsKzdkXssEc65zIE1oC6xPHwfy9d5Ta25SRCDOZS+I6RypVVShWALNuU9bxIfGA0aqrmzlzoM5wO5SPQ==} cpu: [ia32] @@ -1005,6 +1109,11 @@ packages: cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.42.0': + resolution: {integrity: sha512-F+5J9pelstXKwRSDq92J0TEBXn2nfUrQGg+HK1+Tk7VOL09e0gBqUHugZv7SW4MGrYj41oNCUe3IKCDGVlis2g==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.41.0': resolution: {integrity: sha512-h1J+Yzjo/X+0EAvR2kIXJDuTuyT7drc+t2ALY0nIcGPbTatNOf0VWdhEA2Z4AAjv6X1NJV7SYo5oCTYRJhSlVA==} cpu: [x64] @@ -1015,6 +1124,11 @@ packages: cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.42.0': + resolution: {integrity: sha512-LpHiJRwkaVz/LqjHjK8LCi8osq7elmpwujwbXKNW88bM8eeGxavJIKKjkjpMHAh/2xfnrt1ZSnhTv41WYUHYmA==} + cpu: [x64] + os: [win32] + '@socket.io/component-emitter@3.1.2': resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==} @@ -1073,18 +1187,18 @@ packages: '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} - '@types/node@22.15.19': - resolution: {integrity: sha512-3vMNr4TzNQyjHcRZadojpRaD9Ofr6LsonZAoQ+HMUa/9ORTPoxVIw0e0mpqWpdjj8xybyCM+oKOUH2vwFu/oEw==} - '@types/node@22.15.21': resolution: {integrity: sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ==} - '@types/react@19.1.4': - resolution: {integrity: sha512-EB1yiiYdvySuIITtD5lhW4yPyJ31RkJkkDw794LaQYrxCSaQV/47y5o1FMC4zF9ZyjUjzJMZwbovEnT5yHTW6g==} + '@types/node@22.15.30': + resolution: {integrity: sha512-6Q7lr06bEHdlfplU6YRbgG1SFBdlsfNC4/lX+SkhiTs0cpJkOElmWls8PxDFv4yY/xKb8Y6SO0OmSX4wgqTZbA==} '@types/react@19.1.5': resolution: {integrity: sha512-piErsCVVbpMMT2r7wbawdZsq4xMvIAhQuac2gedQHysu1TZYEigE6pnFfgZT+/jQnrRuF5r+SHzuehFjfRjr4g==} + '@types/react@19.1.6': + resolution: {integrity: sha512-JeG0rEWak0N6Itr6QUx+X60uQmN+5t3j9r/OVDtWzFXKaj6kD1BwJzOksD0FF6iWxZlbE1kB0q9vtnU2ekqa1Q==} + '@types/readdir-glob@1.1.5': resolution: {integrity: sha512-raiuEPUYqXu+nvtY2Pe8s8FEmZ3x5yAH4VkLdihcPdalvsHltomrRC9BzuStrJ9yk06470hS0Crw0f1pXqD+Hg==} @@ -1160,9 +1274,9 @@ packages: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} engines: {node: '>=12'} - ansis@4.0.0: - resolution: {integrity: sha512-P8nrHI1EyW9OfBt1X7hMSwGN2vwRuqHSKJAT1gbLWZRzDa24oHjYwGHvEgHeBepupzk878yS/HBZ0NMPYtbolw==} - engines: {node: '>=14'} + ansis@4.0.0-node10: + resolution: {integrity: sha512-BRrU0Bo1X9dFGw6KgGz6hWrqQuOlVEDOzkb0QSLZY9sXHqA7pNj7yHPVJRz7y/rj4EOJ3d/D5uxH+ee9leYgsg==} + engines: {node: '>=10'} any-promise@1.3.0: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} @@ -2709,8 +2823,8 @@ packages: pm2-sysmonit@1.2.8: resolution: {integrity: sha512-ACOhlONEXdCTVwKieBIQLSi2tQZ8eKinhcr9JpZSUAL8Qy0ajIgRtsLxG/lwPOW3JEKqPyw/UaHmTWhUzpP4kA==} - pm2@6.0.6: - resolution: {integrity: sha512-6t+I+Gc232dKe0OjwFYlU59JoY8MWBqsBmcZMSfKollByL4q8APUFwWOt7OtPH4lGO4Sb6GiFAqu7xT42QeRBA==} + pm2@6.0.8: + resolution: {integrity: sha512-y7sO+UuGjfESK/ChRN+efJKAsHrBd95GY2p1GQfjVTtOfFtUfiW0NOuUhP5dN5QTF2F0EWcepgkLqbF32j90Iw==} engines: {node: '>=16.0.0'} hasBin: true @@ -2930,6 +3044,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.42.0: + resolution: {integrity: sha512-LW+Vse3BJPyGJGAJt1j8pWDKPd73QM8cRXYK1IxOBgL2AGLu7Xd2YOW0M2sLUBCkF5MshXXtMApyEAEzMVMsnw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -3341,38 +3460,38 @@ packages: tunnel-agent@0.6.0: resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} - turbo-darwin-64@2.5.3: - resolution: {integrity: sha512-YSItEVBUIvAGPUDpAB9etEmSqZI3T6BHrkBkeSErvICXn3dfqXUfeLx35LfptLDEbrzFUdwYFNmt8QXOwe9yaw==} + turbo-darwin-64@2.5.4: + resolution: {integrity: sha512-ah6YnH2dErojhFooxEzmvsoZQTMImaruZhFPfMKPBq8sb+hALRdvBNLqfc8NWlZq576FkfRZ/MSi4SHvVFT9PQ==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@2.5.3: - resolution: {integrity: sha512-5PefrwHd42UiZX7YA9m1LPW6x9YJBDErXmsegCkVp+GjmWrADfEOxpFrGQNonH3ZMj77WZB2PVE5Aw3gA+IOhg==} + turbo-darwin-arm64@2.5.4: + resolution: {integrity: sha512-2+Nx6LAyuXw2MdXb7pxqle3MYignLvS7OwtsP9SgtSBaMlnNlxl9BovzqdYAgkUW3AsYiQMJ/wBRb7d+xemM5A==} cpu: [arm64] os: [darwin] - turbo-linux-64@2.5.3: - resolution: {integrity: sha512-M9xigFgawn5ofTmRzvjjLj3Lqc05O8VHKuOlWNUlnHPUltFquyEeSkpQNkE/vpPdOR14AzxqHbhhxtfS4qvb1w==} + turbo-linux-64@2.5.4: + resolution: {integrity: sha512-5May2kjWbc8w4XxswGAl74GZ5eM4Gr6IiroqdLhXeXyfvWEdm2mFYCSWOzz0/z5cAgqyGidF1jt1qzUR8hTmOA==} cpu: [x64] os: [linux] - turbo-linux-arm64@2.5.3: - resolution: {integrity: sha512-auJRbYZ8SGJVqvzTikpg1bsRAsiI9Tk0/SDkA5Xgg0GdiHDH/BOzv1ZjDE2mjmlrO/obr19Dw+39OlMhwLffrw==} + turbo-linux-arm64@2.5.4: + resolution: {integrity: sha512-/2yqFaS3TbfxV3P5yG2JUI79P7OUQKOUvAnx4MV9Bdz6jqHsHwc9WZPpO4QseQm+NvmgY6ICORnoVPODxGUiJg==} cpu: [arm64] os: [linux] - turbo-windows-64@2.5.3: - resolution: {integrity: sha512-arLQYohuHtIEKkmQSCU9vtrKUg+/1TTstWB9VYRSsz+khvg81eX6LYHtXJfH/dK7Ho6ck+JaEh5G+QrE1jEmCQ==} + turbo-windows-64@2.5.4: + resolution: {integrity: sha512-EQUO4SmaCDhO6zYohxIjJpOKRN3wlfU7jMAj3CgcyTPvQR/UFLEKAYHqJOnJtymbQmiiM/ihX6c6W6Uq0yC7mA==} cpu: [x64] os: [win32] - turbo-windows-arm64@2.5.3: - resolution: {integrity: sha512-3JPn66HAynJ0gtr6H+hjY4VHpu1RPKcEwGATvGUTmLmYSYBQieVlnGDRMMoYN066YfyPqnNGCfhYbXfH92Cm0g==} + turbo-windows-arm64@2.5.4: + resolution: {integrity: sha512-oQ8RrK1VS8lrxkLriotFq+PiF7iiGgkZtfLKF4DDKsmdbPo0O9R2mQxm7jHLuXraRCuIQDWMIw6dpcr7Iykf4A==} cpu: [arm64] os: [win32] - turbo@2.5.3: - resolution: {integrity: sha512-iHuaNcq5GZZnr3XDZNuu2LSyCzAOPwDuo5Qt+q64DfsTP1i3T2bKfxJhni2ZQxsvAoxRbuUK5QetJki4qc5aYA==} + turbo@2.5.4: + resolution: {integrity: sha512-kc8ZibdRcuWUG1pbYSBFWqmIjynlD8Lp7IB6U3vIzvOv9VG+6Sp8bzyeBWE3Oi8XV5KsQrznyRTBPvrf99E4mA==} hasBin: true tv4@1.3.0: @@ -3610,8 +3729,8 @@ packages: zod@3.25.28: resolution: {integrity: sha512-/nt/67WYKnr5by3YS7LroZJbtcCBurDKKPBPWWzaxvVCGuG/NOsiKkrjoOhI8mJ+SQUXEbUzeB3S+6XDUEEj7Q==} - zod@3.25.7: - resolution: {integrity: sha512-YGdT1cVRmKkOg6Sq7vY7IkxdphySKnXhaUmFI4r4FcuFVNgpCb9tZfNwXbT6BPjD5oz0nubFsoo9pIqKrDcCvg==} + zod@3.25.56: + resolution: {integrity: sha512-rd6eEF3BTNvQnR2e2wwolfTmUTnp70aUTqr0oaGbHifzC3BKJsoV+Gat8vxUMR1hwOKBs6El+qWehrHbCpW6SQ==} snapshots: @@ -3760,13 +3879,63 @@ snapshots: - supports-color - utf-8-validate + '@kevisual/code-center-module@0.0.20(dotenv@16.5.0)(sqlite3@5.1.7)': + dependencies: + '@kevisual/auth': 1.0.5 + '@kevisual/router': 0.0.21 + '@kevisual/use-config': 1.0.18(dotenv@16.5.0) + ioredis: 5.6.1 + nanoid: 5.1.5 + pg: 8.16.0 + sequelize: 6.37.7(pg@8.16.0)(sqlite3@5.1.7) + socket.io: 4.8.1 + zod: 3.25.56 + transitivePeerDependencies: + - bufferutil + - dotenv + - ibm_db + - mariadb + - mysql2 + - oracledb + - pg-hstore + - pg-native + - snowflake-sdk + - sqlite3 + - supports-color + - tedious + - utf-8-validate + + '@kevisual/file-listener@0.0.2(dotenv@16.5.0)(sqlite3@5.1.7)': + dependencies: + '@kevisual/code-center-module': 0.0.20(dotenv@16.5.0)(sqlite3@5.1.7) + '@kevisual/router': 0.0.22 + '@kevisual/use-config': 1.0.18(dotenv@16.5.0) + cookie: 1.0.2 + dayjs: 1.11.13 + formidable: 3.5.4 + lodash-es: 4.17.21 + transitivePeerDependencies: + - bufferutil + - dotenv + - ibm_db + - mariadb + - mysql2 + - oracledb + - pg-hstore + - pg-native + - snowflake-sdk + - sqlite3 + - supports-color + - tedious + - utf-8-validate + '@kevisual/load@0.0.6': dependencies: eventemitter3: 5.0.1 - '@kevisual/local-app-manager@0.1.20': + '@kevisual/local-app-manager@0.1.22': dependencies: - pm2: 6.0.6 + pm2: 6.0.8 transitivePeerDependencies: - bufferutil - supports-color @@ -3806,20 +3975,20 @@ snapshots: '@kevisual/rollup-tools@0.0.1(esbuild@0.25.0)': dependencies: - '@rollup/plugin-alias': 5.1.1(rollup@4.41.1) - '@rollup/plugin-commonjs': 28.0.3(rollup@4.41.1) - '@rollup/plugin-json': 6.1.0(rollup@4.41.1) - '@rollup/plugin-node-resolve': 15.3.1(rollup@4.41.1) - '@rollup/plugin-replace': 6.0.2(rollup@4.41.1) - '@rollup/plugin-typescript': 12.1.2(rollup@4.41.1)(tslib@2.8.1)(typescript@5.8.3) - '@types/node': 22.15.21 + '@rollup/plugin-alias': 5.1.1(rollup@4.42.0) + '@rollup/plugin-commonjs': 28.0.3(rollup@4.42.0) + '@rollup/plugin-json': 6.1.0(rollup@4.42.0) + '@rollup/plugin-node-resolve': 15.3.1(rollup@4.42.0) + '@rollup/plugin-replace': 6.0.2(rollup@4.42.0) + '@rollup/plugin-typescript': 12.1.2(rollup@4.42.0)(tslib@2.8.1)(typescript@5.8.3) + '@types/node': 22.15.30 chalk: 5.4.1 commander: 12.1.0 glob: 11.0.0 - rollup: 4.41.1 + rollup: 4.42.0 rollup-plugin-copy: 3.5.0 - rollup-plugin-dts: 6.2.1(rollup@4.41.1)(typescript@5.8.3) - rollup-plugin-esbuild: 6.2.1(esbuild@0.25.0)(rollup@4.41.1) + rollup-plugin-dts: 6.2.1(rollup@4.42.0)(typescript@5.8.3) + rollup-plugin-esbuild: 6.2.1(esbuild@0.25.0)(rollup@4.42.0) rollup-plugin-inject: 3.0.2 tslib: 2.8.1 typescript: 5.8.3 @@ -3832,12 +4001,12 @@ snapshots: path-to-regexp: 8.2.0 selfsigned: 2.4.1 - '@kevisual/router@0.0.20': + '@kevisual/router@0.0.21': dependencies: path-to-regexp: 8.2.0 selfsigned: 2.4.1 - '@kevisual/router@0.0.21': + '@kevisual/router@0.0.22': dependencies: path-to-regexp: 8.2.0 selfsigned: 2.4.1 @@ -3860,6 +4029,11 @@ snapshots: '@kevisual/load': 0.0.6 dotenv: 16.5.0 + '@kevisual/use-config@1.0.18(dotenv@16.5.0)': + dependencies: + '@kevisual/load': 0.0.6 + dotenv: 16.5.0 + '@kevisual/wechatpay@2.2.3': dependencies: '@fidm/x509': 1.2.1 @@ -3964,6 +4138,10 @@ snapshots: optionalDependencies: rollup: 4.41.1 + '@rollup/plugin-alias@5.1.1(rollup@4.42.0)': + optionalDependencies: + rollup: 4.42.0 + '@rollup/plugin-commonjs@28.0.3(rollup@4.41.0)': dependencies: '@rollup/pluginutils': 5.1.2(rollup@4.41.0) @@ -3988,6 +4166,18 @@ snapshots: optionalDependencies: rollup: 4.41.1 + '@rollup/plugin-commonjs@28.0.3(rollup@4.42.0)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.42.0) + commondir: 1.0.1 + estree-walker: 2.0.2 + fdir: 6.3.0(picomatch@4.0.2) + is-reference: 1.2.1 + magic-string: 0.30.11 + picomatch: 4.0.2 + optionalDependencies: + rollup: 4.42.0 + '@rollup/plugin-json@6.1.0(rollup@4.41.0)': dependencies: '@rollup/pluginutils': 5.1.2(rollup@4.41.0) @@ -4000,15 +4190,21 @@ snapshots: optionalDependencies: rollup: 4.41.1 - '@rollup/plugin-node-resolve@15.3.1(rollup@4.41.1)': + '@rollup/plugin-json@6.1.0(rollup@4.42.0)': dependencies: - '@rollup/pluginutils': 5.1.2(rollup@4.41.1) + '@rollup/pluginutils': 5.1.2(rollup@4.42.0) + optionalDependencies: + rollup: 4.42.0 + + '@rollup/plugin-node-resolve@15.3.1(rollup@4.42.0)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.42.0) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-module: 1.0.0 resolve: 1.22.8 optionalDependencies: - rollup: 4.41.1 + rollup: 4.42.0 '@rollup/plugin-node-resolve@16.0.1(rollup@4.41.0)': dependencies: @@ -4030,6 +4226,16 @@ snapshots: optionalDependencies: rollup: 4.41.1 + '@rollup/plugin-node-resolve@16.0.1(rollup@4.42.0)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.42.0) + '@types/resolve': 1.20.2 + deepmerge: 4.3.1 + is-module: 1.0.0 + resolve: 1.22.8 + optionalDependencies: + rollup: 4.42.0 + '@rollup/plugin-replace@6.0.2(rollup@4.41.0)': dependencies: '@rollup/pluginutils': 5.1.2(rollup@4.41.0) @@ -4044,6 +4250,13 @@ snapshots: optionalDependencies: rollup: 4.41.1 + '@rollup/plugin-replace@6.0.2(rollup@4.42.0)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.42.0) + magic-string: 0.30.11 + optionalDependencies: + rollup: 4.42.0 + '@rollup/plugin-typescript@12.1.2(rollup@4.41.0)(tslib@2.8.1)(typescript@5.8.3)': dependencies: '@rollup/pluginutils': 5.1.2(rollup@4.41.0) @@ -4062,6 +4275,15 @@ snapshots: rollup: 4.41.1 tslib: 2.8.1 + '@rollup/plugin-typescript@12.1.2(rollup@4.42.0)(tslib@2.8.1)(typescript@5.8.3)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.42.0) + resolve: 1.22.8 + typescript: 5.8.3 + optionalDependencies: + rollup: 4.42.0 + tslib: 2.8.1 + '@rollup/pluginutils@5.1.2(rollup@4.41.0)': dependencies: '@types/estree': 1.0.6 @@ -4078,126 +4300,194 @@ snapshots: optionalDependencies: rollup: 4.41.1 + '@rollup/pluginutils@5.1.2(rollup@4.42.0)': + dependencies: + '@types/estree': 1.0.6 + estree-walker: 2.0.2 + picomatch: 4.0.2 + optionalDependencies: + rollup: 4.42.0 + '@rollup/rollup-android-arm-eabi@4.41.0': optional: true '@rollup/rollup-android-arm-eabi@4.41.1': optional: true + '@rollup/rollup-android-arm-eabi@4.42.0': + optional: true + '@rollup/rollup-android-arm64@4.41.0': optional: true '@rollup/rollup-android-arm64@4.41.1': optional: true + '@rollup/rollup-android-arm64@4.42.0': + optional: true + '@rollup/rollup-darwin-arm64@4.41.0': optional: true '@rollup/rollup-darwin-arm64@4.41.1': optional: true + '@rollup/rollup-darwin-arm64@4.42.0': + optional: true + '@rollup/rollup-darwin-x64@4.41.0': optional: true '@rollup/rollup-darwin-x64@4.41.1': optional: true + '@rollup/rollup-darwin-x64@4.42.0': + optional: true + '@rollup/rollup-freebsd-arm64@4.41.0': optional: true '@rollup/rollup-freebsd-arm64@4.41.1': optional: true + '@rollup/rollup-freebsd-arm64@4.42.0': + optional: true + '@rollup/rollup-freebsd-x64@4.41.0': optional: true '@rollup/rollup-freebsd-x64@4.41.1': optional: true + '@rollup/rollup-freebsd-x64@4.42.0': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.41.0': optional: true '@rollup/rollup-linux-arm-gnueabihf@4.41.1': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.42.0': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.41.0': optional: true '@rollup/rollup-linux-arm-musleabihf@4.41.1': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.42.0': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.41.0': optional: true '@rollup/rollup-linux-arm64-gnu@4.41.1': optional: true + '@rollup/rollup-linux-arm64-gnu@4.42.0': + optional: true + '@rollup/rollup-linux-arm64-musl@4.41.0': optional: true '@rollup/rollup-linux-arm64-musl@4.41.1': optional: true + '@rollup/rollup-linux-arm64-musl@4.42.0': + optional: true + '@rollup/rollup-linux-loongarch64-gnu@4.41.0': optional: true '@rollup/rollup-linux-loongarch64-gnu@4.41.1': optional: true + '@rollup/rollup-linux-loongarch64-gnu@4.42.0': + optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.41.0': optional: true '@rollup/rollup-linux-powerpc64le-gnu@4.41.1': optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.42.0': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.41.0': optional: true '@rollup/rollup-linux-riscv64-gnu@4.41.1': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.42.0': + optional: true + '@rollup/rollup-linux-riscv64-musl@4.41.0': optional: true '@rollup/rollup-linux-riscv64-musl@4.41.1': optional: true + '@rollup/rollup-linux-riscv64-musl@4.42.0': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.41.0': optional: true '@rollup/rollup-linux-s390x-gnu@4.41.1': optional: true + '@rollup/rollup-linux-s390x-gnu@4.42.0': + optional: true + '@rollup/rollup-linux-x64-gnu@4.41.0': optional: true '@rollup/rollup-linux-x64-gnu@4.41.1': optional: true + '@rollup/rollup-linux-x64-gnu@4.42.0': + optional: true + '@rollup/rollup-linux-x64-musl@4.41.0': optional: true '@rollup/rollup-linux-x64-musl@4.41.1': optional: true + '@rollup/rollup-linux-x64-musl@4.42.0': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.41.0': optional: true '@rollup/rollup-win32-arm64-msvc@4.41.1': optional: true + '@rollup/rollup-win32-arm64-msvc@4.42.0': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.41.0': optional: true '@rollup/rollup-win32-ia32-msvc@4.41.1': optional: true + '@rollup/rollup-win32-ia32-msvc@4.42.0': + optional: true + '@rollup/rollup-win32-x64-msvc@4.41.0': optional: true '@rollup/rollup-win32-x64-msvc@4.41.1': optional: true + '@rollup/rollup-win32-x64-msvc@4.42.0': + optional: true + '@socket.io/component-emitter@3.1.2': {} '@tootallnate/once@1.1.2': @@ -4213,7 +4503,7 @@ snapshots: '@types/cors@2.8.17': dependencies: - '@types/node': 22.15.21 + '@types/node': 22.15.30 '@types/crypto-js@4.2.2': {} @@ -4227,21 +4517,21 @@ snapshots: '@types/formidable@3.4.5': dependencies: - '@types/node': 22.15.19 + '@types/node': 22.15.30 '@types/fs-extra@8.1.5': dependencies: - '@types/node': 22.15.21 + '@types/node': 22.15.30 '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.15.21 + '@types/node': 22.15.30 '@types/jsonwebtoken@9.0.9': dependencies: '@types/ms': 0.7.34 - '@types/node': 22.15.19 + '@types/node': 22.15.30 '@types/lodash-es@4.17.12': dependencies: @@ -4255,27 +4545,27 @@ snapshots: '@types/node-forge@1.3.11': dependencies: - '@types/node': 22.15.21 - - '@types/node@22.15.19': - dependencies: - undici-types: 6.21.0 + '@types/node': 22.15.30 '@types/node@22.15.21': dependencies: undici-types: 6.21.0 - '@types/react@19.1.4': + '@types/node@22.15.30': dependencies: - csstype: 3.1.3 + undici-types: 6.21.0 '@types/react@19.1.5': dependencies: csstype: 3.1.3 + '@types/react@19.1.6': + dependencies: + csstype: 3.1.3 + '@types/readdir-glob@1.1.5': dependencies: - '@types/node': 22.15.21 + '@types/node': 22.15.30 '@types/resolve@1.20.2': {} @@ -4354,7 +4644,7 @@ snapshots: ansi-styles@6.2.1: {} - ansis@4.0.0: {} + ansis@4.0.0-node10: {} any-promise@1.3.0: {} @@ -4854,7 +5144,7 @@ snapshots: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.17 - '@types/node': 22.15.21 + '@types/node': 22.15.30 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -6079,13 +6369,13 @@ snapshots: - supports-color optional: true - pm2@6.0.6: + pm2@6.0.8: dependencies: '@pm2/agent': 2.1.1 '@pm2/io': 6.1.0 '@pm2/js-api': 0.8.0 '@pm2/pm2-version-check': 1.0.4 - ansis: 4.0.0 + ansis: 4.0.0-node10 async: 3.2.6 blessed: 0.1.81 chokidar: 3.6.0 @@ -6328,6 +6618,14 @@ snapshots: optionalDependencies: '@babel/code-frame': 7.26.2 + rollup-plugin-dts@6.2.1(rollup@4.42.0)(typescript@5.8.3): + dependencies: + magic-string: 0.30.17 + rollup: 4.42.0 + typescript: 5.8.3 + optionalDependencies: + '@babel/code-frame': 7.26.2 + rollup-plugin-esbuild@6.2.1(esbuild@0.25.0)(rollup@4.41.0): dependencies: debug: 4.4.0(supports-color@5.5.0) @@ -6350,6 +6648,17 @@ snapshots: transitivePeerDependencies: - supports-color + rollup-plugin-esbuild@6.2.1(esbuild@0.25.0)(rollup@4.42.0): + dependencies: + debug: 4.4.0(supports-color@5.5.0) + es-module-lexer: 1.6.0 + esbuild: 0.25.0 + get-tsconfig: 4.10.0 + rollup: 4.42.0 + unplugin-utils: 0.2.4 + transitivePeerDependencies: + - supports-color + rollup-plugin-inject@3.0.2: dependencies: estree-walker: 0.6.1 @@ -6412,6 +6721,32 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.41.1 fsevents: 2.3.3 + rollup@4.42.0: + dependencies: + '@types/estree': 1.0.7 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.42.0 + '@rollup/rollup-android-arm64': 4.42.0 + '@rollup/rollup-darwin-arm64': 4.42.0 + '@rollup/rollup-darwin-x64': 4.42.0 + '@rollup/rollup-freebsd-arm64': 4.42.0 + '@rollup/rollup-freebsd-x64': 4.42.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.42.0 + '@rollup/rollup-linux-arm-musleabihf': 4.42.0 + '@rollup/rollup-linux-arm64-gnu': 4.42.0 + '@rollup/rollup-linux-arm64-musl': 4.42.0 + '@rollup/rollup-linux-loongarch64-gnu': 4.42.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.42.0 + '@rollup/rollup-linux-riscv64-gnu': 4.42.0 + '@rollup/rollup-linux-riscv64-musl': 4.42.0 + '@rollup/rollup-linux-s390x-gnu': 4.42.0 + '@rollup/rollup-linux-x64-gnu': 4.42.0 + '@rollup/rollup-linux-x64-musl': 4.42.0 + '@rollup/rollup-win32-arm64-msvc': 4.42.0 + '@rollup/rollup-win32-ia32-msvc': 4.42.0 + '@rollup/rollup-win32-x64-msvc': 4.42.0 + fsevents: 2.3.3 + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 @@ -6890,7 +7225,7 @@ snapshots: picocolors: 1.1.1 postcss-load-config: 6.0.1(tsx@4.19.4) resolve-from: 5.0.0 - rollup: 4.41.1 + rollup: 4.42.0 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tinyexec: 0.3.2 @@ -6915,32 +7250,32 @@ snapshots: dependencies: safe-buffer: 5.2.1 - turbo-darwin-64@2.5.3: + turbo-darwin-64@2.5.4: optional: true - turbo-darwin-arm64@2.5.3: + turbo-darwin-arm64@2.5.4: optional: true - turbo-linux-64@2.5.3: + turbo-linux-64@2.5.4: optional: true - turbo-linux-arm64@2.5.3: + turbo-linux-arm64@2.5.4: optional: true - turbo-windows-64@2.5.3: + turbo-windows-64@2.5.4: optional: true - turbo-windows-arm64@2.5.3: + turbo-windows-arm64@2.5.4: optional: true - turbo@2.5.3: + turbo@2.5.4: optionalDependencies: - turbo-darwin-64: 2.5.3 - turbo-darwin-arm64: 2.5.3 - turbo-linux-64: 2.5.3 - turbo-linux-arm64: 2.5.3 - turbo-windows-64: 2.5.3 - turbo-windows-arm64: 2.5.3 + turbo-darwin-64: 2.5.4 + turbo-darwin-arm64: 2.5.4 + turbo-linux-64: 2.5.4 + turbo-linux-arm64: 2.5.4 + turbo-windows-64: 2.5.4 + turbo-windows-arm64: 2.5.4 tv4@1.3.0: {} @@ -7116,7 +7451,7 @@ snapshots: wkx@0.5.0: dependencies: - '@types/node': 22.15.21 + '@types/node': 22.15.30 wrap-ansi@7.0.0: dependencies: @@ -7177,4 +7512,4 @@ snapshots: zod@3.25.28: {} - zod@3.25.7: {} + zod@3.25.56: {} diff --git a/src/routes/file-listener/index.ts b/src/routes/file-listener/index.ts new file mode 100644 index 0000000..83ec5cd --- /dev/null +++ b/src/routes/file-listener/index.ts @@ -0,0 +1 @@ +import './list.ts'; diff --git a/src/routes/file-listener/list.ts b/src/routes/file-listener/list.ts new file mode 100644 index 0000000..dfbd3d8 --- /dev/null +++ b/src/routes/file-listener/list.ts @@ -0,0 +1,107 @@ +import { Op } from 'sequelize'; +import { app } from '@/app.ts'; +import { FileSyncModel } from './model.ts'; +app + .route({ + path: 'file-listener', + key: 'list', + middleware: ['auth'], + description: '获取用户的某一个文件夹下的所有的列表的数据', + }) + .define(async (ctx) => { + const tokenUser = ctx.state.tokenUser; + const username = tokenUser.username; + const { page = 1, pageSize = 20, sort = 'DESC' } = ctx.query; + let { prefix } = ctx.query; + if (prefix) { + if (typeof prefix !== 'string') { + ctx.throw(400, 'prefix must be a string'); + } + if (prefix.startsWith('/')) { + prefix = prefix.slice(1); // Remove leading slash if present + } + if (!prefix.startsWith(username + '/')) { + ctx.throw(400, 'prefix must start with the your username:', username); + } + } + const searchWhere = prefix + ? { + [Op.or]: [{ name: { [Op.like]: `${prefix}%` } }], + } + : {}; + + const { rows: files, count } = await FileSyncModel.findAndCountAll({ + where: { + ...searchWhere, + }, + offset: (page - 1) * pageSize, + limit: pageSize, + order: [['updatedAt', sort]], + }); + const getPublicFiles = (files: FileSyncModel[]) => { + return files.map((file) => { + const value = file.toJSON(); + const stat = value.stat || {}; + delete stat.password; + return { + ...value, + stat: stat, + }; + }); + }; + + ctx.body = { + list: getPublicFiles(files), + pagination: { + page, + current: page, + pageSize, + total: count, + }, + }; + }) + .addTo(app); + +app + .route({ + path: 'file-listener', + key: 'get', + middleware: ['auth'], + }) + .define(async (ctx) => { + const tokenUser = ctx.state.tokenUser; + const username = tokenUser.username; + const { id, name, hash } = ctx.query.data || {}; + + if (!id && !name && !hash) { + ctx.throw(400, 'id, name or hash is required'); + } + let fileSync: FileSyncModel | null = null; + if (id) { + fileSync = await FileSyncModel.findByPk(id); + } + if (name && !fileSync) { + fileSync = await FileSyncModel.findOne({ + where: { + name, + hash, + }, + }); + } + if (!fileSync && hash) { + fileSync = await FileSyncModel.findOne({ + where: { + name: { + [Op.like]: `${username}/%`, + }, + hash, + }, + }); + } + + if (!fileSync || !fileSync.name.startsWith(`${username}/`)) { + ctx.throw(404, 'NotFoundFile'); + } + ctx.body = fileSync; + }) + .addTo(app); diff --git a/src/routes/file-listener/model.ts b/src/routes/file-listener/model.ts new file mode 100644 index 0000000..48c7043 --- /dev/null +++ b/src/routes/file-listener/model.ts @@ -0,0 +1,3 @@ +import { FileSyncModel, FileSyncModelType } from '@kevisual/file-listener/src/file-sync/model.ts'; + +export { FileSyncModel, FileSyncModelType }; diff --git a/src/routes/index.ts b/src/routes/index.ts index c74fb7e..6753701 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -13,3 +13,5 @@ import './micro-app/index.ts'; import './config/index.ts'; import './mark/index.ts'; + +import './file-listener/index.ts';