This commit is contained in:
2025-12-13 11:14:18 +03:30
parent 3eb6b889a4
commit c25a5afe01
80 changed files with 440 additions and 190 deletions
@@ -1,4 +1,4 @@
import { File } from "@nest-lab/fastify-multer";
import type { File } from '@nest-lab/fastify-multer';
export interface FileUploadResult {
file: File;
@@ -19,7 +19,7 @@ export interface FileMetadata {
language?: string;
}
export type FileType = "video" | "audio" | "image" | "document" | "text" | "unknown";
export type FileType = 'video' | 'audio' | 'image' | 'document' | 'text' | 'unknown';
export interface FileValidationOptions {
maxFileSize: number;
@@ -32,7 +32,7 @@ export interface FileUploadOptions {
}
// File processing status
export type FileProcessingStatus = "pending" | "processing" | "completed" | "failed";
export type FileProcessingStatus = 'pending' | 'processing' | 'completed' | 'failed';
export interface FileProcessingResult {
status: FileProcessingStatus;
@@ -7,7 +7,7 @@ export interface S3UploadResult {
export interface S3UploadOptions {
contentType: string;
metadata?: Record<string, string>;
acl?: "private" | "public-read" | "public-read-write";
acl?: 'private' | 'public-read' | 'public-read-write';
}
export interface S3DownloadOptions {