Updates for web push workflow

This commit is contained in:
Matthew Raymer
2023-09-08 21:04:50 +08:00
parent ed91cadd9d
commit 2c4a920c3c
2 changed files with 99 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ export type BoundingBox = {
westLong: number;
};
// a singleton
// Updated Settings type
export type Settings = {
id: number; // there's only one entry: MASTER_SETTINGS_KEY
@@ -19,6 +19,9 @@ export type Settings = {
bbox: BoundingBox;
}>;
showContactGivesInline?: boolean;
vapid?: string; // added VAPID field
reminderTime?: number; // Time in milliseconds since the UNIX epoch
reminderOn?: boolean; // Whether the reminder is on or off
};
export const SettingsSchema = {