diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2025-11-20 15:51:14 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2025-11-25 07:06:49 -0400 |
| commit | f44b69b6079c80da98aafe9022cb68923e52a03c (patch) | |
| tree | f5899a51a4dba595a031b7a40c3e0ebd1a468380 /src/data/things/content.js | |
| parent | 03142771e556f9e115709832a98d81942528f10a (diff) | |
data, yaml: save() -> connect(), Thing.wikiData & friends
HOLY GUACAMOLE
Diffstat (limited to 'src/data/things/content.js')
| -rw-r--r-- | src/data/things/content.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/data/things/content.js b/src/data/things/content.js index a3dfc183..95836abd 100644 --- a/src/data/things/content.js +++ b/src/data/things/content.js @@ -154,6 +154,8 @@ export class ContentEntry extends Thing { } export class CommentaryEntry extends ContentEntry { + static [Thing.wikiData] = 'commentaryData'; + static [Thing.getPropertyDescriptors] = () => ({ // Expose only @@ -170,6 +172,8 @@ export class CommentaryEntry extends ContentEntry { } export class LyricsEntry extends ContentEntry { + static [Thing.wikiData] = 'lyricsData'; + static [Thing.getPropertyDescriptors] = () => ({ // Update & expose @@ -223,6 +227,8 @@ export class LyricsEntry extends ContentEntry { } export class CreditingSourcesEntry extends ContentEntry { + static [Thing.wikiData] = 'creditingSourceData'; + static [Thing.getPropertyDescriptors] = () => ({ // Expose only @@ -235,6 +241,8 @@ export class CreditingSourcesEntry extends ContentEntry { } export class ReferencingSourcesEntry extends ContentEntry { + static [Thing.wikiData] = 'referencingSourceData'; + static [Thing.getPropertyDescriptors] = () => ({ // Expose only |