From 9098694d99bfc0dc8d5a2b964666db80e1e1ca40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=ED=98=84=EC=A1=B0?= Date: Sat, 5 Oct 2024 11:46:21 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20=EC=97=85=EB=A1=9C=EB=93=9C=20=EC=9A=A9?= =?UTF-8?q?=20=ED=83=80=EC=9E=85=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/types/index.ts | 1 + frontend/src/types/uploadTypes.ts | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 frontend/src/types/uploadTypes.ts 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; +}