allow to customize the push-server for testing

This commit is contained in:
2023-11-12 11:35:36 -07:00
parent fc70a11bd8
commit 65a5edf26b
5 changed files with 115 additions and 21 deletions

View File

@@ -4,20 +4,27 @@
* See also ../libs/veramo/setup.ts
*/
export enum AppString {
APP_NAME = "TimeSafari",
APP_NAME = "Time Safari",
PROD_ENDORSER_API_SERVER = "https://api.endorser.ch",
TEST_ENDORSER_API_SERVER = "https://test-api.endorser.ch",
LOCAL_ENDORSER_API_SERVER = "http://localhost:3000",
DEFAULT_ENDORSER_API_SERVER = TEST_ENDORSER_API_SERVER,
PROD_PUSH_SERVER = "https://push.endorser.ch",
TEST_PUSH_SERVER = "https://timesafari-pwa.anomalistlabs.com",
LOCAL_PUSH_SERVER = "http://localhost:3001",
DEFAULT_PUSH_SERVER = TEST_PUSH_SERVER,
}
/**
* See notiwind package
* The possible values for "group" and "type" are in App.vue.
* From the notiwind package
*/
export interface NotificationIface {
group: string;
group: string; // "alert" | "modal"
type: string; // "toast" | "info" | "success" | "warning" | "danger"
title: string;
text: string;