Initial project snapshot

This commit is contained in:
2026-04-28 22:29:50 +03:00
commit 8ba0561f4f
365 changed files with 91832 additions and 0 deletions
@@ -0,0 +1,28 @@
using System.Text.Json;
using System.Text.Json.Serialization;
namespace RemoteAccessPlatform.Windows.Models;
public sealed class LocalizedMessageDto
{
[JsonPropertyName("code")]
public string Code { get; set; } = string.Empty;
[JsonPropertyName("message_key")]
public string MessageKey { get; set; } = string.Empty;
[JsonPropertyName("fallback_message")]
public string FallbackMessage { get; set; } = string.Empty;
[JsonPropertyName("details")]
public Dictionary<string, JsonElement>? Details { get; set; }
[JsonPropertyName("trace_id")]
public string? TraceId { get; set; }
}
public sealed class BackendErrorEnvelopeDto
{
[JsonPropertyName("error")]
public LocalizedMessageDto Error { get; set; } = new();
}