Remove duplicate Language interface
This commit is contained in:
parent
936ef9f461
commit
36c7c79b9e
|
@ -1,4 +1,5 @@
|
||||||
import ModelBase from 'App/ModelBase';
|
import ModelBase from 'App/ModelBase';
|
||||||
|
import Language from 'Language/Language';
|
||||||
import { QualityModel } from 'Quality/Quality';
|
import { QualityModel } from 'Quality/Quality';
|
||||||
import CustomFormat from 'typings/CustomFormat';
|
import CustomFormat from 'typings/CustomFormat';
|
||||||
import MediaInfo from 'typings/MediaInfo';
|
import MediaInfo from 'typings/MediaInfo';
|
||||||
|
@ -12,7 +13,7 @@ export interface EpisodeFile extends ModelBase {
|
||||||
dateAdded: string;
|
dateAdded: string;
|
||||||
sceneName: string;
|
sceneName: string;
|
||||||
releaseGroup: string;
|
releaseGroup: string;
|
||||||
languages: CustomFormat[];
|
languages: Language[];
|
||||||
quality: QualityModel;
|
quality: QualityModel;
|
||||||
customFormats: CustomFormat[];
|
customFormats: CustomFormat[];
|
||||||
mediaInfo: MediaInfo;
|
mediaInfo: MediaInfo;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import ModelBase from 'App/ModelBase';
|
import ModelBase from 'App/ModelBase';
|
||||||
|
import Language from 'Language/Language';
|
||||||
|
|
||||||
export type SeriesType = 'anime' | 'daily' | 'standard';
|
export type SeriesType = 'anime' | 'daily' | 'standard';
|
||||||
|
|
||||||
|
@ -8,11 +9,6 @@ export interface Image {
|
||||||
remoteUrl: string;
|
remoteUrl: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Language {
|
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Statistics {
|
export interface Statistics {
|
||||||
seasonCount: number;
|
seasonCount: number;
|
||||||
episodeCount: number;
|
episodeCount: number;
|
||||||
|
|
Loading…
Reference in New Issue