Files
blitzkit/packages/website/src/stores/playlist.ts
T

14 lines
339 B
TypeScript
Raw Normal View History

2025-10-12 19:37:44 -05:00
import { Varuna } from "varuna";
2025-10-14 12:11:31 -05:00
export interface PlaylistEntry {
2025-10-14 21:36:37 -05:00
id: number;
then?: { battles: number; wins: number; last: number };
now?: { battles: number; wins: number; last: number };
checked?: boolean;
2025-10-14 12:11:31 -05:00
}
2025-10-12 19:37:44 -05:00
export interface Playlist {
2025-10-14 12:11:31 -05:00
list?: PlaylistEntry[];
2025-10-12 19:37:44 -05:00
}
export const Playlist = new Varuna<Playlist>({}, "playlist");