2024-08-11 23:58:54 +02:00
|
|
|
using System.Text.Json.Serialization;
|
2024-08-05 00:36:26 +02:00
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
namespace Wino.Core.Domain.Models.Reader;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to pass messages from the webview to the app.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class WebViewMessage
|
2024-08-05 00:36:26 +02:00
|
|
|
{
|
2025-02-16 11:54:23 +01:00
|
|
|
[JsonPropertyName("type")]
|
|
|
|
|
public string Type { get; set; }
|
2024-08-05 00:36:26 +02:00
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
[JsonPropertyName("value")]
|
|
|
|
|
public string Value { get; set; }
|
2024-08-05 00:36:26 +02:00
|
|
|
}
|