@undp/carbon-library 1.0.41-CARBON-329.0 → 1.0.41-CARBON-329.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -951,8 +951,6 @@ interface NdcActionBodyProps {
951
951
  useConnection: any;
952
952
  translator: any;
953
953
  useUserContext: any;
954
- linkDocVisible: any;
955
- uploadDocUserPermission: any;
956
954
  }
957
955
  declare const NdcActionBody: FC<NdcActionBodyProps>;
958
956
 
@@ -971,12 +969,11 @@ interface ProgrammeDocumentsProps {
971
969
  getDocumentDetails: any;
972
970
  getProgrammeById: any;
973
971
  ministryLevelPermission?: boolean;
974
- linkDocVisible: any;
975
- uploadDocUserPermission: any;
976
972
  useConnection: any;
977
973
  useUserContext: any;
978
974
  translator: any;
979
975
  methodologyDocumentUpdated: any;
976
+ programmeStatus?: any;
980
977
  }
981
978
  declare const ProgrammeDocuments: FC<ProgrammeDocumentsProps>;
982
979
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.41-CARBON-329.0",
3
+ "version": "1.0.41-CARBON-329.1",
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": {