« get me outta code hell

data, content: showAlbumArtists: all/differing/none - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-12-29 21:00:55 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-12-29 21:01:14 -0400
commitf9e08473fbc0a2f088be3ade780b922ea1b3f22c (patch)
tree2a3b9b7c90c55cb09877788d28c934010a510ec3 /src/data
parente5eb30bd10728fd730086c41332305593731636c (diff)
data, content: showAlbumArtists: all/differing/none
This breaks the build. Oop
Diffstat (limited to 'src/data')
-rw-r--r--src/data/validators.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/data/validators.js b/src/data/validators.js
index 94d628c5..a17a98cc 100644
--- a/src/data/validators.js
+++ b/src/data/validators.js
@@ -718,7 +718,8 @@ export const isSeries = validateProperties({
   description: optional(isContentString),
   albums: optional(validateReferenceList('album')),
 
-  showAlbumArtists: optional(isBoolean),
+  showAlbumArtists:
+    optional(is('all', 'differing', 'none')),
 });
 
 export const isSeriesList = validateArrayItems(isSeries);