« get me outta code hell

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

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

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