Extend Express req.cleanBody type, lodash to pick input variables from schema.shape

This commit is contained in:
Justin xzHome
2025-07-09 21:40:47 +09:00
parent b35d8f76df
commit fd08431f7b
7 changed files with 42 additions and 11 deletions

8
api/package-lock.json generated
View File

@@ -18,6 +18,7 @@
},
"devDependencies": {
"@types/express": "^5.0.3",
"@types/lodash": "^4.17.20",
"drizzle-kit": "^0.31.4",
"tsx": "^4.20.3",
"typescript": "^5.8.3"
@@ -944,6 +945,13 @@
"dev": true,
"license": "MIT"
},
"node_modules/@types/lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==",
"dev": true,
"license": "MIT"
},
"node_modules/@types/mime": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz",