« get me outta code hell

data: TrackSection.description - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-07-31 09:28:25 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-07-31 09:28:25 -0300
commit6c256d71e923b6301037c843a34f4a893f787b96 (patch)
tree1f8debbafba18224ce8971f70cd75a50d262d4a2 /src
parent948b6b446f413df1e1a8aa20dea854d89bd2d93b (diff)
data: TrackSection.description
Diffstat (limited to 'src')
-rw-r--r--src/data/things/album.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js
index 9c4416b6..ee99c814 100644
--- a/src/data/things/album.js
+++ b/src/data/things/album.js
@@ -31,6 +31,7 @@ import {
   commentary,
   color,
   commentatorArtists,
+  contentString,
   contribsPresent,
   contributionList,
   dimensions,
@@ -524,6 +525,8 @@ export class TrackSection extends Thing {
 
     isDefaultTrackSection: flag(false),
 
+    description: contentString(),
+
     album: [
       withAlbum(),
       exposeDependency({dependency: '#album'}),
@@ -637,6 +640,8 @@ export class TrackSection extends Thing {
         property: 'dateOriginallyReleased',
         transform: parseDate,
       },
+
+      'Description': {property: 'description'},
     },
   };