@undp/carbon-library 1.0.127 → 1.0.130-NAM-4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,5 @@ export interface NdcActionBodyProps {
11
11
  useConnection: any;
12
12
  translator: any;
13
13
  useUserContext: any;
14
- linkDocVisible: any;
15
- uploadDocUserPermission: any;
16
14
  }
17
15
  export declare const NdcActionBody: FC<NdcActionBodyProps>;
@@ -9,11 +9,10 @@ export interface ProgrammeDocumentsProps {
9
9
  getDocumentDetails: any;
10
10
  getProgrammeById: any;
11
11
  ministryLevelPermission?: boolean;
12
- linkDocVisible: any;
13
- uploadDocUserPermission: any;
14
12
  useConnection: any;
15
13
  useUserContext: any;
16
14
  translator: any;
17
15
  methodologyDocumentUpdated: any;
16
+ programmeStatus?: any;
18
17
  }
19
18
  export declare const ProgrammeDocuments: FC<ProgrammeDocumentsProps>;
@@ -0,0 +1,3 @@
1
+ import { DocType, DocumentStatus } from "../Definitions";
2
+ export declare const linkDocVisible: (docStatus: DocumentStatus) => boolean;
3
+ export declare const uploadDocUserPermission: (userInfoState: any, docType: DocType, programmeOwnerId: any[], ministryLevelPermission?: boolean, programmeStatus?: any) => boolean;
package/dist/index.d.ts CHANGED
@@ -949,8 +949,6 @@ interface NdcActionBodyProps {
949
949
  useConnection: any;
950
950
  translator: any;
951
951
  useUserContext: any;
952
- linkDocVisible: any;
953
- uploadDocUserPermission: any;
954
952
  }
955
953
  declare const NdcActionBody: FC<NdcActionBodyProps>;
956
954
 
@@ -969,12 +967,11 @@ interface ProgrammeDocumentsProps {
969
967
  getDocumentDetails: any;
970
968
  getProgrammeById: any;
971
969
  ministryLevelPermission?: boolean;
972
- linkDocVisible: any;
973
- uploadDocUserPermission: any;
974
970
  useConnection: any;
975
971
  useUserContext: any;
976
972
  translator: any;
977
973
  methodologyDocumentUpdated: any;
974
+ programmeStatus?: any;
978
975
  }
979
976
  declare const ProgrammeDocuments: FC<ProgrammeDocumentsProps>;
980
977
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.127",
3
+ "version": "1.0.130-NAM-4.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": {