« get me outta code hell

linkCommentaryIndex.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/linkCommentaryIndex.js
blob: 5568ff8446ebc336565d2f095e97edeeb9a67f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
export default {
  contentDependencies: ['linkStationaryIndex'],

  relations: (relation) =>
    ({link:
        relation(
          'linkStationaryIndex',
          'localized.commentaryIndex',
          'commentaryIndex.title')}),

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