« get me outta code hell

data: Album: disallow commentary + etc with 'Style: single' - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-07-13 15:49:54 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-07-13 15:49:54 -0300
commite37d800a58f22fc6b562fb5b4790e57a97f35185 (patch)
tree11eb796a5e6f7ee638159e57716f5d58aedd39eb /src
parent7c86db9d0a2df821151b54564f66288680908d66 (diff)
data: Album: disallow commentary + etc with 'Style: single'
Diffstat (limited to 'src')
-rw-r--r--src/data/things/album.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js
index 36b3c272..310026e8 100644
--- a/src/data/things/album.js
+++ b/src/data/things/album.js
@@ -756,6 +756,21 @@ export class Album extends Thing {
     },
 
     invalidFieldCombinations: [
+      {message: `Move commentary on singles to the track`, fields: [
+        ['Style', 'single'],
+        'Commentary',
+      ]},
+
+      {message: `Move crediting sources on singles to the track`, fields: [
+        ['Style', 'single'],
+        'Crediting Sources',
+      ]},
+
+      {message: `Move referencing sources on singles to the track`, fields: [
+        ['Style', 'single'],
+        'Referencing Sources',
+      ]},
+
       {message: `Specify one wallpaper style or multiple wallpaper parts, not both`, fields: [
         'Wallpaper Parts',
         'Wallpaper Style',