Add webpush front-end support

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-05-06 18:39:59 +02:00
parent 8c6b0003bc
commit 938f698b7a
99 changed files with 2594 additions and 1536 deletions

View File

@@ -98,4 +98,8 @@ export interface IConfig {
instanceFeeds: {
enabled: boolean;
};
webPush: {
enabled: boolean;
publicKey: string;
};
}

View File

@@ -0,0 +1,7 @@
export interface IPushNotification {
title: string;
body: string;
url: string;
timestamp: string;
locale: string;
}