The open-source CapCut alternative
fix: use export type for type exports in export-utils
naoNao89fbff145036db
diff --git a/apps/web/src/lib/export-utils.ts b/apps/web/src/lib/export-utils.tsindex b09434f1..1fc0505b 100644--- a/apps/web/src/lib/export-utils.ts+++ b/apps/web/src/lib/export-utils.ts@@ -4,18 +4,18 @@ import { TimelineTrack, TimelineElement } from "@/types/timeline";import { MediaItem } from "@/stores/media-store";import { TProject } from "@/types/project";-export interface ExportOptions {+export type ExportOptions = {format: "mp4" | "webm" | "mov";quality: "low" | "medium" | "high";resolution: "720p" | "1080p" | "4k";fps: number;-}+};-export interface ExportProgress {+export type ExportProgress = {phase: "preparing" | "processing" | "finalizing" | "complete";progress: number; // 0-100message: string;-}+};export class VideoExporter {private ffmpeg: FFmpeg | null = null;