member_webapp/src/packages/target/store/target/target.state.ts

16 lines
296 B
TypeScript
Raw Normal View History

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;
targets: Target[] | null;
}
export const initialState: State = {
error: null,
pending: false,
targets: null,
};