14 lines
356 B
TypeScript
14 lines
356 B
TypeScript
import { Command } from '@nestjs/cqrs';
|
|
import { CommandResult } from './command-result';
|
|
|
|
export class PublishReleaseCommand extends Command<CommandResult> {
|
|
constructor(
|
|
public readonly actorId: string,
|
|
public readonly releaseId: string,
|
|
/** Ship even with unfinished tickets. */
|
|
public readonly force = false,
|
|
) {
|
|
super();
|
|
}
|
|
}
|