Create working scaffolding of triggering notifications

This commit is contained in:
2025-01-17 15:11:55 +01:00
parent d331866f46
commit 67db439f84
6 changed files with 62 additions and 2 deletions

9
src/backend/base.ts Normal file
View File

@@ -0,0 +1,9 @@
import { BackendConfig } from "../types/config";
import { Notification } from "../types/notification";
export abstract class Backend {
constructor(config: BackendConfig) {
}
abstract notify(notification: Notification): void;
}