Rename custom HttpClient to HttpGateway (CC-63)

pull/46/head
HardiReady 2018-10-10 00:05:32 +02:00
parent 66022e4141
commit 16fa17a2d4
13 changed files with 12 additions and 12 deletions

View File

@ -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: [

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {