mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Change type name, add paginated table
This commit is contained in:
parent
1883164150
commit
5ed06f79b3
8 changed files with 25 additions and 30 deletions
|
|
@ -19,16 +19,11 @@ export type CardRow<T> = {
|
|||
route?: CardRoute;
|
||||
};
|
||||
|
||||
export enum CardDisplayType {
|
||||
CARD = 'card',
|
||||
POSTER = 'poster',
|
||||
TABLE = 'table',
|
||||
}
|
||||
|
||||
export enum ListDisplayType {
|
||||
CARD = 'card',
|
||||
POSTER = 'poster',
|
||||
TABLE = 'table',
|
||||
TABLE_PAGINATED = 'paginatedTable',
|
||||
}
|
||||
|
||||
export enum LibraryItem {
|
||||
|
|
@ -164,7 +159,7 @@ export type GridCardData = {
|
|||
cardControls: any;
|
||||
cardRows: CardRow<Album | AlbumArtist | Artist>[];
|
||||
columnCount: number;
|
||||
display: CardDisplayType;
|
||||
display: ListDisplayType;
|
||||
handlePlayQueueAdd: (options: PlayQueueAddOptions) => void;
|
||||
itemCount: number;
|
||||
itemData: any[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue