You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
877 B

2 years ago
/**
* Generic strings that could be used throughout the app.
*
* See also ../libs/veramo/setup.ts
2 years ago
*/
export enum AppString {
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,
2 years ago
}
/**
* The possible values for "group" and "type" are in App.vue.
* From the notiwind package
*/
export interface NotificationIface {
group: string; // "alert" | "modal"
type: string; // "toast" | "info" | "success" | "warning" | "danger"
title: string;
text: string;
}