From fb9431b7e8fed38591d870a7472e29bab0fd7071 Mon Sep 17 00:00:00 2001 From: Adam Coster Date: Tue, 17 Aug 2021 15:51:41 -0500 Subject: [PATCH] fix: The Favro Card Update type does not include null as an option for date fields. --- src/types/FavroCardTypes.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/types/FavroCardTypes.ts b/src/types/FavroCardTypes.ts index 0d97298..81a6027 100644 --- a/src/types/FavroCardTypes.ts +++ b/src/types/FavroCardTypes.ts @@ -156,7 +156,7 @@ export interface DataFavroCardFieldMultipleSelect { } /** {@link https://favro.com/developer/#card-assignment} */ -interface DataFavroCardAssignment { +export interface DataFavroCardAssignment { userId: string; completed: boolean; } @@ -265,11 +265,11 @@ export interface DataFavroCard { /** * The start date of the card. */ - startDate: string; + startDate: string | null; /** * The due date of the card. */ - dueDate: string; + dueDate: string | null; /** * The users assigned to the card and whether or not they have * completed the card. */