« get me outta code hell

data: withResolvedArtworkReferenceList -> ...Annotated - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/track.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-11-16 13:51:25 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-11-17 13:40:00 -0400
commitd28e04697429b607c38042ac09418adfceb06baf (patch)
tree4e6d422c065ab0925d9547865061b380db247276 /src/data/things/track.js
parent65ff74446f22976613caf352d42253c8c17e172d (diff)
data: withResolvedArtworkReferenceList -> ...Annotated
Diffstat (limited to 'src/data/things/track.js')
-rw-r--r--src/data/things/track.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index d86c7635..5c3161aa 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -11,11 +11,11 @@ import {isBoolean, isColor, isContributionList, isDate, isFileExtension}
 import {
   parseAdditionalFiles,
   parseAdditionalNames,
+  parseAnnotatedReferences,
   parseContributors,
   parseDate,
   parseDimensions,
   parseDuration,
-  parseReferencedArtworks,
 } from '#yaml';
 
 import {withPropertyFromObject} from '#composite/data';
@@ -526,7 +526,7 @@ export class Track extends Thing {
 
       'Referenced Artworks': {
         property: 'referencedArtworks',
-        transform: parseReferencedArtworks,
+        transform: parseAnnotatedReferences,
       },
 
       'Franchises': {ignore: true},