@geowiki/core 0.16.9 → 0.16.10-dev.1
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.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -327,9 +327,9 @@ declare const useLayerInfo: (url: string, layerName: string) => _tanstack_react_
|
|
|
327
327
|
|
|
328
328
|
declare function useLocation(): GeolocationCoordinates | undefined;
|
|
329
329
|
declare const useLocationsForProject: (locationreq: ListLocationsRequest) => _tanstack_react_query.UseQueryResult<_geowiki_evoland_api_proxy.ListLocationsResponse, Error>;
|
|
330
|
-
declare const useLocationBulkUpload: (uploadLocations: boolean, file:
|
|
331
|
-
declare const useTaskBulkUpload: (uploadTasks: boolean, file:
|
|
332
|
-
declare const useReviewTaskBulkUpload: (uploadReviewTasks: boolean, file:
|
|
330
|
+
declare const useLocationBulkUpload: (uploadLocations: boolean, file: string, project_id: number, group_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
|
|
331
|
+
declare const useTaskBulkUpload: (uploadTasks: boolean, file: string, project_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
|
|
332
|
+
declare const useReviewTaskBulkUpload: (uploadReviewTasks: boolean, file: string, project_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
|
|
333
333
|
|
|
334
334
|
declare function useLockBodyScroll(): void;
|
|
335
335
|
|
package/dist/index.d.ts
CHANGED
|
@@ -327,9 +327,9 @@ declare const useLayerInfo: (url: string, layerName: string) => _tanstack_react_
|
|
|
327
327
|
|
|
328
328
|
declare function useLocation(): GeolocationCoordinates | undefined;
|
|
329
329
|
declare const useLocationsForProject: (locationreq: ListLocationsRequest) => _tanstack_react_query.UseQueryResult<_geowiki_evoland_api_proxy.ListLocationsResponse, Error>;
|
|
330
|
-
declare const useLocationBulkUpload: (uploadLocations: boolean, file:
|
|
331
|
-
declare const useTaskBulkUpload: (uploadTasks: boolean, file:
|
|
332
|
-
declare const useReviewTaskBulkUpload: (uploadReviewTasks: boolean, file:
|
|
330
|
+
declare const useLocationBulkUpload: (uploadLocations: boolean, file: string, project_id: number, group_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
|
|
331
|
+
declare const useTaskBulkUpload: (uploadTasks: boolean, file: string, project_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
|
|
332
|
+
declare const useReviewTaskBulkUpload: (uploadReviewTasks: boolean, file: string, project_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
|
|
333
333
|
|
|
334
334
|
declare function useLockBodyScroll(): void;
|
|
335
335
|
|
package/dist/index.js
CHANGED
|
@@ -898,8 +898,6 @@ var useLocationBulkUpload = (uploadLocations, file, project_id, group_id) => {
|
|
|
898
898
|
const res = yield import_evoland_api_proxy2.LocationService.bulkUploadLocationsUploadlocationsPost({ file, project_id, group_id });
|
|
899
899
|
return res;
|
|
900
900
|
} catch (error) {
|
|
901
|
-
console.log(error);
|
|
902
|
-
console.log(error.body);
|
|
903
901
|
return { data: error.body, isLoading: false, error: true };
|
|
904
902
|
}
|
|
905
903
|
}),
|
package/dist/index.mjs
CHANGED
|
@@ -653,8 +653,6 @@ var useLocationBulkUpload = (uploadLocations, file, project_id, group_id) => {
|
|
|
653
653
|
const res = yield LocationService.bulkUploadLocationsUploadlocationsPost({ file, project_id, group_id });
|
|
654
654
|
return res;
|
|
655
655
|
} catch (error) {
|
|
656
|
-
console.log(error);
|
|
657
|
-
console.log(error.body);
|
|
658
656
|
return { data: error.body, isLoading: false, error: true };
|
|
659
657
|
}
|
|
660
658
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geowiki/core",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.10-dev.1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"geotiff": "^2.1.3",
|
|
31
31
|
"xlsx": "^0.18.5",
|
|
32
32
|
"zustand": "4.5.1",
|
|
33
|
-
"@geowiki/api-proxy": "0.16.
|
|
34
|
-
"@geowiki/
|
|
35
|
-
"@geowiki/
|
|
33
|
+
"@geowiki/api-proxy": "0.16.10-dev.1",
|
|
34
|
+
"@geowiki/evoland-api-proxy": "0.16.10-dev.1",
|
|
35
|
+
"@geowiki/cms-proxy": "0.16.10-dev.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@heroicons/react": "^2.1.1",
|