From 21a5a2f69cba27506252d1947e6eb61699c9b811 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 14 Oct 2024 16:36:04 -0300 Subject: data: Group.serieses --- src/data/things/group.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/data/things') 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}, }, }; -- cgit 1.3.0-6-gf8a5