Add animation keyframes for grid and shimmer effects, implement mouse position tracking for dynamic background, and create direct download API for video/audio files. Update types for download requests and responses.

This commit is contained in:
2025-12-21 21:18:08 -06:00
parent ce199be67b
commit 4fa44751f7
6 changed files with 200 additions and 3 deletions

View File

@@ -9,10 +9,34 @@ export interface DownloadRequest {
formatType: FormatType;
}
export interface DirectDownloadRequest {
id: string;
format: VideoFormat | AudioFormat;
formatType: FormatType;
}
export interface DownloadResponse {
success: boolean;
downloadUrl?: string;
filename?: string;
filePath?: string;
error?: string;
videoInfo?: VideoInfo;
}
export interface DirectDownloadRequest {
videoId: string;
format: VideoFormat | AudioFormat;
formatType: FormatType;
}
export interface DownloadResponse {
success: boolean;
downloadUrl?: string;
filename?: string;
filePath?: string;
error?: string;
videoInfo?: VideoInfo;
}