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