« get me outta code hell

data: Artwork.attachAbove - 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>2025-04-22 17:01:12 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-04-22 17:06:18 -0300
commitfe9eb7f3a32aab2eb5935ccbe6dc70a827731bce (patch)
tree1300d150e7390b6c54a5a07c169c7bef6b1a7f3e /src
parent0824ef663491a1c90b2fd1a26cd658a37fdadca7 (diff)
data: Artwork.attachAbove
Just a stub here - not part of any data processing at this time.
Diffstat (limited to 'src')
-rw-r--r--src/data/things/artwork.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/data/things/artwork.js b/src/data/things/artwork.js
index 0ef257fe..079eefa4 100644
--- a/src/data/things/artwork.js
+++ b/src/data/things/artwork.js
@@ -44,6 +44,7 @@ import {
 import {
   contentString,
   directory,
+  flag,
   reverseReferenceList,
   simpleString,
   soupyFind,
@@ -153,6 +154,8 @@ export class Artwork extends Thing {
       }),
     ],
 
+    attachAbove: flag(false),
+
     artistContribsFromThingProperty: simpleString(),
     artistContribsArtistProperty: simpleString(),
 
@@ -387,6 +390,8 @@ export class Artwork extends Thing {
         transform: parseDate,
       },
 
+      'Attach Above': {property: 'attachAbove'},
+
       'Artists': {
         property: 'artistContribs',
         transform: parseContributors,