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/album.js | |
parent | 8bbd9ac0b5cf8cc64ccbae7ae16b23f05d93d880 (diff) |
data: use soupyFind everywhere
also notes where remaining directly-provided wikiData() props are used
Diffstat (limited to 'src/data/things/album.js')
-rw-r--r-- | src/data/things/album.js | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js index dbc3ca5b..1f789306 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -230,8 +230,7 @@ export class Album extends Thing { groups: referenceList({ class: input.value(Group), - find: input.value(find.group), - data: 'groupData', + find: soupyFind.input('group'), }), artTags: [ @@ -242,8 +241,7 @@ export class Album extends Thing { referenceList({ class: input.value(ArtTag), - find: input.value(find.artTag), - data: 'artTagData', + find: soupyFind.input('artTag'), }), ], @@ -273,26 +271,17 @@ export class Album extends Thing { find: soupyFind(), + // used for referencedArtworkList (mixedFind) albumData: wikiData({ class: input.value(Album), }), - artistData: wikiData({ - class: input.value(Artist), - }), - - artTagData: wikiData({ - class: input.value(ArtTag), - }), - - groupData: wikiData({ - class: input.value(Group), - }), - + // used for referencedArtworkList (mixedFind) trackData: wikiData({ class: input.value(Track), }), + // used for withMatchingContributionPresets (indirectly by Contribution) wikiInfo: thing({ class: input.value(WikiInfo), }), @@ -643,6 +632,7 @@ export class TrackSection extends Thing { // Update only + // used for withAlbum albumData: wikiData({ class: input.value(Album), }), |