« get me outta code hell

artist ref validation, nicer showAggregate output - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-02-16 21:48:11 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-02-16 21:48:11 -0400
commitad079e0c9e6ab32203bc684851e586ed10c3378c (patch)
treef53750079e8b4ac6aad78c83d9b780ac882efccb /src/data
parent2b637c86420eb68bfbc1090ff30f7be3fbb258c8 (diff)
artist ref validation, nicer showAggregate output
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/data/things.js b/src/data/things.js
index 6119f2d7..dd85e4a7 100644
--- a/src/data/things.js
+++ b/src/data/things.js
@@ -548,7 +548,12 @@ Artist.propertyDescriptors = {
     urls: Thing.common.urls(),
     contextNotes: Thing.common.simpleString(),
 
-    aliasRefs: Thing.common.referenceList(Artist),
+    aliasNames: {
+        flags: {update: true, expose: true},
+        update: {
+            validate: validateArrayItems(isName)
+        }
+    },
 };
 
 // -> Group