« get me outta code hell

generateNextLink.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/generateNextLink.js
blob: 2c497e12df1d9c26059d986a80b1e56b7f705bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
export default {
  relations: (relation) => ({
    link:
      relation('generatePreviousNextLink'),
  }),

  generate: (relations) =>
    relations.link.slots({
      direction: 'next',
    }),
};