From 6833410ddceee43d4b24767c99e9dab7011daf6d Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 26 May 2025 17:49:48 -0300 Subject: checks: reportContentTextErrors: check artworks we could just check artworkData but it's probably nicer summaries if we check 'em as a sub-shape --- src/data/checks.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/data/checks.js b/src/data/checks.js index 4097115f..afd2a04c 100644 --- a/src/data/checks.js +++ b/src/data/checks.js @@ -553,6 +553,11 @@ export function reportContentTextErrors(wikiData, { description: 'description', }; + const artworkShape = { + source: 'artwork source', + originDetails: 'artwork origin details', + }; + const commentaryShape = { body: 'commentary body', artistText: 'commentary artist text', @@ -570,6 +575,7 @@ export function reportContentTextErrors(wikiData, { additionalFiles: additionalFileShape, commentary: commentaryShape, creditingSources: commentaryShape, + coverArtworks: artworkShape, }], ['artTagData', { @@ -583,6 +589,7 @@ export function reportContentTextErrors(wikiData, { ['flashData', { commentary: commentaryShape, creditingSources: commentaryShape, + coverArtwork: artworkShape, }], ['flashActData', { @@ -617,6 +624,7 @@ export function reportContentTextErrors(wikiData, { lyrics: lyricsShape, midiProjectFiles: additionalFileShape, sheetMusicFiles: additionalFileShape, + trackArtworks: artworkShape, }], ['wikiInfo', { -- cgit 1.3.0-6-gf8a5