« get me outta code hell

data: fix Album.referencedArtworks being unresolvable - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/album.js
diff options
context:
space:
mode:
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
commit6acbc628cb111c53d0b312ab90cd4807ad4bd8d1 (patch)
tree4f20ac30653c0327f02bbb279f089903714fd188 /src/data/things/album.js
parent257b7616e3a0997f2a5c2766c7923719cf2ca0b5 (diff)
data: fix Album.referencedArtworks being unresolvable
Diffstat (limited to 'src/data/things/album.js')
-rw-r--r--src/data/things/album.js8
1 files changed, 8 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),
     }),