Fix types

This commit is contained in:
Zoe Roux
2026-04-04 11:49:58 +02:00
parent 18150fc5d1
commit 885e409bc8
5 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ export const historyH = new Elysia({ tags: ["profiles"] })
userId: sub,
progressQ: historyProgressQ,
relations: ["show"],
})) as Entry[];
})) as (Entry & { show: Show })[];
return createPage(items, { url, sort, limit, headers });
},
@@ -59,6 +59,7 @@ export const insertEntries = record(
const { translations, videos, video, ...entry } = seed;
return {
...entry,
content: entry.kind !== "extra" ? entry.content : "story",
showPk: show.pk,
slug: generateSlug(show.slug, seed),
thumbnail: enqueueOptImage(imgQueue, {