import { createContext } from 'react';

export const InitConfig = 0;

export interface InitCurrentPlaylistIDContextType {
  currentPlaylistID: number;
  setCurrentPlaylistID: (currentPlaylist: number) => void;
}

export const InitCurrentPlaylistIDContext: InitCurrentPlaylistIDContextType = {
  currentPlaylistID: InitConfig,
  setCurrentPlaylistID: (currentPlaylist: number) => void 0,
};

export const CurrentPlaylistIDContext = createContext(InitCurrentPlaylistIDContext);
