diff options
Diffstat (limited to 'src/data/things/content/ReferencingSourcesEntry.js')
| -rw-r--r-- | src/data/things/content/ReferencingSourcesEntry.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/data/things/content/ReferencingSourcesEntry.js b/src/data/things/content/ReferencingSourcesEntry.js new file mode 100644 index 00000000..de7deba0 --- /dev/null +++ b/src/data/things/content/ReferencingSourcesEntry.js @@ -0,0 +1,21 @@ +import {V} from '#composite'; +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 { + static [Thing.friendlyName] = `Referencing Sources Entry`; + static [Thing.wikiData] = 'referencingSourceData'; + + static [Thing.getPropertyDescriptors] = () => ({ + // Expose only + + isReferencingSourceEntry: exposeConstant(V(true)), + + isWikiEditorSource: hasAnnotationPart(V('wiki editor')), + }); +} |