« get me outta code hell

data: isAlbum, isTrack, isArtist, isCommentaryEntry, etc - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/artwork.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-07-10 08:28:41 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-07-10 08:28:41 -0300
commit0674d61d13ebaafe3b36dd84b7ab90db7f99ceb4 (patch)
treefa081814a1e44f003fb44b8cdbf6ed782c879c9b /src/data/things/artwork.js
parentb9afcbf668f52d55550eddcc9ff164ee66aadeae (diff)
data: isAlbum, isTrack, isArtist, isCommentaryEntry, etc
Diffstat (limited to 'src/data/things/artwork.js')
-rw-r--r--src/data/things/artwork.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/data/things/artwork.js b/src/data/things/artwork.js
index 57c293ca..4aced874 100644
--- a/src/data/things/artwork.js
+++ b/src/data/things/artwork.js
@@ -323,6 +323,12 @@ export class Artwork extends Thing {
 
     // Expose only
 
+    isArtwork: [
+      exposeConstant({
+        value: input.value(true),
+      }),
+    ],
+
     referencedByArtworks: reverseReferenceList({
       reverse: soupyReverse.input('artworksWhichReference'),
     }),