diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-30 14:04:41 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-30 14:30:06 -0400 |
commit | ad146774480bb29cff04b50d887e132f3bd3f64f (patch) | |
tree | 9c789f74cf21793d9e3672f92628aa237f61eec3 /src/data/things/group.js | |
parent | 7fbc5b87ed05bce433ed959ca18119b72835ee41 (diff) |
find, data: move find specs into Thing subclasses
Diffstat (limited to 'src/data/things/group.js')
-rw-r--r-- | src/data/things/group.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/data/things/group.js b/src/data/things/group.js index 462c928a..b6fba79c 100644 --- a/src/data/things/group.js +++ b/src/data/things/group.js @@ -87,6 +87,13 @@ export class Group extends Thing { }, }); + static [Thing.findSpecs] = { + group: { + referenceTypes: ['group', 'group-gallery'], + bindTo: 'groupData', + }, + }; + static [Thing.yamlDocumentSpec] = { fields: { 'Group': {property: 'name'}, |