member_webapp/@overflow/discovery/store/discover/discover.state.ts
crusader d59d9379f9 ing
2018-05-24 15:44:13 +09:00

23 lines
435 B
TypeScript

import { RPCClientError } from '@loafer/ng-rpc';
import { Zone } from '@overflow/commons-typescript/model/discovery';
export interface State {
error: RPCClientError | null;
processing: boolean;
zones: Map<string, Zone> | null;
isReq: boolean;
isStart: boolean;
isEnd: boolean;
}
export const initialState: State = {
error: null,
processing: false,
zones: null,
isReq: false,
isStart: false,
isEnd: false
};