diff options
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/content.js | 11 |
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'}), |