diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-07 12:06:06 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-07 12:07:03 -0300 |
commit | 6889c764caef5542ba9ad8362acf6e8b7b879ea9 (patch) | |
tree | a89bb9a9bd9884ffd1c51e4926a04469618f73b3 /src/data/things/group.js | |
parent | 8b379954c9d74f0d47ac32ef395627353940c728 (diff) |
data, infra: import validators directly
Diffstat (limited to 'src/data/things/group.js')
-rw-r--r-- | src/data/things/group.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/data/things/group.js b/src/data/things/group.js index d04fcf56..6c712847 100644 --- a/src/data/things/group.js +++ b/src/data/things/group.js @@ -5,9 +5,7 @@ import Thing from './thing.js'; export class Group extends Thing { static [Thing.referenceType] = 'group'; - static [Thing.getPropertyDescriptors] = ({ - Album, - }) => ({ + static [Thing.getPropertyDescriptors] = ({Album}) => ({ // Update & expose name: Thing.common.name('Unnamed Group'), @@ -76,9 +74,7 @@ export class Group extends Thing { } export class GroupCategory extends Thing { - static [Thing.getPropertyDescriptors] = ({ - Group, - }) => ({ + static [Thing.getPropertyDescriptors] = ({Group}) => ({ // Update & expose name: Thing.common.name('Unnamed Group Category'), |