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

15 lines
323 B
TypeScript
Raw Normal View History

2025-09-01 18:13:41 -05:00
import { Varuna } from 'varuna';
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;
}
2025-09-01 18:13:41 -05:00
export const TankSort = new Varuna<TankSort>({
2024-09-17 22:13:35 -05:00
by: 'meta.none',
direction: 'descending',
2025-09-01 18:13:41 -05:00
});