From 23b29313e227ff561627143c5c0108525f5d8df0 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 25 Nov 2025 16:47:06 -0400 Subject: data: Track: chop withOtherReleases --- .../composite/things/track/withOtherReleases.js | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/data/composite/things/track/withOtherReleases.js (limited to 'src/data/composite/things/track/withOtherReleases.js') diff --git a/src/data/composite/things/track/withOtherReleases.js b/src/data/composite/things/track/withOtherReleases.js deleted file mode 100644 index ccf57deb..00000000 --- a/src/data/composite/things/track/withOtherReleases.js +++ /dev/null @@ -1,23 +0,0 @@ -// Gets all releases of the current track *except* this track itself; -// in other words, all other releases of the current track. - -import {input, templateCompositeFrom} from '#composite'; - -export default templateCompositeFrom({ - annotation: `withOtherReleases`, - - outputs: ['#otherReleases'], - - steps: () => [ - { - dependencies: [input.myself(), 'allReleases'], - compute: (continuation, { - [input.myself()]: thisTrack, - ['allReleases']: allReleases, - }) => continuation({ - ['#otherReleases']: - allReleases.filter(track => track !== thisTrack), - }), - }, - ], -}); -- cgit 1.3.0-6-gf8a5