feat(network): Support for adding tags to Sonarr

This commit is contained in:
2024-11-22 14:58:14 -07:00
parent ce701c1ab7
commit 57eced64c0
10 changed files with 127 additions and 20 deletions
+5 -1
View File
@@ -12,7 +12,7 @@ use crate::serde_enum_from;
use super::{
servarr_models::{
HostConfig, Indexer, Language, LogResponse, QualityProfile, QualityWrapper, QueueEvent,
Release, RootFolder, SecurityConfig,
Release, RootFolder, SecurityConfig, Tag,
},
EnumDisplayStyle, HorizontallyScrollableText, Serdeable,
};
@@ -409,6 +409,8 @@ pub enum SonarrSerdeable {
SonarrHistoryItems(Vec<SonarrHistoryItem>),
SonarrHistoryWrapper(SonarrHistoryWrapper),
SystemStatus(SystemStatus),
Tag(Tag),
Tags(Vec<Tag>),
BlocklistResponse(BlocklistResponse),
LogResponse(LogResponse),
}
@@ -444,6 +446,8 @@ serde_enum_from!(
SonarrHistoryItems(Vec<SonarrHistoryItem>),
SonarrHistoryWrapper(SonarrHistoryWrapper),
SystemStatus(SystemStatus),
Tag(Tag),
Tags(Vec<Tag>),
BlocklistResponse(BlocklistResponse),
LogResponse(LogResponse),
}