diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-01-11 00:11:37 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-01-11 00:11:37 -0400 |
commit | 9d99dafca9dc4e16b867b707746314040a8d9ba5 (patch) | |
tree | 6928b4efcaeac5508d06c74ac3bfeefce0ce4b7d /src/data/things/artist.js | |
parent | 8bbd9ac0b5cf8cc64ccbae7ae16b23f05d93d880 (diff) |
data: use soupyFind everywhere
also notes where remaining directly-provided wikiData() props are used
Diffstat (limited to 'src/data/things/artist.js')
-rw-r--r-- | src/data/things/artist.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/data/things/artist.js b/src/data/things/artist.js index 8fdb8a12..64487dd0 100644 --- a/src/data/things/artist.js +++ b/src/data/things/artist.js @@ -25,6 +25,7 @@ import { reverseContributionList, reverseReferenceList, singleReference, + soupyFind, urls, wikiData, } from '#composite/wiki-properties'; @@ -57,28 +58,29 @@ export class Artist extends Thing { aliasedArtist: singleReference({ class: input.value(Artist), - find: input.value(find.artist), - data: 'artistData', + find: soupyFind.input('artist'), }), // Update only + find: soupyFind(), + + // used for reverse contribution lists albumData: wikiData({ class: input.value(Album), }), - artistData: wikiData({ - class: input.value(Artist), - }), - + // used for reverse contribution lists flashData: wikiData({ class: input.value(Flash), }), + // used for closelyLinkedGroups groupData: wikiData({ class: input.value(Group), }), + // used for reverse contribution lists trackData: wikiData({ class: input.value(Track), }), |