« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/group.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/data/things/group.js b/src/data/things/group.js
index 0dbbbb7f..bd8e2fbf 100644
--- a/src/data/things/group.js
+++ b/src/data/things/group.js
@@ -3,6 +3,7 @@ export const GROUP_DATA_FILE = 'groups.yaml';
 import {input} from '#composite';
 import find from '#find';
 import Thing from '#thing';
+import {parseSerieses} from '#yaml';
 
 import {
   color,
@@ -10,6 +11,7 @@ import {
   directory,
   name,
   referenceList,
+  seriesList,
   urls,
   wikiData,
 } from '#composite/wiki-properties';
@@ -33,6 +35,8 @@ export class Group extends Thing {
       data: 'albumData',
     }),
 
+    serieses: seriesList(),
+
     // Update only
 
     albumData: wikiData({
@@ -106,6 +110,11 @@ export class Group extends Thing {
 
       'Featured Albums': {property: 'featuredAlbums'},
 
+      'Series': {
+        property: 'serieses',
+        transform: parseSerieses,
+      },
+
       'Review Points': {ignore: true},
     },
   };