ing
This commit is contained in:
		
							parent
							
								
									a74b8379cd
								
							
						
					
					
						commit
						ea5614ea0c
					
				@ -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 {
 | 
			
		||||
 | 
			
		||||
@ -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 {
 | 
			
		||||
 | 
			
		||||
@ -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: {
 | 
			
		||||
 | 
			
		||||
@ -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<NoAuthProbe, RPCClientError>();
 | 
			
		||||
 | 
			
		||||
@ -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';
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user