Add webpush front-end support
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -98,4 +98,8 @@ export interface IConfig {
|
||||
instanceFeeds: {
|
||||
enabled: boolean;
|
||||
};
|
||||
webPush: {
|
||||
enabled: boolean;
|
||||
publicKey: string;
|
||||
};
|
||||
}
|
||||
|
||||
7
js/src/types/push-notification.ts
Normal file
7
js/src/types/push-notification.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export interface IPushNotification {
|
||||
title: string;
|
||||
body: string;
|
||||
url: string;
|
||||
timestamp: string;
|
||||
locale: string;
|
||||
}
|
||||
Reference in New Issue
Block a user