« get me outta code hell

data steps - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/thing
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-01-29 00:00:32 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-01-29 00:00:38 -0400
commiteb3ba147e38ed658133b2e6d1470dc0e26f0e768 (patch)
tree57c38282a05ba387b7062f6e43bbb6e4d2d8f04c /src/thing
parentc3dfb1d5607627e45595347628f39eb7546009da (diff)
data steps
Diffstat (limited to 'src/thing')
-rw-r--r--src/thing/track.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/thing/track.js b/src/thing/track.js
index 3174cabb..75df109a 100644
--- a/src/thing/track.js
+++ b/src/thing/track.js
@@ -55,6 +55,11 @@ export default class Track extends Thing {
             update: {validate: isDate}
         },
 
+        coverArtDate: {
+            flags: {update: true, expose: true},
+            update: {validate: isDate}
+        },
+
         hasCoverArt: {
             flags: {update: true, expose: true},
             update: {default: true, validate: isBoolean}