« get me outta code hell

data: withReverseList_template: additionalInputs - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-12-25 18:11:01 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-12-25 18:11:01 -0400
commit0f65e26bff177bf8117c2d23972758f04dde2b93 (patch)
tree4719c45f866315f50b400beacfa41d3f12d4cebd
parent8fbc3499ec5fe6ba7e1d141998ae32fef26fcd2b (diff)
data: withReverseList_template: additionalInputs
-rw-r--r--src/data/composite/wiki-data/helpers/withReverseList-template.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/composite/wiki-data/helpers/withReverseList-template.js b/src/data/composite/wiki-data/helpers/withReverseList-template.js
index 5c65eca3..6ffd5d70 100644
--- a/src/data/composite/wiki-data/helpers/withReverseList-template.js
+++ b/src/data/composite/wiki-data/helpers/withReverseList-template.js
@@ -33,6 +33,8 @@ export default function withReverseList_template({
   propertyInputName,
   outputName,
 
+  additionalInputs = {},
+
   customCompositionSteps,
 }) {
   // Mapping of reference list property to WeakMap.
@@ -52,6 +54,8 @@ export default function withReverseList_template({
       [propertyInputName]: input({
         type: 'string',
       }),
+
+      ...additionalInputs,
     },
 
     outputs: [outputName],