« 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/content.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/content.js')
-rw-r--r--src/data/things/content.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/data/things/content.js b/src/data/things/content.js
index d68fd5be..660d7020 100644
--- a/src/data/things/content.js
+++ b/src/data/things/content.js
@@ -15,7 +15,8 @@ import {
   withResultOfAvailabilityCheck,
 } from '#composite/control-flow';
 
-import {withWebArchiveDate, withSourceText} from '#composite/things/content';
+import {withAnnotationParts, withSourceText, withWebArchiveDate}
+  from '#composite/things/content';
 
 export class ContentEntry extends Thing {
   static [Thing.getPropertyDescriptors] = ({Artist}) => ({
@@ -100,6 +101,14 @@ export class ContentEntry extends Thing {
 
     // Expose only
 
+    annotationParts: [
+      withAnnotationParts({
+        mode: input.value('strings'),
+      }),
+
+      exposeDependency({dependency: '#annotationParts'}),
+    ],
+
     sourceText: [
       withSourceText(),
       exposeDependency({dependency: '#sourceText'}),