summaryrefslogtreecommitdiff
path: root/app/lib/constants.ts
blob: 8c9fb28d169354f76aac688aacbd9f979fb8ab57 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
export const LINK_TYPES = [
  { value: "official",    label: "公式サイト" },
  { value: "x",          label: "X" },
  { value: "instagram",  label: "Instagram" },
  { value: "youtube",    label: "YouTube" },
  { value: "spotify",    label: "Spotify" },
  { value: "apple_music",label: "Apple Music" },
  { value: "wikipedia",  label: "Wikipedia" },
  { value: "soundcloud", label: "SoundCloud" },
  { value: "bandcamp",   label: "Bandcamp" },
  { value: "tiktok",     label: "TikTok" },
  { value: "linktree",   label: "Linktree" },
  { value: "other",      label: "その他" },
] as const;

export type LinkTypeValue = (typeof LINK_TYPES)[number]["value"];

export const LINK_TYPE_LABEL: Record<string, string> = Object.fromEntries(
  LINK_TYPES.map((t) => [t.value, t.label])
);

export const ARTIST_ROLES = [
  "Vocal",
  "Guitar",
  "Bass",
  "Drums",
  "Keyboard",
  "Synthesizer",
  "Violin",
  "Trumpet",
  "Saxophone",
  "Percussion",
  "DJ",
  "Producer",
  "Support",
] as const;