@undp/carbon-library 1.0.9 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { BaseEntity } from "./baseEntity";
1
+ import { BaseEntity } from './baseEntity';
2
2
  export declare class User implements BaseEntity {
3
3
  id?: number;
4
4
  email?: string;
package/package.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.9",
3
+ "version": "1.0.13",
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": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
- "kill-rollup": "ps aux | grep rollup | awk '{print $2}' | xargs kill -9 &",
9
- "postbuild": "wait-on dist/cjs/index.js dist/esm/index.js dist/cjs/types dist/esm/types && sleep 5 && yarn kill-rollup",
10
- "build": "rollup -c --bundleConfigAsCjs &"
8
+ "build": "rollup -c --bundleConfigAsCjs"
11
9
  },
12
10
  "keywords": [],
13
11
  "author": "",
@@ -43,8 +41,7 @@
43
41
  "react-bootstrap-icons": "^1.10.2",
44
42
  "react-mapbox-gl": "^5.1.1",
45
43
  "react-phone-number-input": "^3.2.12",
46
- "validator": "^13.9.0",
47
- "wait-on": "^7.0.1"
44
+ "validator": "^13.9.0"
48
45
  },
49
46
  "peerDependencies": {
50
47
  "@ant-design/icons": "^4.7.0",
@@ -1,12 +0,0 @@
1
- import { BaseEntity } from "./baseEntity";
2
- export declare class User implements BaseEntity {
3
- id?: number;
4
- email?: string;
5
- role?: string;
6
- name?: string;
7
- country?: string;
8
- phoneNo?: string;
9
- companyId?: number;
10
- companyRole?: string;
11
- companyState?: number;
12
- }
@@ -1,7 +0,0 @@
1
- export declare enum Action {
2
- Manage = "manage",
3
- Create = "create",
4
- Read = "read",
5
- Update = "update",
6
- Delete = "delete"
7
- }
@@ -1,8 +0,0 @@
1
- export declare enum CompanyManagementColumns {
2
- logo = 0,
3
- name = 1,
4
- taxId = 2,
5
- companyRole = 3,
6
- programmeCount = 4,
7
- creditBalance = 5
8
- }
@@ -1,4 +0,0 @@
1
- export declare enum CompanyState {
2
- SUSPENDED = 0,
3
- ACTIVE = 1
4
- }
@@ -1,11 +0,0 @@
1
- export declare enum ProgrammeManagementColumns {
2
- title = 0,
3
- company = 1,
4
- sector = 2,
5
- currentStage = 3,
6
- creditIssued = 4,
7
- creditBalance = 5,
8
- creditTransferred = 6,
9
- certifierId = 7,
10
- serialNo = 8
11
- }
@@ -1,10 +0,0 @@
1
- export declare enum UserManagementColumns {
2
- logo = 0,
3
- name = 1,
4
- email = 2,
5
- phoneNo = 3,
6
- company = 4,
7
- companyRole = 5,
8
- role = 6,
9
- actions = 7
10
- }
@@ -1,12 +0,0 @@
1
- import { BaseEntity } from "./baseEntity";
2
- export declare class User implements BaseEntity {
3
- id?: number;
4
- email?: string;
5
- role?: string;
6
- name?: string;
7
- country?: string;
8
- phoneNo?: string;
9
- companyId?: number;
10
- companyRole?: string;
11
- companyState?: number;
12
- }
@@ -1,7 +0,0 @@
1
- export declare enum Action {
2
- Manage = "manage",
3
- Create = "create",
4
- Read = "read",
5
- Update = "update",
6
- Delete = "delete"
7
- }
@@ -1,8 +0,0 @@
1
- export declare enum CompanyManagementColumns {
2
- logo = 0,
3
- name = 1,
4
- taxId = 2,
5
- companyRole = 3,
6
- programmeCount = 4,
7
- creditBalance = 5
8
- }
@@ -1,4 +0,0 @@
1
- export declare enum CompanyState {
2
- SUSPENDED = 0,
3
- ACTIVE = 1
4
- }
@@ -1,11 +0,0 @@
1
- export declare enum ProgrammeManagementColumns {
2
- title = 0,
3
- company = 1,
4
- sector = 2,
5
- currentStage = 3,
6
- creditIssued = 4,
7
- creditBalance = 5,
8
- creditTransferred = 6,
9
- certifierId = 7,
10
- serialNo = 8
11
- }
@@ -1,10 +0,0 @@
1
- export declare enum UserManagementColumns {
2
- logo = 0,
3
- name = 1,
4
- email = 2,
5
- phoneNo = 3,
6
- company = 4,
7
- companyRole = 5,
8
- role = 6,
9
- actions = 7
10
- }