Type fixes

This commit is contained in:
CWX
2025-01-24 12:27:57 +00:00
parent 8cc8300a70
commit 9cf43cda89
6 changed files with 10 additions and 37 deletions
@@ -136,13 +136,13 @@ public record EquipmentBuildChange
public record ItemChanges
{
[JsonPropertyName("new")]
public List<Product>? NewItems { get; set; }
public List<Item>? NewItems { get; set; }
[JsonPropertyName("change")]
public List<Product>? ChangedItems { get; set; }
public List<Item>? ChangedItems { get; set; }
[JsonPropertyName("del")]
public List<Product> DeletedItems { get; set; } // Only needs _id property
public List<Item> DeletedItems { get; set; } // Only needs _id property
}
/** Related to TraderInfo */
@@ -163,7 +163,3 @@ public record TraderData
[JsonPropertyName("disabled")]
public bool? Disabled { get; set; }
}
public record Product : Item
{
}