import { Ref, ref } from 'vue'; export interface UploadJob { id: string; title: string; /** 0–100. */ progress: number; status: 'uploading' | 'processing' | 'done' | 'error' | 'cancelled'; /** Set once finalize returns: the created (importing) table id. */ tableId?: number; /** Original table type of the file (csv, json, xls, xlsx). */ tableType?: string; } const activeUploads: Ref = ref([]); export default { activeUploads, };