Add 'byData' as playqueue add option

This commit is contained in:
jeffvli 2022-12-28 15:31:04 -08:00
parent 0edba7e222
commit 8ebe882236
2 changed files with 27 additions and 3 deletions

View file

@ -1,4 +1,4 @@
import { Album, AlbumArtist, Artist } from '/@/renderer/api/types';
import { Album, AlbumArtist, Artist, QueueSong } from '/@/renderer/api/types';
import { AppRoute } from '/@/renderer/router/routes';
export type TablePagination = {
@ -157,8 +157,8 @@ export enum TableColumn {
}
export type PlayQueueAddOptions = {
// byData?: any[];
byItemType: {
byData?: QueueSong[];
byItemType?: {
id: string;
type: LibraryItem;
};