Zod for API Routes

This commit is contained in:
headlesdev
2025-05-21 23:32:21 +02:00
parent e7d56fa496
commit 065ff7190a
15 changed files with 169 additions and 119 deletions

12
package-lock.json generated
View File

@@ -20,7 +20,8 @@
"lucide-react": "^0.511.0",
"next": "15.3.2",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react-dom": "^19.0.0",
"zod": "^3.25.17"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.7",
@@ -2315,6 +2316,15 @@
"engines": {
"node": ">=18"
}
},
"node_modules/zod": {
"version": "3.25.17",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.17.tgz",
"integrity": "sha512-8hQzQ/kMOIFbwOgPrm9Sf9rtFHpFUMy4HvN0yEB0spw14aYi0uT5xG5CE2DB9cd51GWNsz+DNO7se1kztHMKnw==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
}
}
}