@undp/carbon-library 1.0.170 → 1.0.171-CARBON-363.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ export type Period = {
2
+ key: string;
3
+ label: string;
4
+ startYear: number;
5
+ endYear: number;
6
+ finalized: boolean;
7
+ deleted: boolean;
8
+ };
9
+ export type NdcDetail = {
10
+ id?: number;
11
+ actionType: NdcActionType;
12
+ nationalPlanObjective: string;
13
+ kpi: number;
14
+ ministryName: string;
15
+ periodId?: number;
16
+ status: NdcDetailsActionStatus;
17
+ parentActionId?: number;
18
+ };
19
+ export type DateRange = {
20
+ startYear: number;
21
+ endYear: number;
22
+ };
23
+ export declare enum NdcActionType {
24
+ mainAction = 0,
25
+ subAction = 1
26
+ }
27
+ export declare enum NdcDetailsActionStatus {
28
+ pending = 0,
29
+ approved = 1
30
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.170",
3
+ "version": "1.0.171-CARBON-363.0",
4
4
  "description": "Shared Library of tools for Carbon Credits applications ecosystem for ExO and and HQ/GEF",
5
5
  "type": "module",
6
6
  "scripts": {