« get me outta code hell

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

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

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