« 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.js16
1 files changed, 16 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..76fafbc2
--- /dev/null
+++ b/src/data/things/content/ReferencingSourcesEntry.js
@@ -0,0 +1,16 @@
+import {V} from '#composite';
+import Thing from '#thing';
+
+import {exposeConstant} from '#composite/control-flow';
+
+import {ContentEntry} from './ContentEntry.js';
+
+export class ReferencingSourcesEntry extends ContentEntry {
+  static [Thing.wikiData] = 'referencingSourceData';
+
+  static [Thing.getPropertyDescriptors] = () => ({
+    // Expose only
+
+    isReferencingSourceEntry: exposeConstant(V(true)),
+  });
+}