Initial orderby on primary items

This commit is contained in:
TheXamlGuy
2024-01-17 19:28:21 +00:00
parent 7fde5ab0fb
commit 1f02f6970e
4 changed files with 10 additions and 7 deletions
@@ -6,11 +6,12 @@ namespace Hyperbar.Windows.Primary;
[JsonDerivedType(typeof(ProcessCommandConfiguration), typeDiscriminator: "ProcessCommand")]
public class PrimaryCommandConfiguration
{
public required Guid Id { get; set; }
public List<PrimaryCommandConfiguration> Commands { get; set; } = [];
public required string Icon { get; set; }
public required string Text { get; set; }
public required Guid Id { get; set; }
public List<PrimaryCommandConfiguration> Commands { get; set; } = [];
public required int Order { get; set; }
public required string Text { get; set; }
}