Added tag/creator status update functionality on the API and UI layers.
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
public record CreatorSearchItem
|
||||
{
|
||||
public int CreatorId { get; init; }
|
||||
public required string Name { get; init; }
|
||||
public bool Favorite { get; init; }
|
||||
public bool Blacklisted { get; init; }
|
||||
public int VoiceWorkCount { get; init; }
|
||||
public int CreatorId { get; set; }
|
||||
public required string Name { get; set; }
|
||||
public bool Favorite { get; set; }
|
||||
public bool Blacklisted { get; set; }
|
||||
public int VoiceWorkCount { get; set; }
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using JSMR.Application.Circles.Queries.Search;
|
||||
using JSMR.Application.Creators.Commands.UpdateCreatorStatus;
|
||||
using JSMR.Application.Creators.Queries.Search;
|
||||
using JSMR.Application.Scanning;
|
||||
using JSMR.Application.Tags.Commands.SetEnglishName;
|
||||
@@ -24,6 +25,7 @@ public static class ApplicationServiceCollectionExtensions
|
||||
services.AddScoped<UpdateTagStatusHandler>();
|
||||
|
||||
services.AddScoped<SearchCreatorsHandler>();
|
||||
services.AddScoped<UpdateCreatorStatusHandler>();
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
public record TagSearchItem
|
||||
{
|
||||
public int TagId { get; init; }
|
||||
public required string Name { get; init; }
|
||||
public bool Favorite { get; init; }
|
||||
public bool Blacklisted { get; init; }
|
||||
public string? EnglishName { get; init; }
|
||||
public int VoiceWorkCount { get; init; }
|
||||
public int TagId { get; set; }
|
||||
public required string Name { get; set; }
|
||||
public bool Favorite { get; set; }
|
||||
public bool Blacklisted { get; set; }
|
||||
public string? EnglishName { get; set; }
|
||||
public int VoiceWorkCount { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user