diff --git a/frontend/src/EpisodeFile/EpisodeFile.ts b/frontend/src/EpisodeFile/EpisodeFile.ts index 85e545a64..a3ea2bed4 100644 --- a/frontend/src/EpisodeFile/EpisodeFile.ts +++ b/frontend/src/EpisodeFile/EpisodeFile.ts @@ -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; diff --git a/frontend/src/Series/Series.ts b/frontend/src/Series/Series.ts index 32b584cc0..0e54aff84 100644 --- a/frontend/src/Series/Series.ts +++ b/frontend/src/Series/Series.ts @@ -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;