« get me outta code hell

listTracksWithSheetMusicFiles.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/listTracksWithSheetMusicFiles.js
blob: 0c6761eb148f5563e8bcab5b39c8ef72f33df041 (plain)
1
2
3
4
5
6
7
8
9
export default {
  contentDependencies: ['listTracksWithExtra'],

  relations: (relation, spec) =>
    ({page: relation('listTracksWithExtra', spec, 'sheetMusicFiles', 'array')}),

  generate: (relations) =>
    relations.page.slot('hash', 'sheet-music-files'),
};