« get me outta code hell

data: Contribution.artistProperty - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-17 21:13:19 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-18 22:56:14 -0300
commitc6713a38edf084c27a6c58457bf26a23247714ef (patch)
tree1627ff0954916a535a7ff78a76fa60529241784b /src/data/things
parentd4e361e32e144d559b0a20c97025b7581dc4a1d5 (diff)
data: Contribution.artistProperty
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/contribution.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/data/things/contribution.js b/src/data/things/contribution.js
index 9d6a9711..b542dcf3 100644
--- a/src/data/things/contribution.js
+++ b/src/data/things/contribution.js
@@ -35,6 +35,11 @@ export class Contribution extends Thing {
       update: {validate: isStringNonEmpty},
     },
 
+    artistProperty: {
+      flags: {update: true, expose: true},
+      update: {validate: isStringNonEmpty},
+    },
+
     date: simpleDate(),
 
     artist: [