feat: refactor route definitions and enhance metadata for app domain manager

- Updated route definitions in `src/route.ts` to utilize `toJSONSchema` and `pick` for cleaner route listing.
- Enhanced the `app.domain.manager` routes in `src/routes/app-manager/domain/manager.ts`:
  - Changed path format to snake_case.
  - Added descriptions for each route.
  - Introduced Zod schema validation for request arguments in metadata.
This commit is contained in:
2026-02-18 03:17:45 +08:00
parent 8c6d57d228
commit 6c611dcf78
4 changed files with 430 additions and 270 deletions

View File

@@ -49,11 +49,11 @@
"@kevisual/ai": "^0.0.24",
"@kevisual/auth": "^2.0.3",
"@kevisual/js-filter": "^0.0.5",
"@kevisual/query": "^0.0.40",
"@kevisual/query": "^0.0.43",
"@types/busboy": "^1.5.4",
"@types/send": "^1.2.1",
"@types/ws": "^8.18.1",
"bullmq": "^5.67.3",
"bullmq": "^5.69.3",
"busboy": "^1.6.0",
"drizzle-kit": "^0.31.9",
"drizzle-orm": "^0.45.1",
@@ -66,18 +66,18 @@
"xml2js": "^0.6.2"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.986.0",
"@kevisual/api": "^0.0.47",
"@kevisual/context": "^0.0.4",
"@aws-sdk/client-s3": "^3.991.0",
"@kevisual/api": "^0.0.51",
"@kevisual/context": "^0.0.6",
"@kevisual/local-app-manager": "0.1.32",
"@kevisual/logger": "^0.0.4",
"@kevisual/oss": "0.0.19",
"@kevisual/permission": "^0.0.4",
"@kevisual/router": "0.0.70",
"@kevisual/router": "0.0.73",
"@kevisual/types": "^0.0.12",
"@kevisual/use-config": "^1.0.30",
"@types/archiver": "^7.0.0",
"@types/bun": "^1.3.8",
"@types/bun": "^1.3.9",
"@types/crypto-js": "^4.2.2",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^25.2.3",
@@ -87,9 +87,9 @@
"archiver": "^7.0.1",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.19",
"dotenv": "^17.2.4",
"dotenv": "^17.3.1",
"es-toolkit": "^1.44.0",
"ioredis": "^5.9.2",
"ioredis": "^5.9.3",
"jsonwebtoken": "^9.0.3",
"nanoid": "^5.1.6",
"p-queue": "^9.1.0",
@@ -102,5 +102,5 @@
"inflight": "latest",
"picomatch": "^4.0.2"
},
"packageManager": "pnpm@10.29.2"
"packageManager": "pnpm@10.30.0"
}