mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
14 lines
377 B
TypeScript
14 lines
377 B
TypeScript
import { Soapstone } from "soapstone";
|
|
import type { RenderedCharacteristicName } from "../types/characteristics";
|
|
import { SortDirection } from "./tankopediaPersistent";
|
|
|
|
export interface TankSort {
|
|
by: RenderedCharacteristicName | null;
|
|
direction: SortDirection;
|
|
}
|
|
|
|
export const TankSort = new Soapstone<TankSort>({
|
|
by: null,
|
|
direction: SortDirection.Descending,
|
|
});
|