Added initial voice work search provider logic.

This commit is contained in:
2025-08-31 01:26:38 -04:00
parent 2785566801
commit 3d0b2ed31d
29 changed files with 656 additions and 58 deletions

View File

@@ -0,0 +1,28 @@
using JSMR.Application.Common;
namespace JSMR.Application.VoiceWorks.Queries.Search;
public class VoiceWorkSearchCriteria
{
public string? Keywords { get; init; }
public string? Title { get; init; }
public string? Circle { get; init; }
public SaleStatus? SaleStatus { get; init; }
public CircleStatus? CircleStatus { get; init; }
public TagStatus? TagStatus { get; init; }
public CreatorStatus? CreatorStatus { get; init; }
public int[] TagIds { get; init; } = [];
public bool IncludeAllTags { get; init; }
public int[] CreatorIds { get; init; } = [];
public bool IncludeAllCreators { get; init; }
public Locale Locale { get; init; } = Locale.Japanese;
public DateTime? ReleaseDateStart { get; init; }
public DateTime? ReleaseDateEnd { get; init; }
public AgeRating[] AgeRatings { get; init; } = [];
public Language[] SupportedLanguages { get; init; } = [];
public AIGeneration[] AIGenerationOptions { get; init; } = [];
public bool ShowFavoriteVoiceWorks { get; init; }
public bool ShowInvalidVoiceWorks { get; init; }
public int? MinDownloads { get; init; }
public int? MaxDownloads { get; init; }
}