next-api-decorators
next-api-decorators copied to clipboard
Collection of decorators to create typed Next.js API routes, with easy request validation and transformation.
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.6.1 to 17.6.7. Release notes Sourced from @commitlint/cli's releases. v17.6.7 17.6.7 (2023-07-19) docs: fix grammar in sentence by @jschepke in conventional-changelog/commitlint#3625 docs: add instructions to use the...
Bumps [next](https://github.com/vercel/next.js) from 13.2.4 to 13.4.12. Release notes Sourced from next's releases. v13.4.12 Core Changes Separate routing code from render servers: #52492 Move Pages API rendering into bundle: #52149 update...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.4.4 to 17.6.7. Release notes Sourced from @commitlint/config-conventional's releases. v17.6.7 17.6.7 (2023-07-19) docs: fix grammar in sentence by @jschepke in conventional-changelog/commitlint#3625 docs: add instructions to use the...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
I created fullstack next js using next-auth and next-api-decorator. I want to get my user information in params ```js async function getSessionToken(req: NextApiRequest): Promise { const token = await getToken({req});...
```js @Post("/register") async createUser(@Body(ValidationPipe({ validationError: { target : true } })) body: CreateUserDTO): Promise { ``` Is there any way to custome the validation pipe and get validation error target
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@joaomoreno, @lukekarrys) Changelog Sourced from semver's...
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@joaomoreno, @lukekarrys) Changelog Sourced from semver's...
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@joaomoreno, @lukekarrys) Changelog Sourced from semver's...