@adaptabletools/adaptable-plugin-ipushpull 10.0.4-canary.5 → 11.0.0-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/src/index.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-ipushpull",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0-canary.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"rebass": "^3.2.2",
|
|
18
18
|
"redux": "4.0.5",
|
|
19
19
|
"styled-components": "^4.4.1",
|
|
20
|
-
"
|
|
20
|
+
"tslib": "^2.0.0",
|
|
21
|
+
"@adaptabletools/adaptable": "11.0.0-canary.2"
|
|
21
22
|
}
|
|
22
23
|
}
|
package/src/index.js
CHANGED
|
@@ -77,21 +77,21 @@ class IPushPullPlugin extends types_1.AdaptablePlugin {
|
|
|
77
77
|
return next(action);
|
|
78
78
|
}
|
|
79
79
|
case PluginsRedux_1.IPUSHPULL_SEND_SNAPSHOT: {
|
|
80
|
-
let iPushPullModule = (adaptable.
|
|
80
|
+
let iPushPullModule = (adaptable.adaptableModules.get(ModuleConstants.IPushPullModuleId));
|
|
81
81
|
const actionTyped = action;
|
|
82
82
|
iPushPullModule.sendSnapshot(actionTyped.iPushPullReport);
|
|
83
83
|
middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
|
|
84
84
|
return next(action);
|
|
85
85
|
}
|
|
86
86
|
case PluginsRedux_1.IPUSHPULL_START_LIVE_DATA: {
|
|
87
|
-
let iPushPullModule = (adaptable.
|
|
87
|
+
let iPushPullModule = (adaptable.adaptableModules.get(ModuleConstants.IPushPullModuleId));
|
|
88
88
|
const actionTyped = action;
|
|
89
89
|
iPushPullModule.startLiveData(actionTyped.iPushPullReport);
|
|
90
90
|
middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
|
|
91
91
|
return next(action);
|
|
92
92
|
}
|
|
93
93
|
case PluginsRedux_1.IPUSHPULL_STOP_LIVE_DATA: {
|
|
94
|
-
let iPushPullModule = (adaptable.
|
|
94
|
+
let iPushPullModule = (adaptable.adaptableModules.get(ModuleConstants.IPushPullModuleId));
|
|
95
95
|
iPushPullModule.stopLiveData();
|
|
96
96
|
return next(action);
|
|
97
97
|
}
|