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.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user