initial implementation of play queue for new list

This commit is contained in:
jeffvli
2025-11-08 14:28:31 -08:00
parent d5020b7a43
commit d8222e9c8c
7 changed files with 82 additions and 349 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
import Fuse from 'fuse.js';
import { Song } from '/@/shared/types/domain-types';
import { QueueSong } from '/@/shared/types/domain-types';
export const searchSongs = (songs: Song[], searchTerm: string) => {
export const searchSongs = (songs: QueueSong[], searchTerm: string) => {
const fuse = new Fuse(songs, {
fieldNormWeight: 1,
ignoreLocation: true,