member_webapp/@overflow/noauth-probe/store/connecting/noauth-probe-connecting.state.ts
crusader e8ad7b6716 ing
2018-05-31 16:38:44 +09:00

18 lines
650 B
TypeScript

import { RPCClientError } from '@loafer/ng-rpc';
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
import { Selector, createSelector } from '@ngrx/store';
import { createEntityAdapter, EntityState } from '@loafer/ng-entity';
export const noAuthProbeConnectingAdapter = createEntityAdapter<NoAuthProbe, RPCClientError>();
export interface State extends EntityState<NoAuthProbe, RPCClientError> {
}
export const initialState: State = noAuthProbeConnectingAdapter.getInitialState({
});
export function getSelectors(selector: Selector<any, State>) {
return {
...noAuthProbeConnectingAdapter.getSelectors(selector),
};
}