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

15 lines
332 B
TypeScript
Raw Normal View History

2026-09-27 17:04:15 -05:00
import { Soapstone } from 'soapstone';
import {
2024-09-17 22:13:35 -05:00
type TankopediaSortBy,
type TankopediaSortDirection,
2024-07-09 14:43:33 -05:00
} from './tankopediaPersistent';
2024-07-02 19:19:15 -05:00
2025-09-01 18:13:41 -05:00
export interface TankSort {
2024-07-02 19:19:15 -05:00
by: TankopediaSortBy;
direction: TankopediaSortDirection;
}
2026-09-27 17:04:15 -05:00
export const TankSort = new Soapstone<TankSort>({
2024-09-17 22:13:35 -05:00
by: 'meta.none',
direction: 'descending',
2025-09-01 18:13:41 -05:00
});