1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add music view

This commit is contained in:
grafixeyehero 2023-10-28 22:10:46 +03:00 committed by Bill Thornton
parent 9e9274046e
commit a90d2f322e
5 changed files with 171 additions and 23 deletions

49
src/types/listOptions.ts Normal file
View file

@ -0,0 +1,49 @@
import { BaseItemDto } from '@jellyfin/sdk/lib/generated-client';
import { ItemSortBy } from '@jellyfin/sdk/lib/models/api/item-sort-by';
import { CollectionType } from './collectionType';
export interface ListOptions {
items?: BaseItemDto[] | null;
index?: string;
showIndex?: boolean;
action?: string | null;
imageSize?: string;
enableOverview?: boolean;
enableSideMediaInfo?: boolean;
playlistId?: string | null;
collectionId?: string | null;
context?: CollectionType;
parentId?: string | null;
border?: boolean;
highlight?: boolean;
dragHandle?: boolean;
showIndexNumberLeft?: boolean;
mediaInfo?: boolean;
recordButton?: boolean;
image?: boolean;
imageSource?: string;
defaultCardImageIcon?: string;
disableIndicators?: boolean;
imagePlayButton?: boolean;
showProgramDateTime?: boolean;
showProgramTime?: boolean;
showChannel?: boolean;
showParentTitle?: boolean;
showIndexNumber?: boolean;
parentTitleWithTitle?: boolean;
artist?: boolean;
includeParentInfoInTitle?: boolean;
addToListButton?: boolean;
infoButton?: boolean;
enableUserDataButtons?: boolean;
moreButton?: boolean;
rightButtons?: {
icon: string;
title: string;
id: string;
}[];
enablePlayedButton?: boolean;
enableRatingButton?: boolean;
smallIcon?: boolean;
sortBy?: ItemSortBy;
}