diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2025-11-25 16:47:06 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2025-11-25 16:47:06 -0400 |
| commit | 23b29313e227ff561627143c5c0108525f5d8df0 (patch) | |
| tree | 91241ceb8059f41dc200858a796c7f827dd504dd /src/data/composite/things/track/withOtherReleases.js | |
| parent | 7cf701e6e44dbbd15694542969b48b6707ab0c24 (diff) | |
data: Track: chop withOtherReleases
Diffstat (limited to 'src/data/composite/things/track/withOtherReleases.js')
| -rw-r--r-- | src/data/composite/things/track/withOtherReleases.js | 23 |
1 files changed, 0 insertions, 23 deletions
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), - }), - }, - ], -}); |