« get me outta code hell

data: Tag.extraReadingURLs - 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>2023-10-04 15:24:33 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-04 15:24:33 -0300
commitbdfd91a942286e4d9dacd8df916a8184455451fc (patch)
tree1d7451c18083aa54d30999a8792d6e0cdddc8ad8 /src
parenta1bfa1d0d68890ebd5811bd46455d10be4bbc17d (diff)
data: Tag.extraReadingURLs
Diffstat (limited to 'src')
-rw-r--r--src/data/things/art-tag.js2
-rw-r--r--src/data/yaml.js1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/data/things/art-tag.js b/src/data/things/art-tag.js
index 50526691..707b3c93 100644
--- a/src/data/things/art-tag.js
+++ b/src/data/things/art-tag.js
@@ -15,6 +15,7 @@ import {
   reverseReferenceList,
   simpleString,
   name,
+  urls,
   wikiData,
 } from '#composite/wiki-properties';
 
@@ -32,6 +33,7 @@ export class ArtTag extends Thing {
     directory: directory(),
     color: color(),
     isContentWarning: flag(false),
+    extraReadingURLs: urls(),
 
     nameShort: [
       exposeUpdateValueOrContinue({
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 61a9308d..09465648 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -460,6 +460,7 @@ export const processArtTagDocument = makeProcessDocument(T.ArtTag, {
     nameShort: 'Short Name',
     directory: 'Directory',
     description: 'Description',
+    extraReadingURLs: 'Extra Reading URLs',
 
     color: 'Color',
     isContentWarning: 'Is CW',