From cca2984a43514b25c34e23db94e4bb4f437b61c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Mon, 11 Nov 2024 10:03:37 +0100 Subject: [PATCH] updates old map project spec --- shared/dtos/projects/projects-map.dto.ts | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/shared/dtos/projects/projects-map.dto.ts b/shared/dtos/projects/projects-map.dto.ts index 12ccece5..f9bd8e44 100644 --- a/shared/dtos/projects/projects-map.dto.ts +++ b/shared/dtos/projects/projects-map.dto.ts @@ -15,17 +15,10 @@ export type ProjectMap = FeatureCollection; export type ProjectMapFilters = { countryCode?: string[]; totalCost?: number[]; - costRange?: { - min: number; - max: number; - }, - abatementPotentialRange?: { - min: number; - max: number; - }, - activity?: ACTIVITY[]; + abatementPotential?: number[]; + activity?: ACTIVITY; activitySubtype?: string[]; - ecosystem?: ECOSYSTEM[]; + ecosystem?: ECOSYSTEM; projectSizeFilter?: PROJECT_SIZE_FILTER; priceType?: PROJECT_PRICE_TYPE; };