export interface DocFile {
  id: string;
  name: string;
  originalName: string;
  size: number;
  type: string;
  uploadedAt: string;
  categoryId: string | null;
  tags: string[];
  starred: boolean;
  storedName?: string;
  note?: string;
  documentDate?: string | null;
  frist?: string | null;
  deletedAt?: string | null;
  hasThumbnail?: boolean;
}

export interface Category {
  id: string;
  name: string;
  color: string;
  icon: string;
}

export interface Metadata {
  files: Record<string, DocFile>;
  categories: Category[];
}
