mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
add ScheduledNotificationData and make schedule functions async
This commit is contained in:
@@ -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() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user