« get me outta code hell

data, content: Track: "Referencing Sources" - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/yaml.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-05-21 14:14:19 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-05-21 14:14:19 -0300
commit37122b700c27435a8d8487f0d474a5c52f685e59 (patch)
tree920002fa293a8a65410a2c0151ca4188ec60212b /src/data/yaml.js
parent85e62b20170c566c5a22479f5dfaccc2817f4afe (diff)
data, content: Track: "Referencing Sources"
Diffstat (limited to 'src/data/yaml.js')
-rw-r--r--src/data/yaml.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 2dd1f7e8..e8d24353 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -930,6 +930,10 @@ export function parseCreditingSources(value, {subdoc, CreditingSourcesEntry}) {
   return parseContentEntries(CreditingSourcesEntry, value, {subdoc});
 }
 
+export function parseReferencingSources(value, {subdoc, ReferencingSourcesEntry}) {
+  return parseContentEntries(ReferencingSourcesEntry, value, {subdoc});
+}
+
 export function parseLyrics(value, {subdoc, LyricsEntry}) {
   if (
     typeof value === 'string' &&
@@ -1638,6 +1642,8 @@ export function linkWikiDataArrays(wikiData, {bindFind, bindReverse}) {
 
     ['lyricsData', [/* find */]],
 
+    ['referencingSourceData', [/* find */]],
+
     ['seriesData', [/* find */]],
 
     ['trackData', [