Files
blitzkit/packages/website/src/stores/tankopediaSort.ts
T

13 lines
377 B
TypeScript
Raw Normal View History

2026-10-15 00:38:01 -05:00
import { Soapstone } from "soapstone";
import type { RenderedCharacteristicName } from "../types/characteristics";
import { SortDirection } from "./tankopediaPersistent";
2024-07-02 19:19:15 -05:00
2025-09-01 18:13:41 -05:00
export interface TankSort {
by: RenderedCharacteristicName | null;
direction: SortDirection;
2024-07-02 19:19:15 -05:00
}
2026-09-27 17:04:15 -05:00
export const TankSort = new Soapstone<TankSort>({
2026-10-15 00:38:01 -05:00
by: null,
direction: SortDirection.Descending,
2025-09-01 18:13:41 -05:00
});