member_webapp/@overflow/sensor/store/detail/detail.state.ts

15 lines
316 B
TypeScript
Raw Normal View History

2018-05-24 06:44:13 +00:00
import { RPCClientError } from '@loafer/ng-rpc';
2018-05-02 08:09:39 +00:00
import { Sensor } from '@overflow/commons-typescript/model/sensor';
2018-05-25 03:09:59 +00:00
export interface State {
error: RPCClientError | null;
isPending: boolean;
sensor: Sensor | null;
}
2018-05-25 03:09:59 +00:00
export const initialState: State = {
error: null,
isPending: false,
sensor: null,
2018-05-25 03:09:59 +00:00
};