Rename custom HttpClient to HttpGateway (CC-63)
parent
66022e4141
commit
16fa17a2d4
|
@ -22,7 +22,7 @@ import {HttpClientModule} from '@angular/common/http';
|
||||||
import {SpinnerService} from './services/user-interface/spinner/spinner.service';
|
import {SpinnerService} from './services/user-interface/spinner/spinner.service';
|
||||||
import {MatSelectModule, MatSnackBarModule} from '@angular/material';
|
import {MatSelectModule, MatSnackBarModule} from '@angular/material';
|
||||||
import {SettingsService} from './services/settings.service';
|
import {SettingsService} from './services/settings.service';
|
||||||
import {HttpGateway} from './services/http-client';
|
import {HttpGateway} from './services/http-gateway';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {AppUser} from '../../models/model-interfaces';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Observable';
|
||||||
import {EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
import {EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class AppUserService {
|
export class AppUserService {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {Injectable} from '@angular/core';
|
import {Injectable} from '@angular/core';
|
||||||
import {Award} from '../../models/model-interfaces';
|
import {Award} from '../../models/model-interfaces';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class AwardingService {
|
export class AwardingService {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {RequestMethod, RequestOptions, URLSearchParams} from '@angular/http';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Observable';
|
||||||
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class DecorationService {
|
export class DecorationService {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {Injectable} from '@angular/core';
|
import {Injectable} from '@angular/core';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {Promotion} from '../../models/model-interfaces';
|
import {Promotion} from '../../models/model-interfaces';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class PromotionService {
|
export class PromotionService {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {RequestMethod, RequestOptions, URLSearchParams} from '@angular/http';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Observable';
|
||||||
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class RankService {
|
export class RankService {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {RequestMethod, RequestOptions, URLSearchParams} from '@angular/http';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Observable';
|
||||||
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class SquadService {
|
export class SquadService {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {URLSearchParams} from '@angular/http';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Observable';
|
||||||
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class UserService {
|
export class UserService {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {AppConfig} from '../../app.config';
|
||||||
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
import {RequestMethod, RequestOptions} from '@angular/http';
|
import {RequestMethod, RequestOptions} from '@angular/http';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class CampaignService {
|
export class CampaignService {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {Injectable} from '@angular/core';
|
import {Injectable} from '@angular/core';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {URLSearchParams} from '@angular/http';
|
import {URLSearchParams} from '@angular/http';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class LogsService {
|
export class LogsService {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {Injectable} from '@angular/core';
|
import {Injectable} from '@angular/core';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class PlayerService {
|
export class PlayerService {
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {War} from '../../models/model-interfaces';
|
||||||
import {AppConfig} from '../../app.config';
|
import {AppConfig} from '../../app.config';
|
||||||
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
import {ADD, EDIT, LOAD, REMOVE, Store} from '../stores/generic-store';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
import {HttpGateway} from '../http-client';
|
import {HttpGateway} from '../http-gateway';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class WarService {
|
export class WarService {
|
||||||
|
|
Loading…
Reference in New Issue