diff --git a/frontend/src/types/index.ts b/frontend/src/types/index.ts index 2cbfc3e..e6f842c 100644 --- a/frontend/src/types/index.ts +++ b/frontend/src/types/index.ts @@ -11,3 +11,4 @@ export * from './projectTypes'; export * from './labelTypes'; export * from './fileTypes'; export * from './reportTypes'; +export * from './uploadTypes'; diff --git a/frontend/src/types/uploadTypes.ts b/frontend/src/types/uploadTypes.ts new file mode 100644 index 0000000..7e27746 --- /dev/null +++ b/frontend/src/types/uploadTypes.ts @@ -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; +}