feat: add notifications (#216)

* feat: initial notifications support

* chore: update deps
This commit is contained in:
Ludvig Lundgren 2022-04-04 19:13:09 +02:00 committed by GitHub
parent 3185832708
commit 431742fd94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 1632 additions and 36 deletions

10
web/src/types/Notification.d.ts vendored Normal file
View file

@ -0,0 +1,10 @@
type NotificationType = 'DISCORD';
interface Notification {
id: number;
name: string;
enabled: boolean;
type: NotificationType;
events: string[];
webhook: string;
}