hunk.code_window:     <>
         <Grid>
           <Grid.Col span={9}>
             <When truthy={view === 'web'}>
               <PreviewWeb subject={subject} content={content} integration={integration} />
             </When>
             <When truthy={view === 'mobile'}>
               <Grid>
                 <Grid.Col span={12}>
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:             <PreviewWeb subject={parsedSubject} content={content} integration={integration} />
  
hunk.file_path: apps/web/src/pages/templates/editor/Preview.tsx
hunk.type: replace
file: import { IsDefined, IsString } from 'class-validator';
  import { IEmailBlock } from '@novu/dal';
  import { EnvironmentWithUserCommand } from '../../../shared/commands/project.command';
  import { MessageTemplateContentType } from '@novu/shared';
  
  export class PreviewEmailCommand extends EnvironmentWithUserCommand {
    @IsDefined()
    content: string | IEmailBlock[];
  
    @IsString()
    contentType: MessageTemplateContentType;
  
    @IsDefined()
    payload: any; // eslint-disable-line @typescript-eslint/no-explicit-any
  }
  