« get me outta code hell

data: stub Referenced {Track,Album} Artworks fields - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/checks.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-11-13 17:43:16 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-11-13 17:43:16 -0400
commitdb0fd78ca60fc695f87d1f3adf53967bdae2796f (patch)
treeae34489f92ce669737d2ebce76a9f7f64be12ef7 /src/data/checks.js
parent4793c04918a62189c040c7aade490f7a9a8b8b36 (diff)
data: stub Referenced {Track,Album} Artworks fields
just ordinary reference lists, not used anywhere on website yet
Diffstat (limited to 'src/data/checks.js')
-rw-r--r--src/data/checks.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/checks.js b/src/data/checks.js
index 4dc1e1d0..da7b228c 100644
--- a/src/data/checks.js
+++ b/src/data/checks.js
@@ -183,6 +183,8 @@ export function filterReferenceErrors(wikiData, {
       bannerArtistContribs: '_contrib',
       groups: 'group',
       artTags: '_artTag',
+      referencedTrackArtworks: 'track',
+      referencedAlbumArtworks: 'album',
       commentary: '_commentary',
     }],
 
@@ -219,6 +221,8 @@ export function filterReferenceErrors(wikiData, {
       referencedTracks: '_trackNotRerelease',
       sampledTracks: '_trackNotRerelease',
       artTags: '_artTag',
+      referencedTrackArtworks: 'track',
+      referencedAlbumArtworks: 'album',
       originalReleaseTrack: '_trackNotRerelease',
       commentary: '_commentary',
     }],