mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 11:55:38 +00:00
Feat: vite & upgraded dependencies (#100)
* On every route change, update local variables from query params * ResultSection is keyed to query to force re-render * Resolved lint warnings * replace webpack w/ vite * update all imports with alias @ and scss * vite environment variables, also typed * upgraded eslint, defined new rules & added ignore comments * resolved linting issues * moved index.html to project root * updated dockerfile w/ build stage before runtime image definition * sign drone config
This commit is contained in:
@@ -67,7 +67,7 @@ export interface IMovie {
|
||||
backdrop: string;
|
||||
release_date: string | Date;
|
||||
rating: number;
|
||||
genres: Array<MovieGenres>;
|
||||
genres: MovieGenres[];
|
||||
production_status: MovieProductionStatus;
|
||||
tagline: string;
|
||||
runtime: number;
|
||||
@@ -88,9 +88,9 @@ export interface IShow {
|
||||
seasons?: number;
|
||||
episodes?: number;
|
||||
popularity?: number;
|
||||
genres?: Array<ShowGenres>;
|
||||
genres?: ShowGenres[];
|
||||
production_status?: string;
|
||||
runtime?: Array<number>;
|
||||
runtime?: number[];
|
||||
exists_in_plex?: boolean;
|
||||
type: MediaTypes.Show;
|
||||
}
|
||||
@@ -135,19 +135,19 @@ export interface ICrew {
|
||||
}
|
||||
|
||||
export interface IMediaCredits {
|
||||
cast: Array<ICast>;
|
||||
crew: Array<ICrew>;
|
||||
cast: ICast[];
|
||||
crew: ICrew[];
|
||||
id: number;
|
||||
}
|
||||
|
||||
export interface IPersonCredits {
|
||||
cast: Array<IMovie | IShow>;
|
||||
crew: Array<ICrew>;
|
||||
cast: (IMovie | IShow)[];
|
||||
crew: ICrew[];
|
||||
id: number;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export type ListResults = Array<IMovie | IShow | IPerson | IRequest>;
|
||||
export type ListResults = (IMovie | IShow | IPerson | IRequest)[];
|
||||
|
||||
export interface IList {
|
||||
results: ListResults;
|
||||
|
||||
Reference in New Issue
Block a user