pinakes-tui: cover more API routes in the TUI crate

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id14b6f82d3b9f3c27bee9c214a1bdedc6a6a6964
This commit is contained in:
raf 2026-03-21 02:19:55 +03:00
commit 8129c5a6e7
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
8 changed files with 1866 additions and 67 deletions

View file

@ -28,6 +28,23 @@ pub enum ApiResult {
BookAuthors(Vec<crate::client::AuthorSummary>),
MediaUpdated,
ReadingProgressUpdated,
// Playlists
PlaylistsLoaded(Vec<crate::client::PlaylistResponse>),
PlaylistItemsLoaded(Vec<crate::client::MediaResponse>),
// Social
CommentsLoaded(Vec<crate::client::CommentResponse>),
RatingSet(u8),
FavoriteToggled,
// Subtitles
SubtitlesLoaded(crate::client::SubtitleListResponse),
// Enrichment / transcode
EnrichmentTriggered,
TranscodeStarted,
// Admin
UsersLoaded(Vec<crate::client::UserResponse>),
SyncDevicesLoaded(Vec<crate::client::DeviceResponse>),
WebhooksLoaded(Vec<crate::client::WebhookInfo>),
TranscodesLoaded(Vec<crate::client::TranscodeSessionResponse>),
Error(String),
}