@undp/carbon-library 1.0.87 → 1.0.89

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,7 @@ export interface ProgrammeProperties {
30
30
  }
31
31
  export interface ProgrammePropertiesR extends ProgrammeProperties {
32
32
  programmeCostUSD: number;
33
+ estimatedProgrammeCostUSD: number;
33
34
  }
34
35
  export interface ProgrammePropertiesT extends ProgrammeProperties {
35
36
  estimatedProgrammeCostUSD: number;
@@ -105,7 +106,7 @@ export declare const addCommSep: (value: any) => string;
105
106
  export declare const addCommSepRound: (value: any) => string;
106
107
  export declare const addRoundNumber: (value: any) => number;
107
108
  export declare const addSpaces: (text: string) => string;
108
- export declare const getFinancialFields: (programme: ProgrammeU) => {
109
+ export declare const getFinancialFields: (programme: ProgrammeU | ProgrammeR) => {
109
110
  estimatedProgrammeCostUSD: string;
110
111
  creditEst: string;
111
112
  financingType: string;
package/dist/index.d.ts CHANGED
@@ -236,6 +236,7 @@ interface ProgrammeProperties {
236
236
  }
237
237
  interface ProgrammePropertiesR extends ProgrammeProperties {
238
238
  programmeCostUSD: number;
239
+ estimatedProgrammeCostUSD: number;
239
240
  }
240
241
  interface ProgrammePropertiesT extends ProgrammeProperties {
241
242
  estimatedProgrammeCostUSD: number;
@@ -311,7 +312,7 @@ declare const addCommSep: (value: any) => string;
311
312
  declare const addCommSepRound: (value: any) => string;
312
313
  declare const addRoundNumber: (value: any) => number;
313
314
  declare const addSpaces: (text: string) => string;
314
- declare const getFinancialFields: (programme: ProgrammeU) => {
315
+ declare const getFinancialFields: (programme: ProgrammeU | ProgrammeR) => {
315
316
  estimatedProgrammeCostUSD: string;
316
317
  creditEst: string;
317
318
  financingType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
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": {