« get me outta code hell

data: various nicer drops in invalidFieldCombinations - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/album
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-06-11 17:37:16 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-06-11 17:37:16 -0300
commit74e869bf0772171cdf7cfd76a24afd5653235e5a (patch)
treef4bbdb53b27db3d2d65ae20d8a1c86ffaf4f1f38 /src/data/things/album
parenta07125a6500366436e536be1737105ede1be97c5 (diff)
data: various nicer drops in invalidFieldCombinations
Diffstat (limited to 'src/data/things/album')
-rw-r--r--src/data/things/album/Album.js56
1 files changed, 40 insertions, 16 deletions
diff --git a/src/data/things/album/Album.js b/src/data/things/album/Album.js
index 1d1e8aac..11cae60f 100644
--- a/src/data/things/album/Album.js
+++ b/src/data/things/album/Album.js
@@ -1010,30 +1010,54 @@ export class Album extends Thing {
     },
 
     invalidFieldCombinations: [
-      {message: `Move commentary on singles to the track`, fields: [
-        ['Style', 'single'],
-        'Commentary',
-      ]},
+      {
+        message: `Move commentary on singles to the track`,
 
-      {message: `Move crediting sources on singles to the track`, fields: [
-        ['Style', 'single'],
-        'Crediting Sources',
-      ]},
+        fields: [
+          ['Style', 'single'],
+          'Commentary',
+        ],
 
-      {message: `Move additional names on singles to the track`, fields: [
-        ['Style', 'single'],
-        'Additional Names',
-      ]},
+        drop: ['Commentary'],
+      },
+
+      {
+        message: `Move crediting sources on singles to the track`,
+
+        fields: [
+          ['Style', 'single'],
+          'Crediting Sources',
+        ],
+
+        drop: ['Crediting Sources'],
+      },
+
+      {
+        message: `Move additional names on singles to the track`,
+
+        fields: [
+          ['Style', 'single'],
+          'Additional Names',
+        ],
+
+        drop: ['Additional Names'],
+      },
 
       {message: `Specify one wallpaper style or multiple wallpaper parts, not both`, fields: [
         'Wallpaper Parts',
         'Wallpaper Style',
       ]},
 
-      {message: `Wallpaper file extensions are specified on asset, per part`, fields: [
-        'Wallpaper Parts',
-        'Wallpaper File Extension',
-      ]},
+      {
+        message: `Wallpaper file extensions are specified on asset, per part`,
+
+        fields: [
+          'Wallpaper Parts',
+          'Wallpaper File Extension',
+        ],
+
+        drop: ['Wallpaper File Extension'],
+      },
 
       {
         message: `Albums of style 'in-game vgm' have cover art by default`,