Add project files.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using JSMR.Application.Common;
|
||||
|
||||
namespace JSMR.Application.VoiceWorks.Search.Contracts;
|
||||
|
||||
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 VoiceWorkSort Sort { get; init; }
|
||||
//public VoiceWorkLanguage Language { get; init; }
|
||||
public DateTime? ReleaseDateStart { get; init; }
|
||||
public DateTime? ReleaseDateEnd { get; init; }
|
||||
//public List<AgeRating> AgeRatings { get; init; }
|
||||
public Language[] SupportedLanguages { get; init; } = [];
|
||||
//public List<AIGeneration> AIGenerationOptions { get; init; }
|
||||
public bool ShowFavoriteVoiceWorks { get; init; }
|
||||
public bool ShowInvalidVoiceWorks { get; init; }
|
||||
public int? MinDownloads { get; init; }
|
||||
public int? MaxDownloads { get; init; }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using JSMR.Application.Common.Search;
|
||||
|
||||
namespace JSMR.Application.VoiceWorks.Search.Contracts;
|
||||
|
||||
//public record VoiceWorkSearchOptions : SearchOptions<VoiceWorkSearchCriteria, VoiceWorkSortField>
|
||||
//{
|
||||
|
||||
//}
|
||||
@@ -0,0 +1,8 @@
|
||||
using JSMR.Application.Common.Search;
|
||||
|
||||
namespace JSMR.Application.VoiceWorks.Search.Contracts;
|
||||
|
||||
public record VoiceWorkSearchResults : SearchResult<object>
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace JSMR.Application.VoiceWorks.Search.Contracts;
|
||||
|
||||
public enum VoiceWorkSortField
|
||||
{
|
||||
ReleaseDateNewToOld,
|
||||
ReleaseDateOldToNew,
|
||||
BestSelling,
|
||||
MostWishedFor,
|
||||
SalesToWishlistRatio,
|
||||
StarRating
|
||||
}
|
||||
Reference in New Issue
Block a user