File tree 3 files changed +25
-10
lines changed
src/data/composite/things/album
3 files changed +25
-10
lines changed Original file line number Diff line number Diff line change
1
+ export { default as withTrackSections } from './withTrackSections.js' ;
1
2
export { default as withTracks } from './withTracks.js' ;
Original file line number Diff line number Diff line change
1
+ import { input , templateCompositeFrom } from '#composite' ;
2
+
3
+ import find from '#find' ;
4
+
5
+ import { withResolvedReferenceList } from '#composite/wiki-data' ;
6
+
7
+ export default templateCompositeFrom ( {
8
+ annotation : `withTrackSections` ,
9
+
10
+ outputs : [ '#trackSections' ] ,
11
+
12
+ steps : ( ) => [
13
+ withResolvedReferenceList ( {
14
+ list : 'trackSections' ,
15
+ data : 'ownTrackSectionData' ,
16
+ find : input . value ( find . unqualifiedTrackSection ) ,
17
+ } ) . outputs ( {
18
+ [ '#resolvedReferenceList' ] : '#trackSections' ,
19
+ } ) ,
20
+ ] ,
21
+ } ) ;
Original file line number Diff line number Diff line change 1
1
import { input , templateCompositeFrom } from '#composite' ;
2
2
3
- import find from '#find' ;
4
-
5
- import { exitWithoutDependency } from '#composite/control-flow' ;
6
3
import { withFlattenedList , withPropertyFromList } from '#composite/data' ;
7
4
import { withResolvedReferenceList } from '#composite/wiki-data' ;
8
5
6
+ import withTrackSections from './withTrackSections.js' ;
7
+
9
8
export default templateCompositeFrom ( {
10
9
annotation : `withTracks` ,
11
10
12
11
outputs : [ '#tracks' ] ,
13
12
14
13
steps : ( ) => [
15
- withResolvedReferenceList ( {
16
- list : 'trackSections' ,
17
- data : 'ownTrackSectionData' ,
18
- find : input . value ( find . unqualifiedTrackSection ) ,
19
- } ) . outputs ( {
20
- [ '#resolvedReferenceList' ] : '#trackSections' ,
21
- } ) ,
14
+ withTrackSections ( ) ,
22
15
23
16
withPropertyFromList ( {
24
17
list : '#trackSections' ,
You can’t perform that action at this time.
0 commit comments