Skip to content

Commit

Permalink
feat: add due date as a task field type
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldronson committed Jun 11, 2021
1 parent dd58cd3 commit b66772b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,15 @@ export interface TaskInputData {
assignedToId: string
body: string
status: TaskState
dueDate?: string
}

export interface Task {
assignedTo: Link
body: string
status: TaskState
sys: TaskSys
dueDate?: string
}

/** Allows accessing the Task API for the current entry. */
Expand Down

0 comments on commit b66772b

Please sign in to comment.