1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-29 23:12:39 +01:00

Remove duplicate Language interface

This commit is contained in:
Bogdan 2023-08-25 04:22:40 +03:00 committed by Mark McDowall
parent 936ef9f461
commit 36c7c79b9e
2 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,5 @@
import ModelBase from 'App/ModelBase';
import Language from 'Language/Language';
import { QualityModel } from 'Quality/Quality';
import CustomFormat from 'typings/CustomFormat';
import MediaInfo from 'typings/MediaInfo';
@ -12,7 +13,7 @@ export interface EpisodeFile extends ModelBase {
dateAdded: string;
sceneName: string;
releaseGroup: string;
languages: CustomFormat[];
languages: Language[];
quality: QualityModel;
customFormats: CustomFormat[];
mediaInfo: MediaInfo;

View File

@ -1,4 +1,5 @@
import ModelBase from 'App/ModelBase';
import Language from 'Language/Language';
export type SeriesType = 'anime' | 'daily' | 'standard';
@ -8,11 +9,6 @@ export interface Image {
remoteUrl: string;
}
export interface Language {
id: number;
name: string;
}
export interface Statistics {
seasonCount: number;
episodeCount: number;