2017-05-10 11:04:06 +02:00
|
|
|
export class AppConfig {
|
2017-08-01 23:52:10 +02:00
|
|
|
public readonly apiUrl = '/api';
|
2017-09-03 12:49:59 +02:00
|
|
|
public readonly apiAppUserPath = this.apiUrl + '/account/';
|
2017-10-22 18:06:37 +02:00
|
|
|
public readonly apiAuthenticationPath = this.apiUrl + '/authenticate';
|
2017-09-03 12:49:59 +02:00
|
|
|
public readonly apiAwardPath = this.apiUrl + '/awardings';
|
2017-10-22 18:06:37 +02:00
|
|
|
public readonly apiCampaignPath = this.apiUrl + '/campaigns';
|
2017-09-03 12:49:59 +02:00
|
|
|
public readonly apiDecorationPath = this.apiUrl + '/decorations/';
|
2017-10-22 18:06:37 +02:00
|
|
|
public readonly apiLogsPath = this.apiUrl + '/logs';
|
2017-09-03 12:49:59 +02:00
|
|
|
public readonly apiOverviewPath = this.apiUrl + '/overview';
|
2017-10-01 20:24:35 +02:00
|
|
|
public readonly apiPlayersPath = this.apiUrl + '/players';
|
2017-09-03 12:49:59 +02:00
|
|
|
public readonly apiPromotionPath = this.apiUrl + '/request/promotion';
|
2017-10-22 18:06:37 +02:00
|
|
|
public readonly apiRankPath = this.apiUrl + '/ranks/';
|
|
|
|
public readonly apiRequestAwardPath = this.apiUrl + '/request/award';
|
|
|
|
public readonly apiSignupPath = this.apiUrl + '/authenticate/signup';
|
|
|
|
public readonly apiSquadPath = this.apiUrl + '/squads/';
|
|
|
|
public readonly apiUserPath = this.apiUrl + '/users/';
|
2017-09-03 12:49:59 +02:00
|
|
|
public readonly apiWarPath = this.apiUrl + '/wars';
|
2017-05-10 11:04:06 +02:00
|
|
|
}
|
2017-08-01 23:52:10 +02:00
|
|
|
|
|
|
|
export const RouteConfig = {
|
|
|
|
adminPanelPath: 'admin-panel',
|
2018-11-24 14:05:52 +01:00
|
|
|
adminPanelAppUsersPath: 'admin-panel/users',
|
2018-10-04 14:08:29 +02:00
|
|
|
managePath: 'manage',
|
|
|
|
manageDecorationPath: 'manage/decorations',
|
|
|
|
manageRankPath: 'manage/ranks',
|
|
|
|
manageSquadPath: 'manage/squads',
|
|
|
|
manageUserPath: 'manage/users',
|
2017-08-01 23:52:10 +02:00
|
|
|
loginPath: 'login',
|
|
|
|
signUpPath: 'signup',
|
|
|
|
statsPath: 'stats',
|
|
|
|
overviewPath: 'overview',
|
2017-09-03 12:29:41 +02:00
|
|
|
request: 'request',
|
|
|
|
requestAwardPath: 'award',
|
|
|
|
requestPromotionPath: 'promotion',
|
2017-08-01 23:52:10 +02:00
|
|
|
confirmAwardPath: 'confirm-award',
|
2018-06-17 16:44:31 +02:00
|
|
|
confirmPromotionPath: 'confirm-promotion',
|
|
|
|
sqlDashboardPath: 'sql-dashboard',
|
2018-06-24 18:17:52 +02:00
|
|
|
publicPath: 'public',
|
2018-10-04 14:08:29 +02:00
|
|
|
decorationPath: 'decorations',
|
|
|
|
rankPath: 'ranks',
|
2018-06-24 18:17:52 +02:00
|
|
|
rankOverviewPath: 'public/ranks',
|
|
|
|
decorationOverviewPath: 'public/decorations',
|
2017-12-22 07:56:26 +01:00
|
|
|
};
|
2019-02-25 14:32:29 +01:00
|
|
|
|
|
|
|
export const BaseConfig = {
|
|
|
|
responsive: {
|
|
|
|
breakpointPx: 959,
|
|
|
|
},
|
|
|
|
i18n: {
|
|
|
|
availableLanguages: [
|
|
|
|
'de',
|
|
|
|
'en'
|
|
|
|
]
|
|
|
|
}
|
|
|
|
};
|