-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
33 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export enum ECOSYSTEM_RESTORATION_RATE_NAMES { | ||
MANGROVE = "Mangrove restoration rate", | ||
SEAGRASS = "Seagrass restoration rate", | ||
SALT_MARSH = "Salt marsh restoration rate", | ||
} | ||
|
||
export enum ACTIVITY_PROJECT_LENGTH_NAMES { | ||
CONSERVATION = "Conservation project length", | ||
RESTORATION = "Restoration project length", | ||
} | ||
|
||
export const COMMON_OVERRIDABLE_ASSUMPTION_NAMES = [ | ||
"Baseline reassessment frequency", | ||
"Buffer", | ||
"Carbon price increase", | ||
"Discount rate", | ||
"Verification frequency", | ||
] as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { z } from "zod"; | ||
import { ECOSYSTEM } from "@shared/entities/ecosystem.enum"; | ||
import { ACTIVITY } from "@shared/entities/activity.enum"; | ||
|
||
export const GetAssumptionsSchema = z.object({ | ||
ecosystem: z.nativeEnum(ECOSYSTEM), | ||
activity: z.nativeEnum(ACTIVITY), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters