Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(web): skip duplicate video processing when upload already complete

Richie McIlroye93c7cc217a6
diff --git a/apps/web/lib/video-processing.ts b/apps/web/lib/video-processing.ts
index 0b61f28df..54333399d 100644
--- a/apps/web/lib/video-processing.ts
+++ b/apps/web/lib/video-processing.ts
@@ -5,7 +5,10 @@ import { and, eq, ne } from "drizzle-orm";
import { start } from "workflow/api";
import { processVideoWorkflow } from "@/workflows/process-video";
-export type VideoProcessingStartStatus = "started" | "already-processing";
+export type VideoProcessingStartStatus =
+ | "started"
+ | "already-processing"
+ | "already-complete";
const getAffectedRows = (result: unknown) => {
if (Array.isArray(result)) {
@@ -64,6 +67,12 @@ export async function transitionVideoToProcessing({
: and(
eq(videoUploads.videoId, videoId),
ne(videoUploads.phase, "processing"),
+ // "complete" is terminal for implicit starts: a multipart
+ // completion retried after an uncertain network outcome can
+ // land after the first processing run already finished, and
+ // must not kick off a duplicate full re-process. Explicit
+ // re-processing goes through forceRestart.
+ ne(videoUploads.phase, "complete"),
),
);
@@ -84,6 +93,10 @@ export async function transitionVideoToProcessing({
return "already-processing";
}
+ if (upload.phase === "complete") {
+ return "already-complete";
+ }
+
throw new Error("Failed to transition upload to processing");
}
@@ -114,7 +127,7 @@ export async function startVideoProcessingWorkflow({
forceRestart,
});
- if (status === "already-processing") {
+ if (status !== "started") {
return status;
}
diff --git a/apps/web/public/.well-known/workflow/v1/manifest.json b/apps/web/public/.well-known/workflow/v1/manifest.json
index ad245f72e..f35f5ad8c 100644
--- a/apps/web/public/.well-known/workflow/v1/manifest.json
+++ b/apps/web/public/.well-known/workflow/v1/manifest.json
@@ -1,407 +1,407 @@
{
- "version": "1.0.0",
- "steps": {
- "workflows/admin-reprocess-video.ts": {
- "invalidateResultCache": {
- "stepId": "step//./workflows/admin-reprocess-video//invalidateResultCache"
- },
- "processExistingResultOnMediaServer": {
- "stepId": "step//./workflows/admin-reprocess-video//processExistingResultOnMediaServer"
- },
- "saveMetadataAndComplete": {
- "stepId": "step//./workflows/admin-reprocess-video//saveMetadataAndComplete"
- },
- "setReprocessError": {
- "stepId": "step//./workflows/admin-reprocess-video//setReprocessError"
- },
- "validateReprocessRequest": {
- "stepId": "step//./workflows/admin-reprocess-video//validateReprocessRequest"
- }
- },
- "workflows/edit-video.ts": {
- "clearEditProcessingState": {
- "stepId": "step//./workflows/edit-video//clearEditProcessingState"
- },
- "invalidateEditedVideoCache": {
- "stepId": "step//./workflows/edit-video//invalidateEditedVideoCache"
- },
- "queueTranscriptionRegeneration": {
- "stepId": "step//./workflows/edit-video//queueTranscriptionRegeneration"
- },
- "renderVideoEditOnMediaServer": {
- "stepId": "step//./workflows/edit-video//renderVideoEditOnMediaServer"
- },
- "saveEditResultAndComplete": {
- "stepId": "step//./workflows/edit-video//saveEditResultAndComplete"
- },
- "validateEditRequest": {
- "stepId": "step//./workflows/edit-video//validateEditRequest"
- }
- },
- "workflows/import-loom-video.ts": {
- "downloadLoomToS3": {
- "stepId": "step//./workflows/import-loom-video//downloadLoomToS3"
- },
- "processVideoOnMediaServer": {
- "stepId": "step//./workflows/import-loom-video//processVideoOnMediaServer"
- },
- "saveMetadataAndComplete": {
- "stepId": "step//./workflows/import-loom-video//saveMetadataAndComplete"
- },
- "setProcessingError": {
- "stepId": "step//./workflows/import-loom-video//setProcessingError"
- }
- },
- "node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__@nestj_2a6f07c63175c34d8d104665b34a32ad/node_modules/workflow/dist/internal/builtins.js": {
- "__builtin_response_array_buffer": {
- "stepId": "__builtin_response_array_buffer"
- },
- "__builtin_response_json": {
- "stepId": "__builtin_response_json"
- },
- "__builtin_response_text": {
- "stepId": "__builtin_response_text"
- }
- },
- "node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__@nestj_2a6f07c63175c34d8d104665b34a32ad/node_modules/workflow/dist/stdlib.js": {
- "fetch": {
- "stepId": "step//[email protected]//fetch"
- }
- },
- "workflows/generate-ai.ts": {
- "fetchTranscript": {
- "stepId": "step//./workflows/generate-ai//fetchTranscript"
- },
- "generateWithAi": {
- "stepId": "step//./workflows/generate-ai//generateWithAi"
- },
- "markSkipped": {
- "stepId": "step//./workflows/generate-ai//markSkipped"
- },
- "saveResults": {
- "stepId": "step//./workflows/generate-ai//saveResults"
- },
- "validateAndSetProcessing": {
- "stepId": "step//./workflows/generate-ai//validateAndSetProcessing"
- }
- },
- "workflows/transcribe.ts": {
- "_enhanceAndSaveAudio": {
- "stepId": "step//./workflows/transcribe//_enhanceAndSaveAudio"
- },
- "_markEnhancedAudioProcessing": {
- "stepId": "step//./workflows/transcribe//_markEnhancedAudioProcessing"
- },
- "cleanupTempAudio": {
- "stepId": "step//./workflows/transcribe//cleanupTempAudio"
- },
- "extractAudio": {
- "stepId": "step//./workflows/transcribe//extractAudio"
- },
- "markError": {
- "stepId": "step//./workflows/transcribe//markError"
- },
- "markNoAudio": {
- "stepId": "step//./workflows/transcribe//markNoAudio"
- },
- "markSkipped": {
- "stepId": "step//./workflows/transcribe//markSkipped"
- },
- "queueAiGeneration": {
- "stepId": "step//./workflows/transcribe//queueAiGeneration"
- },
- "saveTranscription": {
- "stepId": "step//./workflows/transcribe//saveTranscription"
- },
- "transcribeWithDeepgram": {
- "stepId": "step//./workflows/transcribe//transcribeWithDeepgram"
- },
- "validateVideo": {
- "stepId": "step//./workflows/transcribe//validateVideo"
- }
- },
- "workflows/process-video.ts": {
- "cleanupRawUpload": {
- "stepId": "step//./workflows/process-video//cleanupRawUpload"
- },
- "processVideoOnMediaServer": {
- "stepId": "step//./workflows/process-video//processVideoOnMediaServer"
- },
- "saveMetadataAndComplete": {
- "stepId": "step//./workflows/process-video//saveMetadataAndComplete"
- },
- "setProcessingError": {
- "stepId": "step//./workflows/process-video//setProcessingError"
- },
- "validateProcessingRequest": {
- "stepId": "step//./workflows/process-video//validateProcessingRequest"
- }
- },
- "workflows/finalize-desktop-recording.ts": {
- "completeWithoutMediaServerIfUnavailable": {
- "stepId": "step//./workflows/finalize-desktop-recording//completeWithoutMediaServerIfUnavailable"
- },
- "isDesktopRecordingFinalized": {
- "stepId": "step//./workflows/finalize-desktop-recording//isDesktopRecordingFinalized"
- },
- "markMuxError": {
- "stepId": "step//./workflows/finalize-desktop-recording//markMuxError"
- },
- "markMuxProcessing": {
- "stepId": "step//./workflows/finalize-desktop-recording//markMuxProcessing"
- },
- "markMuxRetrying": {
- "stepId": "step//./workflows/finalize-desktop-recording//markMuxRetrying"
- },
- "queueFinalizedRecordingTranscription": {
- "stepId": "step//./workflows/finalize-desktop-recording//queueFinalizedRecordingTranscription"
- },
- "startDesktopSegmentsMuxJob": {
- "stepId": "step//./workflows/finalize-desktop-recording//startDesktopSegmentsMuxJob"
- },
- "validateDesktopSegmentsRecording": {
- "stepId": "step//./workflows/finalize-desktop-recording//validateDesktopSegmentsRecording"
- },
- "waitBeforeMuxRetry": {
- "stepId": "step//./workflows/finalize-desktop-recording//waitBeforeMuxRetry"
- },
- "waitForDesktopSegmentsMuxCompletion": {
- "stepId": "step//./workflows/finalize-desktop-recording//waitForDesktopSegmentsMuxCompletion"
- }
- }
- },
- "workflows": {
- "workflows/admin-reprocess-video.ts": {
- "adminReprocessVideoWorkflow": {
- "workflowId": "workflow//./workflows/admin-reprocess-video//adminReprocessVideoWorkflow",
- "graph": {
- "nodes": [
- {
- "id": "start",
- "type": "workflowStart",
- "data": {
- "label": "Start: adminReprocessVideoWorkflow",
- "nodeKind": "workflow_start"
- }
- },
- {
- "id": "end",
- "type": "workflowEnd",
- "data": {
- "label": "Return",
- "nodeKind": "workflow_end"
- }
- }
- ],
- "edges": [
- {
- "id": "e_start_end",
- "source": "start",
- "target": "end",
- "type": "default"
- }
- ]
- }
- }
- },
- "workflows/edit-video.ts": {
- "editVideoWorkflow": {
- "workflowId": "workflow//./workflows/edit-video//editVideoWorkflow",
- "graph": {
- "nodes": [
- {
- "id": "start",
- "type": "workflowStart",
- "data": {
- "label": "Start: editVideoWorkflow",
- "nodeKind": "workflow_start"
- }
- },
- {
- "id": "end",
- "type": "workflowEnd",
- "data": {
- "label": "Return",
- "nodeKind": "workflow_end"
- }
- }
- ],
- "edges": [
- {
- "id": "e_start_end",
- "source": "start",
- "target": "end",
- "type": "default"
- }
- ]
- }
- }
- },
- "workflows/import-loom-video.ts": {
- "importLoomVideoWorkflow": {
- "workflowId": "workflow//./workflows/import-loom-video//importLoomVideoWorkflow",
- "graph": {
- "nodes": [
- {
- "id": "start",
- "type": "workflowStart",
- "data": {
- "label": "Start: importLoomVideoWorkflow",
- "nodeKind": "workflow_start"
- }
- },
- {
- "id": "end",
- "type": "workflowEnd",
- "data": {
- "label": "Return",
- "nodeKind": "workflow_end"
- }
- }
- ],
- "edges": [
- {
- "id": "e_start_end",
- "source": "start",
- "target": "end",
- "type": "default"
- }
- ]
- }
- }
- },
- "workflows/generate-ai.ts": {
- "generateAiWorkflow": {
- "workflowId": "workflow//./workflows/generate-ai//generateAiWorkflow",
- "graph": {
- "nodes": [
- {
- "id": "start",
- "type": "workflowStart",
- "data": {
- "label": "Start: generateAiWorkflow",
- "nodeKind": "workflow_start"
- }
- },
- {
- "id": "end",
- "type": "workflowEnd",
- "data": {
- "label": "Return",
- "nodeKind": "workflow_end"
- }
- }
- ],
- "edges": [
- {
- "id": "e_start_end",
- "source": "start",
- "target": "end",
- "type": "default"
- }
- ]
- }
- }
- },
- "workflows/transcribe.ts": {
- "transcribeVideoWorkflow": {
- "workflowId": "workflow//./workflows/transcribe//transcribeVideoWorkflow",
- "graph": {
- "nodes": [
- {
- "id": "start",
- "type": "workflowStart",
- "data": {
- "label": "Start: transcribeVideoWorkflow",
- "nodeKind": "workflow_start"
- }
- },
- {
- "id": "end",
- "type": "workflowEnd",
- "data": {
- "label": "Return",
- "nodeKind": "workflow_end"
- }
- }
- ],
- "edges": [
- {
- "id": "e_start_end",
- "source": "start",
- "target": "end",
- "type": "default"
- }
- ]
- }
- }
- },
- "workflows/process-video.ts": {
- "processVideoWorkflow": {
- "workflowId": "workflow//./workflows/process-video//processVideoWorkflow",
- "graph": {
- "nodes": [
- {
- "id": "start",
- "type": "workflowStart",
- "data": {
- "label": "Start: processVideoWorkflow",
- "nodeKind": "workflow_start"
- }
- },
- {
- "id": "end",
- "type": "workflowEnd",
- "data": {
- "label": "Return",
- "nodeKind": "workflow_end"
- }
- }
- ],
- "edges": [
- {
- "id": "e_start_end",
- "source": "start",
- "target": "end",
- "type": "default"
- }
- ]
- }
- }
- },
- "workflows/finalize-desktop-recording.ts": {
- "finalizeDesktopRecordingWorkflow": {
- "workflowId": "workflow//./workflows/finalize-desktop-recording//finalizeDesktopRecordingWorkflow",
- "graph": {
- "nodes": [
- {
- "id": "start",
- "type": "workflowStart",
- "data": {
- "label": "Start: finalizeDesktopRecordingWorkflow",
- "nodeKind": "workflow_start"
- }
- },
- {
- "id": "end",
- "type": "workflowEnd",
- "data": {
- "label": "Return",
- "nodeKind": "workflow_end"
- }
- }
- ],
- "edges": [
- {
- "id": "e_start_end",
- "source": "start",
- "target": "end",
- "type": "default"
- }
- ]
- }
- }
- }
- },
- "classes": {}
-}
+ "version": "1.0.0",
+ "steps": {
+ "workflows/process-video.ts": {
+ "cleanupRawUpload": {
+ "stepId": "step//./workflows/process-video//cleanupRawUpload"
+ },
+ "processVideoOnMediaServer": {
+ "stepId": "step//./workflows/process-video//processVideoOnMediaServer"
+ },
+ "saveMetadataAndComplete": {
+ "stepId": "step//./workflows/process-video//saveMetadataAndComplete"
+ },
+ "setProcessingError": {
+ "stepId": "step//./workflows/process-video//setProcessingError"
+ },
+ "validateProcessingRequest": {
+ "stepId": "step//./workflows/process-video//validateProcessingRequest"
+ }
+ },
+ "workflows/finalize-desktop-recording.ts": {
+ "completeWithoutMediaServerIfUnavailable": {
+ "stepId": "step//./workflows/finalize-desktop-recording//completeWithoutMediaServerIfUnavailable"
+ },
+ "isDesktopRecordingFinalized": {
+ "stepId": "step//./workflows/finalize-desktop-recording//isDesktopRecordingFinalized"
+ },
+ "markMuxError": {
+ "stepId": "step//./workflows/finalize-desktop-recording//markMuxError"
+ },
+ "markMuxProcessing": {
+ "stepId": "step//./workflows/finalize-desktop-recording//markMuxProcessing"
+ },
+ "markMuxRetrying": {
+ "stepId": "step//./workflows/finalize-desktop-recording//markMuxRetrying"
+ },
+ "queueFinalizedRecordingTranscription": {
+ "stepId": "step//./workflows/finalize-desktop-recording//queueFinalizedRecordingTranscription"
+ },
+ "startDesktopSegmentsMuxJob": {
+ "stepId": "step//./workflows/finalize-desktop-recording//startDesktopSegmentsMuxJob"
+ },
+ "validateDesktopSegmentsRecording": {
+ "stepId": "step//./workflows/finalize-desktop-recording//validateDesktopSegmentsRecording"
+ },
+ "waitBeforeMuxRetry": {
+ "stepId": "step//./workflows/finalize-desktop-recording//waitBeforeMuxRetry"
+ },
+ "waitForDesktopSegmentsMuxCompletion": {
+ "stepId": "step//./workflows/finalize-desktop-recording//waitForDesktopSegmentsMuxCompletion"
+ }
+ },
+ "workflows/edit-video.ts": {
+ "clearEditProcessingState": {
+ "stepId": "step//./workflows/edit-video//clearEditProcessingState"
+ },
+ "invalidateEditedVideoCache": {
+ "stepId": "step//./workflows/edit-video//invalidateEditedVideoCache"
+ },
+ "queueTranscriptionRegeneration": {
+ "stepId": "step//./workflows/edit-video//queueTranscriptionRegeneration"
+ },
+ "renderVideoEditOnMediaServer": {
+ "stepId": "step//./workflows/edit-video//renderVideoEditOnMediaServer"
+ },
+ "saveEditResultAndComplete": {
+ "stepId": "step//./workflows/edit-video//saveEditResultAndComplete"
+ },
+ "validateEditRequest": {
+ "stepId": "step//./workflows/edit-video//validateEditRequest"
+ }
+ },
+ "workflows/import-loom-video.ts": {
+ "downloadLoomToS3": {
+ "stepId": "step//./workflows/import-loom-video//downloadLoomToS3"
+ },
+ "processVideoOnMediaServer": {
+ "stepId": "step//./workflows/import-loom-video//processVideoOnMediaServer"
+ },
+ "saveMetadataAndComplete": {
+ "stepId": "step//./workflows/import-loom-video//saveMetadataAndComplete"
+ },
+ "setProcessingError": {
+ "stepId": "step//./workflows/import-loom-video//setProcessingError"
+ }
+ },
+ "node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__@nestj_9794ce397597c8749f35552b164615bf/node_modules/workflow/dist/stdlib.js": {
+ "fetch": {
+ "stepId": "step//[email protected]//fetch"
+ }
+ },
+ "workflows/admin-reprocess-video.ts": {
+ "invalidateResultCache": {
+ "stepId": "step//./workflows/admin-reprocess-video//invalidateResultCache"
+ },
+ "processExistingResultOnMediaServer": {
+ "stepId": "step//./workflows/admin-reprocess-video//processExistingResultOnMediaServer"
+ },
+ "saveMetadataAndComplete": {
+ "stepId": "step//./workflows/admin-reprocess-video//saveMetadataAndComplete"
+ },
+ "setReprocessError": {
+ "stepId": "step//./workflows/admin-reprocess-video//setReprocessError"
+ },
+ "validateReprocessRequest": {
+ "stepId": "step//./workflows/admin-reprocess-video//validateReprocessRequest"
+ }
+ },
+ "node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__@nestj_9794ce397597c8749f35552b164615bf/node_modules/workflow/dist/internal/builtins.js": {
+ "__builtin_response_array_buffer": {
+ "stepId": "__builtin_response_array_buffer"
+ },
+ "__builtin_response_json": {
+ "stepId": "__builtin_response_json"
+ },
+ "__builtin_response_text": {
+ "stepId": "__builtin_response_text"
+ }
+ },
+ "workflows/transcribe.ts": {
+ "_enhanceAndSaveAudio": {
+ "stepId": "step//./workflows/transcribe//_enhanceAndSaveAudio"
+ },
+ "_markEnhancedAudioProcessing": {
+ "stepId": "step//./workflows/transcribe//_markEnhancedAudioProcessing"
+ },
+ "cleanupTempAudio": {
+ "stepId": "step//./workflows/transcribe//cleanupTempAudio"
+ },
+ "extractAudio": {
+ "stepId": "step//./workflows/transcribe//extractAudio"
+ },
+ "markError": {
+ "stepId": "step//./workflows/transcribe//markError"
+ },
+ "markNoAudio": {
+ "stepId": "step//./workflows/transcribe//markNoAudio"
+ },
+ "markSkipped": {
+ "stepId": "step//./workflows/transcribe//markSkipped"
+ },
+ "queueAiGeneration": {
+ "stepId": "step//./workflows/transcribe//queueAiGeneration"
+ },
+ "saveTranscription": {
+ "stepId": "step//./workflows/transcribe//saveTranscription"
+ },
+ "transcribeWithDeepgram": {
+ "stepId": "step//./workflows/transcribe//transcribeWithDeepgram"
+ },
+ "validateVideo": {
+ "stepId": "step//./workflows/transcribe//validateVideo"
+ }
+ },
+ "workflows/generate-ai.ts": {
+ "fetchTranscript": {
+ "stepId": "step//./workflows/generate-ai//fetchTranscript"
+ },
+ "generateWithAi": {
+ "stepId": "step//./workflows/generate-ai//generateWithAi"
+ },
+ "markSkipped": {
+ "stepId": "step//./workflows/generate-ai//markSkipped"
+ },
+ "saveResults": {
+ "stepId": "step//./workflows/generate-ai//saveResults"
+ },
+ "validateAndSetProcessing": {
+ "stepId": "step//./workflows/generate-ai//validateAndSetProcessing"
+ }
+ }
+ },
+ "workflows": {
+ "workflows/process-video.ts": {
+ "processVideoWorkflow": {
+ "workflowId": "workflow//./workflows/process-video//processVideoWorkflow",
+ "graph": {
+ "nodes": [
+ {
+ "id": "start",
+ "type": "workflowStart",
+ "data": {
+ "label": "Start: processVideoWorkflow",
+ "nodeKind": "workflow_start"
+ }
+ },
+ {
+ "id": "end",
+ "type": "workflowEnd",
+ "data": {
+ "label": "Return",
+ "nodeKind": "workflow_end"
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "e_start_end",
+ "source": "start",
+ "target": "end",
+ "type": "default"
+ }
+ ]
+ }
+ }
+ },
+ "workflows/finalize-desktop-recording.ts": {
+ "finalizeDesktopRecordingWorkflow": {
+ "workflowId": "workflow//./workflows/finalize-desktop-recording//finalizeDesktopRecordingWorkflow",
+ "graph": {
+ "nodes": [
+ {
+ "id": "start",
+ "type": "workflowStart",
+ "data": {
+ "label": "Start: finalizeDesktopRecordingWorkflow",
+ "nodeKind": "workflow_start"
+ }
+ },
+ {
+ "id": "end",
+ "type": "workflowEnd",
+ "data": {
+ "label": "Return",
+ "nodeKind": "workflow_end"
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "e_start_end",
+ "source": "start",
+ "target": "end",
+ "type": "default"
+ }
+ ]
+ }
+ }
+ },
+ "workflows/edit-video.ts": {
+ "editVideoWorkflow": {
+ "workflowId": "workflow//./workflows/edit-video//editVideoWorkflow",
+ "graph": {
+ "nodes": [
+ {
+ "id": "start",
+ "type": "workflowStart",
+ "data": {
+ "label": "Start: editVideoWorkflow",
+ "nodeKind": "workflow_start"
+ }
+ },
+ {
+ "id": "end",
+ "type": "workflowEnd",
+ "data": {
+ "label": "Return",
+ "nodeKind": "workflow_end"
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "e_start_end",
+ "source": "start",
+ "target": "end",
+ "type": "default"
+ }
+ ]
+ }
+ }
+ },
+ "workflows/import-loom-video.ts": {
+ "importLoomVideoWorkflow": {
+ "workflowId": "workflow//./workflows/import-loom-video//importLoomVideoWorkflow",
+ "graph": {
+ "nodes": [
+ {
+ "id": "start",
+ "type": "workflowStart",
+ "data": {
+ "label": "Start: importLoomVideoWorkflow",
+ "nodeKind": "workflow_start"
+ }
+ },
+ {
+ "id": "end",
+ "type": "workflowEnd",
+ "data": {
+ "label": "Return",
+ "nodeKind": "workflow_end"
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "e_start_end",
+ "source": "start",
+ "target": "end",
+ "type": "default"
+ }
+ ]
+ }
+ }
+ },
+ "workflows/admin-reprocess-video.ts": {
+ "adminReprocessVideoWorkflow": {
+ "workflowId": "workflow//./workflows/admin-reprocess-video//adminReprocessVideoWorkflow",
+ "graph": {
+ "nodes": [
+ {
+ "id": "start",
+ "type": "workflowStart",
+ "data": {
+ "label": "Start: adminReprocessVideoWorkflow",
+ "nodeKind": "workflow_start"
+ }
+ },
+ {
+ "id": "end",
+ "type": "workflowEnd",
+ "data": {
+ "label": "Return",
+ "nodeKind": "workflow_end"
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "e_start_end",
+ "source": "start",
+ "target": "end",
+ "type": "default"
+ }
+ ]
+ }
+ }
+ },
+ "workflows/transcribe.ts": {
+ "transcribeVideoWorkflow": {
+ "workflowId": "workflow//./workflows/transcribe//transcribeVideoWorkflow",
+ "graph": {
+ "nodes": [
+ {
+ "id": "start",
+ "type": "workflowStart",
+ "data": {
+ "label": "Start: transcribeVideoWorkflow",
+ "nodeKind": "workflow_start"
+ }
+ },
+ {
+ "id": "end",
+ "type": "workflowEnd",
+ "data": {
+ "label": "Return",
+ "nodeKind": "workflow_end"
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "e_start_end",
+ "source": "start",
+ "target": "end",
+ "type": "default"
+ }
+ ]
+ }
+ }
+ },
+ "workflows/generate-ai.ts": {
+ "generateAiWorkflow": {
+ "workflowId": "workflow//./workflows/generate-ai//generateAiWorkflow",
+ "graph": {
+ "nodes": [
+ {
+ "id": "start",
+ "type": "workflowStart",
+ "data": {
+ "label": "Start: generateAiWorkflow",
+ "nodeKind": "workflow_start"
+ }
+ },
+ {
+ "id": "end",
+ "type": "workflowEnd",
+ "data": {
+ "label": "Return",
+ "nodeKind": "workflow_end"
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "e_start_end",
+ "source": "start",
+ "target": "end",
+ "type": "default"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "classes": {}
+}
\ No newline at end of file