mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 03:49:07 +00:00
Feat: Dynamic colors (#101)
* On every route change, update local variables from query params * ResultSection is keyed to query to force re-render * 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 * dynamic colors from poster for popup bg & text colors * more torrents nav button now link elem & better for darker bg * make list item title clickable * removed extra no-shadow eslint rule definitions * fixed movie import * adhere to eslint rules & package.json clean command * remove debounce autocomplete search, track & hault on failure
This commit is contained in:
@@ -29,7 +29,7 @@ export interface Hits {
|
||||
}
|
||||
|
||||
export interface Hit {
|
||||
_index: Index;
|
||||
_index: string;
|
||||
_type: Type;
|
||||
_id: string;
|
||||
_score: number;
|
||||
@@ -58,11 +58,6 @@ export interface Option {
|
||||
_source: Source;
|
||||
}
|
||||
|
||||
export enum Index {
|
||||
Movies = "movies",
|
||||
Shows = "shows"
|
||||
}
|
||||
|
||||
export interface Source {
|
||||
tags: Tag[];
|
||||
ecs: Ecs;
|
||||
@@ -79,7 +74,7 @@ export interface Source {
|
||||
original_title: string;
|
||||
original_name?: string;
|
||||
name?: string;
|
||||
type?: MediaTypes;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface Agent {
|
||||
|
||||
5
src/interfaces/IColors.ts
Normal file
5
src/interfaces/IColors.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export interface IColors {
|
||||
bg: string;
|
||||
p: string;
|
||||
s?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user