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 {
|
||||
Stable,
|
||||
Experimental,
|
||||
Dashboard,
|
||||
Dashboard
|
||||
}
|
||||
|
||||
export interface AsyncRoute {
|
||||
|
|
|
@ -5,7 +5,7 @@ import './emby-button.scss';
|
|||
|
||||
enum IconPosition {
|
||||
RIGHT = 'RIGHT',
|
||||
LEFT = 'LEFT',
|
||||
LEFT = 'LEFT'
|
||||
}
|
||||
|
||||
interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>,
|
||||
|
|
|
@ -3,7 +3,7 @@ import globalize from 'lib/globalize';
|
|||
|
||||
export enum ScrollDirection {
|
||||
RIGHT = 'right',
|
||||
LEFT = 'left',
|
||||
LEFT = 'left'
|
||||
}
|
||||
|
||||
interface ScrollState {
|
||||
|
|
|
@ -16,20 +16,20 @@ export enum FeatureFilters {
|
|||
HasTrailer = 'HasTrailer',
|
||||
HasSpecialFeature = 'HasSpecialFeature',
|
||||
HasThemeSong = 'HasThemeSong',
|
||||
HasThemeVideo = 'HasThemeVideo',
|
||||
HasThemeVideo = 'HasThemeVideo'
|
||||
}
|
||||
|
||||
export enum EpisodeFilter {
|
||||
ParentIndexNumber = 'ParentIndexNumber',
|
||||
IsMissing = 'IsMissing',
|
||||
IsUnaired = 'IsUnaired',
|
||||
IsUnaired = 'IsUnaired'
|
||||
}
|
||||
|
||||
export enum VideoBasicFilter {
|
||||
IsSD = 'IsSD',
|
||||
IsHD = 'IsHD',
|
||||
Is4K = 'Is4K',
|
||||
Is3D = 'Is3D',
|
||||
Is3D = 'Is3D'
|
||||
}
|
||||
|
||||
export interface Filters {
|
||||
|
@ -49,7 +49,7 @@ export interface Filters {
|
|||
|
||||
export enum ViewMode {
|
||||
GridView = 'grid',
|
||||
ListView = 'list',
|
||||
ListView = 'list'
|
||||
}
|
||||
|
||||
export interface LibraryViewSettings {
|
||||
|
|
|
@ -23,5 +23,5 @@ export enum LibraryTab {
|
|||
PhotoAlbums = 'photoalbums',
|
||||
Photos = 'photos',
|
||||
Videos = 'videos',
|
||||
Books = 'books',
|
||||
Books = 'books'
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ export enum SectionApiMethod {
|
|||
RecommendedPrograms = 'RecommendedPrograms',
|
||||
LiveTvPrograms = 'liveTvPrograms',
|
||||
Recordings = 'Recordings',
|
||||
RecordingFolders = 'RecordingFolders',
|
||||
RecordingFolders = 'RecordingFolders'
|
||||
}
|
||||
|
||||
export enum SectionType {
|
||||
|
|
|
@ -13,7 +13,7 @@ export enum CardShape {
|
|||
Mixed = 'mixed',
|
||||
MixedSquare = 'mixedSquare',
|
||||
MixedBackdrop = 'mixedBackdrop',
|
||||
MixedPortrait = 'mixedPortrait',
|
||||
MixedPortrait = 'mixedPortrait'
|
||||
}
|
||||
|
||||
export function getSquareShape(enableOverflow = true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue