mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-13 19:55:20 +00:00
api/schema: add subtitleLang
This commit is contained in:
@@ -36,6 +36,12 @@ export const apiSchema = z.object({
|
||||
.regex(/^[0-9a-zA-Z\-]+$/)
|
||||
.optional(),
|
||||
|
||||
subtitleLang: z.string()
|
||||
.min(2)
|
||||
.max(8)
|
||||
.regex(/^[0-9a-zA-Z\-]+$/)
|
||||
.optional(),
|
||||
|
||||
disableMetadata: z.boolean().default(false),
|
||||
|
||||
allowH265: z.boolean().default(false),
|
||||
|
||||
Reference in New Issue
Block a user