chore: remove unused web code and dependencies

This commit is contained in:
richjohnrambo
2026-10-14 14:10:41 +08:00
parent b7f214daf5
commit 440e29975a
23 changed files with 29 additions and 2289 deletions
-4
View File
@@ -80,10 +80,6 @@ export function getFavorites(type: FavoriteType | 'all' = 'all', query = '', cur
return imGet<{ items: Favorite[]; next_cursor?: string }>(`/favorites?${qs.toString()}`);
}
export function getFavorite(favoriteId: string) {
return imGet<Favorite>(`/favorites/${encodeURIComponent(favoriteId)}`);
}
export function deleteFavorite(favoriteId: string) {
return imDelete<{ favorite_id: string; deleted: boolean }>(`/favorites/${encodeURIComponent(favoriteId)}`);
}