Add enhanced route handler functionality and improve code

This commit provides the addition of a new enhanced route handler functionality for Next.js utilities. The handler facilitates additional functionality, allowing more control over HTTP requests. Changes also include improved code where 'zodParseFactory' functionality moved to utils for better code reuse and organization.
This commit is contained in:
giancarlo
2024-04-07 16:22:05 +08:00
parent 9ecbf0816e
commit b049dfca80
5 changed files with 205 additions and 14 deletions

View File

@@ -10,7 +10,8 @@
},
"prettier": "@kit/prettier-config",
"exports": {
"./actions": "./src/actions/index.ts"
"./actions": "./src/actions/index.ts",
"./routes": "./src/routes/index.ts"
},
"peerDependencies": {
"@kit/auth": "workspace:*",