import { Command } from '@nestjs/cqrs'; import { CommandResult } from './command-result'; /** * Moves a ticket in the backlog, between the one that ends up above it and the * one that ends up below (null: the top or the bottom). */ export class RankIssueCommand extends Command { constructor( public readonly actorId: string, public readonly issueId: string, public readonly aboveIssueId: string | null, public readonly belowIssueId: string | null, ) { super(); } }