« get me outta code hell

data: ContentEntry.{headingArtists,quotedArtists} - 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>2026-03-31 13:44:40 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-03-31 13:44:54 -0300
commitcab396d92152d2c75625dcef099093c136f538b5 (patch)
tree8ad42decdcd33d62a10250f2305d2addfa585651 /src/data/checks.js
parenta20a34a0b839cc19a89e5f18d75683487f36bfa4 (diff)
data: ContentEntry.{headingArtists,quotedArtists}
Diffstat (limited to 'src/data/checks.js')
-rw-r--r--src/data/checks.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/data/checks.js b/src/data/checks.js
index 0a0e7f52..01b5cf9e 100644
--- a/src/data/checks.js
+++ b/src/data/checks.js
@@ -352,6 +352,9 @@ export function filterReferenceErrors(wikiData, {
 
             switch (findFnKey) {
               case '_content':
+                // note: quoted artists ("Quoted Artists" field)`) currently
+                // not handled here at all. limitation of current code! oops!
+
                 if (value) {
                   value =
                     value.map(entry =>
@@ -721,13 +724,13 @@ export function reportContentTextErrors(wikiData, {
 
   const commentaryShape = {
     body: 'commentary body',
-    artistText: 'commentary artist text',
+    headingArtistText: 'commentary artist text',
     annotation: 'commentary annotation',
   };
 
   const lyricsShape = {
     body: 'lyrics body',
-    artistText: 'lyrics artist text',
+    headingArtistText: 'lyrics artist text',
     annotation: 'lyrics annotation',
   };