« get me outta code hell

data: misc. composite fixes - 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>2023-10-01 17:59:25 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-01 17:59:25 -0300
commit963e04f124f98464a986487208ee4f9edd893984 (patch)
treea67e9a54332148c1447d9e4c74098db4ceb3a34a /src
parenta60c8906ed7580a21527c9f96cd0e6e277978263 (diff)
data: misc. composite fixes track-data-cleanup
Diffstat (limited to 'src')
-rw-r--r--src/data/composite/things/track/withAlwaysReferenceByDirectory.js2
-rw-r--r--src/data/composite/wiki-data/withReverseReferenceList.js1
-rw-r--r--src/data/things/album.js2
3 files changed, 4 insertions, 1 deletions
diff --git a/src/data/composite/things/track/withAlwaysReferenceByDirectory.js b/src/data/composite/things/track/withAlwaysReferenceByDirectory.js
index 0aeac788..7c59393c 100644
--- a/src/data/composite/things/track/withAlwaysReferenceByDirectory.js
+++ b/src/data/composite/things/track/withAlwaysReferenceByDirectory.js
@@ -15,6 +15,8 @@ import withOriginalRelease from './withOriginalRelease.js';
 export default templateCompositeFrom({
   annotation: `withAlwaysReferenceByDirectory`,
 
+  outputs: ['#alwaysReferenceByDirectory'],
+
   steps: () => [
     exposeUpdateValueOrContinue({
       validate: input.value(isBoolean),
diff --git a/src/data/composite/wiki-data/withReverseReferenceList.js b/src/data/composite/wiki-data/withReverseReferenceList.js
index 113a6c40..a025b5ed 100644
--- a/src/data/composite/wiki-data/withReverseReferenceList.js
+++ b/src/data/composite/wiki-data/withReverseReferenceList.js
@@ -21,6 +21,7 @@ export default templateCompositeFrom({
     exitWithoutDependency({
       dependency: input('data'),
       value: input.value([]),
+      mode: input.value('empty'),
     }),
 
     {
diff --git a/src/data/things/album.js b/src/data/things/album.js
index e3ac1651..f451a7e9 100644
--- a/src/data/things/album.js
+++ b/src/data/things/album.js
@@ -182,7 +182,7 @@ export class Album extends Thing {
 
 export class TrackSectionHelper extends Thing {
   static [Thing.getPropertyDescriptors] = () => ({
-    name: name('Unnamed Track Group'),
+    name: name('Unnamed Track Section'),
     color: color(),
     dateOriginallyReleased: simpleDate(),
     isDefaultTrackGroup: flag(false),