« get me outta code hell

'Listed in Albums' gallery flag - 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-12-28 20:15:05 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-12-28 20:15:05 -0400
commit81e7947f1c4a8a795fa4be7aa797683692391d41 (patch)
tree31c2d41683d5049b45d7a393c60736fc0bad75b9 /src/data
parent0f33d55f3baadc2ff44dbf09d7d46a4970c49e38 (diff)
'Listed in Albums' gallery flag
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things/album.js1
-rw-r--r--src/data/yaml.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js
index 281da871..ade34e3d 100644
--- a/src/data/things/album.js
+++ b/src/data/things/album.js
@@ -82,6 +82,7 @@ export class Album extends Thing {
     hasTrackNumbers: Thing.common.flag(true),
     isMajorRelease: Thing.common.flag(false),
     isListedOnHomepage: Thing.common.flag(true),
+    isListedInGalleries: Thing.common.flag(true),
 
     commentary: Thing.common.commentary(),
     additionalFiles: Thing.common.additionalFiles(),
diff --git a/src/data/yaml.js b/src/data/yaml.js
index a5a0e798..83368832 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -217,6 +217,7 @@ export const processAlbumDocument = makeProcessDocument(T.Album, {
     hasTrackNumbers: 'Has Track Numbers',
     isMajorRelease: 'Major Release',
     isListedOnHomepage: 'Listed on Homepage',
+    isListedInGalleries: 'Listed in Galleries',
 
     groupsByRef: 'Groups',
     artTagsByRef: 'Art Tags',