diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-11-17 18:14:27 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-11-17 18:14:27 -0400 |
commit | 6acbc628cb111c53d0b312ab90cd4807ad4bd8d1 (patch) | |
tree | 4f20ac30653c0327f02bbb279f089903714fd188 | |
parent | 257b7616e3a0997f2a5c2766c7923719cf2ca0b5 (diff) |
data: fix Album.referencedArtworks being unresolvable
-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', ]], |