New startup window.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Wino.Core.Domain.Models.Updates;
|
||||
|
||||
public class UpdateMigration
|
||||
{
|
||||
[JsonPropertyName("titleKey")]
|
||||
public string TitleKey { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("descriptionKey")]
|
||||
public string DescriptionKey { get; set; } = string.Empty;
|
||||
}
|
||||
@@ -5,8 +5,11 @@ namespace Wino.Core.Domain.Models.Updates;
|
||||
|
||||
public class UpdateNotes
|
||||
{
|
||||
[JsonPropertyName("hasMigrations")]
|
||||
public bool HasMigrations { get; set; }
|
||||
[JsonPropertyName("hasPendingMigrations")]
|
||||
public bool HasPendingMigrations { get; set; }
|
||||
|
||||
[JsonPropertyName("migration")]
|
||||
public UpdateMigration Migration { get; set; } = new();
|
||||
|
||||
[JsonPropertyName("sections")]
|
||||
public List<UpdateNoteSection> Sections { get; set; } = [];
|
||||
|
||||
Reference in New Issue
Block a user