mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-04-07 09:41:56 -04:00
Fix types
This commit is contained in:
parent
18150fc5d1
commit
885e409bc8
@ -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, {
|
||||
|
||||
@ -28,7 +28,7 @@ beforeAll(async () => {
|
||||
});
|
||||
|
||||
const miaEntrySlug = `${madeInAbyss.slug}-s1e13`;
|
||||
const miaNextEntrySlug = `${madeInAbyss.slug}-sp3`;
|
||||
const miaNextEntrySlug = "made-in-abyss-dawn-of-the-deep-soul";
|
||||
|
||||
describe("nextup", () => {
|
||||
it("Watchlist populates nextup", async () => {
|
||||
|
||||
@ -37,7 +37,6 @@ import {
|
||||
HR,
|
||||
IconButton,
|
||||
IconFab,
|
||||
Image,
|
||||
ImageBackground,
|
||||
LI,
|
||||
Link,
|
||||
|
||||
@ -3,6 +3,7 @@ import { View } from "react-native";
|
||||
import { type KImage, Role } from "~/models";
|
||||
import { Container, H2, Link, P, Poster, Skeleton, SubP } from "~/primitives";
|
||||
import { InfiniteGrid, type QueryIdentifier } from "~/query";
|
||||
import { cn } from "~/utils";
|
||||
import { EmptyView } from "../empty-view";
|
||||
|
||||
export const CharacterCard = ({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user