Add schema valiation

+ Using zod for validation
+ Add SchemaError
This commit is contained in:
Stephan
2022-05-01 17:18:55 +02:00
parent 2034faa448
commit 72ee918f00
3 changed files with 76 additions and 1 deletions
+2 -1
View File
@@ -31,7 +31,8 @@
"jsonwebtoken": "^8.5.1",
"nodemailer": "^6.7.0",
"redis": "^3.1.2",
"winston": "^3.7.2"
"winston": "^3.7.2",
"zod": "^3.14.4"
},
"devDependencies": {
"@types/chai": "^4.2.22",