Separation of messages. Introducing Wino.Messages library.

This commit is contained in:
Burak Kaan Köse
2024-07-16 14:56:46 +02:00
parent 76375c9471
commit 3b8454269e
60 changed files with 505 additions and 120 deletions

View File

@@ -0,0 +1,16 @@
using Newtonsoft.Json;
namespace Wino.Core.Domain.Models.Reader
{
/// <summary>
/// Used to pass messages from the webview to the app.
/// </summary>
public class WebViewMessage
{
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("value")]
public string Value { get; set; }
}
}