refactor storage minio for k8s
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user