// 지역 (시/도)
export type Region = {
  code: string;
  name: string;
};

// 폴더
export type Folder = {
  folderNm: string;
  parentFolderNm: string;
  parentPath: string;
  fullPath: string;
  depth: number;
  childCnt: number;
  lastModified: string;
  isValid: boolean;
};

export type FolderListResponse = {
  dirPath: string;
  folders: Folder[];
};

// 청크 업로드
export type ChunkUploadParams = {
  fileName: string;
  fileSize: number;
  chunkIndex: number;
  chunkTotalIndex: number;
  chunkFile: Blob;
};

export type ChunkUploadResponse = {
  uuid: string;
  filePath: string;
  fileName: string;
  chunkIndex: number;
  chunkTotalIndex: number;
  uploadId?: string;
};
