23 lines
435 B
TypeScript
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
|
|
};
|
|
|