From 3453dc831989829f996a2ef3cefa408b94ca70d6 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 14 Apr 2025 20:59:17 -0300 Subject: data: CommentaryEntry Fully integrated, all in one commit! Wow! --- src/data/composite/wiki-properties/commentary.js | 34 ------------------------ 1 file changed, 34 deletions(-) delete mode 100644 src/data/composite/wiki-properties/commentary.js (limited to 'src/data/composite/wiki-properties/commentary.js') diff --git a/src/data/composite/wiki-properties/commentary.js b/src/data/composite/wiki-properties/commentary.js deleted file mode 100644 index 928bbd1b..00000000 --- a/src/data/composite/wiki-properties/commentary.js +++ /dev/null @@ -1,34 +0,0 @@ -// Artist commentary! Generally present on tracks and albums. - -import {input, templateCompositeFrom} from '#composite'; -import {isCommentary} from '#validators'; - -import {exitWithoutDependency, exposeDependency} - from '#composite/control-flow'; -import {withParsedCommentaryEntries} from '#composite/wiki-data'; - -export default templateCompositeFrom({ - annotation: `commentary`, - - compose: false, - - update: { - validate: isCommentary, - }, - - steps: () => [ - exitWithoutDependency({ - dependency: input.updateValue(), - mode: input.value('falsy'), - value: input.value([]), - }), - - withParsedCommentaryEntries({ - from: input.updateValue(), - }), - - exposeDependency({ - dependency: '#parsedCommentaryEntries', - }), - ], -}); -- cgit 1.3.0-6-gf8a5