feat(template): adds support for an ooc note in the template

This commit is contained in:
Lewis Wynne 2026-03-23 19:03:50 +00:00
parent 85b87f8140
commit 63e8178fb0
4 changed files with 12 additions and 2 deletions

View file

@ -103,6 +103,7 @@ export function parseTemplate(xml: string, id: string): Template {
const records: RecordDef[] = root.record.map((r: any) => ({
type: r['@_type'],
preamble: r.preamble?.trim(),
note: r.note?.trim(),
fields: r.field.map(parseField)
}));