From cb6fb80e7089751c642ab82c48fb7d1c7a7940fd Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Sun, 25 Jun 2023 12:21:45 +0800 Subject: [PATCH] Change abstract back to normal class for JsonRPCExecuteResponse.cs; Cleanup unused classes --- Flow.Launcher.Core/Plugin/JsonPRCModel.cs | 1 - .../Plugin/JsonRPCV2Models/JsonRPCExecuteResponse.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/JsonPRCModel.cs b/Flow.Launcher.Core/Plugin/JsonPRCModel.cs index 41d961a6b..48606eea4 100644 --- a/Flow.Launcher.Core/Plugin/JsonPRCModel.cs +++ b/Flow.Launcher.Core/Plugin/JsonPRCModel.cs @@ -19,7 +19,6 @@ using System.Text.Json; namespace Flow.Launcher.Core.Plugin { - public record JsonRPCRequestMessage(PluginMetadata PluginMetadata, IAsyncEnumerable Requests); public record JsonRPCBase(int Id, JsonRPCErrorModel Error = default); public record JsonRPCErrorModel(int Code, string Message, string Data); diff --git a/Flow.Launcher.Core/Plugin/JsonRPCV2Models/JsonRPCExecuteResponse.cs b/Flow.Launcher.Core/Plugin/JsonRPCV2Models/JsonRPCExecuteResponse.cs index 632bb9501..6a130f70f 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCV2Models/JsonRPCExecuteResponse.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCV2Models/JsonRPCExecuteResponse.cs @@ -1,4 +1,4 @@ namespace Flow.Launcher.Core.Plugin.JsonRPCV2Models { - public abstract record JsonRPCExecuteResponse(bool Hide = true); + public record JsonRPCExecuteResponse(bool Hide = true); }