Radarr/frontend/src/typings/QualityProfile.ts

24 lines
530 B
TypeScript

import Quality from 'Quality/Quality';
import { QualityProfileFormatItem } from './CustomFormat';
export interface QualityProfileQualityItem {
id?: number;
quality?: Quality;
items: QualityProfileQualityItem[];
allowed: boolean;
name?: string;
}
interface QualityProfile {
name: string;
upgradeAllowed: boolean;
cutoff: number;
items: QualityProfileQualityItem[];
minFormatScore: number;
cutoffFormatScore: number;
formatItems: QualityProfileFormatItem[];
id: number;
}
export default QualityProfile;