« get me outta code hell

data: withReverseContributionList: drop 'mode' option - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/wiki-properties
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-02 11:04:13 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-18 22:56:06 -0300
commit163a5aabc963e1817020048b94d7d215ad225a77 (patch)
tree7552840294b553c25d0d06d1a9d7356b757a6bba /src/data/composite/wiki-properties
parent1d996da933baf57fb79c32b00b35c5c5e15a36f3 (diff)
data: withReverseContributionList: drop 'mode' option
Diffstat (limited to 'src/data/composite/wiki-properties')
-rw-r--r--src/data/composite/wiki-properties/reverseContributionList.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/data/composite/wiki-properties/reverseContributionList.js b/src/data/composite/wiki-properties/reverseContributionList.js
index ce219377..7f3f9c81 100644
--- a/src/data/composite/wiki-properties/reverseContributionList.js
+++ b/src/data/composite/wiki-properties/reverseContributionList.js
@@ -1,5 +1,4 @@
 import {input, templateCompositeFrom} from '#composite';
-import {is} from '#validators';
 
 import {exposeDependency} from '#composite/control-flow';
 import {inputWikiData, withReverseContributionList} from '#composite/wiki-data';
@@ -12,18 +11,12 @@ export default templateCompositeFrom({
   inputs: {
     data: inputWikiData({allowMixedTypes: false}),
     list: input({type: 'string'}),
-
-    mode: input({
-      validate: is('things', 'contributions'),
-      defaultValue: 'things',
-    }),
   },
 
   steps: () => [
     withReverseContributionList({
       data: input('data'),
       list: input('list'),
-      mode: input('mode'),
     }),
 
     exposeDependency({dependency: '#reverseContributionList'}),