« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/wiki-data/withReverseContributionList.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/composite/wiki-data/withReverseContributionList.js')
-rw-r--r--src/data/composite/wiki-data/withReverseContributionList.js42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/data/composite/wiki-data/withReverseContributionList.js b/src/data/composite/wiki-data/withReverseContributionList.js
deleted file mode 100644
index 04dc52d7..00000000
--- a/src/data/composite/wiki-data/withReverseContributionList.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// Analogous implementation for withReverseReferenceList, for contributions.
-
-import withReverseList_template from './helpers/withReverseList-template.js';
-
-import {input} from '#composite';
-
-import {withFlattenedList, withMappedList, withPropertyFromList}
-  from '#composite/data';
-
-export default withReverseList_template({
-  annotation: `withReverseContributionList`,
-
-  propertyInputName: 'list',
-  outputName: '#reverseContributionList',
-
-  customCompositionSteps: () => [
-    withPropertyFromList({
-      list: input('data'),
-      property: input('list'),
-    }).outputs({
-      '#values': '#contributionLists',
-    }),
-
-    withFlattenedList({
-      list: '#contributionLists',
-    }).outputs({
-      '#flattenedList': '#referencingThings',
-    }),
-
-    withPropertyFromList({
-      list: '#referencingThings',
-      property: input.value('artist'),
-    }),
-
-    withMappedList({
-      list: '#referencingThings.artist',
-      map: input.value(artist => [artist]),
-    }).outputs({
-      '#mappedList': '#referencedThings',
-    }),
-  ],
-});