Skip to content

Commit

Permalink
Sync alphalib
Browse files Browse the repository at this point in the history
  • Loading branch information
kvz committed Dec 19, 2024
1 parent 8a51ebc commit a1fde6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/alphalib/types/assemblyStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const assemblyStatusMetaSchema = z
.nullable()
.optional(),
})
.strict()
.passthrough()
export type AssemblyStatusMeta = z.infer<typeof assemblyStatusMetaSchema>

const assemblyStatusUploadSchema = z
Expand Down
4 changes: 3 additions & 1 deletion src/alphalib/types/robots/_instructions-primitives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export const ffmpegParamSchema = z
'qscale:v': z.number().optional(),
'x264-params': z.string().optional(),
'overshoot-pct': z.number().optional(),
deadline: z.string().optional(),
'cpu-used': z.string().optional(),
'undershoot-pct': z.number().optional(),
'row-mt': z.number().optional(),
'x265-params': z
Expand Down Expand Up @@ -270,7 +272,7 @@ export const ffmpegParamSchema = z
x264opts: z.string().optional(),
vbr: z.union([z.string(), z.number()]).optional(),
})
.strict().describe(`
.passthrough().describe(`
A parameter object to be passed to FFmpeg. If a preset is used, the options specified are merged on top of the ones from the preset. For available options, see the [FFmpeg documentation](https://ffmpeg.org/ffmpeg-doc.html). Options specified here take precedence over the preset options.
`)
export type FfmpegParams = z.infer<typeof ffmpegParamSchema>
Expand Down

0 comments on commit a1fde6c

Please sign in to comment.