blob: de7deba0ed55007d847aea927cb82a68fea210e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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')),
});
}
|