feat(transcode): split monolithic transcodeMedia into focused workflows

This commit is contained in:
yiling
2026-07-19 12:32:08 +08:00
parent b72a9435e7
commit cbe622dfeb
34 changed files with 1666 additions and 963 deletions
@@ -0,0 +1,14 @@
-- AlterEnum
-- This migration adds more than one value to an enum.
-- With PostgreSQL versions 11 and earlier, this is not possible
-- in a single migration. This can be worked around by creating
-- multiple migrations, each migration adding only one value to
-- the enum.
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_video';
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_image';
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_pdf';
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_pdf_pages';
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_screenshot';
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_image_annotation';
+6
View File
@@ -100,6 +100,12 @@ enum TeamMemberScope {
enum WorkflowTaskType {
transcode
transcode_video
transcode_image
transcode_pdf
transcode_pdf_pages
transcode_screenshot
transcode_image_annotation
ai_metadata_autofill
chat
ai_embedding