@overmap-ai/core 1.0.60-forms-removal.5 → 1.0.60-forms-removal.6

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.
@@ -2334,7 +2334,7 @@ const projectFileSlice = createSlice({
2334
2334
  doesn't exist.`
2335
2335
  );
2336
2336
  }
2337
- state.projectFiles[activeProjectFileId].geo_bounds = action.payload;
2337
+ state.projectFiles[activeProjectFileId].bounds = action.payload;
2338
2338
  },
2339
2339
  // TODO: Move to MapContext. Should not be persisted.
2340
2340
  setActiveProjectFileId: (state, action) => {
@@ -5359,7 +5359,7 @@ class ProjectFileService extends BaseApiService {
5359
5359
  url: `/projects/${activeProjectId}/files/`,
5360
5360
  payload: {
5361
5361
  ...activeProjectFile,
5362
- geo_bounds: JSON.stringify(activeProjectFile.geo_bounds),
5362
+ bounds: JSON.stringify(activeProjectFile.bounds),
5363
5363
  ...fileProps
5364
5364
  },
5365
5365
  blockers: [activeProjectFileId],
@@ -5440,7 +5440,7 @@ class ProjectService extends BaseApiService {
5440
5440
  url,
5441
5441
  payload: {
5442
5442
  name: project.name,
5443
- geo_bounds: project.geo_bounds,
5443
+ bounds: project.bounds,
5444
5444
  ...projectType
5445
5445
  },
5446
5446
  blockers: [],
@@ -5456,7 +5456,7 @@ class ProjectService extends BaseApiService {
5456
5456
  url: `/projects/${project.id}/`,
5457
5457
  payload: {
5458
5458
  name: project.name,
5459
- geo_bounds: project.geo_bounds
5459
+ bounds: project.bounds
5460
5460
  },
5461
5461
  blockers: [project.id.toString()],
5462
5462
  blocks: [project.id.toString()]