import { RPCClientError } from '@loafer/ng-rpc/protocol';

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,
};
