From 11fe22ceea2a11d11a2a9296ed3742959c63e560 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Sun, 2 Feb 2025 21:31:24 -0800 Subject: [PATCH] add method to check if notification is scheduled (for testing --- src/services/NotificationService.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/services/NotificationService.ts b/src/services/NotificationService.ts index 3ecaf58..5b9105d 100644 --- a/src/services/NotificationService.ts +++ b/src/services/NotificationService.ts @@ -91,6 +91,15 @@ export class NotificationService { } + /** + * Check whether the notification is scheduled. + * @param deviceId + * @param shuttleId + * @param stopId + */ + public isNotificationScheduled({ deviceId, shuttleId, stopId }: ScheduledNotificationData) { + } + public cancelAllNotifications(deviceId: string) { }