2026-10-15 00:38:01 -05:00
|
|
|
import { Soapstone } from "soapstone";
|
2026-11-15 17:28:43 -06:00
|
|
|
import type { RenderedCharacteristicName } from "../types/characteristics";
|
2026-10-15 00:38:01 -05:00
|
|
|
import { TankopediaSortDirection } from "./tankopediaPersistent";
|
2024-07-02 19:19:15 -05:00
|
|
|
|
2025-09-01 18:13:41 -05:00
|
|
|
export interface TankSort {
|
2026-11-15 17:28:43 -06:00
|
|
|
by: RenderedCharacteristicName | null;
|
2024-07-02 19:19:15 -05:00
|
|
|
direction: TankopediaSortDirection;
|
|
|
|
|
}
|
|
|
|
|
|
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: TankopediaSortDirection.Descending,
|
2025-09-01 18:13:41 -05:00
|
|
|
});
|