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;
|
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
|
|
|
};
|
|
|
|
|