feat(template): adds support for an ooc note in the template
This commit is contained in:
parent
85b87f8140
commit
63e8178fb0
4 changed files with 12 additions and 2 deletions
|
|
@ -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)
|
||||
}));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue