« 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/ReferencingSourcesEntry.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/content/ReferencingSourcesEntry.js')
-rw-r--r--src/data/things/content/ReferencingSourcesEntry.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/things/content/ReferencingSourcesEntry.js b/src/data/things/content/ReferencingSourcesEntry.js
index 4b27b313..de7deba0 100644
--- a/src/data/things/content/ReferencingSourcesEntry.js
+++ b/src/data/things/content/ReferencingSourcesEntry.js
@@ -3,6 +3,8 @@ import Thing from '#thing';
 
 import {exposeConstant} from '#composite/control-flow';
 
+import {hasAnnotationPart} from '#composite/things/content';
+
 import {ContentEntry} from './ContentEntry.js';
 
 export class ReferencingSourcesEntry extends ContentEntry {
@@ -13,5 +15,7 @@ export class ReferencingSourcesEntry extends ContentEntry {
     // Expose only
 
     isReferencingSourceEntry: exposeConstant(V(true)),
+
+    isWikiEditorSource: hasAnnotationPart(V('wiki editor')),
   });
 }