use zod for register verification

This commit is contained in:
2024-10-19 15:27:29 +02:00
parent 18135a0816
commit aa91eaf82a
5 changed files with 58 additions and 47 deletions

13
package-lock.json generated
View File

@@ -44,7 +44,8 @@
"tslib": "^2.8.0",
"typescript": "^5.6.3",
"vite": "^5.4.9",
"vitest": "^2.1.3"
"vitest": "^2.1.3",
"zod": "^3.23.8"
}
},
"node_modules/@alloc/quick-lru": {
@@ -7618,6 +7619,16 @@
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/zod": {
"version": "3.23.8",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz",
"integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
}
}
}