« get me outta code hell

content: listTracksNeedingLyrics - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-08-23 15:23:43 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-08-23 15:23:43 -0300
commite95166f08080ec370a482786c3c60bea5c8eb3ea (patch)
tree5fa58383c8acb5acadc5f82f24d9511440ed0b36 /src/content
parent1efbd6a6fe303e8c6f106053d12fc21b1e8d7b52 (diff)
content: listTracksNeedingLyrics
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/listTracksNeedingLyrics.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/content/dependencies/listTracksNeedingLyrics.js b/src/content/dependencies/listTracksNeedingLyrics.js
new file mode 100644
index 00000000..655bf2a0
--- /dev/null
+++ b/src/content/dependencies/listTracksNeedingLyrics.js
@@ -0,0 +1,9 @@
+export default {
+  contentDependencies: ['listTracksWithExtra'],
+
+  relations: (relation, spec) =>
+    ({page: relation('listTracksWithExtra', spec, 'needsLyrics', 'truthy')}),
+
+  generate: (relations) =>
+    relations.page,
+};