mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-19 11:53:25 +01:00
feat: start of charts
This commit is contained in:
1 parent
b6fd5eaa66
commit
eb95230a5f
11 files changed
+192
-165
No files matched your search
@@ -4,12 +4,6 @@ import { createContextualStore } from '../core/zustand/createContextualStore';
|
||||
|
||||
export interface TankPerformanceEphemeral {
|
||||
playerCountPeriod: PlayerCountPeriod;
|
||||
mode: TankPerformanceMode;
|
||||
}
|
||||
|
||||
export enum TankPerformanceMode {
|
||||
Table,
|
||||
Charts,
|
||||
}
|
||||
|
||||
export type PlayerCountPeriod = keyof Samples;
|
||||
@@ -17,6 +11,5 @@ export type PlayerCountPeriod = keyof Samples;
|
||||
export const TankPerformanceEphemeral = createContextualStore(() =>
|
||||
create<TankPerformanceEphemeral>()(() => ({
|
||||
playerCountPeriod: 'd_30',
|
||||
mode: TankPerformanceMode.Table,
|
||||
})),
|
||||
);
|
||||
Reference in new issue
Block a user