« get me outta code hell

data: concise-retouch remaining toplevel property descriptors - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/news-entry.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-12-06 13:25:28 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-12-06 13:25:28 -0400
commitc7cc130f97c2a0f390ba0e07e3aa048395636817 (patch)
tree91e4e4b5b1d5c70b364dc7e530b424ea3e422b09 /src/data/things/news-entry.js
parentf2161a3fe8ff9b574f53156d08ca7853427be8e4 (diff)
data: concise-retouch remaining toplevel property descriptors
Diffstat (limited to 'src/data/things/news-entry.js')
-rw-r--r--src/data/things/news-entry.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/data/things/news-entry.js b/src/data/things/news-entry.js
index e5467a46..54362d06 100644
--- a/src/data/things/news-entry.js
+++ b/src/data/things/news-entry.js
@@ -1,6 +1,6 @@
 export const NEWS_DATA_FILE = 'news.yaml';
 
-import {input} from '#composite';
+import {V} from '#composite';
 import {sortChronologically} from '#sort';
 import Thing from '#thing';
 import {parseDate} from '#yaml';
@@ -25,11 +25,7 @@ export class NewsEntry extends Thing {
 
     // Expose only
 
-    isNewsEntry: [
-      exposeConstant({
-        value: input.value(true),
-      }),
-    ],
+    isNewsEntry: exposeConstant(V(true)),
 
     contentShort: {
       flags: {expose: true},