From 1ade1832435c0f03c625def19ec8a955c56cb943 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 2 Jun 2024 11:04:13 -0300 Subject: data: withReverseContributionList: drop 'mode' option --- src/data/composite/wiki-properties/reverseContributionList.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/data/composite/wiki-properties') 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'}), -- cgit 1.3.0-6-gf8a5