hunk.code_window:                   </Text>
                   </NavSection>
                   <When truthy={!readonly}>
                     <Stack>
                       {channels
                         .filter((channel) => channel.type === NodeTypeEnum.ACTION)
                         .map((channel, index) => (
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:                   <Stack spacing={18}>
  
hunk.file_path: apps/web/src/pages/templates/workflow/WorkflowEditorPage.tsx
hunk.type: replace
file: import { Injectable } from '@nestjs/common';
  import { ChannelTypeEnum, StepTypeEnum } from '@novu/shared';
  import { SendMessageCommand } from './send-message.command';
  import { SendMessageEmail } from './send-message-email.usecase';
  import { SendMessageSms } from './send-message-sms.usecase';
  import { SendMessageInApp } from './send-message-in-app.usecase';
  import { SendMessageDirect } from './send-message-direct.usecase';
  import { SendMessagePush } from './send-message-push.usecase';
  import { Digest } from './digest/digest.usecase';
  
  @Injectable()
  export class SendMessage {
    constructor(
      private sendMessageEmail: SendMessageEmail,
      private sendMessageSms: SendMessageSms,
      private sendMessageInApp: SendMessageInApp,
      private sendMessageDirect: SendMessageDirect,
      private sendMessagePush: SendMessagePush,
      private digest: Digest
    ) {}
  
    public async execute(command: SendMessageCommand) {
      switch (command.step.template.type) {
        case StepTypeEnum.SMS:
          return await this.sendMessageSms.execute(command);
        case StepTypeEnum.IN_APP:
          return await this.sendMessageInApp.execute(command);
        case StepTypeEnum.EMAIL:
          return await this.sendMessageEmail.execute(command);
        case StepTypeEnum.DIRECT:
          return await this.sendMessageDirect.execute(command);
        case StepTypeEnum.PUSH:
          return await this.sendMessagePush.execute(command);
        case StepTypeEnum.DIGEST:
          return await this.digest.execute(command);
      }
    }
  }
  