member_webapp/src/packages/probe/store/probe-host/probe-host.state.ts

16 lines
337 B
TypeScript
Raw Normal View History

2018-04-25 09:04:47 +00:00
import { RPCClientError } from '@loafer/ng-rpc/protocol';
2018-05-02 08:09:39 +00:00
import { ProbeHost } from '@overflow/commons-typescript/model/probe';
2018-04-25 09:04:47 +00:00
export interface State {
error: RPCClientError | null;
isPending: boolean;
probeHost: ProbeHost | null;
}
export const initialState: State = {
error: null,
isPending: false,
probeHost: null,
};