mirror of https://github.com/Radarr/Radarr
Remove duplicate Language interface
This commit is contained in:
parent
feb3131ad4
commit
bbef1590a3
|
@ -4,7 +4,8 @@ import ImdbRating from 'Components/ImdbRating';
|
|||
import RottenTomatoRating from 'Components/RottenTomatoRating';
|
||||
import TmdbRating from 'Components/TmdbRating';
|
||||
import { icons } from 'Helpers/Props';
|
||||
import { Language, Ratings } from 'Movie/Movie';
|
||||
import Language from 'Language/Language';
|
||||
import { Ratings } from 'Movie/Movie';
|
||||
import QualityProfile from 'typings/QualityProfile';
|
||||
import formatDateTime from 'Utilities/Date/formatDateTime';
|
||||
import getRelativeDate from 'Utilities/Date/getRelativeDate';
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import ModelBase from 'App/ModelBase';
|
||||
import Language from 'Language/Language';
|
||||
import { MovieFile } from 'MovieFile/MovieFile';
|
||||
|
||||
export interface Image {
|
||||
|
@ -7,11 +8,6 @@ export interface Image {
|
|||
remoteUrl: string;
|
||||
}
|
||||
|
||||
export interface Language {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface Collection {
|
||||
title: string;
|
||||
}
|
||||
|
|
|
@ -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';
|
||||
|
@ -11,7 +12,7 @@ export interface MovieFile extends ModelBase {
|
|||
dateAdded: string;
|
||||
sceneName: string;
|
||||
releaseGroup: string;
|
||||
languages: CustomFormat[];
|
||||
languages: Language[];
|
||||
quality: QualityModel;
|
||||
customFormats: CustomFormat[];
|
||||
mediaInfo: MediaInfo;
|
||||
|
|
Loading…
Reference in New Issue