From ad146774480bb29cff04b50d887e132f3bd3f64f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 30 Jan 2024 14:04:41 -0400 Subject: find, data: move find specs into Thing subclasses --- src/data/things/album.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/data/things/album.js') diff --git a/src/data/things/album.js b/src/data/things/album.js index 318979cc..c5ef444e 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -207,6 +207,13 @@ export class Album extends Thing { commentatorArtists: S.toRefs, }); + static [Thing.findSpecs] = { + album: { + referenceTypes: ['album', 'album-commentary', 'album-gallery'], + bindTo: 'albumData', + }, + }; + static [Thing.yamlDocumentSpec] = { fields: { 'Album': {property: 'name'}, -- cgit 1.3.0-6-gf8a5