Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

refactor(web): prefix unused transcribe workflow helpers

Richie McIlroy958ac830d818
diff --git a/apps/web/workflows/transcribe.ts b/apps/web/workflows/transcribe.ts
index c9763f9a2..7e8b6cfab 100644
--- a/apps/web/workflows/transcribe.ts
+++ b/apps/web/workflows/transcribe.ts
@@ -20,7 +20,6 @@ import {
ENHANCED_AUDIO_CONTENT_TYPE,
ENHANCED_AUDIO_EXTENSION,
enhanceAudioFromUrl,
- isAudioEnhancementConfigured,
} from "@/lib/audio-enhance";
import { checkHasAudioTrack, extractAudioFromUrl } from "@/lib/audio-extract";
import { startAiGeneration } from "@/lib/generate-ai";
@@ -352,7 +351,7 @@ async function queueAiGeneration(
await startAiGeneration(videoId as Video.VideoId, userId);
}
-async function markEnhancedAudioProcessing(videoId: string): Promise<void> {
+async function _markEnhancedAudioProcessing(videoId: string): Promise<void> {
"use step";
const [video] = await db()
@@ -373,7 +372,7 @@ async function markEnhancedAudioProcessing(videoId: string): Promise<void> {
.where(eq(videos.id, videoId as Video.VideoId));
}
-async function enhanceAndSaveAudio(
+async function _enhanceAndSaveAudio(
videoId: string,
userId: string,
audioUrl: string,