mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: spotify like table
This commit is contained in:
1 parent
37adc04cda
commit
e1a6e4e38d
12 files changed
+159
-114
No files matched your search
@@ -1,14 +1,16 @@
|
||||
import type { TankDefinition } from "@blitzkit/core";
|
||||
import { Varuna } from "varuna";
|
||||
|
||||
export interface PlaylistEntry {
|
||||
tank: TankDefinition;
|
||||
battles?: number;
|
||||
wins?: number;
|
||||
checked: boolean;
|
||||
last?: number;
|
||||
}
|
||||
|
||||
export interface Playlist {
|
||||
list?: {
|
||||
index: number;
|
||||
tank: TankDefinition;
|
||||
battles?: number;
|
||||
wins?: number;
|
||||
checked: boolean;
|
||||
}[];
|
||||
list?: PlaylistEntry[];
|
||||
}
|
||||
|
||||
export const Playlist = new Varuna<Playlist>({}, "playlist");
|
||||
Reference in new issue
Block a user