A decentralized music tracking and discovery platform built on AT Protocol 馃幍
at fff48ea3213bb11efcfcb7db85be1dfcd2bebc5e 36 lines 851 B view raw
1export const API_URL = import.meta.env.VITE_API_URL || "http://localhost:8000"; 2export const WS_URL = import.meta.env.VITE_WS_URL || "ws://localhost:8002"; 3 4export const AUDIO_EXTENSIONS = [ 5 "mp3", 6 "ogg", 7 "flac", 8 "m4a", 9 "aac", 10 "mp4", 11 "alac", 12 "wav", 13 "wv", 14 "mpc", 15 "aiff", 16 "aif", 17 "ac3", 18 "opus", 19 "wma", 20]; 21 22export const LAST_7_DAYS = "LAST_7_DAYS"; 23export const LAST_30_DAYS = "LAST_30_DAYS"; 24export const LAST_90_DAYS = "LAST_90_DAYS"; 25export const LAST_180_DAYS = "LAST_180_DAYS"; 26export const LAST_365_DAYS = "LAST_365_DAYS"; 27export const ALL_TIME = "ALL_TIME"; 28 29export const LAST_DAYS_LABELS: Record<string, string> = { 30 [LAST_7_DAYS]: "Last 7 days", 31 [LAST_30_DAYS]: "Last 30 days", 32 [LAST_90_DAYS]: "Last 90 days", 33 [LAST_180_DAYS]: "Last 180 days", 34 [LAST_365_DAYS]: "Last 365 days", 35 [ALL_TIME]: "All Time", 36};