blob: d4f75b915fa4f00d9c94491854020fd724a01d05 [file] [log] [blame]
export class Globals {
static FRONTEND_VERSION = '1.0.1';
static SESSION_TOKEN_TAG = 'X-XSRF-TOKEN';
static CURRENT_USER = 'CURRENT_USER';
static ALL_USERS = 'ALL_USERS';
static BASE_URL = '/elogbook/rest/beservice';
static BRANCHESNAME = 'BRANCHES';
static STATUSES = 'STATUSES';
static FILTER_MATRIX = 'FILTER_MATRIX';
static DATE_RANGE_FUTURE = 'DATE_RANGE_FUTURE';
static DATE_RANGE_PAST = 'DATE_RANGE_PAST';
static DATE_RANGE_HISTORY = 'DATE_RANGE_HISTORY';
static GRID_TERRITORIES = 'TERRITORIES';
static ACCESS_TOKEN = 'ACCESS_TOKEN';
static BRANCHES = class Branches {
static const power = 'S';
static const gas = 'G';
static const heating = 'F';
static const water = 'W';
};
static NOTIFICATION_HISTORY_EXPANSION_STATES = 'NOTIFICATION_HISTORY_EXPANSION_STATES';
static SEARCHOBJECT = 'SEARCHOBJECT';
static COLLAPSE_STATE_ID_EXT = '_COLLAPSE_STATE_ID';
static COLLAPSE_STATE_OPEN = 'COLLAPSE_STATE_OPEN';
static COLLAPSE_STATE_PAST = 'COLLAPSE_STATE_PAST';
static COLLAPSE_STATE_FUTURE = 'COLLAPSE_STATE_FUTURE';
static LOCALSTORAGE_SESSION_ID = '/elogbook/session-id';
static OAUTH2CONF_LOGOUT_URL = 'http://entjava002:8080/auth/realms/elogbook/' +
'protocol/openid-connect/logout?post_logout_redirect_uri=';
static OAUTH2CONF_CLIENTID = 'elogbook-backend-fd';
static OAUTH2CONF_SUPERUSER_ROLE = 'elogbook-superuser';
static REMINDER_JOB_POLLING_INTERVALL = 8000;
static REMINDER_JOB_POLLING_START_DELAY = 2000;
static IMPORT_JOB_POLLING_INTERVALL = 8000;
static IMPORT_JOB_POLLING_START_DELAY = 2000;
static SORTING_STATE = 'SORTING_STATE';
}