« get me outta code hell

linkArtistGallery.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/linkArtistGallery.js
blob: 66dc172d168a51a88927cf7181a6f81483c25b75 (plain)
1
2
3
4
5
6
7
8
export default {
  contentDependencies: ['linkThing'],

  relations: (relation, artist) =>
    ({link: relation('linkThing', 'localized.artistGallery', artist)}),

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