@smart-factor/gem-ui-map-component 0.0.38 → 0.0.39

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.
@@ -377,10 +377,10 @@ export interface RoadManagerDTO {
377
377
  name?: string;
378
378
  symbol?: string;
379
379
  description?: string;
380
- territoryCode?: string;
380
+ territory_code?: string;
381
381
  }
382
382
  export type QueryRoadManagersData = {
383
- response: RoadManagerDTO;
383
+ response: RoadManagerDTO[];
384
384
  };
385
385
  export interface GEMRoad {
386
386
  id: number;
package/dist/main.js CHANGED
@@ -19765,8 +19765,8 @@ const ab = Xe(He)`
19765
19765
  queryKey: [zr.plots, t],
19766
19766
  queryFn: () => mb(t, n)
19767
19767
  }), gb = async () => {
19768
- var n;
19769
- const e = (n = (await ir.roadmanager.queryRoadManagers()).data.response) == null ? void 0 : n.territoryCode;
19768
+ var n, s;
19769
+ const e = (s = (n = (await ir.roadmanager.queryRoadManagers()).data.response) == null ? void 0 : n[0]) == null ? void 0 : s.territory_code;
19770
19770
  return !e || e.length < 2 ? e ?? null : e.slice(0, -1) + "_" + e.slice(-1);
19771
19771
  }, bb = () => Dr({
19772
19772
  queryKey: [zr.roadManagerTeryt],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-factor/gem-ui-map-component",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "private": false,
5
5
  "description": "Gem UI Map Component",
6
6
  "type": "module",