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

50 lines
1.3 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;
NameLessThan?: string;
NameStartsWith?: string;
}
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;
}