mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
32 lines
730 B
TypeScript
32 lines
730 B
TypeScript
import ModelBase from 'App/ModelBase';
|
|
import { QualityModel } from 'Quality/Quality';
|
|
import CustomFormat from 'typings/CustomFormat';
|
|
|
|
export interface StatusMessage {
|
|
title: string;
|
|
messages: string[];
|
|
}
|
|
|
|
interface Queue extends ModelBase {
|
|
quality: QualityModel;
|
|
customFormats: CustomFormat[];
|
|
size: number;
|
|
title: string;
|
|
sizeleft: number;
|
|
timeleft: string;
|
|
estimatedCompletionTime: string;
|
|
added?: string;
|
|
status: string;
|
|
trackedDownloadStatus: string;
|
|
trackedDownloadState: string;
|
|
statusMessages: StatusMessage[];
|
|
errorMessage: string;
|
|
downloadId: string;
|
|
protocol: string;
|
|
downloadClient: string;
|
|
outputPath: string;
|
|
artistId?: number;
|
|
albumId?: number;
|
|
}
|
|
|
|
export default Queue;
|