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