From ea5614ea0c887424d6057295bb51f3b36434262b Mon Sep 17 00:00:00 2001 From: geek Date: Sun, 27 May 2018 16:50:28 +0900 Subject: [PATCH] ing --- .../store/entity/noauth-probe/noauth-probe.action.ts | 3 --- .../store/entity/noauth-probe/noauth-probe.effect.ts | 4 ---- .../store/entity/noauth-probe/noauth-probe.reducer.ts | 11 ----------- .../store/entity/noauth-probe/noauth-probe.state.ts | 2 +- @overflow/noauth-probe/store/index.ts | 2 -- 5 files changed, 1 insertion(+), 21 deletions(-) diff --git a/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.action.ts b/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.action.ts index c490369..db91f2f 100644 --- a/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.action.ts +++ b/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.action.ts @@ -1,9 +1,6 @@ import { Action } from '@ngrx/store'; import { RPCClientError } from '@loafer/ng-rpc'; - -import { Domain } from '@overflow/commons-typescript/model/domain'; - import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth'; export enum ActionType { diff --git a/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.effect.ts b/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.effect.ts index 27483c5..8defbbc 100644 --- a/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.effect.ts +++ b/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.effect.ts @@ -15,10 +15,6 @@ import 'rxjs/add/operator/map'; import 'rxjs/add/operator/take'; import { RPCClientError } from '@loafer/ng-rpc'; - -import { Domain } from '@overflow/commons-typescript/model/domain'; - -import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth'; import { NoAuthProbeService } from '../../../service/noauth-probe.service'; import { diff --git a/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.reducer.ts b/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.reducer.ts index e43c1c0..e79e74f 100644 --- a/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.reducer.ts +++ b/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.reducer.ts @@ -1,13 +1,4 @@ import { - ReadAllByDomainID, - ReadAllByDomainIDFailure, - ReadAllByDomainIDSuccess, - Accept, - AcceptSuccess, - AcceptFailure, - Deny, - DenySuccess, - DenyFailure, ActionType, Actions, } from './noauth-probe.action'; @@ -18,8 +9,6 @@ import { noAuthProbeAdapter, } from './noauth-probe.state'; -import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth'; - export function reducer(state = initialState, action: Actions): State { switch (action.type) { case ActionType.ReadAllByDomainID: { diff --git a/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.state.ts b/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.state.ts index 5c4850f..bae6a7b 100644 --- a/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.state.ts +++ b/@overflow/noauth-probe/store/entity/noauth-probe/noauth-probe.state.ts @@ -1,7 +1,7 @@ import { RPCClientError } from '@loafer/ng-rpc'; import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth'; -import { Selector, createSelector } from '@ngrx/store'; +import { Selector } from '@ngrx/store'; import { createEntityAdapter, EntityState } from '@loafer/ng-entity'; export const noAuthProbeAdapter = createEntityAdapter(); diff --git a/@overflow/noauth-probe/store/index.ts b/@overflow/noauth-probe/store/index.ts index 79b66f1..bb30bcd 100644 --- a/@overflow/noauth-probe/store/index.ts +++ b/@overflow/noauth-probe/store/index.ts @@ -3,8 +3,6 @@ import { createFeatureSelector, } from '@ngrx/store'; -import { StateSelector } from '@overflow/core/ngrx/store'; - import { MODULE } from '../noauth-probe.constant'; import * as NoAuthProbeEntityStore from './entity/noauth-probe';