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