« get me outta code hell

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

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

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