« get me outta code hell

linkAlbumGallery.js « dependencies « content « src - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkAlbumGallery.js
blob: e3f30a296e621ba1f3bfbcd7a6e166a213dbd005 (plain)
1
2
3
4
5
6
7
8
export default {
  contentDependencies: ['linkThing'],

  relations: (relation, album) =>
    ({link: relation('linkThing', 'localized.albumGallery', album)}),

  generate: (relations) => relations.link,
};