Skip to content

Commit

Permalink
fix(shared): Fix custom-projects.contract
Browse files Browse the repository at this point in the history
  • Loading branch information
alepefe committed Dec 9, 2024
1 parent dccebc7 commit f7de608
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions shared/dtos/custom-projects/activity-types-defaults.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { ACTIVITY } from "@shared/entities/activity.enum";

export type ConvervationActivityDefaults = {
ecosystemLossRate: number;
emissionFactor: {
tier1: number;
tier2: {
emissionFactorAgb: number;
emissionFactorSoc: number;
};
};
};

export type RestorationActivityDefaults = {
activity: string;
sequestrationRate: {
tier1: number;
tier2: number;
};
};

export type ActivityTypesDefaults = {
[ACTIVITY.CONSERVATION]: ConvervationActivityDefaults;
[ACTIVITY.RESTORATION]: RestorationActivityDefaults;
};

0 comments on commit f7de608

Please sign in to comment.