diff options
Diffstat (limited to 'src/data/things/group.js')
-rw-r--r-- | src/data/things/group.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/data/things/group.js b/src/data/things/group.js index 4b4c306c..fc33a9d0 100644 --- a/src/data/things/group.js +++ b/src/data/things/group.js @@ -8,6 +8,8 @@ import Thing from '#thing'; import {is} from '#validators'; import {parseAnnotatedReferences, parseSerieses} from '#yaml'; +import {exposeConstant} from '#composite/control-flow'; + import { annotatedReferenceList, color, @@ -19,7 +21,6 @@ import { thing, thingList, urls, - wikiData, } from '#composite/wiki-properties'; export class Group extends Thing { @@ -59,6 +60,12 @@ export class Group extends Thing { // Expose only + isGroup: [ + exposeConstant({ + value: input.value(true), + }), + ], + descriptionShort: { flags: {expose: true}, @@ -228,6 +235,14 @@ export class GroupCategory extends Thing { // Update only find: soupyFind(), + + // Expose only + + isGroupCategory: [ + exposeConstant({ + value: input.value(true), + }), + ], }); static [Thing.reverseSpecs] = { |