add support for full playlist re-order (#1327)

This commit is contained in:
jeffvli
2025-12-06 17:41:10 -08:00
parent 126b5ed67d
commit 0a7029f7bc
28 changed files with 1301 additions and 59 deletions
+3
View File
@@ -5,11 +5,14 @@ import { ItemListKey } from '/@/shared/types/types';
interface ListContextProps {
customFilters?: Record<string, unknown>;
id?: string;
isSmartPlaylist?: boolean;
itemCount?: number;
listData?: unknown[];
mode?: 'edit' | 'view';
pageKey: ItemListKey | string;
setItemCount?: (itemCount: number) => void;
setListData?: (items: unknown[]) => void;
setMode?: (mode: 'edit' | 'view') => void;
}
export const ListContext = createContext<ListContextProps>({