blob: 32d6921393a11fa354ade25fbae2548e4e56569b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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 CommentaryEntry extends ContentEntry {
static [Thing.wikiData] = 'commentaryData';
static [Thing.getPropertyDescriptors] = () => ({
// Expose only
isCommentaryEntry: exposeConstant(V(true)),
isWikiEditorCommentary: hasAnnotationPart(V('wiki editor')),
});
}
|