member_webapp/@overflow/sensor/store/detail/detail.state.ts
crusader d8e0420876 ing
2018-05-25 12:09:59 +09:00

15 lines
316 B
TypeScript

import { RPCClientError } from '@loafer/ng-rpc';
import { Sensor } from '@overflow/commons-typescript/model/sensor';
export interface State {
error: RPCClientError | null;
isPending: boolean;
sensor: Sensor | null;
}
export const initialState: State = {
error: null,
isPending: false,
sensor: null,
};