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

27 lines
629 B
TypeScript

import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc';
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
export enum ActionType {
OnConnect = '[noauth-probe.connecting] OnConnect',
OnDisconnect = '[noauth-probe.connecting] OnDisconnect',
}
export class OnConnect implements Action {
readonly type = ActionType.OnConnect;
constructor(public payload: NoAuthProbe) {}
}
export class OnDisconnect implements Action {
readonly type = ActionType.OnDisconnect;
constructor(public payload: NoAuthProbe) {}
}
export type Actions =
| OnConnect
| OnDisconnect
;