« get me outta code hell

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

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

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