mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-05 20:42:19 -07:00
Appease linter (cherry picked from commit b2c43fb2a67965d68d3d35b72302b0cddb5aca23) (cherry picked from commit 3b5e83670b844cf7c20bf7d744d9fbc96fde6902) Closes #3516 Closes #3510 Closes #2778
37 lines
800 B
TypeScript
37 lines
800 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;
|
|
artistId?: 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;
|