blob: 82c23325e25c82a009cb67051fc13abb2b533cb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
export default {
contentDependencies: ['generateUnsafeMunchy', 'linkThing'],
relations: (relation, flashAct) => ({
unsafeMunchy:
relation('generateUnsafeMunchy'),
link:
relation('linkThing', 'localized.flashActGallery', flashAct),
}),
data: (flashAct) => ({
name: flashAct.name,
}),
generate: (data, relations) =>
relations.link.slots({
content:
relations.unsafeMunchy
.slot('contentSource', data.name),
}),
};
|