export const API_URL = "/api"; export const endpoints = { index: { last: `${API_URL}/index/last`, ongoing: `${API_URL}/index/ongoing`, announce: `${API_URL}/index/announce`, finished: `${API_URL}/index/finished`, }, search: `${API_URL}/search`, user: { profile: `${API_URL}/profile`, auth: `${API_URL}/auth`, history: `${API_URL}/favorites/history`, bookmarks: { watching: `${API_URL}/favorites/watching`, planned: `${API_URL}/favorites/planned`, watched: `${API_URL}/favorites/watched`, delayed: `${API_URL}/favorites/delayed`, abandoned: `${API_URL}/favorites/abandoned`, }, }, release: `${API_URL}/release`, };