2018-05-24 15:44:13 +09:00
|
|
|
import { RPCClientError } from '@loafer/ng-rpc';
|
2018-05-02 17:25:38 +09:00
|
|
|
import { Target } from '@overflow/commons-typescript/model/target';
|
2018-04-06 20:02:18 +09:00
|
|
|
|
|
|
|
export interface State {
|
|
|
|
error: RPCClientError | null;
|
|
|
|
pending: boolean;
|
2018-04-30 19:59:32 +09:00
|
|
|
target: Target | null;
|
2018-04-06 20:02:18 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
export const initialState: State = {
|
|
|
|
error: null,
|
|
|
|
pending: false,
|
2018-04-30 19:59:32 +09:00
|
|
|
target: null,
|
2018-04-06 20:02:18 +09:00
|
|
|
};
|