Add designer file menu and package metadata
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
admin committed 2026-08-30 20:49:13 +02:00
1 parent 23abe7af63
commit 6468596bf3
11 files changed
+363 -20

No files matched your search

+5
View File
@@ -1,3 +1,5 @@
using System.Text.Json.Serialization;
namespace LehrerApp.Templating;
public enum PlaceholderType { Text, Multiline, Date, Number, Image, Table, Chart }
@@ -31,6 +33,9 @@ public sealed class TemplateManifest
public string Description { get; set; } = "";
public PageSizeDefinition PageSize { get; set; } = new(210, 297);
public string LayoutFile { get; set; } = "layout.tpl";
public string MetadataFile { get; set; } = TemplateMetadataText.FileName;
[JsonIgnore]
public Dictionary<string, string> Metadata { get; set; } = new(StringComparer.OrdinalIgnoreCase);
public List<PlaceholderDefinition> Placeholders { get; set; } = [];
}