2018-04-06 11:02:18 +00:00
|
|
|
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
|
|
|
import { Target } from '../../model';
|
|
|
|
|
|
|
|
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
|
|
|
};
|