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

15 lines
336 B
TypeScript
Raw Normal View History

2024-09-17 22:13:35 -05:00
import { map } from 'nanostores';
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
export interface TankopediaSort {
by: TankopediaSortBy;
direction: TankopediaSortDirection;
}
2024-09-17 22:13:35 -05:00
export const $tankopediaSort = map<TankopediaSort>({
by: 'meta.none',
direction: 'descending',
});