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/wiki-info.js | |
parent | 8bbd9ac0b5cf8cc64ccbae7ae16b23f05d93d880 (diff) |
data: use soupyFind everywhere
also notes where remaining directly-provided wikiData() props are used
Diffstat (limited to 'src/data/things/wiki-info.js')
-rw-r--r-- | src/data/things/wiki-info.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/data/things/wiki-info.js b/src/data/things/wiki-info.js index ef643681..1a91ac5e 100644 --- a/src/data/things/wiki-info.js +++ b/src/data/things/wiki-info.js @@ -15,7 +15,7 @@ import { } from '#validators'; import {exitWithoutDependency} from '#composite/control-flow'; -import {contentString, flag, name, referenceList, wikiData} +import {contentString, flag, name, referenceList, soupyFind} from '#composite/wiki-properties'; export class WikiInfo extends Thing { @@ -71,8 +71,7 @@ export class WikiInfo extends Thing { divideTrackListsByGroups: referenceList({ class: input.value(Group), - find: input.value(find.group), - data: 'groupData', + find: soupyFind.input('group'), }), contributionPresets: { @@ -99,6 +98,8 @@ export class WikiInfo extends Thing { // Update only + find: soupyFind(), + searchDataAvailable: { flags: {update: true}, update: { @@ -106,10 +107,6 @@ export class WikiInfo extends Thing { default: false, }, }, - - groupData: wikiData({ - class: input.value(Group), - }), }); static [Thing.yamlDocumentSpec] = { |