diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-10 20:41:37 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 22:56:05 -0300 |
commit | 53eda2cb50292420f115adb2d32627dcca8e19df (patch) | |
tree | b12b884564ed6a0e1854f3010d7b72e9b529444a /src | |
parent | 151bb59cc02fd111452b0511da903be7d496c1da (diff) |
data: artist: more contribution-y properties
Diffstat (limited to 'src')
-rw-r--r-- | src/data/things/artist.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/data/things/artist.js b/src/data/things/artist.js index 0878edd5..6e148d1d 100644 --- a/src/data/things/artist.js +++ b/src/data/things/artist.js @@ -154,6 +154,12 @@ export class Artist extends Thing { mode: input.value('contributions'), }), + trackCoverArtistContributions: reverseContributionList({ + data: 'trackData', + list: input.value('coverArtistContribs'), + mode: input.value('contributions'), + }), + albumsAsAlbumArtist: reverseContributionList({ data: 'albumData', list: input.value('artistContribs'), @@ -231,6 +237,30 @@ export class Artist extends Thing { list: input.value('commentatorArtists'), }), + albumArtistContributions: reverseContributionList({ + data: 'albumData', + list: input.value('artistContribs'), + mode: input.value('contributions'), + }), + + albumCoverArtistContributions: reverseContributionList({ + data: 'albumData', + list: input.value('coverArtistContribs'), + mode: input.value('contributions'), + }), + + albumWallpaperArtistContributions: reverseContributionList({ + data: 'albumData', + list: input.value('wallpaperArtistContribs'), + mode: input.value('contributions'), + }), + + albumBannerArtistContributions: reverseContributionList({ + data: 'albumData', + list: input.value('bannerArtistContribs'), + mode: input.value('contributions'), + }), + flashesAsContributor: reverseContributionList({ data: 'flashData', list: input.value('contributorContribs'), |