Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/content/docs/getting-started/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ import { Next, Nitro, SvelteKit, Nuxt, Hono, Bun, AstroDark, AstroLight, TanStac
<div className="flex flex-col items-center justify-center gap-2">
<Nest className="size-16" />
<span className="font-medium">NestJS</span>
<Badge variant="secondary">Experimental</Badge>
</div>
</Card>
<Card className="opacity-50">
Expand Down
8 changes: 5 additions & 3 deletions docs/content/docs/getting-started/nestjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ Taking a look at this code:

To invoke your new workflow, update your controller with a new endpoint:

{/* @skip-typecheck - NestJS decorators require special TypeScript config */}
{/*@skip-typecheck - NestJS decorators require special TypeScript config*/}

```typescript title="src/app.controller.ts" lineNumbers
import { Body, Controller, Post } from '@nestjs/common';
import { start } from 'workflow/api';
Expand Down Expand Up @@ -289,7 +290,7 @@ npx workflow web
npx workflow inspect runs
```

<img src="/o11y-ui.png" alt="Workflow DevKit Web UI" />
![Workflow DevKit Web UI](/o11y-ui.png)

</Step>

Expand All @@ -301,7 +302,8 @@ npx workflow inspect runs

The `WorkflowModule.forRoot()` method accepts optional configuration:

{/* @skip-typecheck - Configuration snippet, WorkflowModule not imported */}
{/*@skip-typecheck - Configuration snippet, WorkflowModule not imported*/}

```typescript
WorkflowModule.forRoot({
// Directory to scan for workflow files (default: ['src'])
Expand Down
Loading