jellyfish-web/src/view/components/interface.ts

81 lines
2 KiB
TypeScript
Raw Normal View History

2022-10-03 01:44:54 +03:00
export interface QueryI {
2022-08-06 01:36:13 +03:00
SortBy?: string;
SortOrder?: string;
IncludeItemTypes?: string;
Recursive?: boolean;
Fields?: string;
ImageTypeLimit?: number;
2022-08-21 03:09:22 +03:00
EnableTotalRecordCount?: boolean;
2022-08-06 01:36:13 +03:00
EnableImageTypes?: string;
StartIndex: number;
ParentId?: string | null;
IsFavorite?: boolean;
2022-09-02 02:46:05 +03:00
IsMissing?: boolean;
2022-08-06 01:36:13 +03:00
Limit:number;
2022-10-03 02:33:43 +03:00
NameStartsWithOrGreater?: string;
2022-08-06 01:36:13 +03:00
NameLessThan?: string;
NameStartsWith?: string;
2022-10-03 02:33:43 +03:00
VideoTypes?: string;
GenreIds?: string;
Is4K?: boolean;
IsHD?: boolean;
Is3D?: boolean;
HasSubtitles?: boolean;
HasTrailer?: boolean;
HasSpecialFeature?: boolean;
HasThemeSong?: boolean;
HasThemeVideo?: boolean;
Filters?: string | null;
}
export interface FiltersI {
IsPlayed: boolean;
IsUnplayed: boolean;
IsFavorite: boolean;
IsResumable: boolean;
Is4K: boolean;
IsHD: boolean;
IsSD: boolean;
Is3D: boolean;
VideoTypes: string;
SeriesStatus: string;
HasSubtitles: string;
HasTrailer: string;
HasSpecialFeature: string;
HasThemeSong: string;
HasThemeVideo: string;
GenreIds: string;
2022-08-06 01:36:13 +03:00
}
2022-09-02 02:46:05 +03:00
2022-10-03 01:44:54 +03:00
export interface CardOptionsI {
2022-09-02 02:46:05 +03:00
itemsContainer?: HTMLElement;
parentContainer?: HTMLElement;
allowBottomPadding?: boolean;
centerText?: boolean;
coverImage?: boolean;
inheritThumb?: boolean;
overlayMoreButton?: boolean;
overlayPlayButton?: boolean;
overlayText?: boolean;
preferThumb?: boolean;
scalable?: boolean;
shape?: string;
lazy?: boolean;
cardLayout?: boolean;
showParentTitle?: boolean;
showParentTitleOrTitle?: boolean;
showAirTime?: boolean;
showAirDateTime?: boolean;
showChannelName?: boolean;
showTitle?: boolean;
showYear?: boolean;
showDetailsMenu?: boolean;
missingIndicator?: boolean;
showLocationTypeIndicator?: boolean;
showSeriesYear?: boolean;
showUnplayedIndicator?: boolean;
showChildCountIndicator?: boolean;
lines?: number;
context?: string;
}