From a1e7d16822bd0b9b187438726ce3cb0ea46b6d69 Mon Sep 17 00:00:00 2001 From: Ryukemeister Date: Mon, 30 Oct 2023 19:06:41 +0530 Subject: [PATCH] update Schedule types --- packages/atoms/availability-list/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/atoms/availability-list/index.tsx b/packages/atoms/availability-list/index.tsx index f96a082082..1aee8cb30c 100644 --- a/packages/atoms/availability-list/index.tsx +++ b/packages/atoms/availability-list/index.tsx @@ -14,13 +14,13 @@ export type Schedule = { id: number; startTime: Date; endTime: Date; - userId?: number; - eventTypeId?: number; - date?: Date; + userId: number | null; + eventTypeId: number | null; + date: Date | null; days: number[]; - scheduleId?: number; + scheduleId: number | null; }[]; - timeZone?: string; + timeZone: string | null; }; type AvailabilityListProps = {