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

23 lines
444 B
TypeScript
Raw Normal View History

2018-04-06 11:02:18 +00:00
import { RPCClientError } from '@loafer/ng-rpc/protocol';
2018-05-02 07:23:35 +00:00
import { Zone } from '@overflow/commons-typescript/model/discovery';
2018-04-06 11:02:18 +00:00
export interface State {
error: RPCClientError | null;
processing: boolean;
zones: Map<string, Zone> | null;
2018-04-23 12:31:16 +00:00
isReq: boolean;
isStart: boolean;
isEnd: boolean;
2018-04-06 11:02:18 +00:00
}
export const initialState: State = {
error: null,
processing: false,
zones: null,
2018-04-23 12:31:16 +00:00
isReq: false,
isStart: false,
isEnd: false
2018-04-06 11:02:18 +00:00
};