ing
This commit is contained in:
parent
a74b8379cd
commit
ea5614ea0c
|
@ -1,9 +1,6 @@
|
||||||
import { Action } from '@ngrx/store';
|
import { Action } from '@ngrx/store';
|
||||||
|
|
||||||
import { RPCClientError } from '@loafer/ng-rpc';
|
import { RPCClientError } from '@loafer/ng-rpc';
|
||||||
|
|
||||||
import { Domain } from '@overflow/commons-typescript/model/domain';
|
|
||||||
|
|
||||||
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
|
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
|
||||||
|
|
||||||
export enum ActionType {
|
export enum ActionType {
|
||||||
|
|
|
@ -15,10 +15,6 @@ import 'rxjs/add/operator/map';
|
||||||
import 'rxjs/add/operator/take';
|
import 'rxjs/add/operator/take';
|
||||||
|
|
||||||
import { RPCClientError } from '@loafer/ng-rpc';
|
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 { NoAuthProbeService } from '../../../service/noauth-probe.service';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,13 +1,4 @@
|
||||||
import {
|
import {
|
||||||
ReadAllByDomainID,
|
|
||||||
ReadAllByDomainIDFailure,
|
|
||||||
ReadAllByDomainIDSuccess,
|
|
||||||
Accept,
|
|
||||||
AcceptSuccess,
|
|
||||||
AcceptFailure,
|
|
||||||
Deny,
|
|
||||||
DenySuccess,
|
|
||||||
DenyFailure,
|
|
||||||
ActionType,
|
ActionType,
|
||||||
Actions,
|
Actions,
|
||||||
} from './noauth-probe.action';
|
} from './noauth-probe.action';
|
||||||
|
@ -18,8 +9,6 @@ import {
|
||||||
noAuthProbeAdapter,
|
noAuthProbeAdapter,
|
||||||
} from './noauth-probe.state';
|
} from './noauth-probe.state';
|
||||||
|
|
||||||
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
|
|
||||||
|
|
||||||
export function reducer(state = initialState, action: Actions): State {
|
export function reducer(state = initialState, action: Actions): State {
|
||||||
switch (action.type) {
|
switch (action.type) {
|
||||||
case ActionType.ReadAllByDomainID: {
|
case ActionType.ReadAllByDomainID: {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { RPCClientError } from '@loafer/ng-rpc';
|
import { RPCClientError } from '@loafer/ng-rpc';
|
||||||
|
|
||||||
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
|
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';
|
import { createEntityAdapter, EntityState } from '@loafer/ng-entity';
|
||||||
|
|
||||||
export const noAuthProbeAdapter = createEntityAdapter<NoAuthProbe, RPCClientError>();
|
export const noAuthProbeAdapter = createEntityAdapter<NoAuthProbe, RPCClientError>();
|
||||||
|
|
|
@ -3,8 +3,6 @@ import {
|
||||||
createFeatureSelector,
|
createFeatureSelector,
|
||||||
} from '@ngrx/store';
|
} from '@ngrx/store';
|
||||||
|
|
||||||
import { StateSelector } from '@overflow/core/ngrx/store';
|
|
||||||
|
|
||||||
import { MODULE } from '../noauth-probe.constant';
|
import { MODULE } from '../noauth-probe.constant';
|
||||||
|
|
||||||
import * as NoAuthProbeEntityStore from './entity/noauth-probe';
|
import * as NoAuthProbeEntityStore from './entity/noauth-probe';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user