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 RottenTomatoRating from 'Components/RottenTomatoRating';
|
||||||
import TmdbRating from 'Components/TmdbRating';
|
import TmdbRating from 'Components/TmdbRating';
|
||||||
import { icons } from 'Helpers/Props';
|
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 QualityProfile from 'typings/QualityProfile';
|
||||||
import formatDateTime from 'Utilities/Date/formatDateTime';
|
import formatDateTime from 'Utilities/Date/formatDateTime';
|
||||||
import getRelativeDate from 'Utilities/Date/getRelativeDate';
|
import getRelativeDate from 'Utilities/Date/getRelativeDate';
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import ModelBase from 'App/ModelBase';
|
import ModelBase from 'App/ModelBase';
|
||||||
|
import Language from 'Language/Language';
|
||||||
import { MovieFile } from 'MovieFile/MovieFile';
|
import { MovieFile } from 'MovieFile/MovieFile';
|
||||||
|
|
||||||
export interface Image {
|
export interface Image {
|
||||||
|
@ -7,11 +8,6 @@ export interface Image {
|
||||||
remoteUrl: string;
|
remoteUrl: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Language {
|
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Collection {
|
export interface Collection {
|
||||||
title: string;
|
title: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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';
|
||||||
|
@ -11,7 +12,7 @@ export interface MovieFile 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;
|
||||||
|
|
Loading…
Reference in New Issue