Make guess field of video mandatory

This commit is contained in:
Zoe Roux 2025-03-08 16:25:50 +01:00
parent ac7b589d76
commit 16fb638231
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@ export const Language = (props?: NonNullable<Parameters<typeof t.String>[0]>) =>
This is a BCP 47 language code (the IETF Best Current Practices on Tags for Identifying Languages).
BCP 47 is also known as RFC 5646. It subsumes ISO 639 and is backward compatible with it.
`,
error: "Expected a valid (and NORMALIZED) bcp-47 language code.",
examples: ["en-US"],
...props,
}),

View File

@ -65,7 +65,7 @@ export const SeedVideo = t.Object({
"Kyoo will prefer playing back the highest `version` number if there are multiples rendering.",
}),
guess: t.Optional(Guess),
guess: Guess,
});
export type SeedVideo = typeof SeedVideo.static;