Skip to content

Commit

Permalink
feat: add type parameter to create task input data (#807)
Browse files Browse the repository at this point in the history
* feat: add type parameter to create task input data

* feat: set type value to User or Team
  • Loading branch information
ronaldronson authored Jun 23, 2021
1 parent 0332b80 commit 493bb0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/types/entry.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type TaskState = 'active' | 'resolved'

export interface TaskInputData {
assignedToId: string
assignedToType?: 'User' | 'Team'
body: string
status: TaskState
dueDate?: string
Expand Down

0 comments on commit 493bb0e

Please sign in to comment.