2017-05-10 11:04:06 +02:00
|
|
|
export class AppConfig {
|
|
|
|
|
2017-08-01 23:52:10 +02:00
|
|
|
public readonly apiUrl = '/api';
|
2017-05-10 11:04:06 +02:00
|
|
|
|
2017-09-03 12:49:59 +02:00
|
|
|
public readonly apiAppUserPath = this.apiUrl + '/account/';
|
|
|
|
public readonly apiAwardPath = this.apiUrl + '/awardings';
|
|
|
|
public readonly apiDecorationPath = this.apiUrl + '/decorations/';
|
2017-08-01 23:52:10 +02:00
|
|
|
public readonly apiAuthenticationPath = this.apiUrl + '/authenticate';
|
2017-09-03 12:49:59 +02:00
|
|
|
public readonly apiSignupPath = this.apiUrl + '/authenticate/signup';
|
|
|
|
public readonly apiRankPath = this.apiUrl + '/ranks/';
|
|
|
|
public readonly apiSquadPath = this.apiUrl + '/squads/';
|
|
|
|
public readonly apiUserPath = this.apiUrl + '/users/';
|
|
|
|
public readonly apiOverviewPath = this.apiUrl + '/overview';
|
|
|
|
public readonly apiRequestAwardPath = this.apiUrl + '/request/award';
|
|
|
|
public readonly apiPromotionPath = this.apiUrl + '/request/promotion';
|
|
|
|
public readonly apiWarPath = this.apiUrl + '/wars';
|
2017-09-12 15:02:35 +02:00
|
|
|
public readonly apiCampaignPath = this.apiUrl + '/campaigns';
|
2017-05-10 11:04:06 +02:00
|
|
|
|
|
|
|
}
|
2017-08-01 23:52:10 +02:00
|
|
|
|
|
|
|
export const RouteConfig = {
|
|
|
|
adminPanelPath: 'admin-panel',
|
|
|
|
decorationPath: 'decorations',
|
|
|
|
loginPath: 'login',
|
|
|
|
signUpPath: 'signup',
|
|
|
|
rankPath: 'ranks',
|
|
|
|
squadPath: 'squads',
|
|
|
|
statsPath: 'stats',
|
|
|
|
userPath: 'users',
|
|
|
|
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',
|
|
|
|
confirmPromotionPath: 'confirm-promotion'
|
|
|
|
}
|