« get me outta code hell

data: contribution: matchingPresets - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/contribution.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-04 20:31:12 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-06-18 22:56:01 -0300
commit6d0ad85bc718c2429d8dc124bba1329cc9615d12 (patch)
tree37b9b6d62fe2054170604c252e067568d42bc82d /src/data/things/contribution.js
parent75505899c70594e250bdcb582fd2f5c40a971639 (diff)
data: contribution: matchingPresets
Diffstat (limited to 'src/data/things/contribution.js')
-rw-r--r--src/data/things/contribution.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/data/things/contribution.js b/src/data/things/contribution.js
index e6479a1e..6b7f050f 100644
--- a/src/data/things/contribution.js
+++ b/src/data/things/contribution.js
@@ -13,6 +13,7 @@ import {withResolvedReference} from '#composite/wiki-data';
 import {
   withContributionArtist,
   withContributionContext,
+  withMatchingContributionPresets,
 } from '#composite/things/contribution';
 
 export class Contribution extends Thing {
@@ -66,6 +67,14 @@ export class Contribution extends Thing {
         }),
       },
     ],
+
+    matchingPresets: [
+      withMatchingContributionPresets(),
+
+      exposeDependency({
+        dependency: '#matchingContributionPresets',
+      }),
+    ],
   });
 
   [inspect.custom](depth, options, inspect) {