mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
sorting
This commit is contained in:
1 parent
8ec7fcb90a
commit
b00a63a9f8
19 files changed
+340
-736
No files matched your search
@@ -1,15 +1,13 @@
|
||||
import { Soapstone } from 'soapstone';
|
||||
import {
|
||||
type TankopediaSortBy,
|
||||
type TankopediaSortDirection,
|
||||
} from './tankopediaPersistent';
|
||||
import { Soapstone } from "soapstone";
|
||||
import type { CharacteristicName } from "../types/characteristics";
|
||||
import { TankopediaSortDirection } from "./tankopediaPersistent";
|
||||
|
||||
export interface TankSort {
|
||||
by: TankopediaSortBy;
|
||||
by: CharacteristicName | null;
|
||||
direction: TankopediaSortDirection;
|
||||
}
|
||||
|
||||
export const TankSort = new Soapstone<TankSort>({
|
||||
by: 'meta.none',
|
||||
direction: 'descending',
|
||||
by: null,
|
||||
direction: TankopediaSortDirection.Descending,
|
||||
});
|
||||
Reference in new issue
Block a user