mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Add image to ModListSummary
This commit is contained in:
parent
31517fba50
commit
dbdb0713f7
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@ -7,7 +7,7 @@ on:
|
||||
branches: [ main ]
|
||||
|
||||
env:
|
||||
VERSION: 3.0.0.0-beta9
|
||||
VERSION: 3.0.0.0-beta10
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -525,7 +525,8 @@ public class ValidateLists : IVerb
|
||||
Passed = l.Archives.Count(f => f.Status == ArchiveStatus.Valid),
|
||||
MachineURL = l.MachineURL,
|
||||
Name = l.Name,
|
||||
Updating = 0
|
||||
Updating = 0,
|
||||
Image = l.Image
|
||||
}).ToArray();
|
||||
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Wabbajack.DTOs;
|
||||
@ -23,4 +24,6 @@ public class ModListSummary
|
||||
[JsonPropertyName("modlist_missing")] public bool ModListIsMissing { get; set; }
|
||||
|
||||
[JsonPropertyName("has_failures")] public bool HasFailures => Failed > 0 || ModListIsMissing;
|
||||
|
||||
[JsonPropertyName("image")] public Uri Image { get; set; }
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user