Add tests for video linking

This commit is contained in:
Zoe Roux
2025-06-06 13:16:11 +02:00
parent 6e2743a4be
commit 489336c77a
8 changed files with 164 additions and 38 deletions
+5 -2
View File
@@ -515,10 +515,13 @@ export const videosH = new Elysia({ prefix: "/videos", tags: ["videos"] })
201: t.Array(
t.Object({
id: t.String({ format: "uuid" }),
path: t.String(),
path: t.String({ examples: ["/video/made in abyss s1e13.mkv"] }),
entries: t.Array(
t.Object({
slug: t.String({ format: "slug" }),
slug: t.String({
format: "slug",
examples: ["made-in-abyss-s1e13"],
}),
}),
),
}),