23 lines
435 B
TypeScript
Raw Normal View History

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