blob: a4dfff0d82327635549acfaa3e3511062accc5bb (
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 {input, templateCompositeFrom} from '#composite';
import {withUniqueReferencingThing} from '#composite/wiki-data';
export default templateCompositeFrom({
annotation: `withAlbum`,
outputs: ['#album'],
steps: () => [
withUniqueReferencingThing({
data: 'albumData',
list: input.value('trackSections'),
}).outputs({
['#uniqueReferencingThing']: '#album',
}),
],
});
|