blob: e257062efc5f9b1bb430f90d37dbaf525b26ea6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Gets the track section's album.
import {templateCompositeFrom} from '#composite';
import {withUniqueReferencingThing} from '#composite/wiki-data';
import {soupyReverse} from '#composite/wiki-properties';
export default templateCompositeFrom({
annotation: `withAlbum`,
outputs: ['#album'],
steps: () => [
withUniqueReferencingThing({
reverse: soupyReverse.input('albumsWhoseTrackSectionsInclude'),
}).outputs({
['#uniqueReferencingThing']: '#album',
}),
],
});
|