From f2161a3fe8ff9b574f53156d08ca7853427be8e4 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 27 Nov 2025 21:09:29 -0400 Subject: data: Track, Album: concise-retouch toplevel property descriptors notably chopped exitWithoutArtwork and contribsPresent, replaced with new hasArtwork and more exitWithoutDependency --- src/data/composite/wiki-data/exitWithoutArtwork.js | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/data/composite/wiki-data/exitWithoutArtwork.js (limited to 'src/data/composite/wiki-data/exitWithoutArtwork.js') diff --git a/src/data/composite/wiki-data/exitWithoutArtwork.js b/src/data/composite/wiki-data/exitWithoutArtwork.js deleted file mode 100644 index 8e799fda..00000000 --- a/src/data/composite/wiki-data/exitWithoutArtwork.js +++ /dev/null @@ -1,45 +0,0 @@ -import {input, templateCompositeFrom} from '#composite'; -import {isContributionList, isThing, strictArrayOf} from '#validators'; - -import {exitWithoutDependency} from '#composite/control-flow'; - -import withHasArtwork from './withHasArtwork.js'; - -export default templateCompositeFrom({ - annotation: `exitWithoutArtwork`, - - inputs: { - contribs: input({ - validate: isContributionList, - defaultValue: null, - }), - - artwork: input({ - validate: isThing, - defaultValue: null, - }), - - artworks: input({ - validate: strictArrayOf(isThing), - defaultValue: null, - }), - - value: input({ - defaultValue: null, - }), - }, - - steps: () => [ - withHasArtwork({ - contribs: input('contribs'), - artwork: input('artwork'), - artworks: input('artworks'), - }), - - exitWithoutDependency({ - dependency: '#hasArtwork', - mode: input.value('falsy'), - value: input('value'), - }), - ], -}); -- cgit 1.3.0-6-gf8a5