opt-cc/static/src/app/app.config.ts

39 lines
1.4 KiB
TypeScript
Raw Normal View History

2017-05-10 11:04:06 +02:00
export class AppConfig {
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/';
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';
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
}
export const RouteConfig = {
adminPanelPath: 'admin-panel',
decorationPath: 'decorations',
loginPath: 'login',
signUpPath: 'signup',
rankPath: 'ranks',
squadPath: 'squads',
statsPath: 'stats',
userPath: 'users',
overviewPath: 'overview',
request: 'request',
requestAwardPath: 'award',
requestPromotionPath: 'promotion',
confirmAwardPath: 'confirm-award',
confirmPromotionPath: 'confirm-promotion'
2017-12-22 07:56:26 +01:00
};