aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/types/constants.ts
blob: 1e44b212faed9c50c56898490a0e2a5a64ad9e21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export const EamuseImportInfo: Record<string, { scorePage: string }> = {
  dancerush: {
    scorePage: "https://p.eagate.573.jp/game/dan/1st/playdata/entrance.html#music_data",
  },
};

export function getFilterOptions(game: string): { value: string; label: string }[] {
  switch (game) {
    case "dancerush":
      return [
        { value: "timestamp", label: "Recent" },
        { value: "score", label: "Score" },
        { value: "lamp", label: "Rank" },
        { value: "lamp_diff", label: "Difficulty"}
      ];
    default:
      return [
        { value: "timestamp", label: "Recent" },
        { value: "score", label: "Score" },
      ];
  }
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage