template-saas/apps/backend/dist/modules/storage/entities/file.entity.d.ts
rckrdmrd 50a821a415
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00

39 lines
868 B
TypeScript

export declare enum FileStatus {
UPLOADING = "uploading",
PROCESSING = "processing",
READY = "ready",
FAILED = "failed",
DELETED = "deleted"
}
export declare enum FileVisibility {
PRIVATE = "private",
TENANT = "tenant",
PUBLIC = "public"
}
export declare enum StorageProvider {
S3 = "s3",
R2 = "r2",
MINIO = "minio",
GCS = "gcs"
}
export declare class FileEntity {
id: string;
tenant_id: string;
uploaded_by: string;
filename: string;
original_name: string;
mime_type: string;
size_bytes: number;
bucket: string;
path: string;
provider: StorageProvider;
status: FileStatus;
visibility: FileVisibility;
metadata: Record<string, any>;
thumbnails: Record<string, string>;
folder: string;
created_at: Date;
updated_at: Date;
deleted_at: Date | null;
}