From 9d99dafca9dc4e16b867b707746314040a8d9ba5 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 11 Jan 2025 00:11:37 -0400 Subject: data: use soupyFind everywhere also notes where remaining directly-provided wikiData() props are used --- src/data/things/wiki-info.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/data/things/wiki-info.js') 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] = { -- cgit 1.3.0-6-gf8a5