@geowiki/core 0.16.9 → 0.16.10-dev.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.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: Blob, project_id: number, group_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
331
- declare const useTaskBulkUpload: (uploadTasks: boolean, file: Blob, project_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
332
- declare const useReviewTaskBulkUpload: (uploadReviewTasks: boolean, file: Blob, project_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
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: Blob, project_id: number, group_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
331
- declare const useTaskBulkUpload: (uploadTasks: boolean, file: Blob, project_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
332
- declare const useReviewTaskBulkUpload: (uploadReviewTasks: boolean, file: Blob, project_id: number) => _tanstack_react_query.UseQueryResult<Record<string, any>, Error>;
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.9",
3
+ "version": "0.16.10-dev.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -20,8 +20,8 @@
20
20
  "eslint": "^8.57.1",
21
21
  "tsup": "^8.5.1",
22
22
  "typescript": "5.4.2",
23
- "eslint-config-custom": "0.0.0",
24
- "tsconfig": "0.0.0"
23
+ "tsconfig": "0.0.0",
24
+ "eslint-config-custom": "0.0.0"
25
25
  },
26
26
  "dependencies": {
27
27
  "cookies-next": "^4.3.0",
@@ -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.9",
34
- "@geowiki/cms-proxy": "0.16.9",
35
- "@geowiki/evoland-api-proxy": "0.16.9"
33
+ "@geowiki/api-proxy": "0.16.10-dev.0",
34
+ "@geowiki/cms-proxy": "0.16.10-dev.0",
35
+ "@geowiki/evoland-api-proxy": "0.16.10-dev.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@heroicons/react": "^2.1.1",