From 2023d855798ee3bdaa058c2c8c6fa9bb61b09358 Mon Sep 17 00:00:00 2001 From: Mani <12898705+Maniload@users.noreply.github.com> Date: Sun, 2 Feb 2025 20:46:59 +0100 Subject: [PATCH] fix: Improve build performance of artist pages (#234) --- src/lib/common/animethemes/api.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/common/animethemes/api.ts b/src/lib/common/animethemes/api.ts index 90a1375..6ff29a0 100644 --- a/src/lib/common/animethemes/api.ts +++ b/src/lib/common/animethemes/api.ts @@ -68,6 +68,10 @@ export const INCLUDES = { song: "_", artist: "_", }, + ArtistMembership: { + group: "_", + member: "_", + }, FeaturedTheme: { entry: "animethemeentry", video: "video", @@ -136,6 +140,14 @@ const ALLOWED_INCLUDES: Record> = { "songs.animethemes.anime", "members", "groups", + "groups.songs.artists", + "groups.songs.animethemes.song", + "groups.songs.animethemes.group", + "groups.songs.animethemes.song.artists", + "groups.songs.animethemes.anime.images", + "groups.songs.animethemes.animethemeentries", + "groups.songs.animethemes.animethemeentries.videos", + "groups.songs.animethemes.animethemeentries.videos.audio", "resources", "images", "songs.artists",