chore: convert movement regime kinds to enum

This commit is contained in:
2026-03-27 13:30:10 -04:00
parent 00a1e58184
commit f961ac62b6
13 changed files with 128 additions and 34 deletions

View File

@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
using SpaceGame.Api.Shared.Runtime;
namespace SpaceGame.Api.Definitions;
@@ -196,6 +197,8 @@ public sealed class ModuleDefinition
public string Description { get; set; } = string.Empty;
public required string Type { get; set; }
[JsonIgnore]
public ModuleType ModuleType { get; set; }
[JsonIgnore]
public string? Product { get; set; }
public List<string> Products { get; set; } = [];
public string ProductionMode { get; set; } = "passive";