From 0186cefb5253494e9b6ddab85152eff811fe0d5f Mon Sep 17 00:00:00 2001 From: Gabe Farrell Date: Wed, 19 Nov 2025 16:14:03 -0500 Subject: [PATCH] fix: rebase errors --- client/api/api.ts | 61 ----------------------------------------------- 1 file changed, 61 deletions(-) diff --git a/client/api/api.ts b/client/api/api.ts index 4205d7e..c7e0b96 100644 --- a/client/api/api.ts +++ b/client/api/api.ts @@ -157,10 +157,6 @@ function submitListen(id: string, ts: Date): Promise { }); } -function getCfg(): Promise { - return fetch(`/apis/web/v1/config`).then(r => r.json() as Promise) -} - function getApiKeys(): Promise { return fetch(`/apis/web/v1/user/apikeys`).then( (r) => r.json() as Promise @@ -281,7 +277,6 @@ function getNowPlaying(): Promise { } export { -<<<<<<< HEAD getLastListens, getTopTracks, getTopAlbums, @@ -313,37 +308,6 @@ export { submitListen, getNowPlaying, }; -======= - getLastListens, - getTopTracks, - getTopAlbums, - getTopArtists, - getActivity, - getStats, - search, - replaceImage, - mergeTracks, - mergeAlbums, - mergeArtists, - imageUrl, - login, - logout, - getCfg, - deleteItem, - updateUser, - getAliases, - createAlias, - deleteAlias, - setPrimaryAlias, - getApiKeys, - createApiKey, - deleteApiKey, - updateApiKeyLabel, - deleteListen, - getAlbum, - getExport, -} ->>>>>>> 5d0491a (feat: add server-side configuration with default theme (#90)) type Track = { id: number; title: string; @@ -426,7 +390,6 @@ type ApiKey = { created_at: Date; }; type ApiError = { -<<<<<<< HEAD error: string; }; type Config = { @@ -454,27 +417,3 @@ export type { Config, NowPlaying, }; -======= - error: string -} -type Config = { - default_theme: string -} - -export type { - getItemsArgs, - getActivityArgs, - Track, - Artist, - Album, - Listen, - SearchResponse, - PaginatedResponse, - ListenActivityItem, - User, - Alias, - ApiKey, - ApiError, - Config -} ->>>>>>> 5d0491a (feat: add server-side configuration with default theme (#90))