Skip to content

Commit

Permalink
chore: Complete NestJS docs (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmytton authored Dec 2, 2024
1 parent 41e1d6c commit 1cda966
Show file tree
Hide file tree
Showing 94 changed files with 2,687 additions and 91 deletions.
190 changes: 189 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@arcjet/env": "1.0.0-alpha.32",
"@arcjet/eslint-config": "1.0.0-alpha.32",
"@arcjet/headers": "1.0.0-alpha.32",
"@arcjet/nest": "^1.0.0-alpha.32",
"@arcjet/nest": "1.0.0-alpha.32",
"@arcjet/next": "1.0.0-alpha.32",
"@arcjet/node": "1.0.0-alpha.32",
"@arcjet/protocol": "1.0.0-alpha.32",
Expand All @@ -45,13 +45,15 @@
"@nestjs/common": "10.4.11",
"@nestjs/config": "3.3.0",
"@nestjs/core": "10.4.11",
"@nestjs/platform-express": "10.4.12",
"@remix-run/node": "2.15.0",
"@sveltejs/kit": "2.8.5",
"ai": "4.0.9",
"arcjet": "1.0.0-alpha.32",
"astro": "4.16.16",
"astro-embed": "0.9.0",
"astro-robots-txt": "1.0.0",
"class-validator": "0.14.1",
"express": "4.21.1",
"hono": "4.6.12",
"nanostores": "0.11.3",
Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/bot-protection/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ context as passed to the request handler.

<TextByFramework framework="nest-js" client:load>
<br />
If you are using a global guard or per route guard then `protect` is called for
you behind the scenes. If you add Arcjet within a route then you call it
directly.
If you are using a global [guard](https://docs.nestjs.com/guards) or per route
guard then `protect` is called for you behind the scenes. If you add Arcjet
within a route then you call it directly.

</TextByFramework>
This function returns a `Promise` that resolves to an
Expand Down
Loading

0 comments on commit 1cda966

Please sign in to comment.