From 6301c47214819f5944396965fba38faa4c5fcae1 Mon Sep 17 00:00:00 2001 From: MinhxNguyen7 <64875104+MinhxNguyen7@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:28:58 -0800 Subject: [PATCH] fix(types): customEventID can be number or string --- packages/types/src/customevent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/customevent.ts b/packages/types/src/customevent.ts index 3345a561c..3c8d45d7d 100644 --- a/packages/types/src/customevent.ts +++ b/packages/types/src/customevent.ts @@ -5,7 +5,7 @@ export const RepeatingCustomEventSchema = type({ start: 'string', end: 'string', days: 'boolean[]', - customEventID: 'string', // Unique only within the schedule. + customEventID: 'string | number', // Unique only within the schedule. 'color?': 'string', 'building?': 'string | undefined', });