« get me outta code hell

data: add [Thing.friendlyName] property to some Thing subclasses - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/homepage-layout.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-10-18 14:25:27 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-18 14:25:27 -0300
commit4e2dae523e7bf8b49272bd6afcba86a8157af4a1 (patch)
tree35043e2235fb37b26d51d6d8cdfbedb7ac3e5981 /src/data/things/homepage-layout.js
parent428e14394209f55215168b9acbe680a982f9beb6 (diff)
data: add [Thing.friendlyName] property to some Thing subclasses
Diffstat (limited to 'src/data/things/homepage-layout.js')
-rw-r--r--src/data/things/homepage-layout.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/data/things/homepage-layout.js b/src/data/things/homepage-layout.js
index de9d0e50..bfa971ca 100644
--- a/src/data/things/homepage-layout.js
+++ b/src/data/things/homepage-layout.js
@@ -26,6 +26,8 @@ import {
 import Thing from './thing.js';
 
 export class HomepageLayout extends Thing {
+  static [Thing.friendlyName] = `Homepage Layout`;
+
   static [Thing.getPropertyDescriptors] = ({HomepageLayoutRow}) => ({
     // Update & expose
 
@@ -47,6 +49,8 @@ export class HomepageLayout extends Thing {
 }
 
 export class HomepageLayoutRow extends Thing {
+  static [Thing.friendlyName] = `Homepage Row`;
+
   static [Thing.getPropertyDescriptors] = ({Album, Group}) => ({
     // Update & expose
 
@@ -75,6 +79,8 @@ export class HomepageLayoutRow extends Thing {
 }
 
 export class HomepageLayoutAlbumsRow extends HomepageLayoutRow {
+  static [Thing.friendlyName] = `Homepage Albums Row`;
+
   static [Thing.getPropertyDescriptors] = (opts, {Album, Group} = opts) => ({
     ...HomepageLayoutRow[Thing.getPropertyDescriptors](opts),