blob: b96fcd5078643bef0e44ccd4c5fc5e0a48b7436f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import Thing from '#thing';
import {contentString, simpleString, thing} from '#composite/wiki-properties';
export class AdditionalName extends Thing {
static [Thing.getPropertyDescriptors] = ({}) => ({
// Update & expose
thing: thing(),
name: contentString(),
annotation: contentString(),
});
static [Thing.yamlDocumentSpec] = {
fields: {
'Name': {property: 'name'},
'Annotation': {property: 'annotation'},
},
};
}
|