From 74e869bf0772171cdf7cfd76a24afd5653235e5a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 11 Jun 2026 17:37:16 -0300 Subject: data: various nicer drops in invalidFieldCombinations --- src/data/things/album/Album.js | 56 ++++++++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 16 deletions(-) (limited to 'src/data/things/album') 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`, -- cgit 1.3.0-6-gf8a5