You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
730 B
33 lines
730 B
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;
|