From c4771adef8e9a731a5b2ebd4cbe2cb0888374ad8 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Sun, 2 Feb 2025 13:51:05 -0800 Subject: [PATCH] add ScheduledNotificationData and make schedule functions async --- src/services/NotificationService.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/services/NotificationService.ts b/src/services/NotificationService.ts index fe816b2..755b39c 100644 --- a/src/services/NotificationService.ts +++ b/src/services/NotificationService.ts @@ -1,13 +1,19 @@ import { GetterRepository } from "../repositories/GetterRepository"; +interface ScheduledNotificationData { + deviceId: string; + shuttleId: string; + stopId: string; +} + export class NotificationService { constructor(private repository: GetterRepository) {} - public scheduleNotification() { + public async scheduleNotification() { } - public cancelNotification() { + public async cancelNotification() { }