mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix eslint errors
This commit is contained in:
parent
018d8d3f83
commit
8a6f33fff8
18 changed files with 48 additions and 48 deletions
|
@ -3,7 +3,7 @@ import type { RouteObject } from 'react-router-dom';
|
||||||
export enum AsyncRouteType {
|
export enum AsyncRouteType {
|
||||||
Stable,
|
Stable,
|
||||||
Experimental,
|
Experimental,
|
||||||
Dashboard,
|
Dashboard
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AsyncRoute {
|
export interface AsyncRoute {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import './emby-button.scss';
|
||||||
|
|
||||||
enum IconPosition {
|
enum IconPosition {
|
||||||
RIGHT = 'RIGHT',
|
RIGHT = 'RIGHT',
|
||||||
LEFT = 'LEFT',
|
LEFT = 'LEFT'
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>,
|
interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>,
|
||||||
|
|
|
@ -3,7 +3,7 @@ import globalize from 'lib/globalize';
|
||||||
|
|
||||||
export enum ScrollDirection {
|
export enum ScrollDirection {
|
||||||
RIGHT = 'right',
|
RIGHT = 'right',
|
||||||
LEFT = 'left',
|
LEFT = 'left'
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ScrollState {
|
interface ScrollState {
|
||||||
|
|
|
@ -16,20 +16,20 @@ export enum FeatureFilters {
|
||||||
HasTrailer = 'HasTrailer',
|
HasTrailer = 'HasTrailer',
|
||||||
HasSpecialFeature = 'HasSpecialFeature',
|
HasSpecialFeature = 'HasSpecialFeature',
|
||||||
HasThemeSong = 'HasThemeSong',
|
HasThemeSong = 'HasThemeSong',
|
||||||
HasThemeVideo = 'HasThemeVideo',
|
HasThemeVideo = 'HasThemeVideo'
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum EpisodeFilter {
|
export enum EpisodeFilter {
|
||||||
ParentIndexNumber = 'ParentIndexNumber',
|
ParentIndexNumber = 'ParentIndexNumber',
|
||||||
IsMissing = 'IsMissing',
|
IsMissing = 'IsMissing',
|
||||||
IsUnaired = 'IsUnaired',
|
IsUnaired = 'IsUnaired'
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum VideoBasicFilter {
|
export enum VideoBasicFilter {
|
||||||
IsSD = 'IsSD',
|
IsSD = 'IsSD',
|
||||||
IsHD = 'IsHD',
|
IsHD = 'IsHD',
|
||||||
Is4K = 'Is4K',
|
Is4K = 'Is4K',
|
||||||
Is3D = 'Is3D',
|
Is3D = 'Is3D'
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Filters {
|
export interface Filters {
|
||||||
|
@ -49,7 +49,7 @@ export interface Filters {
|
||||||
|
|
||||||
export enum ViewMode {
|
export enum ViewMode {
|
||||||
GridView = 'grid',
|
GridView = 'grid',
|
||||||
ListView = 'list',
|
ListView = 'list'
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface LibraryViewSettings {
|
export interface LibraryViewSettings {
|
||||||
|
|
|
@ -23,5 +23,5 @@ export enum LibraryTab {
|
||||||
PhotoAlbums = 'photoalbums',
|
PhotoAlbums = 'photoalbums',
|
||||||
Photos = 'photos',
|
Photos = 'photos',
|
||||||
Videos = 'videos',
|
Videos = 'videos',
|
||||||
Books = 'books',
|
Books = 'books'
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ export enum SectionApiMethod {
|
||||||
RecommendedPrograms = 'RecommendedPrograms',
|
RecommendedPrograms = 'RecommendedPrograms',
|
||||||
LiveTvPrograms = 'liveTvPrograms',
|
LiveTvPrograms = 'liveTvPrograms',
|
||||||
Recordings = 'Recordings',
|
Recordings = 'Recordings',
|
||||||
RecordingFolders = 'RecordingFolders',
|
RecordingFolders = 'RecordingFolders'
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum SectionType {
|
export enum SectionType {
|
||||||
|
|
|
@ -13,7 +13,7 @@ export enum CardShape {
|
||||||
Mixed = 'mixed',
|
Mixed = 'mixed',
|
||||||
MixedSquare = 'mixedSquare',
|
MixedSquare = 'mixedSquare',
|
||||||
MixedBackdrop = 'mixedBackdrop',
|
MixedBackdrop = 'mixedBackdrop',
|
||||||
MixedPortrait = 'mixedPortrait',
|
MixedPortrait = 'mixedPortrait'
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getSquareShape(enableOverflow = true) {
|
export function getSquareShape(enableOverflow = true) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue