import { Command } from '@nestjs/cqrs'; import { CommandResult } from './command-result'; export class ChangeIssueStatusCommand extends Command { constructor( public readonly actorId: string, public readonly issueId: string, /** Status id of the project's workflow. */ public readonly status: string, /** Required for QA_FAILED and CANCELLED. */ public readonly reason?: string | null, ) { super(); } }