Feat: 업로드 용 타입 추가
This commit is contained in:
parent
2cd7cfea46
commit
9098694d99
@ -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';
|
||||||
|
15
frontend/src/types/uploadTypes.ts
Normal file
15
frontend/src/types/uploadTypes.ts
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user