forked from jsnbuchanan/crowd-funder-for-time-pwa
Updates for web push workflow
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user