diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-04-04 15:59:40 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-04-04 15:59:52 -0300 |
commit | 1832328c39bb1608d14e1079698c187510d924c3 (patch) | |
tree | d93003735162e520c764e165f1478501f586bbdb /src/content/dependencies/linkTrack.js | |
parent | 5b0cca036702b0726d54f90e407a06a3c80f3d66 (diff) |
content: generateAlbumTrackList, linkTrack
Diffstat (limited to 'src/content/dependencies/linkTrack.js')
-rw-r--r-- | src/content/dependencies/linkTrack.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/content/dependencies/linkTrack.js b/src/content/dependencies/linkTrack.js new file mode 100644 index 00000000..d5d96726 --- /dev/null +++ b/src/content/dependencies/linkTrack.js @@ -0,0 +1,8 @@ +export default { + contentDependencies: ['linkThing'], + + relations: (relation, track) => + ({link: relation('linkThing', 'localized.track', track)}), + + generate: (relations) => relations.link, +}; |