mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-02 13:14:29 -04:00
Make guess
field of video mandatory
This commit is contained in:
parent
ac7b589d76
commit
16fb638231
@ -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).
|
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.
|
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"],
|
examples: ["en-US"],
|
||||||
...props,
|
...props,
|
||||||
}),
|
}),
|
||||||
|
@ -65,7 +65,7 @@ export const SeedVideo = t.Object({
|
|||||||
"Kyoo will prefer playing back the highest `version` number if there are multiples rendering.",
|
"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;
|
export type SeedVideo = typeof SeedVideo.static;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user