feat: search

This commit is contained in:
TrèsAbhi committed 2026-04-27 19:57:44 -05:00
1 parent 385cc3b6d2
commit d6e37119a8
12 files changed
+98 -17

No files matched your search

@@ -0,0 +1,9 @@
import { Varuna } from "varuna";
interface TankFilters {
search?: string;
}
export const TankFilters = new Varuna<TankFilters>({
search: undefined,
});
+2 -2
View File
@@ -1,4 +1,4 @@
import type { TankCatalogComponent } from "@protos/blitz_static_tank_component";
import type { TankCatalogComponent } from "@protos/game/proto/legacy/blitz_static_tank_component";
import { Varuna } from "varuna";
import { createTankState } from "../core/tankopedia/createTankState";
import { type TankState } from "../core/tankopedia/tankState";
@@ -18,5 +18,5 @@ export const Tankopedia = new Varuna<Tankopedia, TankCatalogComponent>(
(tank) => ({
compare: TankopediaCompare.TierAndClass,
protagonist: createTankState(tank),
})
}),
);