From b2cb824c725c23d8864fef8af6edc85ae6e15a6d Mon Sep 17 00:00:00 2001 From: Seok93 Date: Fri, 27 Sep 2024 17:01:08 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20#115=20Task=20Form=20=EA=B4=80=EB=A0=A8?= =?UTF-8?q?=20=ED=83=80=EC=9E=85=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/TaskType.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/types/TaskType.tsx b/src/types/TaskType.tsx index 8d801722..d02305f5 100644 --- a/src/types/TaskType.tsx +++ b/src/types/TaskType.tsx @@ -23,12 +23,13 @@ export type TaskOrder = Pick; export type TaskOrderForm = { tasks: TaskOrder[] }; export type TaskInfoForm = Omit; -export type TaskFileForm = { files: File[] }; +export type TaskFilesForm = { files: File[] }; export type TaskAssigneeForm = { userId: User['userId'] }; export type TaskAssigneesForm = { assignees: User['userId'][] }; export type TaskUpdateForm = Omit & { statusId: string }; export type TaskCreationForm = TaskInfoForm & TaskAssigneesForm; -export type TaskForm = TaskInfoForm & TaskAssigneesForm & TaskFileForm; +export type TaskForm = TaskCreationForm & TaskFilesForm; +export type TaskUploadForm = Pick & { file: File }; export type TaskWithStatus = RenameKeys, StatusKeyMapping> & Task; export type TaskListWithStatus = Omit & { tasks: Task[] };