lint
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user