@kepler.gl/actions 3.3.0-alpha.14 → 3.3.0-alpha.15

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.
@@ -1489,6 +1489,8 @@ export declare function setTimeFilterSyncTimelineMode({ id, mode }: setTimeFilte
1489
1489
  export type CreateNewDatasetSuccessPayload = {
1490
1490
  results: (PromiseFulfilledResult<KeplerTable> | PromiseRejectedResult)[];
1491
1491
  addToMapOptions: AddDataToMapPayload['options'];
1492
+ /** Dataset ids whose hydrate download progress should be cleared. */
1493
+ progressIds?: string[];
1492
1494
  };
1493
1495
  /**
1494
1496
  * Called when a new dataset is created successfully via async table methods
@@ -1509,4 +1511,17 @@ export type SetLoadingIndicatorPayload = {
1509
1511
  * @public
1510
1512
  */
1511
1513
  export declare const setLoadingIndicator: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetLoadingIndicatorPayload, string>;
1514
+ export type SetLoadingProgressUpdaterAction = {
1515
+ id: string;
1516
+ percent: number;
1517
+ };
1518
+ /**
1519
+ * Update download progress for an in-flight dataset load shown on the map
1520
+ * loading indicator (0–100).
1521
+ * @memberof visStateActions
1522
+ * @returns action
1523
+ */
1524
+ export declare function setLoadingProgress(id: string, percent: number): Merge<SetLoadingProgressUpdaterAction, {
1525
+ type: typeof ActionTypes.SET_LOADING_PROGRESS;
1526
+ }>;
1512
1527
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kepler.gl/actions",
3
3
  "author": "Shan He <shan@uber.com>",
4
- "version": "3.3.0-alpha.14",
4
+ "version": "3.3.0-alpha.15",
5
5
  "description": "kepler.gl constants used by kepler.gl components, actions and reducers",
6
6
  "license": "MIT",
7
7
  "main": "dist/cjs/index.js",
@@ -29,13 +29,13 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@deck.gl/core": "^9.3.1",
32
- "@kepler.gl/cloud-providers": "3.3.0-alpha.14",
33
- "@kepler.gl/constants": "3.3.0-alpha.14",
34
- "@kepler.gl/layers": "3.3.0-alpha.14",
35
- "@kepler.gl/processors": "3.3.0-alpha.14",
36
- "@kepler.gl/table": "3.3.0-alpha.14",
37
- "@kepler.gl/types": "3.3.0-alpha.14",
38
- "@kepler.gl/utils": "3.3.0-alpha.14",
32
+ "@kepler.gl/cloud-providers": "3.3.0-alpha.15",
33
+ "@kepler.gl/constants": "3.3.0-alpha.15",
34
+ "@kepler.gl/layers": "3.3.0-alpha.15",
35
+ "@kepler.gl/processors": "3.3.0-alpha.15",
36
+ "@kepler.gl/table": "3.3.0-alpha.15",
37
+ "@kepler.gl/types": "3.3.0-alpha.15",
38
+ "@kepler.gl/utils": "3.3.0-alpha.15",
39
39
  "@reduxjs/toolkit": "^1.7.2",
40
40
  "@types/react-redux": "^7.1.23",
41
41
  "@types/redux-actions": "^2.6.2",