1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
export const globalSkipKeys = [
"id",
"internalname",
"internalName",
"gameInternalName",
"userId",
"chartId"
];
export function getFilterOptions(game: string): { value: string; label: string }[] {
switch (game) {
case "dancerush":
return [
{ value: "timestamp", label: "Recently Played" },
{ value: "score", label: "Score" },
{ value: "lamp", label: "Rank" },
{ value: "lamp_diff", label: "Difficulty"}
];
default:
return [
{ value: "timestamp", label: "Recent" },
{ value: "score", label: "Score" },
];
}
}
|