Change abstract back to normal class for JsonRPCExecuteResponse.cs; Cleanup unused classes

This commit is contained in:
Hongtao Zhang 2023-06-25 12:21:45 +08:00
parent 32bbf1eaf0
commit cb6fb80e70
2 changed files with 1 additions and 2 deletions

View file

@ -19,7 +19,6 @@ using System.Text.Json;
namespace Flow.Launcher.Core.Plugin
{
public record JsonRPCRequestMessage(PluginMetadata PluginMetadata, IAsyncEnumerable<JsonRPCRequestModel> Requests);
public record JsonRPCBase(int Id, JsonRPCErrorModel Error = default);
public record JsonRPCErrorModel(int Code, string Message, string Data);

View file

@ -1,4 +1,4 @@
namespace Flow.Launcher.Core.Plugin.JsonRPCV2Models
{
public abstract record JsonRPCExecuteResponse(bool Hide = true);
public record JsonRPCExecuteResponse(bool Hide = true);
}