Command for resetting a match back to pending status.

export class ResetToPendingCommand extends BaseCommand {
constructor(
matchIndex: number,
beforeState: MangaMatchResult,
afterState: MangaMatchResult,
onExecute: OnExecuteCallback,
) {
super(
matchIndex,
beforeState,
afterState,
onExecute,
CommandType.RESET_TO_PENDING,
`Reset "${beforeState.kenmeiManga.title}" to pending`,
);
}
}

Hierarchy (View Summary)

Constructors

Methods