mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
performance table rewrite and shared sort direction
This commit is contained in:
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,
|
||||
});
|
||||
Reference in new issue
Block a user