@kepler.gl/actions 3.2.6 → 3.3.0-alpha.0
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/dist/action-wrapper.d.ts +6 -7
- package/dist/actions.d.ts +7 -7
- package/dist/identity-actions.d.ts +2 -2
- package/dist/map-state-actions.d.ts +5 -5
- package/dist/map-style-actions.d.ts +11 -11
- package/dist/provider-actions.d.ts +8 -8
- package/dist/ui-state-actions.d.ts +21 -21
- package/dist/vis-state-actions.d.ts +82 -83
- package/dist/vis-state-actions.js +1 -1
- package/package.json +9 -9
package/dist/action-wrapper.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
1
|
export declare const FORWARD = "@redux-forward/FORWARD";
|
|
3
2
|
export declare const ADDRESS_PREFIX = "@@KG_";
|
|
4
3
|
import { Dispatch } from 'redux';
|
|
@@ -62,8 +61,8 @@ export declare const wrapTo: import("lodash").CurriedFunction2<string, IKeplerGl
|
|
|
62
61
|
payload: {
|
|
63
62
|
meta: {
|
|
64
63
|
_id_: string;
|
|
65
|
-
_forward_?: string
|
|
66
|
-
_addr_?: string
|
|
64
|
+
_forward_?: string;
|
|
65
|
+
_addr_?: string;
|
|
67
66
|
};
|
|
68
67
|
type: (typeof ActionTypes)[keyof typeof ActionTypes];
|
|
69
68
|
payload?: any;
|
|
@@ -71,7 +70,7 @@ export declare const wrapTo: import("lodash").CurriedFunction2<string, IKeplerGl
|
|
|
71
70
|
meta: {
|
|
72
71
|
_forward_: string;
|
|
73
72
|
_addr_: string;
|
|
74
|
-
_id_?: string
|
|
73
|
+
_id_?: string;
|
|
75
74
|
};
|
|
76
75
|
}>;
|
|
77
76
|
/**
|
|
@@ -132,8 +131,8 @@ export declare const forwardTo: (id: string, dispatch: Dispatch<IKeplerGlAction>
|
|
|
132
131
|
payload: {
|
|
133
132
|
meta: {
|
|
134
133
|
_id_: string;
|
|
135
|
-
_forward_?: string
|
|
136
|
-
_addr_?: string
|
|
134
|
+
_forward_?: string;
|
|
135
|
+
_addr_?: string;
|
|
137
136
|
};
|
|
138
137
|
type: (typeof ActionTypes)[keyof typeof ActionTypes];
|
|
139
138
|
payload?: any;
|
|
@@ -141,7 +140,7 @@ export declare const forwardTo: (id: string, dispatch: Dispatch<IKeplerGlAction>
|
|
|
141
140
|
meta: {
|
|
142
141
|
_forward_: string;
|
|
143
142
|
_addr_: string;
|
|
144
|
-
_id_?: string
|
|
143
|
+
_id_?: string;
|
|
145
144
|
};
|
|
146
145
|
};
|
|
147
146
|
/**
|
package/dist/actions.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as ActionTypes } from './action-types';
|
|
2
2
|
import { AddDataToMapOptions, AddDataToMapPayload, Bounds, UiState, ParsedConfig, ProtoDataset } from '@kepler.gl/types';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
export
|
|
3
|
+
type Handler = (...args: any) => any;
|
|
4
|
+
export type ActionHandler<A extends Handler> = (...args: Parameters<A>) => void;
|
|
5
|
+
export type ActionHandlers<T extends {
|
|
6
6
|
[k: string]: Handler;
|
|
7
7
|
}> = {
|
|
8
8
|
[K in keyof T]: ActionHandler<T[K]>;
|
|
@@ -103,7 +103,7 @@ export declare const addDataToMap: (data: AddDataToMapPayload) => {
|
|
|
103
103
|
export declare const resetMapConfig: () => {
|
|
104
104
|
type: typeof ActionTypes.RESET_MAP_CONFIG;
|
|
105
105
|
};
|
|
106
|
-
export
|
|
106
|
+
export type ReceiveMapConfigPayload = {
|
|
107
107
|
config: ParsedConfig;
|
|
108
108
|
options?: AddDataToMapOptions;
|
|
109
109
|
bounds?: Bounds;
|
|
@@ -140,7 +140,7 @@ export declare const receiveMapConfig: (config: ReceiveMapConfigPayload['config'
|
|
|
140
140
|
type: typeof ActionTypes.RECEIVE_MAP_CONFIG;
|
|
141
141
|
payload: ReceiveMapConfigPayload;
|
|
142
142
|
};
|
|
143
|
-
export
|
|
143
|
+
export type KeplerGlInitPayload = {
|
|
144
144
|
mapboxApiAccessToken?: string;
|
|
145
145
|
mapboxApiUrl?: string;
|
|
146
146
|
mapStylesReplaceDefault?: boolean;
|
|
@@ -160,12 +160,12 @@ export declare const keplerGlInit: (options?: KeplerGlInitPayload) => {
|
|
|
160
160
|
type: typeof ActionTypes.INIT;
|
|
161
161
|
payload: KeplerGlInitPayload;
|
|
162
162
|
};
|
|
163
|
-
export
|
|
163
|
+
export type ReplaceDataToMapOptions = {
|
|
164
164
|
centerMap?: boolean;
|
|
165
165
|
keepExistingConfig?: boolean;
|
|
166
166
|
autoCreateLayers?: boolean;
|
|
167
167
|
};
|
|
168
|
-
export
|
|
168
|
+
export type ReplaceDataInMapPayload = {
|
|
169
169
|
datasetToReplaceId: string;
|
|
170
170
|
datasetToUse: ProtoDataset;
|
|
171
171
|
options?: ReplaceDataToMapOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as ActionTypes } from './action-types';
|
|
2
2
|
import { UiState } from '@kepler.gl/types';
|
|
3
|
-
export
|
|
3
|
+
export type RegisterEntryUpdaterAction = {
|
|
4
4
|
payload: {
|
|
5
5
|
id: string;
|
|
6
6
|
mint?: boolean;
|
|
@@ -10,7 +10,7 @@ export declare type RegisterEntryUpdaterAction = {
|
|
|
10
10
|
initialUiState?: Partial<UiState>;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type RenameEntryUpdaterAction = {
|
|
14
14
|
payload: {
|
|
15
15
|
oldId: string;
|
|
16
16
|
newId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as ActionTypes } from './action-types';
|
|
2
2
|
import { Bounds, Merge, Viewport } from '@kepler.gl/types';
|
|
3
|
-
export
|
|
3
|
+
export type TogglePerspectiveUpdaterAction = void;
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
6
|
* Toggle between 3d and 2d map.
|
|
@@ -13,7 +13,7 @@ export declare type TogglePerspectiveUpdaterAction = void;
|
|
|
13
13
|
export declare const togglePerspective: () => Merge<TogglePerspectiveUpdaterAction, {
|
|
14
14
|
type: typeof ActionTypes.TOGGLE_PERSPECTIVE;
|
|
15
15
|
}>;
|
|
16
|
-
export
|
|
16
|
+
export type FitBoundsUpdaterAction = {
|
|
17
17
|
payload: Bounds;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
@@ -28,7 +28,7 @@ export declare type FitBoundsUpdaterAction = {
|
|
|
28
28
|
export declare const fitBounds: (payload: Bounds) => Merge<FitBoundsUpdaterAction, {
|
|
29
29
|
type: typeof ActionTypes.FIT_BOUNDS;
|
|
30
30
|
}>;
|
|
31
|
-
export
|
|
31
|
+
export type UpdateMapUpdaterAction = {
|
|
32
32
|
payload: {
|
|
33
33
|
viewport: Viewport;
|
|
34
34
|
mapIndex?: number;
|
|
@@ -55,7 +55,7 @@ export declare type UpdateMapUpdaterAction = {
|
|
|
55
55
|
export declare const updateMap: (viewport: Viewport, mapIndex?: number) => Merge<UpdateMapUpdaterAction, {
|
|
56
56
|
type: typeof ActionTypes.UPDATE_MAP;
|
|
57
57
|
}>;
|
|
58
|
-
export
|
|
58
|
+
export type ToggleSplitMapUpdaterAction = {
|
|
59
59
|
payload: number;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
@@ -70,7 +70,7 @@ export declare type ToggleSplitMapUpdaterAction = {
|
|
|
70
70
|
export declare const toggleSplitMap: (payload: number) => Merge<ToggleSplitMapUpdaterAction, {
|
|
71
71
|
type: typeof ActionTypes.TOGGLE_SPLIT_MAP;
|
|
72
72
|
}>;
|
|
73
|
-
export
|
|
73
|
+
export type ToggleSplitMapViewportUpdaterAction = {
|
|
74
74
|
payload: {
|
|
75
75
|
isViewportSynced?: boolean;
|
|
76
76
|
isZoomLocked?: boolean;
|
|
@@ -11,7 +11,7 @@ import { InputStyle, MapStyles, Merge, RGBColor, MapState, VisibleLayerGroups, L
|
|
|
11
11
|
export declare const addCustomMapStyle: () => {
|
|
12
12
|
type: typeof ActionTypes.ADD_CUSTOM_MAP_STYLE;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type RemoveCustomMapStyleUpdaterAction = {
|
|
15
15
|
payload: {
|
|
16
16
|
id: string;
|
|
17
17
|
};
|
|
@@ -37,7 +37,7 @@ export declare const removeCustomMapStyle: ({ id }: RemoveCustomMapStyleUpdaterA
|
|
|
37
37
|
type: typeof ActionTypes.REMOVE_CUSTOM_MAP_STYLE;
|
|
38
38
|
}>;
|
|
39
39
|
/** INPUT_MAP_STYLE */
|
|
40
|
-
export
|
|
40
|
+
export type InputMapStyleUpdaterAction = {
|
|
41
41
|
payload: {
|
|
42
42
|
inputStyle: Partial<InputStyle>;
|
|
43
43
|
mapState?: MapState;
|
|
@@ -60,7 +60,7 @@ export declare const inputMapStyle: (inputStyle: InputMapStyleUpdaterAction['pay
|
|
|
60
60
|
type: typeof ActionTypes.INPUT_MAP_STYLE;
|
|
61
61
|
}>;
|
|
62
62
|
/** MAP_CONFIG_CHANGE */
|
|
63
|
-
export
|
|
63
|
+
export type MapConfigChangeUpdaterAction = {
|
|
64
64
|
payload: {
|
|
65
65
|
visibleLayerGroups?: VisibleLayerGroups;
|
|
66
66
|
topLayerGroups?: VisibleLayerGroups;
|
|
@@ -75,11 +75,11 @@ export declare type MapConfigChangeUpdaterAction = {
|
|
|
75
75
|
export declare const mapConfigChange: (mapStyle: MapConfigChangeUpdaterAction['payload']) => Merge<MapConfigChangeUpdaterAction, {
|
|
76
76
|
type: typeof ActionTypes.MAP_CONFIG_CHANGE;
|
|
77
77
|
}>;
|
|
78
|
-
|
|
78
|
+
type OnLoadMapStyleSuccessCallback = (payload: {
|
|
79
79
|
styleType: string;
|
|
80
80
|
}) => any;
|
|
81
81
|
/** REQUEST_MAP_STYLES */
|
|
82
|
-
export
|
|
82
|
+
export type RequestMapStylesUpdaterAction = {
|
|
83
83
|
payload: {
|
|
84
84
|
mapStyles: {
|
|
85
85
|
[key: string]: {
|
|
@@ -102,7 +102,7 @@ export declare const requestMapStyles: (mapStyles: RequestMapStylesUpdaterAction
|
|
|
102
102
|
type: typeof ActionTypes.REQUEST_MAP_STYLES;
|
|
103
103
|
}>;
|
|
104
104
|
/** LOAD_MAP_STYLES */
|
|
105
|
-
export
|
|
105
|
+
export type LoadMapStylesUpdaterAction = {
|
|
106
106
|
payload: {
|
|
107
107
|
newStyles: MapStyles;
|
|
108
108
|
onSuccess?: OnLoadMapStyleSuccessCallback;
|
|
@@ -118,7 +118,7 @@ export declare const loadMapStyles: (newStyles: LoadMapStylesUpdaterAction['payl
|
|
|
118
118
|
type: typeof ActionTypes.LOAD_MAP_STYLES;
|
|
119
119
|
}>;
|
|
120
120
|
/** LOAD_MAP_STYLE_ERR */
|
|
121
|
-
export
|
|
121
|
+
export type LoadMapStyleErrUpdaterAction = {
|
|
122
122
|
payload: {
|
|
123
123
|
ids: string[];
|
|
124
124
|
error: Error;
|
|
@@ -135,7 +135,7 @@ export declare const loadMapStyleErr: (ids: LoadMapStyleErrUpdaterAction['payloa
|
|
|
135
135
|
type: typeof ActionTypes.LOAD_MAP_STYLE_ERR;
|
|
136
136
|
}>;
|
|
137
137
|
/** MAP_STYLE_CHANGE */
|
|
138
|
-
export
|
|
138
|
+
export type MapStyleChangeUpdaterAction = {
|
|
139
139
|
payload: {
|
|
140
140
|
styleType: string;
|
|
141
141
|
onSuccess?: OnLoadMapStyleSuccessCallback;
|
|
@@ -152,7 +152,7 @@ export declare const mapStyleChange: (styleType: MapStyleChangeUpdaterAction['pa
|
|
|
152
152
|
type: typeof ActionTypes.MAP_STYLE_CHANGE;
|
|
153
153
|
}>;
|
|
154
154
|
/** LOAD_CUSTOM_MAP_STYLE */
|
|
155
|
-
export
|
|
155
|
+
export type LoadCustomMapStyleUpdaterAction = {
|
|
156
156
|
payload: {
|
|
157
157
|
icon?: string;
|
|
158
158
|
style?: object;
|
|
@@ -172,7 +172,7 @@ export declare const loadCustomMapStyle: (customMapStyle: LoadCustomMapStyleUpda
|
|
|
172
172
|
type: typeof ActionTypes.LOAD_CUSTOM_MAP_STYLE;
|
|
173
173
|
}>;
|
|
174
174
|
/** SET_3D_BUILDING_COLOR */
|
|
175
|
-
export
|
|
175
|
+
export type Set3dBuildingColorUpdaterAction = {
|
|
176
176
|
payload: RGBColor;
|
|
177
177
|
};
|
|
178
178
|
/**
|
|
@@ -185,7 +185,7 @@ export declare const set3dBuildingColor: (color: Set3dBuildingColorUpdaterAction
|
|
|
185
185
|
type: typeof ActionTypes.SET_3D_BUILDING_COLOR;
|
|
186
186
|
}>;
|
|
187
187
|
/** SET_BACKGROUND_COLOR */
|
|
188
|
-
export
|
|
188
|
+
export type SetBackgroundColorUpdaterAction = {
|
|
189
189
|
payload: RGBColor;
|
|
190
190
|
};
|
|
191
191
|
/**
|
|
@@ -25,7 +25,7 @@ export declare const exportFileToCloud: (p: ExportFileToCloudPayload) => {
|
|
|
25
25
|
payload: ExportFileToCloudPayload;
|
|
26
26
|
};
|
|
27
27
|
/** EXPORT_FILE_SUCCESS */
|
|
28
|
-
export
|
|
28
|
+
export type ExportFileSuccessPayload = {
|
|
29
29
|
response: any;
|
|
30
30
|
provider: Provider;
|
|
31
31
|
options?: ExportFileOptions;
|
|
@@ -37,7 +37,7 @@ export declare const exportFileSuccess: (p: ExportFileSuccessPayload) => {
|
|
|
37
37
|
payload: ExportFileSuccessPayload;
|
|
38
38
|
};
|
|
39
39
|
/** EXPORT_FILE_ERROR */
|
|
40
|
-
export
|
|
40
|
+
export type ExportFileErrorPayload = {
|
|
41
41
|
error: any;
|
|
42
42
|
provider: Provider;
|
|
43
43
|
options?: ExportFileOptions;
|
|
@@ -48,7 +48,7 @@ export declare const exportFileError: (p: ExportFileErrorPayload) => {
|
|
|
48
48
|
payload: ExportFileErrorPayload;
|
|
49
49
|
};
|
|
50
50
|
/** POST_SAVE_LOAD_SUCCESS */
|
|
51
|
-
export
|
|
51
|
+
export type PostSaveLoadSuccessPayload = string;
|
|
52
52
|
export declare const postSaveLoadSuccess: (p: PostSaveLoadSuccessPayload) => {
|
|
53
53
|
type: typeof ActionTypes.POST_SAVE_LOAD_SUCCESS;
|
|
54
54
|
payload: PostSaveLoadSuccessPayload;
|
|
@@ -57,7 +57,7 @@ export declare const resetProviderStatus: () => {
|
|
|
57
57
|
type: typeof ActionTypes.RESET_PROVIDER_STATUS;
|
|
58
58
|
};
|
|
59
59
|
/** LOAD_CLOUD_MAP */
|
|
60
|
-
export
|
|
60
|
+
export type LoadCloudMapPayload = {
|
|
61
61
|
loadParams: any;
|
|
62
62
|
provider: string;
|
|
63
63
|
onSuccess?: any;
|
|
@@ -68,12 +68,12 @@ export declare const loadCloudMap: (p: LoadCloudMapPayload) => {
|
|
|
68
68
|
payload: LoadCloudMapPayload;
|
|
69
69
|
};
|
|
70
70
|
/** LOAD_CLOUD_MAP_SUCCESS */
|
|
71
|
-
|
|
71
|
+
type LoadCloudMapSuccessCallback = (p: {
|
|
72
72
|
response: any;
|
|
73
73
|
loadParams: any;
|
|
74
74
|
provider: Provider;
|
|
75
75
|
}) => any;
|
|
76
|
-
export
|
|
76
|
+
export type LoadCloudMapSuccessPayload = {
|
|
77
77
|
response: any;
|
|
78
78
|
loadParams: any;
|
|
79
79
|
provider: Provider;
|
|
@@ -85,7 +85,7 @@ export declare const loadCloudMapSuccess: (p: LoadCloudMapSuccessPayload) => {
|
|
|
85
85
|
payload: LoadCloudMapSuccessPayload;
|
|
86
86
|
};
|
|
87
87
|
/** LOAD_CLOUD_MAP_SUCCESS_2 */
|
|
88
|
-
export
|
|
88
|
+
export type LoadCloudMapSuccess2Payload = LoadCloudMapSuccessPayload & {
|
|
89
89
|
datasetsPayload: any;
|
|
90
90
|
};
|
|
91
91
|
export declare const loadCloudMapSuccess2: (p: LoadCloudMapSuccess2Payload) => {
|
|
@@ -93,7 +93,7 @@ export declare const loadCloudMapSuccess2: (p: LoadCloudMapSuccess2Payload) => {
|
|
|
93
93
|
payload: LoadCloudMapSuccess2Payload;
|
|
94
94
|
};
|
|
95
95
|
/** LOAD_CLOUD_MAP_ERROR */
|
|
96
|
-
export
|
|
96
|
+
export type LoadCloudMapErrorPayload = {
|
|
97
97
|
error: any;
|
|
98
98
|
provider: Provider;
|
|
99
99
|
onError?: OnErrorCallBack;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as ActionTypes } from './action-types';
|
|
2
2
|
import { Merge, ExportImage } from '@kepler.gl/types';
|
|
3
3
|
/** TOGGLE_SIDE_PANEL */
|
|
4
|
-
export
|
|
4
|
+
export type ToggleSidePanelUpdaterAction = {
|
|
5
5
|
payload: string | null;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
@@ -14,7 +14,7 @@ export declare const toggleSidePanel: (id: ToggleSidePanelUpdaterAction['payload
|
|
|
14
14
|
type: typeof ActionTypes.TOGGLE_SIDE_PANEL;
|
|
15
15
|
}>;
|
|
16
16
|
/** TOGGLE_MODAL */
|
|
17
|
-
export
|
|
17
|
+
export type ToggleModalUpdaterAction = {
|
|
18
18
|
payload: string | null;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
@@ -33,7 +33,7 @@ export declare const toggleModal: (id: ToggleModalUpdaterAction['payload']) => M
|
|
|
33
33
|
type: typeof ActionTypes.TOGGLE_MODAL;
|
|
34
34
|
}>;
|
|
35
35
|
/** SHOW_EXPORT_DROPDOWN */
|
|
36
|
-
export
|
|
36
|
+
export type ShowExportDropdownUpdaterAction = {
|
|
37
37
|
payload: string;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
@@ -54,7 +54,7 @@ export declare const hideExportDropdown: () => {
|
|
|
54
54
|
type: typeof ActionTypes.HIDE_EXPORT_DROPDOWN;
|
|
55
55
|
};
|
|
56
56
|
/** TOGGLE_SIDE_PANEL_CLOSE_BUTTON*/
|
|
57
|
-
export
|
|
57
|
+
export type ToggleSidePanelCloseButtonUpdaterAction = {
|
|
58
58
|
payload: {
|
|
59
59
|
show: boolean;
|
|
60
60
|
};
|
|
@@ -69,7 +69,7 @@ export declare const toggleSidePanelCloseButton: (show: boolean) => Merge<Toggle
|
|
|
69
69
|
type: typeof ActionTypes.TOGGLE_SIDE_PANEL_CLOSE_BUTTON;
|
|
70
70
|
}>;
|
|
71
71
|
/** TOGGLE_MAP_CONTROL */
|
|
72
|
-
export
|
|
72
|
+
export type ToggleMapControlUpdaterAction = {
|
|
73
73
|
payload: {
|
|
74
74
|
panelId: string;
|
|
75
75
|
index: number;
|
|
@@ -85,7 +85,7 @@ export declare const toggleMapControl: (panelId: ToggleMapControlUpdaterAction['
|
|
|
85
85
|
type: typeof ActionTypes.TOGGLE_MAP_CONTROL;
|
|
86
86
|
}>;
|
|
87
87
|
/** SET_MAP_CONTROL_VISIBILITY */
|
|
88
|
-
export
|
|
88
|
+
export type setMapControlVisibilityUpdaterAction = {
|
|
89
89
|
payload: {
|
|
90
90
|
panelId: string;
|
|
91
91
|
show: boolean;
|
|
@@ -101,7 +101,7 @@ export declare const setMapControlVisibility: (panelId: setMapControlVisibilityU
|
|
|
101
101
|
type: typeof ActionTypes.SET_MAP_CONTROL_VISIBILITY;
|
|
102
102
|
}>;
|
|
103
103
|
/** SET_MAP_CONTROL_SETTINGS */
|
|
104
|
-
export
|
|
104
|
+
export type setMapControlSettingsUpdaterAction = {
|
|
105
105
|
payload: {
|
|
106
106
|
panelId: string;
|
|
107
107
|
settings: Record<string, unknown>;
|
|
@@ -117,7 +117,7 @@ export declare const setMapControlSettings: (panelId: string, settings: Record<s
|
|
|
117
117
|
type: typeof ActionTypes.SET_MAP_CONTROL_SETTINGS;
|
|
118
118
|
}>;
|
|
119
119
|
/** OPEN_DELETE_MODAL */
|
|
120
|
-
export
|
|
120
|
+
export type OpenDeleteModalUpdaterAction = {
|
|
121
121
|
payload: string;
|
|
122
122
|
};
|
|
123
123
|
/**
|
|
@@ -130,7 +130,7 @@ export declare const openDeleteModal: (datasetId: OpenDeleteModalUpdaterAction['
|
|
|
130
130
|
type: typeof ActionTypes.OPEN_DELETE_MODAL;
|
|
131
131
|
}>;
|
|
132
132
|
/** ADD_NOTIFICATION */
|
|
133
|
-
export
|
|
133
|
+
export type AddNotificationUpdaterAction = {
|
|
134
134
|
payload: object;
|
|
135
135
|
};
|
|
136
136
|
/**
|
|
@@ -144,7 +144,7 @@ export declare const addNotification: (notification: AddNotificationUpdaterActio
|
|
|
144
144
|
type: typeof ActionTypes.ADD_NOTIFICATION;
|
|
145
145
|
}>;
|
|
146
146
|
/** REMOVE_NOTIFICATION */
|
|
147
|
-
export
|
|
147
|
+
export type RemoveNotificationUpdaterAction = {
|
|
148
148
|
payload: string;
|
|
149
149
|
};
|
|
150
150
|
/**
|
|
@@ -157,7 +157,7 @@ export declare const removeNotification: (id: RemoveNotificationUpdaterAction['p
|
|
|
157
157
|
type: typeof ActionTypes.REMOVE_NOTIFICATION;
|
|
158
158
|
}>;
|
|
159
159
|
/** SET_EXPORT_IMAGE_SETTING */
|
|
160
|
-
export
|
|
160
|
+
export type SetExportImageSettingUpdaterAction = {
|
|
161
161
|
payload: Partial<ExportImage>;
|
|
162
162
|
};
|
|
163
163
|
/**
|
|
@@ -183,7 +183,7 @@ export declare const startExportingImage: (options?: {
|
|
|
183
183
|
type: typeof ActionTypes.START_EXPORTING_IMAGE;
|
|
184
184
|
}>;
|
|
185
185
|
/** SET_EXPORT_IMAGE_DATA_URI */
|
|
186
|
-
export
|
|
186
|
+
export type SetExportImageDataUriUpdaterAction = {
|
|
187
187
|
payload: string;
|
|
188
188
|
};
|
|
189
189
|
/**
|
|
@@ -196,7 +196,7 @@ export declare const setExportImageDataUri: (dataUri: SetExportImageDataUriUpdat
|
|
|
196
196
|
type: typeof ActionTypes.SET_EXPORT_IMAGE_DATA_URI;
|
|
197
197
|
}>;
|
|
198
198
|
/** SET_EXPORT_IMAGE_ERROR */
|
|
199
|
-
export
|
|
199
|
+
export type SetExportImageErrorUpdaterAction = {
|
|
200
200
|
payload: Error;
|
|
201
201
|
};
|
|
202
202
|
/**
|
|
@@ -216,7 +216,7 @@ export declare const cleanupExportImage: () => {
|
|
|
216
216
|
type: typeof ActionTypes.CLEANUP_EXPORT_IMAGE;
|
|
217
217
|
};
|
|
218
218
|
/** SET_EXPORT_SELECTED_DATASET */
|
|
219
|
-
export
|
|
219
|
+
export type SetExportSelectedDatasetUpdaterAction = {
|
|
220
220
|
payload: string;
|
|
221
221
|
};
|
|
222
222
|
/**
|
|
@@ -229,7 +229,7 @@ export declare const setExportSelectedDataset: (datasetId: SetExportSelectedData
|
|
|
229
229
|
type: typeof ActionTypes.SET_EXPORT_SELECTED_DATASET;
|
|
230
230
|
}>;
|
|
231
231
|
/** SET_EXPORT_DATA_TYPE */
|
|
232
|
-
export
|
|
232
|
+
export type SetExportDataTypeUpdaterAction = {
|
|
233
233
|
payload: string;
|
|
234
234
|
};
|
|
235
235
|
/**
|
|
@@ -242,7 +242,7 @@ export declare const setExportDataType: (dataType: SetExportDataTypeUpdaterActio
|
|
|
242
242
|
type: typeof ActionTypes.SET_EXPORT_DATA_TYPE;
|
|
243
243
|
}>;
|
|
244
244
|
/** SET_EXPORT_FILTERED */
|
|
245
|
-
export
|
|
245
|
+
export type SetExportFilteredUpdaterAction = {
|
|
246
246
|
payload: boolean;
|
|
247
247
|
};
|
|
248
248
|
/**
|
|
@@ -263,7 +263,7 @@ export declare const setExportData: () => {
|
|
|
263
263
|
type: typeof ActionTypes.SET_EXPORT_DATA;
|
|
264
264
|
};
|
|
265
265
|
/** SET_USER_MAPBOX_ACCESS_TOKEN */
|
|
266
|
-
export
|
|
266
|
+
export type SetUserMapboxAccessTokenUpdaterAction = {
|
|
267
267
|
payload: string;
|
|
268
268
|
};
|
|
269
269
|
/**
|
|
@@ -276,7 +276,7 @@ export declare const setUserMapboxAccessToken: (payload: SetUserMapboxAccessToke
|
|
|
276
276
|
type: typeof ActionTypes.SET_USER_MAPBOX_ACCESS_TOKEN;
|
|
277
277
|
}>;
|
|
278
278
|
/** SET_EXPORT_MAP_FORMAT */
|
|
279
|
-
export
|
|
279
|
+
export type SetExportMapFormatUpdaterAction = {
|
|
280
280
|
payload: string;
|
|
281
281
|
};
|
|
282
282
|
/**
|
|
@@ -289,7 +289,7 @@ export declare const setExportMapFormat: (mapFormat: SetExportMapFormatUpdaterAc
|
|
|
289
289
|
type: typeof ActionTypes.SET_EXPORT_MAP_FORMAT;
|
|
290
290
|
}>;
|
|
291
291
|
/** SET_EXPORT_MAP_HTML_MODE */
|
|
292
|
-
export
|
|
292
|
+
export type SetExportHTMLMapModeUpdaterAction = {
|
|
293
293
|
payload: string;
|
|
294
294
|
};
|
|
295
295
|
/**
|
|
@@ -301,7 +301,7 @@ export declare const setExportHTMLMapMode: (mode: SetExportHTMLMapModeUpdaterAct
|
|
|
301
301
|
type: typeof ActionTypes.SET_EXPORT_MAP_HTML_MODE;
|
|
302
302
|
}>;
|
|
303
303
|
/** SET_LOCALE */
|
|
304
|
-
export
|
|
304
|
+
export type SetLocaleUpdaterAction = {
|
|
305
305
|
payload: {
|
|
306
306
|
locale: string;
|
|
307
307
|
};
|
|
@@ -316,7 +316,7 @@ export declare const setLocale: (locale: SetLocaleUpdaterAction['payload']['loca
|
|
|
316
316
|
type: typeof ActionTypes.SET_LOCALE;
|
|
317
317
|
}>;
|
|
318
318
|
/** TOGGLE_PANEL_LIST_VIEW */
|
|
319
|
-
export
|
|
319
|
+
export type TogglePanelListViewAction = {
|
|
320
320
|
payload: {
|
|
321
321
|
panelId: string;
|
|
322
322
|
listView: string;
|