mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-20 01:42:35 +01:00
a7720e829d
(cherry picked from commit 6d552f2a60f44052079b5e8944f5e1bbabac56e0) Closes #9837
39 lines
822 B
TypeScript
39 lines
822 B
TypeScript
import ModelBase from 'App/ModelBase';
|
|
|
|
export interface CommandBody {
|
|
sendUpdatesToClient: boolean;
|
|
updateScheduledTask: boolean;
|
|
completionMessage: string;
|
|
requiresDiskAccess: boolean;
|
|
isExclusive: boolean;
|
|
isLongRunning: boolean;
|
|
name: string;
|
|
lastExecutionTime: string;
|
|
lastStartTime: string;
|
|
trigger: string;
|
|
suppressMessages: boolean;
|
|
movieId?: number;
|
|
movieIds?: number[];
|
|
}
|
|
|
|
interface Command extends ModelBase {
|
|
name: string;
|
|
commandName: string;
|
|
message: string;
|
|
body: CommandBody;
|
|
priority: string;
|
|
status: string;
|
|
result: string;
|
|
queued: string;
|
|
started: string;
|
|
ended: string;
|
|
duration: string;
|
|
trigger: string;
|
|
stateChangeTime: string;
|
|
sendUpdatesToClient: boolean;
|
|
updateScheduledTask: boolean;
|
|
lastExecutionTime: string;
|
|
}
|
|
|
|
export default Command;
|