fix(search): the live-search tooltip says what a search costs

It always said a live search spends the shared API quota, while the default source (the website's
own endpoint, scrape) spends none — the owner avoided a free search because of it. /api/me now names
the running search_source, and the tooltip names the cost under it: none for scrape (the enrich step
costs a unit or two), 100 units a page for the official API.
This commit is contained in:
2026-10-04 17:53:19 +02:00
parent ce8ccfc3c0
commit 0e077b84c8
8 changed files with 85 additions and 3 deletions
+1
View File
@@ -20,6 +20,7 @@ export interface Me {
has_password: boolean;
google_enabled: boolean;
plex_enabled: boolean;
search_source: "scrape" | "api";
can_read: boolean;
can_write: boolean;
pending_invites: number;