Skip to content

Commit

Permalink
fix: geomtry type changed to Polygon (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
almog8k authored Sep 11, 2024
1 parent 4827f18 commit e06c64a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/models/polygonParts/polygonPartRecord.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GeoJSON } from 'geojson';
import { Polygon } from 'geojson';
import { zoomLevelToResolutionDeg, zoomLevelToResolutionMeter } from '@map-colonies/mc-utils';
import { graphql } from '../common/decorators/graphQL/graphql.decorator';
import { FieldCategory, IPropFieldConfigInfo, fieldConfig, getFieldConfig } from '../common/decorators/fieldConfig/fieldConfig.decorator';
Expand Down Expand Up @@ -449,7 +449,7 @@ export class PolygonPartRecord implements IPolygonPart, IOrmCatalog {
],
})
//#endregion
public geometry!: GeoJSON;
public geometry!: Polygon;

//#region RECORD: id
@catalogDB({
Expand Down Expand Up @@ -636,5 +636,5 @@ export interface IPolygonPart {
imagingTimeBeginUTC: Date;
imagingTimeEndUTC: Date;
ingestionDateUTC: Date;
geometry: GeoJSON;
geometry: Polygon;
}

0 comments on commit e06c64a

Please sign in to comment.