Skip to content

Commit

Permalink
add assumption names to dto map
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Nov 21, 2024
1 parent b890217 commit 85ffd38
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions shared/schemas/assumptions/assumptions.enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,16 @@ export const COMMON_OVERRIDABLE_ASSUMPTION_NAMES = [
"Discount rate",
"Verification frequency",
] as const;

export const ASSUMPTIONS_NAME_TO_DTO_MAP = {
"Baseline reassessment frequency": "baselineReassessmentFrequency",
Buffer: "buffer",
"Carbon price increase": "carbonPriceIncrease",
"Discount rate": "discountRate",
"Verification frequency": "verificationFrequency",
"Mangrove restoration rate": "restorationRate",
"Seagrass restoration rate": "restorationRate",
"Salt marsh restoration rate": "restorationRate",
"Conservation project length": "projectLength",
"Restoration project length": "projectLength",
} as const;

0 comments on commit 85ffd38

Please sign in to comment.