Extracted some pages to their own assembly and finished the artifact display page code

This commit is contained in:
Vincent Allen
2025-10-08 13:08:12 -04:00
parent fd0e6290fe
commit 02c2660b09
626 changed files with 39989 additions and 1553 deletions

View File

@@ -59,7 +59,6 @@ public class ArtifactEntry
// Relationships other artifacts have TO this artifact
public List<ArtifactEntry> RelatedBy { get; set; } = [];
public int ArtifactGroupingId { get; set; }
public required ArtifactGrouping ArtifactGrouping { get; set; }

View File

@@ -18,4 +18,9 @@ public class ArtifactEntryTag
public required string Name { get; set; }
public List<ArtifactEntry> ArtifactEntries { get; set; } = [];
public override string ToString()
{
return Name;
}
}

View File

@@ -19,6 +19,20 @@ public class ArtifactGrouping
}
}
public List<FilePathListing> ChildFilePathListings
{
get
{
var list = new List<FilePathListing>();
foreach (ArtifactEntry entry in ChildArtifactEntries)
{
list.AddRange(entry.Files);
}
return list;
}
}
public required ArchiveCategory Category { get; set; }
private IdentifierFields _identifierFields;
@@ -35,7 +49,6 @@ public class ArtifactGrouping
}
}
public required string Title { get; set; }
public string? Description { get; set; }

View File

@@ -12,4 +12,9 @@ public class ListedName
public required string Value { get; set; }
public List<ArtifactEntry> ArtifactEntries { get; set; } = [];
public override string ToString()
{
return Value;
}
}