api/schema: update twitterGif & videoQuality defaults

This commit is contained in:
wukko 2024-08-20 22:04:17 +06:00
parent cd9be54023
commit 555625878e
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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();