diff options
Diffstat (limited to 'src/data/things/group.js')
-rw-r--r-- | src/data/things/group.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/data/things/group.js b/src/data/things/group.js index 38d169de..a9708fb4 100644 --- a/src/data/things/group.js +++ b/src/data/things/group.js @@ -85,6 +85,19 @@ export class Group extends Thing { }, }, }); + + static [Thing.yamlDocumentSpec] = { + propertyFieldMapping: { + name: 'Group', + directory: 'Directory', + description: 'Description', + urls: 'URLs', + + featuredAlbums: 'Featured Albums', + }, + + ignoredFields: ['Review Points'], + }; } export class GroupCategory extends Thing { @@ -111,4 +124,11 @@ export class GroupCategory extends Thing { class: input.value(Group), }), }); + + static [Thing.yamlDocumentSpec] = { + propertyFieldMapping: { + name: 'Category', + color: 'Color', + }, + }; } |