« get me outta code hell

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

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

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