From d360a150da202e16258ed7ac31013f31d3ee88c9 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 30 Jan 2018 19:55:56 +0900 Subject: [PATCH 1/2] ing --- .../commons/api/service/api.service.spec.ts | 15 +++++++++++ src/app/commons/api/service/api.service.ts | 25 +++++++++++++++++++ .../setting/setting.component.html | 0 .../setting/setting.component.scss | 0 .../setting/setting.component.spec.ts | 0 .../setting/setting.component.ts | 0 .../packages/discovery/discovery.module.ts | 2 +- .../map/map.component.html | 0 .../map/map.component.scss | 0 .../map/map.component.spec.ts | 0 .../map/map.component.ts | 0 src/app/packages/infra/infra.module.ts | 2 +- .../modify/modify-reducer.module.ts | 0 .../modify/modify.component.html | 0 .../modify/modify.component.scss | 0 .../modify/modify.component.spec.ts | 0 .../modify/modify.component.ts | 0 .../modify/modify.module.ts | 0 .../reset-password.component.html | 0 .../reset-password.component.scss | 0 .../reset-password.component.spec.ts | 0 .../reset-password.component.ts | 0 .../reset-password/reset-password.module.ts | 0 .../signin/signin.component.html | 0 .../signin/signin.component.scss | 0 .../signin/signin.component.spec.ts | 0 .../signin/signin.component.ts | 0 .../signin/signin.module.ts | 0 .../signup/signup.component.html | 0 .../signup/signup.component.scss | 0 .../signup/signup.component.spec.ts | 0 .../signup/signup.component.ts | 0 .../signup/signup.module.ts | 0 src/app/packages/member/member.module.ts | 10 ++++---- src/app/packages/member/model/member.ts | 10 ++++++++ .../member.service.spec.ts | 0 .../{services => service}/member.service.ts | 3 +++ .../list/list.component.html | 0 .../list/list.component.scss | 0 .../list/list.component.spec.ts | 0 .../list/list.component.ts | 0 src/app/packages/noauth/noauth.module.ts | 2 +- .../download/download.component.html | 0 .../download/download.component.scss | 0 .../download/download.component.spec.ts | 0 .../download/download.component.ts | 0 .../list/list.component.html | 0 .../list/list.component.scss | 0 .../list/list.component.spec.ts | 0 .../list/list.component.ts | 0 src/app/packages/probe/probe.module.ts | 4 +-- .../pages/auth/signin/signin-page.module.ts | 2 +- .../probes/probes-page-routing.module.ts | 6 ++--- 53 files changed, 67 insertions(+), 14 deletions(-) create mode 100644 src/app/commons/api/service/api.service.spec.ts create mode 100644 src/app/commons/api/service/api.service.ts rename src/app/packages/discovery/{components => component}/setting/setting.component.html (100%) rename src/app/packages/discovery/{components => component}/setting/setting.component.scss (100%) rename src/app/packages/discovery/{components => component}/setting/setting.component.spec.ts (100%) rename src/app/packages/discovery/{components => component}/setting/setting.component.ts (100%) rename src/app/packages/infra/{components => component}/map/map.component.html (100%) rename src/app/packages/infra/{components => component}/map/map.component.scss (100%) rename src/app/packages/infra/{components => component}/map/map.component.spec.ts (100%) rename src/app/packages/infra/{components => component}/map/map.component.ts (100%) rename src/app/packages/member/{components => component}/modify/modify-reducer.module.ts (100%) rename src/app/packages/member/{components => component}/modify/modify.component.html (100%) rename src/app/packages/member/{components => component}/modify/modify.component.scss (100%) rename src/app/packages/member/{components => component}/modify/modify.component.spec.ts (100%) rename src/app/packages/member/{components => component}/modify/modify.component.ts (100%) rename src/app/packages/member/{components => component}/modify/modify.module.ts (100%) rename src/app/packages/member/{components => component}/reset-password/reset-password.component.html (100%) rename src/app/packages/member/{components => component}/reset-password/reset-password.component.scss (100%) rename src/app/packages/member/{components => component}/reset-password/reset-password.component.spec.ts (100%) rename src/app/packages/member/{components => component}/reset-password/reset-password.component.ts (100%) rename src/app/packages/member/{components => component}/reset-password/reset-password.module.ts (100%) rename src/app/packages/member/{components => component}/signin/signin.component.html (100%) rename src/app/packages/member/{components => component}/signin/signin.component.scss (100%) rename src/app/packages/member/{components => component}/signin/signin.component.spec.ts (100%) rename src/app/packages/member/{components => component}/signin/signin.component.ts (100%) rename src/app/packages/member/{components => component}/signin/signin.module.ts (100%) rename src/app/packages/member/{components => component}/signup/signup.component.html (100%) rename src/app/packages/member/{components => component}/signup/signup.component.scss (100%) rename src/app/packages/member/{components => component}/signup/signup.component.spec.ts (100%) rename src/app/packages/member/{components => component}/signup/signup.component.ts (100%) rename src/app/packages/member/{components => component}/signup/signup.module.ts (100%) create mode 100644 src/app/packages/member/model/member.ts rename src/app/packages/member/{services => service}/member.service.spec.ts (100%) rename src/app/packages/member/{services => service}/member.service.ts (69%) rename src/app/packages/noauth/{components => component}/list/list.component.html (100%) rename src/app/packages/noauth/{components => component}/list/list.component.scss (100%) rename src/app/packages/noauth/{components => component}/list/list.component.spec.ts (100%) rename src/app/packages/noauth/{components => component}/list/list.component.ts (100%) rename src/app/packages/probe/{components => component}/download/download.component.html (100%) rename src/app/packages/probe/{components => component}/download/download.component.scss (100%) rename src/app/packages/probe/{components => component}/download/download.component.spec.ts (100%) rename src/app/packages/probe/{components => component}/download/download.component.ts (100%) rename src/app/packages/probe/{components => component}/list/list.component.html (100%) rename src/app/packages/probe/{components => component}/list/list.component.scss (100%) rename src/app/packages/probe/{components => component}/list/list.component.spec.ts (100%) rename src/app/packages/probe/{components => component}/list/list.component.ts (100%) diff --git a/src/app/commons/api/service/api.service.spec.ts b/src/app/commons/api/service/api.service.spec.ts new file mode 100644 index 0000000..eabfdd4 --- /dev/null +++ b/src/app/commons/api/service/api.service.spec.ts @@ -0,0 +1,15 @@ +import { TestBed, inject } from '@angular/core/testing'; + +import { APIService } from './api.service'; + +describe('APIService', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + providers: [APIService] + }); + }); + + it('should be created', inject([APIService], (service: APIService) => { + expect(service).toBeTruthy(); + })); +}); diff --git a/src/app/commons/api/service/api.service.ts b/src/app/commons/api/service/api.service.ts new file mode 100644 index 0000000..09dbaab --- /dev/null +++ b/src/app/commons/api/service/api.service.ts @@ -0,0 +1,25 @@ +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs/Observable'; +import { Observer } from 'rxjs/Observer'; +import { Subject } from 'rxjs/Subject'; +import { Subscription } from 'rxjs/Subscription'; +import { WebSocketSubject } from 'rxjs/observable/dom/WebSocketSubject'; + +@Injectable() +export class APIService { + private socketSubject: WebSocketSubject; + private socket: Subscription; + private apiURL: string; + + constructor() { } + + public connect(): void { + this.socketSubject = WebSocketSubject.create(this.apiURL); + this.socketSubject.subscribe({ + next: (data: MessageEvent) => { + + } + }); + } + +} diff --git a/src/app/packages/discovery/components/setting/setting.component.html b/src/app/packages/discovery/component/setting/setting.component.html similarity index 100% rename from src/app/packages/discovery/components/setting/setting.component.html rename to src/app/packages/discovery/component/setting/setting.component.html diff --git a/src/app/packages/discovery/components/setting/setting.component.scss b/src/app/packages/discovery/component/setting/setting.component.scss similarity index 100% rename from src/app/packages/discovery/components/setting/setting.component.scss rename to src/app/packages/discovery/component/setting/setting.component.scss diff --git a/src/app/packages/discovery/components/setting/setting.component.spec.ts b/src/app/packages/discovery/component/setting/setting.component.spec.ts similarity index 100% rename from src/app/packages/discovery/components/setting/setting.component.spec.ts rename to src/app/packages/discovery/component/setting/setting.component.spec.ts diff --git a/src/app/packages/discovery/components/setting/setting.component.ts b/src/app/packages/discovery/component/setting/setting.component.ts similarity index 100% rename from src/app/packages/discovery/components/setting/setting.component.ts rename to src/app/packages/discovery/component/setting/setting.component.ts diff --git a/src/app/packages/discovery/discovery.module.ts b/src/app/packages/discovery/discovery.module.ts index f712783..ee6a259 100644 --- a/src/app/packages/discovery/discovery.module.ts +++ b/src/app/packages/discovery/discovery.module.ts @@ -1,7 +1,7 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; -import { SettingComponent } from './components/setting/setting.component'; +import { SettingComponent } from './component/setting/setting.component'; import { MaterialModule } from 'app/commons/ui/material/material.module'; @NgModule({ diff --git a/src/app/packages/infra/components/map/map.component.html b/src/app/packages/infra/component/map/map.component.html similarity index 100% rename from src/app/packages/infra/components/map/map.component.html rename to src/app/packages/infra/component/map/map.component.html diff --git a/src/app/packages/infra/components/map/map.component.scss b/src/app/packages/infra/component/map/map.component.scss similarity index 100% rename from src/app/packages/infra/components/map/map.component.scss rename to src/app/packages/infra/component/map/map.component.scss diff --git a/src/app/packages/infra/components/map/map.component.spec.ts b/src/app/packages/infra/component/map/map.component.spec.ts similarity index 100% rename from src/app/packages/infra/components/map/map.component.spec.ts rename to src/app/packages/infra/component/map/map.component.spec.ts diff --git a/src/app/packages/infra/components/map/map.component.ts b/src/app/packages/infra/component/map/map.component.ts similarity index 100% rename from src/app/packages/infra/components/map/map.component.ts rename to src/app/packages/infra/component/map/map.component.ts diff --git a/src/app/packages/infra/infra.module.ts b/src/app/packages/infra/infra.module.ts index 1a13b8c..b14010b 100644 --- a/src/app/packages/infra/infra.module.ts +++ b/src/app/packages/infra/infra.module.ts @@ -1,7 +1,7 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; -import { MapComponent } from './components/map/map.component'; +import { MapComponent } from './component/map/map.component'; import { MaterialModule } from 'app/commons/ui/material/material.module'; @NgModule({ diff --git a/src/app/packages/member/components/modify/modify-reducer.module.ts b/src/app/packages/member/component/modify/modify-reducer.module.ts similarity index 100% rename from src/app/packages/member/components/modify/modify-reducer.module.ts rename to src/app/packages/member/component/modify/modify-reducer.module.ts diff --git a/src/app/packages/member/components/modify/modify.component.html b/src/app/packages/member/component/modify/modify.component.html similarity index 100% rename from src/app/packages/member/components/modify/modify.component.html rename to src/app/packages/member/component/modify/modify.component.html diff --git a/src/app/packages/member/components/modify/modify.component.scss b/src/app/packages/member/component/modify/modify.component.scss similarity index 100% rename from src/app/packages/member/components/modify/modify.component.scss rename to src/app/packages/member/component/modify/modify.component.scss diff --git a/src/app/packages/member/components/modify/modify.component.spec.ts b/src/app/packages/member/component/modify/modify.component.spec.ts similarity index 100% rename from src/app/packages/member/components/modify/modify.component.spec.ts rename to src/app/packages/member/component/modify/modify.component.spec.ts diff --git a/src/app/packages/member/components/modify/modify.component.ts b/src/app/packages/member/component/modify/modify.component.ts similarity index 100% rename from src/app/packages/member/components/modify/modify.component.ts rename to src/app/packages/member/component/modify/modify.component.ts diff --git a/src/app/packages/member/components/modify/modify.module.ts b/src/app/packages/member/component/modify/modify.module.ts similarity index 100% rename from src/app/packages/member/components/modify/modify.module.ts rename to src/app/packages/member/component/modify/modify.module.ts diff --git a/src/app/packages/member/components/reset-password/reset-password.component.html b/src/app/packages/member/component/reset-password/reset-password.component.html similarity index 100% rename from src/app/packages/member/components/reset-password/reset-password.component.html rename to src/app/packages/member/component/reset-password/reset-password.component.html diff --git a/src/app/packages/member/components/reset-password/reset-password.component.scss b/src/app/packages/member/component/reset-password/reset-password.component.scss similarity index 100% rename from src/app/packages/member/components/reset-password/reset-password.component.scss rename to src/app/packages/member/component/reset-password/reset-password.component.scss diff --git a/src/app/packages/member/components/reset-password/reset-password.component.spec.ts b/src/app/packages/member/component/reset-password/reset-password.component.spec.ts similarity index 100% rename from src/app/packages/member/components/reset-password/reset-password.component.spec.ts rename to src/app/packages/member/component/reset-password/reset-password.component.spec.ts diff --git a/src/app/packages/member/components/reset-password/reset-password.component.ts b/src/app/packages/member/component/reset-password/reset-password.component.ts similarity index 100% rename from src/app/packages/member/components/reset-password/reset-password.component.ts rename to src/app/packages/member/component/reset-password/reset-password.component.ts diff --git a/src/app/packages/member/components/reset-password/reset-password.module.ts b/src/app/packages/member/component/reset-password/reset-password.module.ts similarity index 100% rename from src/app/packages/member/components/reset-password/reset-password.module.ts rename to src/app/packages/member/component/reset-password/reset-password.module.ts diff --git a/src/app/packages/member/components/signin/signin.component.html b/src/app/packages/member/component/signin/signin.component.html similarity index 100% rename from src/app/packages/member/components/signin/signin.component.html rename to src/app/packages/member/component/signin/signin.component.html diff --git a/src/app/packages/member/components/signin/signin.component.scss b/src/app/packages/member/component/signin/signin.component.scss similarity index 100% rename from src/app/packages/member/components/signin/signin.component.scss rename to src/app/packages/member/component/signin/signin.component.scss diff --git a/src/app/packages/member/components/signin/signin.component.spec.ts b/src/app/packages/member/component/signin/signin.component.spec.ts similarity index 100% rename from src/app/packages/member/components/signin/signin.component.spec.ts rename to src/app/packages/member/component/signin/signin.component.spec.ts diff --git a/src/app/packages/member/components/signin/signin.component.ts b/src/app/packages/member/component/signin/signin.component.ts similarity index 100% rename from src/app/packages/member/components/signin/signin.component.ts rename to src/app/packages/member/component/signin/signin.component.ts diff --git a/src/app/packages/member/components/signin/signin.module.ts b/src/app/packages/member/component/signin/signin.module.ts similarity index 100% rename from src/app/packages/member/components/signin/signin.module.ts rename to src/app/packages/member/component/signin/signin.module.ts diff --git a/src/app/packages/member/components/signup/signup.component.html b/src/app/packages/member/component/signup/signup.component.html similarity index 100% rename from src/app/packages/member/components/signup/signup.component.html rename to src/app/packages/member/component/signup/signup.component.html diff --git a/src/app/packages/member/components/signup/signup.component.scss b/src/app/packages/member/component/signup/signup.component.scss similarity index 100% rename from src/app/packages/member/components/signup/signup.component.scss rename to src/app/packages/member/component/signup/signup.component.scss diff --git a/src/app/packages/member/components/signup/signup.component.spec.ts b/src/app/packages/member/component/signup/signup.component.spec.ts similarity index 100% rename from src/app/packages/member/components/signup/signup.component.spec.ts rename to src/app/packages/member/component/signup/signup.component.spec.ts diff --git a/src/app/packages/member/components/signup/signup.component.ts b/src/app/packages/member/component/signup/signup.component.ts similarity index 100% rename from src/app/packages/member/components/signup/signup.component.ts rename to src/app/packages/member/component/signup/signup.component.ts diff --git a/src/app/packages/member/components/signup/signup.module.ts b/src/app/packages/member/component/signup/signup.module.ts similarity index 100% rename from src/app/packages/member/components/signup/signup.module.ts rename to src/app/packages/member/component/signup/signup.module.ts diff --git a/src/app/packages/member/member.module.ts b/src/app/packages/member/member.module.ts index 66c9187..1873d54 100644 --- a/src/app/packages/member/member.module.ts +++ b/src/app/packages/member/member.module.ts @@ -1,10 +1,10 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; -import { ModifyModule } from 'app/packages/member/components/modify/modify.module'; -import { SigninModule } from 'app/packages/member/components/signin/signin.module'; -import { SignupModule } from 'app/packages/member/components/signup/signup.module'; -import { ResetPasswordModule } from 'app/packages/member/components/reset-password/reset-password.module'; -import { MemberService } from 'app/packages/member/services/member.service'; +import { ModifyModule } from 'app/packages/member/component/modify/modify.module'; +import { SigninModule } from 'app/packages/member/component/signin/signin.module'; +import { SignupModule } from 'app/packages/member/component/signup/signup.module'; +import { ResetPasswordModule } from 'app/packages/member/component/reset-password/reset-password.module'; +import { MemberService } from 'app/packages/member/service/member.service'; @NgModule({ imports: [ diff --git a/src/app/packages/member/model/member.ts b/src/app/packages/member/model/member.ts new file mode 100644 index 0000000..8fca9b9 --- /dev/null +++ b/src/app/packages/member/model/member.ts @@ -0,0 +1,10 @@ +export class Member { + id: number; + email: string; + password: string; + name: string; + phone: string; + companyName: string; + createDate: Date; + status: string; +} diff --git a/src/app/packages/member/services/member.service.spec.ts b/src/app/packages/member/service/member.service.spec.ts similarity index 100% rename from src/app/packages/member/services/member.service.spec.ts rename to src/app/packages/member/service/member.service.spec.ts diff --git a/src/app/packages/member/services/member.service.ts b/src/app/packages/member/service/member.service.ts similarity index 69% rename from src/app/packages/member/services/member.service.ts rename to src/app/packages/member/service/member.service.ts index 02bcfb3..85c1ee1 100644 --- a/src/app/packages/member/services/member.service.ts +++ b/src/app/packages/member/service/member.service.ts @@ -5,4 +5,7 @@ export class MemberService { constructor() { } + signin(email: string, password: string) { + + } } diff --git a/src/app/packages/noauth/components/list/list.component.html b/src/app/packages/noauth/component/list/list.component.html similarity index 100% rename from src/app/packages/noauth/components/list/list.component.html rename to src/app/packages/noauth/component/list/list.component.html diff --git a/src/app/packages/noauth/components/list/list.component.scss b/src/app/packages/noauth/component/list/list.component.scss similarity index 100% rename from src/app/packages/noauth/components/list/list.component.scss rename to src/app/packages/noauth/component/list/list.component.scss diff --git a/src/app/packages/noauth/components/list/list.component.spec.ts b/src/app/packages/noauth/component/list/list.component.spec.ts similarity index 100% rename from src/app/packages/noauth/components/list/list.component.spec.ts rename to src/app/packages/noauth/component/list/list.component.spec.ts diff --git a/src/app/packages/noauth/components/list/list.component.ts b/src/app/packages/noauth/component/list/list.component.ts similarity index 100% rename from src/app/packages/noauth/components/list/list.component.ts rename to src/app/packages/noauth/component/list/list.component.ts diff --git a/src/app/packages/noauth/noauth.module.ts b/src/app/packages/noauth/noauth.module.ts index 8ef8e3b..58a0e20 100644 --- a/src/app/packages/noauth/noauth.module.ts +++ b/src/app/packages/noauth/noauth.module.ts @@ -1,6 +1,6 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; -import { ListComponent } from 'app/packages/noauth/components/list/list.component'; +import { ListComponent } from 'app/packages/noauth/component/list/list.component'; @NgModule({ imports: [ diff --git a/src/app/packages/probe/components/download/download.component.html b/src/app/packages/probe/component/download/download.component.html similarity index 100% rename from src/app/packages/probe/components/download/download.component.html rename to src/app/packages/probe/component/download/download.component.html diff --git a/src/app/packages/probe/components/download/download.component.scss b/src/app/packages/probe/component/download/download.component.scss similarity index 100% rename from src/app/packages/probe/components/download/download.component.scss rename to src/app/packages/probe/component/download/download.component.scss diff --git a/src/app/packages/probe/components/download/download.component.spec.ts b/src/app/packages/probe/component/download/download.component.spec.ts similarity index 100% rename from src/app/packages/probe/components/download/download.component.spec.ts rename to src/app/packages/probe/component/download/download.component.spec.ts diff --git a/src/app/packages/probe/components/download/download.component.ts b/src/app/packages/probe/component/download/download.component.ts similarity index 100% rename from src/app/packages/probe/components/download/download.component.ts rename to src/app/packages/probe/component/download/download.component.ts diff --git a/src/app/packages/probe/components/list/list.component.html b/src/app/packages/probe/component/list/list.component.html similarity index 100% rename from src/app/packages/probe/components/list/list.component.html rename to src/app/packages/probe/component/list/list.component.html diff --git a/src/app/packages/probe/components/list/list.component.scss b/src/app/packages/probe/component/list/list.component.scss similarity index 100% rename from src/app/packages/probe/components/list/list.component.scss rename to src/app/packages/probe/component/list/list.component.scss diff --git a/src/app/packages/probe/components/list/list.component.spec.ts b/src/app/packages/probe/component/list/list.component.spec.ts similarity index 100% rename from src/app/packages/probe/components/list/list.component.spec.ts rename to src/app/packages/probe/component/list/list.component.spec.ts diff --git a/src/app/packages/probe/components/list/list.component.ts b/src/app/packages/probe/component/list/list.component.ts similarity index 100% rename from src/app/packages/probe/components/list/list.component.ts rename to src/app/packages/probe/component/list/list.component.ts diff --git a/src/app/packages/probe/probe.module.ts b/src/app/packages/probe/probe.module.ts index 4c57c6b..33a5ced 100644 --- a/src/app/packages/probe/probe.module.ts +++ b/src/app/packages/probe/probe.module.ts @@ -1,7 +1,7 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; -import { ListComponent } from 'app/packages/probe/components/list/list.component'; -import { DownloadComponent } from 'app/packages/probe/components/download/download.component'; +import { ListComponent } from 'app/packages/probe/component/list/list.component'; +import { DownloadComponent } from 'app/packages/probe/component/download/download.component'; import { MaterialModule } from 'app/commons/ui/material/material.module'; @NgModule({ diff --git a/src/app/pages/auth/signin/signin-page.module.ts b/src/app/pages/auth/signin/signin-page.module.ts index c203c45..05f4495 100644 --- a/src/app/pages/auth/signin/signin-page.module.ts +++ b/src/app/pages/auth/signin/signin-page.module.ts @@ -2,7 +2,7 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SigninPageRoutingModule } from './signin-page-routing.module'; import { SigninPageComponent } from './signin-page.component'; -import { SigninModule } from 'app/packages/member/components/signin/signin.module'; +import { SigninModule } from 'app/packages/member/component/signin/signin.module'; import { FlexLayoutModule } from '@angular/flex-layout'; @NgModule({ diff --git a/src/app/pages/probes/probes-page-routing.module.ts b/src/app/pages/probes/probes-page-routing.module.ts index 60dbc45..02fc95f 100644 --- a/src/app/pages/probes/probes-page-routing.module.ts +++ b/src/app/pages/probes/probes-page-routing.module.ts @@ -1,9 +1,9 @@ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { ProbesPageComponent } from './probes-page.component'; -import { ListComponent as ProbeListComponent } from 'app/packages/probe/components/list/list.component'; -import { ListComponent as NoauthListComponent } from 'app/packages/noauth/components/list/list.component'; -import { DownloadComponent } from 'app/packages/probe/components/download/download.component'; +import { ListComponent as ProbeListComponent } from 'app/packages/probe/component/list/list.component'; +import { ListComponent as NoauthListComponent } from 'app/packages/noauth/component/list/list.component'; +import { DownloadComponent } from 'app/packages/probe/component/download/download.component'; const routes: Routes = [ { From 0042113fd290c9753ca218e47a6a91fff01f238b Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 30 Jan 2018 21:41:10 +0900 Subject: [PATCH 2/2] ing --- src/app/commons/api/service/api.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/commons/api/service/api.service.ts b/src/app/commons/api/service/api.service.ts index 09dbaab..0f4e754 100644 --- a/src/app/commons/api/service/api.service.ts +++ b/src/app/commons/api/service/api.service.ts @@ -5,6 +5,8 @@ import { Subject } from 'rxjs/Subject'; import { Subscription } from 'rxjs/Subscription'; import { WebSocketSubject } from 'rxjs/observable/dom/WebSocketSubject'; + + @Injectable() export class APIService { private socketSubject: WebSocketSubject;