mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
api/schema: update twitterGif & videoQuality defaults
This commit is contained in:
parent
cd9be54023
commit
555625878e
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ export const apiSchema = z.object({
|
||||||
|
|
||||||
videoQuality: z.enum(
|
videoQuality: z.enum(
|
||||||
["max", "4320", "2160", "1440", "1080", "720", "480", "360", "240", "144"]
|
["max", "4320", "2160", "1440", "1080", "720", "480", "360", "240", "144"]
|
||||||
).default("720"),
|
).default("1080"),
|
||||||
|
|
||||||
youtubeDubLang: z.string()
|
youtubeDubLang: z.string()
|
||||||
.length(2)
|
.length(2)
|
||||||
|
@ -36,7 +36,7 @@ export const apiSchema = z.object({
|
||||||
disableMetadata: z.boolean().default(false),
|
disableMetadata: z.boolean().default(false),
|
||||||
tiktokFullAudio: z.boolean().default(false),
|
tiktokFullAudio: z.boolean().default(false),
|
||||||
tiktokH265: z.boolean().default(false),
|
tiktokH265: z.boolean().default(false),
|
||||||
twitterGif: z.boolean().default(false),
|
twitterGif: z.boolean().default(true),
|
||||||
youtubeDubBrowserLang: z.boolean().default(false),
|
youtubeDubBrowserLang: z.boolean().default(false),
|
||||||
})
|
})
|
||||||
.strict();
|
.strict();
|
||||||
|
|
Loading…
Reference in a new issue