diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-11-04 20:20:27 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-11-04 20:20:27 -0300 |
commit | e42e5527b99426c1b74fea150cf62214de73087e (patch) | |
tree | 63392341198cd4595f5f6a24b446075bc3136962 /src/data/things | |
parent | c1f93e2d270292bca7e991c180db618f4902a3f9 (diff) |
group: add GroupCategory.directory, referenceType group-category
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/group.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/data/things/group.js b/src/data/things/group.js index 8764a9db..7bb917ad 100644 --- a/src/data/things/group.js +++ b/src/data/things/group.js @@ -83,12 +83,15 @@ export class Group extends Thing { } export class GroupCategory extends Thing { + static [Thing.referenceType] = 'group-category'; static [Thing.friendlyName] = `Group Category`; static [Thing.getPropertyDescriptors] = ({Group}) => ({ // Update & expose name: name('Unnamed Group Category'), + directory: directory(), + color: color(), groups: referenceList({ |