diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-10-14 16:36:04 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-11-02 22:12:45 -0300 |
commit | 21a5a2f69cba27506252d1947e6eb61699c9b811 (patch) | |
tree | 916339c5664de0fb389400b5bc186b72c231cc30 /src/data/things | |
parent | fb319c8e0bf69d9925389edf674de938ea489e25 (diff) |
data: Group.serieses
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/group.js | 9 |
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}, }, }; |