feat: preview templates, thumbnail features, 2 new org templates

This commit is contained in:
Rotimi Best
2026-05-23 12:24:57 +01:00
parent 4fdd4115b9
commit 78ab13f54b
106 changed files with 8320 additions and 2040 deletions
+7 -1
View File
@@ -29,7 +29,13 @@ export const ZGenerateThumbnailPayload = z.object({
storageKey: z.string().min(1),
actorContext: ZActorContext,
/** Seconds into the video to grab. Defaults to 1.0 in the worker. */
atSeconds: z.number().nonnegative().optional()
atSeconds: z.number().nonnegative().optional(),
/**
* When true, the processor marks the parent `media_job` as `completed`
* after a successful run. Set by `enqueueGenerateThumbnailOnly` because
* thumbnail is the only step and nothing else will flip status.
*/
markJobCompleteOnSuccess: z.boolean().optional()
});
export type TGenerateThumbnailPayload = z.infer<typeof ZGenerateThumbnailPayload>;