« 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/things
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/artwork.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/data/things/artwork.js b/src/data/things/artwork.js
index 6ec524c2..4aedd256 100644
--- a/src/data/things/artwork.js
+++ b/src/data/things/artwork.js
@@ -159,9 +159,19 @@ export class Artwork extends Thing {
         dependency: '#attachedArtwork.artistContribs',
       }),
 
-      constituteFrom({
+      withPropertyFromObject({
+        object: 'thing',
         property: 'artistContribsFromThingProperty',
-        from: 'thing',
+      }).outputs({
+        '#value': '#artistContribsFromThing',
+      }),
+
+      withRecontextualizedContributionList({
+        list: '#artistContribsFromThing',
+      }),
+
+      exposeDependency({
+        dependency: '#artistContribsFromThing',
       }),
     ],