diff options
Diffstat (limited to 'src/data/things/artist.js')
-rw-r--r-- | src/data/things/artist.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/data/things/artist.js b/src/data/things/artist.js index 6d5e33c0..8ac370c2 100644 --- a/src/data/things/artist.js +++ b/src/data/things/artist.js @@ -34,7 +34,7 @@ export class Artist extends Thing { static [Thing.referenceType] = 'artist'; static [Thing.wikiDataArray] = 'artistData'; - static [Thing.getPropertyDescriptors] = ({Album, Flash, Track}) => ({ + static [Thing.getPropertyDescriptors] = ({Album, Flash, Group, Track}) => ({ // Update & expose name: name('Unnamed Artist'), @@ -74,6 +74,10 @@ export class Artist extends Thing { class: input.value(Flash), }), + groupData: wikiData({ + class: input.value(Group), + }), + trackData: wikiData({ class: input.value(Track), }), @@ -135,6 +139,11 @@ export class Artist extends Thing { list: input.value('commentatorArtists'), }), + closelyLinkedGroups: reverseReferenceList({ + data: 'groupData', + list: input.value('closelyLinkedArtists'), + }), + totalDuration: artistTotalDuration(), }); |