mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 13:00:13 +02:00
add support for full playlist re-order (#1327)
This commit is contained in:
@@ -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>({
|
||||
|
||||
Reference in New Issue
Block a user