Create working scaffolding of triggering notifications
This commit is contained in:
9
src/backend/base.ts
Normal file
9
src/backend/base.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user