Feat: 업로드 용 타입 추가

This commit is contained in:
정현조 2024-10-05 11:46:21 +09:00
parent 2cd7cfea46
commit 9098694d99
2 changed files with 16 additions and 0 deletions

View File

@ -11,3 +11,4 @@ export * from './projectTypes';
export * from './labelTypes'; export * from './labelTypes';
export * from './fileTypes'; export * from './fileTypes';
export * from './reportTypes'; export * from './reportTypes';
export * from './uploadTypes';

View File

@ -0,0 +1,15 @@
export interface UploadZipParams {
memberId: number;
projectId: number;
folderId: number;
file: File;
progressCallback: (progress: number) => void;
}
export interface UploadFolderParams {
memberId: number;
projectId: number;
folderId: number;
files: File[];
progressCallback: (progress: number) => void;
}