mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-28 01:52:27 -04:00
Fix types
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user