jmapcloud-ng-core-types 1.1.34 → 1.1.35
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/index.d.ts +2 -2
- package/package.json +1 -1
- package/public/core.d.ts +3 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Feature, FeatureCollection, LineString, MultiLineString, Point, Polygon } from "geojson"
|
|
2
2
|
import { JForm as JFormJMC } from "jmapcloud-types"
|
|
3
|
-
import { Store } from "redux"
|
|
3
|
+
import { Action, Store } from "redux"
|
|
4
4
|
|
|
5
5
|
export type { JCoreOptions } from "./public/jmap/startup-options.d.ts"
|
|
6
6
|
|
|
@@ -158,7 +158,7 @@ export interface JFeatureService {
|
|
|
158
158
|
export interface JCoreMainService {
|
|
159
159
|
getVersion(): string
|
|
160
160
|
getApiVersion(): string
|
|
161
|
-
getDataStore(): Store<JCoreState>
|
|
161
|
+
getDataStore(): Store<JCoreState, Action>
|
|
162
162
|
getRestUrl(): string
|
|
163
163
|
openDocumentation(): void
|
|
164
164
|
getOS(): JOPERATING_SYSTEMS
|
package/package.json
CHANGED
package/public/core.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="./global-aliases.d.ts" />
|
|
2
2
|
|
|
3
|
+
import type { Action, Store } from "redux"
|
|
3
4
|
import type { JRequestConfig } from "./jmap/ajax.d.ts"
|
|
4
5
|
import type {
|
|
5
6
|
JAttachment,
|
|
@@ -158,6 +159,7 @@ import type {
|
|
|
158
159
|
JProjectEventParams,
|
|
159
160
|
JProjectLoadThumbnailsParams
|
|
160
161
|
} from "./jmap/project.d.ts"
|
|
162
|
+
import type { JCoreState } from "../index"
|
|
161
163
|
import type { JMapSelectionParams, JSelectionSetLayersSelectionParams } from "./jmap/selection.d.ts"
|
|
162
164
|
import type {
|
|
163
165
|
JServerAnyIdentityProvider,
|
|
@@ -229,7 +231,7 @@ export namespace JMap {
|
|
|
229
231
|
* reduxStore.dispatch(...)
|
|
230
232
|
* ```
|
|
231
233
|
*/
|
|
232
|
-
function getDataStore():
|
|
234
|
+
function getDataStore(): Store<JCoreState, Action>
|
|
233
235
|
/**
|
|
234
236
|
* **JMap.getRestUrl**
|
|
235
237
|
*
|