mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
feat: start of static armor mode
This commit is contained in:
1 parent
3d0c87579b
commit
ee58b3543e
5 files changed
+149
-93
No files matched your search
@@ -13,6 +13,7 @@ export type TankopediaSortBy = keyof typeof SORT_NAMES;
|
||||
export type TankopediaSortDirection = 'ascending' | 'descending';
|
||||
export type TankopediaTestTankDisplay = 'include' | 'exclude' | 'only';
|
||||
export type TankopediaMode = 'model' | 'armor';
|
||||
export type TankopediaArmorMode = 'blitz' | 'static';
|
||||
|
||||
export interface TankopediaPersistent {
|
||||
model: {
|
||||
@@ -39,6 +40,7 @@ export interface TankopediaPersistent {
|
||||
page: number;
|
||||
};
|
||||
mode: TankopediaMode;
|
||||
armorMode: TankopediaArmorMode;
|
||||
}
|
||||
|
||||
export const { Provider, use, useMutation, useStore } = createNextSafeStore(
|
||||
@@ -70,6 +72,7 @@ export const { Provider, use, useMutation, useStore } = createNextSafeStore(
|
||||
page: 0,
|
||||
},
|
||||
mode: 'model',
|
||||
armorMode: 'blitz',
|
||||
})),
|
||||
{ name: 'tankopedia', merge: (a, b) => merge(b, a) },
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user