Skip to content

Commit

Permalink
Export Types From Index (#45)
Browse files Browse the repository at this point in the history
* export types from index

* update version

* update dependencies

* update version
  • Loading branch information
vvillait88 authored Jan 12, 2023
1 parent 056dfd6 commit 692c1e4
Show file tree
Hide file tree
Showing 4 changed files with 967 additions and 430 deletions.
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "peopledatalabs",
"version": "4.0.3",
"version": "4.1.0",
"description": "JavaScript client with TypeScript support for the People Data Labs API",
"type": "module",
"main": "dist/index.cjs",
Expand Down Expand Up @@ -42,27 +42,27 @@
},
"homepage": "https://docs.peopledatalabs.com/docs/javascript-sdk",
"devDependencies": {
"@types/lodash": "^4.14.182",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"chai": "^4.3.6",
"dotenv": "^16.0.0",
"eslint": "^8.14.0",
"eslint-config-airbnb": "^18.2.1",
"@types/lodash": "^4.14.191",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"chai": "^4.3.7",
"dotenv": "^16.0.3",
"eslint": "^8.31.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.4",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^1.7.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.27.4",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^2.0.0",
"esm": "^3.2.25",
"microbundle": "^0.14.2",
"mocha": "^10.0.0",
"typescript": "^4.6.3"
"microbundle": "^0.15.1",
"mocha": "^10.2.0",
"typescript": "^4.9.4"
},
"dependencies": {
"axios": "^0.24.0",
"axios": "^1.2.2",
"lodash": "^4.17.21"
}
}
30 changes: 30 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,33 @@ class PDLJS {
}

export default PDLJS;

export type {
AutoCompleteParams,
AutoCompleteResponse,
CompanyCleanerParams,
CompanyCleanerResponse,
LocationCleanerParams,
LocationCleanerResponse,
SchoolCleanerParams,
SchoolCleanerResponse,
CompanyEnrichmentParams,
CompanyEnrichmentResponse,
PersonEnrichmentParams,
PersonEnrichmentResponse,
BulkPersonEnrichmentParams,
BulkPersonEnrichmentResponse,
CompanySearchParams,
CompanySearchResponse,
PersonSearchParams,
PersonSearchResponse,
IdentifyParams,
IdentifyResponse,
RetrieveParams,
RetrieveResponse,
JobTitleParams,
JobTitleResponse,
SkillParams,
SkillResponse,
APISettings,
};
1 change: 1 addition & 0 deletions src/types/common-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export interface PersonResponse {
first_name?: string,
middle_initial?: string,
middle_name?: string,
last_initial?: string,
last_name?: string,
gender?: string,
birth_year?: string,
Expand Down
Loading

0 comments on commit 692c1e4

Please sign in to comment.