17 lines
358 B
TypeScript
17 lines
358 B
TypeScript
import { RPCClientError } from '@loafer/ng-rpc';
|
|
|
|
// import { Page } from 'app/commons/model';
|
|
import { Sensor } from '@overflow/commons-typescript/model/sensor';
|
|
|
|
export interface State {
|
|
error: RPCClientError | null;
|
|
pending: boolean;
|
|
sensor: Sensor | null;
|
|
}
|
|
|
|
export const initialState: State = {
|
|
error: null,
|
|
pending: false,
|
|
sensor: null,
|
|
};
|