refactor: remove unused file, update timestamps on query views and views

- Deleted the unused file `src/auth/drizzle/one.ts`.
- Modified `updatedAt` field in `src/db/drizzle/schema.ts` to automatically update on record changes.
- Added `updatedAt` field to the response in `src/routes/query-views/list.ts` and `src/routes/views/list.ts` to ensure it reflects the current timestamp.
This commit is contained in:
2026-03-05 13:32:56 +08:00
parent 2518f6bba3
commit 42957af179
6 changed files with 310 additions and 143 deletions

View File

@@ -47,7 +47,7 @@
"@types/busboy": "^1.5.4",
"@types/send": "^1.2.1",
"@types/ws": "^8.18.1",
"bullmq": "^5.70.1",
"bullmq": "^5.70.2",
"busboy": "^1.6.0",
"drizzle-kit": "^0.31.9",
"drizzle-orm": "^0.45.1",
@@ -58,11 +58,11 @@
"xml2js": "^0.6.2"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.1001.0",
"@aws-sdk/client-s3": "^3.1002.0",
"@kevisual/api": "^0.0.60",
"@kevisual/cnb": "^0.0.33",
"@kevisual/context": "^0.0.8",
"@kevisual/convex": "^0.0.3",
"@kevisual/convex": "^0.0.4",
"@kevisual/local-app-manager": "0.1.32",
"@kevisual/logger": "^0.0.4",
"@kevisual/oss": "0.0.20",
@@ -88,7 +88,7 @@
"jsonwebtoken": "^9.0.3",
"nanoid": "^5.1.6",
"p-queue": "^9.1.0",
"pg": "^8.19.0",
"pg": "^8.20.0",
"pm2": "^6.0.14",
"semver": "^7.7.4",
"zod": "^4.3.6"