member_webapp/src/packages/discovery/store/discover/discover.state.ts

17 lines
306 B
TypeScript
Raw Normal View History

2018-04-06 11:02:18 +00:00
import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Zone } from '../../model';
export interface State {
error: RPCClientError | null;
processing: boolean;
zones: Map<string, Zone> | null;
}
export const initialState: State = {
error: null,
processing: false,
zones: null,
};