forked from trent_larson/crowd-funder-for-time-pwa
change the notification detection to our own variables, and save the selected time
This commit is contained in:
@@ -52,13 +52,14 @@ export const PASSKEYS_ENABLED =
|
||||
|
||||
/**
|
||||
* The possible values for "group" and "type" are in App.vue.
|
||||
* From the notiwind package
|
||||
* Some of this comes from the notiwind package, some is custom.
|
||||
*/
|
||||
export interface NotificationIface {
|
||||
group: string; // "alert" | "modal"
|
||||
type: string; // "toast" | "info" | "success" | "warning" | "danger"
|
||||
title: string;
|
||||
text?: string;
|
||||
callback?: (success: boolean) => Promise<void>; // if this triggered an action
|
||||
noText?: string;
|
||||
onCancel?: (stopAsking?: boolean) => Promise<void>;
|
||||
onNo?: (stopAsking?: boolean) => Promise<void>;
|
||||
|
||||
Reference in New Issue
Block a user