« get me outta code hell

data, content: remove shared and inferred additional names - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/yaml.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-10-30 15:45:13 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-10-30 16:04:28 -0300
commitfb319c8e0bf69d9925389edf674de938ea489e25 (patch)
treea60bd4f07ce72b9da394a3bf4db8fee91842eb78 /src/data/yaml.js
parent859d1777a4f6f6d583466aaf72357d4d611f3909 (diff)
data, content: remove shared and inferred additional names
Removes:
- inferredAdditionalNameList (#composite/things/track) etc
- sharedAdditionalNameList (#composite/things/track) etc
- "specificAlbumExclusive" / "This Album Only" field
- "from" property / "on {ALBUMS}" accent (content)
- generateTrackAdditionalNamesBox (no leftover dynamics)
- related snapshot test
Diffstat (limited to 'src/data/yaml.js')
-rw-r--r--src/data/yaml.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index e473790a..be59080e 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -451,7 +451,6 @@ export function parseAdditionalNames(entries) {
       return {
         name: item['Name'],
         annotation: item['Annotation'] ?? null,
-        specificAlbumExclusive: item['This Album Only'] ?? null,
       };
 
     if (typeof item !== 'string') return item;
@@ -462,7 +461,6 @@ export function parseAdditionalNames(entries) {
     return {
       name: match.groups.main,
       annotation: match.groups.accent ?? null,
-      specificAlbumExclusive: null,
     };
   });
 }