diff --git a/src/ts/@overflow/sensor/react/SensorConfiguration.tsx b/src/ts/@overflow/sensor/react/SensorConfiguration.tsx index 2605125..d58e9b0 100644 --- a/src/ts/@overflow/sensor/react/SensorConfiguration.tsx +++ b/src/ts/@overflow/sensor/react/SensorConfiguration.tsx @@ -6,6 +6,10 @@ import { } from './components/SensorConfiguration'; // import State from '../redux/state/ReadAllByTarget'; +import Target from '@overflow/target/api/model/Target'; +import Sensor from '@overflow/sensor/api/model/Sensor'; +import MetaSensorItem from '@overflow/meta/api/model/MetaSensorItem'; + // import * as ReadAllByTargetActions from '../redux/action/read_all_by_target'; // FIXME::.... @@ -16,6 +20,19 @@ export function mapStateToProps(state: any): SensorConfigurationStateProps { export function mapDispatchToProps(dispatch: Dispatch): SensorConfigurationDispatchProps { return { + onReadAllByCrawler: (target: Target) => { + // dispatch(ReadActions.request(id)); + }, + onCheckCrawlerAuth: (authInfo: string) => { + // dispatch(ReadActions.request(id)); + }, + // FIXME::how to sensor item? + onReadSensorItem: () => { + // dispatch(ReadActions.request(id)); + }, + onSaveSensor: (sensor: Sensor) => { + // dispatch(ReadActions.request(id)); + }, }; }