mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: test tank filters
This commit is contained in:
1 parent
2ce083222e
commit
604e751bf4
6 files changed
+43
-5
No files matched your search
@@ -6,6 +6,7 @@ import { Tier } from '../core/blitzkrieg/definitions/tanks';
|
||||
|
||||
export type TankopediaSortBy = 'tier' | 'name';
|
||||
export type TankopediaSortDirection = 'ascending' | 'descending';
|
||||
export type TankopediaTestTankDisplay = 'include' | 'exclude' | 'only';
|
||||
|
||||
type Tankopedia = {
|
||||
sort: {
|
||||
@@ -17,6 +18,7 @@ type Tankopedia = {
|
||||
types: TankType[];
|
||||
treeTypes: TreeTypeString[];
|
||||
nations: string[];
|
||||
test: TankopediaTestTankDisplay;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -33,6 +35,7 @@ export const useTankopedia = create<Tankopedia>()(
|
||||
types: [],
|
||||
treeTypes: [],
|
||||
nations: [],
|
||||
test: 'include',
|
||||
},
|
||||
}),
|
||||
{ name: 'tankopedia' },
|
||||
|
||||
Reference in new issue
Block a user