« get me outta code hell

data: "This Album Only" field for additional names - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/validators.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-10-30 15:41:50 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-10-30 16:04:28 -0300
commit859d1777a4f6f6d583466aaf72357d4d611f3909 (patch)
treecada415b97c507379c5b14c3147599c070de8aaa /src/data/validators.js
parentf5f21156d205a1ad8533a717e5552707d26551a2 (diff)
data: "This Album Only" field for additional names
Diffstat (limited to 'src/data/validators.js')
-rw-r--r--src/data/validators.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/validators.js b/src/data/validators.js
index b7dbb629..22dc160c 100644
--- a/src/data/validators.js
+++ b/src/data/validators.js
@@ -921,6 +921,10 @@ export const isAdditionalName = validateProperties({
   name: isContentString,
   annotation: optional(isContentString),
 
+  // TODO: This only applies for tracks, not additional names
+  // in general.
+  specificAlbumExclusive: optional(isBoolean),
+
   // TODO: This only allows indicating sourcing from a track.
   // That's okay for the current limited use of "from", but
   // could be expanded later.