« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-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],