diff --git a/docs/content/docs/getting-started/index.mdx b/docs/content/docs/getting-started/index.mdx index b6783d8922..3cf7dab7ad 100644 --- a/docs/content/docs/getting-started/index.mdx +++ b/docs/content/docs/getting-started/index.mdx @@ -62,6 +62,7 @@ import { Next, Nitro, SvelteKit, Nuxt, Hono, Bun, AstroDark, AstroLight, TanStac
NestJS + Experimental
diff --git a/docs/content/docs/getting-started/nestjs.mdx b/docs/content/docs/getting-started/nestjs.mdx index 9e1143f3b0..f7aba5906a 100644 --- a/docs/content/docs/getting-started/nestjs.mdx +++ b/docs/content/docs/getting-started/nestjs.mdx @@ -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'; @@ -289,7 +290,7 @@ npx workflow web npx workflow inspect runs ``` -Workflow DevKit Web UI +![Workflow DevKit Web UI](/o11y-ui.png) @@ -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'])