From e06c64abe67b7c58f1de8cbd6cc66ec7982c4be2 Mon Sep 17 00:00:00 2001 From: almog8k <60139576+almog8k@users.noreply.github.com> Date: Wed, 11 Sep 2024 16:34:36 +0300 Subject: [PATCH] fix: geomtry type changed to Polygon (#200) --- src/models/polygonParts/polygonPartRecord.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/models/polygonParts/polygonPartRecord.ts b/src/models/polygonParts/polygonPartRecord.ts index e2686ce..6e99236 100644 --- a/src/models/polygonParts/polygonPartRecord.ts +++ b/src/models/polygonParts/polygonPartRecord.ts @@ -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'; @@ -449,7 +449,7 @@ export class PolygonPartRecord implements IPolygonPart, IOrmCatalog { ], }) //#endregion - public geometry!: GeoJSON; + public geometry!: Polygon; //#region RECORD: id @catalogDB({ @@ -636,5 +636,5 @@ export interface IPolygonPart { imagingTimeBeginUTC: Date; imagingTimeEndUTC: Date; ingestionDateUTC: Date; - geometry: GeoJSON; + geometry: Polygon; }