performance table rewrite and shared sort direction

This commit is contained in:
tresabhi committed 2026-11-17 22:01:46 -06:00
1 parent 966651284d
commit 0578f47914
38 files changed
+965 -874

No files matched your search

@@ -1,13 +1,13 @@
import { Soapstone } from "soapstone";
import type { RenderedCharacteristicName } from "../types/characteristics";
import { TankopediaSortDirection } from "./tankopediaPersistent";
import { SortDirection } from "./tankopediaPersistent";
export interface TankSort {
by: RenderedCharacteristicName | null;
direction: TankopediaSortDirection;
direction: SortDirection;
}
export const TankSort = new Soapstone<TankSort>({
by: null,
direction: TankopediaSortDirection.Descending,
direction: SortDirection.Descending,
});