Skip to content

Commit

Permalink
Feat: #135 Task 타입 수정 (files 삭제)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seok93 committed Sep 18, 2024
1 parent 713ef1a commit f9912ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/types/TaskType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ export type Task = {
content: string;
startDate: string;
endDate: string;
files: string[];
sortOrder: number;
};

export type TaskOrder = Pick<Task, 'statusId' | 'taskId' | 'sortOrder'>;
export type TaskOrderForm = { tasks: TaskOrder[] };

export type TaskForm = Omit<Task, 'taskId' | 'files'> & { assignees: Assignee['userId'][] };
export type TaskForm = Omit<Task, 'taskId'> & { assignees: Assignee['userId'][] };

export type TaskWithStatus = RenameKeys<Omit<ProjectStatus, 'projectId'>, StatusKeyMapping> & Task;
export type TaskListWithStatus = Omit<ProjectStatus, 'projectId'> & { tasks: Task[] };

0 comments on commit f9912ac

Please sign in to comment.