Fix & test movie, episodes & slug linking

This commit is contained in:
Zoe Roux
2025-05-01 21:38:51 +02:00
parent 060c4d74b4
commit 6a5862ddd2
9 changed files with 172 additions and 47 deletions
-1
View File
@@ -3,7 +3,6 @@ import type { Video } from "~/models/video";
export const madeInAbyssVideo: Video = {
id: "3cd436ee-01ff-4f45-ba98-654282531234",
slug: "made-in-abyss-s1e13",
path: "/video/Made in abyss S01E13.mkv",
rendering: "459429fa062adeebedcc2bb04b9965de0262bfa453369783132d261be79021bd",
part: null,
+1 -1
View File
@@ -78,7 +78,7 @@ export const SeedVideo = t.Object({
}),
}),
t.Object({
externalId: t.Optional(t.Union([EpisodeId, ExternalId()])),
externalId: t.Union([EpisodeId, ExternalId()]),
}),
t.Object({
movie: t.Union([