@opengeoweb/data-explorer 20.0.1 → 20.1.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/index.esm.js +2028 -1384
- package/dist/src/lib/store/types.d.ts +6 -4
- package/dist/src/lib/utils/dataexplorer-api/api.d.ts +10 -2
- package/package.json +9 -9
|
@@ -9,7 +9,8 @@ export interface DiscoveryMetadataFeature {
|
|
|
9
9
|
title?: string;
|
|
10
10
|
description?: string;
|
|
11
11
|
formats?: {
|
|
12
|
-
name
|
|
12
|
+
name?: string;
|
|
13
|
+
mediaType?: string;
|
|
13
14
|
}[];
|
|
14
15
|
themes?: InfoDialogThemesProps[];
|
|
15
16
|
language?: {
|
|
@@ -32,7 +33,8 @@ export interface InfoDialogBaseInfoProps {
|
|
|
32
33
|
title?: string;
|
|
33
34
|
description?: string;
|
|
34
35
|
formats?: {
|
|
35
|
-
name
|
|
36
|
+
name?: string;
|
|
37
|
+
mediaType?: string;
|
|
36
38
|
}[];
|
|
37
39
|
themes?: InfoDialogThemesProps[];
|
|
38
40
|
language?: {
|
|
@@ -59,7 +61,7 @@ export interface InfoDialogThemesAndKeywordsProps {
|
|
|
59
61
|
keywords?: string[];
|
|
60
62
|
}
|
|
61
63
|
export interface InfoDialogThemesProps {
|
|
62
|
-
concepts
|
|
64
|
+
concepts?: {
|
|
63
65
|
id: string;
|
|
64
66
|
}[];
|
|
65
67
|
scheme: string;
|
|
@@ -101,7 +103,7 @@ export interface DiscoveryMetadataItems {
|
|
|
101
103
|
features: DiscoveryMetadataFeature[];
|
|
102
104
|
numberMatched: number;
|
|
103
105
|
numberReturned: number;
|
|
104
|
-
links:
|
|
106
|
+
links: InfoDialogLinksProps[];
|
|
105
107
|
timeStamp?: string;
|
|
106
108
|
}
|
|
107
109
|
export interface DataExplorerWMSState {
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import type { FeatureCollection } from 'geojson';
|
|
2
2
|
import type { Concept, DataExplorerPresets, DiscoveryMetadataFeature, DiscoveryMetadataItems, Queryable } from '../../store/types';
|
|
3
|
-
export declare const LIMIT =
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const LIMIT = 100;
|
|
4
|
+
export declare const MAX_PAGES = 100;
|
|
5
|
+
interface FetchPageOptions {
|
|
6
|
+
signal?: AbortSignal;
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
maxPages?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const fetchItems: (baseUrl: string, search?: string, queryables?: Queryable[], concepts?: Concept[], bbox?: number[], meteogateOnly?: boolean, options?: FetchPageOptions) => Promise<DiscoveryMetadataItems | null>;
|
|
11
|
+
export declare const fetchItemsWithPagination: (initialUrl: string, options?: Omit<FetchPageOptions, "pageSize">) => Promise<DiscoveryMetadataItems>;
|
|
5
12
|
export declare const fetchGeoJSON: (collectionUrl: string) => Promise<FeatureCollection | null>;
|
|
6
13
|
export declare const fetchItem: (baseUrl: string, datasetId: string) => Promise<DiscoveryMetadataFeature | null>;
|
|
7
14
|
export declare const getDataExplorerConfiguration: (productConfigKey: string) => Promise<DataExplorerPresets>;
|
|
15
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/data-explorer",
|
|
3
|
-
"version": "20.0
|
|
3
|
+
"version": "20.1.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@mui/material": "^9.0.1",
|
|
22
|
-
"@opengeoweb/api": "20.0
|
|
23
|
-
"@opengeoweb/core": "20.0
|
|
24
|
-
"@opengeoweb/shared": "20.0
|
|
25
|
-
"@opengeoweb/snackbar": "20.0
|
|
26
|
-
"@opengeoweb/store": "20.0
|
|
27
|
-
"@opengeoweb/theme": "20.0
|
|
28
|
-
"@opengeoweb/webmap": "20.0
|
|
29
|
-
"@opengeoweb/webmap-react": "20.0
|
|
22
|
+
"@opengeoweb/api": "20.1.0",
|
|
23
|
+
"@opengeoweb/core": "20.1.0",
|
|
24
|
+
"@opengeoweb/shared": "20.1.0",
|
|
25
|
+
"@opengeoweb/snackbar": "20.1.0",
|
|
26
|
+
"@opengeoweb/store": "20.1.0",
|
|
27
|
+
"@opengeoweb/theme": "20.1.0",
|
|
28
|
+
"@opengeoweb/webmap": "20.1.0",
|
|
29
|
+
"@opengeoweb/webmap-react": "20.1.0",
|
|
30
30
|
"@reduxjs/toolkit": "^2.6.1",
|
|
31
31
|
"@tanstack/query-core": "^5.69.2",
|
|
32
32
|
"@tanstack/react-query": "^5.85.5",
|