-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into use-runtime-zod-to-json-schema-import
- Loading branch information
Showing
72 changed files
with
2,330 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,3 +114,4 @@ CLERK_PRIVATE_KEY= | |
CLERK_PEM_PUBLIC_KEY= | ||
|
||
TUNNEL_BASE_ADDRESS=example.com | ||
API_ROOT_URL=http://localhost:1337 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
apps/api/src/app/bridge/usecases/preview-step/preview-step.command.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
import { EnvironmentWithUserCommand } from '@novu/application-generic'; | ||
import { Subscriber } from '@novu/framework'; | ||
import { WorkflowOriginEnum } from '@novu/shared'; | ||
|
||
export class PreviewStepCommand extends EnvironmentWithUserCommand { | ||
workflowId: string; | ||
stepId: string; | ||
controls: Record<string, unknown>; | ||
payload: Record<string, unknown>; | ||
subscriber?: Subscriber; | ||
workflowOrigin: WorkflowOriginEnum; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
apps/api/src/app/environments-v1/usecases/output-renderers/chat-output-renderer.usecase.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Concrete Renderer for Chat Preview | ||
import { ChatRenderOutput } from '@novu/shared'; | ||
import { Injectable } from '@nestjs/common'; | ||
import { RenderCommand } from './render-command'; | ||
|
||
@Injectable() | ||
export class ChatOutputRendererUsecase { | ||
execute(renderCommand: RenderCommand): ChatRenderOutput { | ||
const body = renderCommand.controlValues.body as string; | ||
|
||
return { body }; | ||
} | ||
} |
Oops, something went wrong.