Added voice work image fallback. Added tag/creator/circle chip components. Updated voice work search response to include favorite/blacklisted flags for tags/creators/circles.
Some checks failed
ci / build-test (push) Has been cancelled
ci / publish-image (push) Has been cancelled

This commit is contained in:
2026-02-22 01:56:04 -05:00
parent 9f30ef446a
commit 8348603b13
17 changed files with 521 additions and 23 deletions

View File

@@ -27,18 +27,31 @@ public record VoiceWorkSearchResult
public byte Status { get; init; }
public byte SubtitleLanguage { get; init; }
public bool? IsValid { get; init; }
public required VoiceWorkCircleItem Circle { get; set; }
public VoiceWorkTagItem[] Tags { get; set; } = [];
public VoiceWorkCreatorItem[] Creators { get; set; } = [];
}
public class VoiceWorkCircleItem
{
public required string Name { get; init; }
public required string MakerId { get; init; }
public bool IsFavorite { get; init; }
public bool IsBlacklisted { get; init; }
}
public class VoiceWorkTagItem
{
public int TagId { get; set; }
public required string Name { get; set; }
public bool IsFavorite { get; set; }
public bool IsBlacklisted { get; set; }
}
public class VoiceWorkCreatorItem
{
public int CreatorId { get; set; }
public required string Name { get; set; }
public bool IsFavorite { get; set; }
public bool IsBlacklisted { get; set; }
}