@undp/carbon-library 1.0.16-CARBON-363.46 → 1.0.16-CARBON-363.61

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,30 @@
1
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 = {
2
10
  id?: number;
3
- key?: string;
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 = {
4
20
  startYear: number;
5
21
  endYear: number;
6
- finalized?: boolean;
7
- deleted?: boolean;
8
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.16-CARBON-363.46",
3
+ "version": "1.0.16-CARBON-363.61",
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": {