refactor storage minio for k8s

This commit is contained in:
2026-03-26 09:20:23 -03:00
parent e27cb5bcc3
commit c9ba9e4f5f
22 changed files with 961 additions and 18 deletions

View File

@@ -10,6 +10,7 @@ export type ChunkJobStatus = "pending" | "chunking" | "processing" | "collecting
export type DetectJobStatus = "pending" | "running" | "paused" | "completed" | "failed" | "cancelled";
export type RunType = "initial" | "replay" | "retry";
export type BrandSource = "ocr" | "local_vlm" | "cloud_llm" | "manual";
export type SourceType = "chunk_job" | "upload" | "device" | "stream";
export interface MediaAsset {
id: string;
@@ -169,6 +170,19 @@ export interface SourceBrandSighting {
created_at: string | null;
}
export interface SourceJob {
job_id: string;
source_type: string;
chunk_count: number;
total_bytes: number;
}
export interface ChunkInfo {
filename: string;
key: string;
size_bytes: number;
}
export interface CreateJobRequest {
source_asset_id: string;
preset_id: string | null;