diff options
-rw-r--r-- | src/data/things/album.js | 8 | ||||
-rw-r--r-- | src/data/yaml.js | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js index b6bd1313..af7f0239 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -244,6 +244,10 @@ export class Album extends Thing { // Update only + albumData: wikiData({ + class: input.value(Album), + }), + artistData: wikiData({ class: input.value(Artist), }), @@ -256,6 +260,10 @@ export class Album extends Thing { class: input.value(Group), }), + trackData: wikiData({ + class: input.value(Track), + }), + wikiInfo: thing({ class: input.value(WikiInfo), }), diff --git a/src/data/yaml.js b/src/data/yaml.js index 37d6daf0..f7c36b89 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -1209,9 +1209,11 @@ export async function loadAndProcessDataDocuments(dataSteps, {dataPath}) { export function linkWikiDataArrays(wikiData) { const linkWikiDataSpec = new Map([ [wikiData.albumData, [ + 'albumData', 'artTagData', 'artistData', 'groupData', + 'trackData', 'wikiInfo', ]], |