« get me outta code hell

generatePreviousLink.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/generatePreviousLink.js
blob: 29146a214573e464f9121d29f74a25fa77bffc6c (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: 'previous',
    }),
};