Skip to content

Commit

Permalink
fix(WFR): Updated all WFR Entities with changes to the Models
Browse files Browse the repository at this point in the history
  • Loading branch information
bvkimball committed Dec 19, 2018
1 parent ead0557 commit d8bef7f
Show file tree
Hide file tree
Showing 2 changed files with 292 additions and 43 deletions.
30 changes: 23 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,39 @@

Entity Utils and Typescript Interfaces for the Bullhorn REST Api


## Setup

```bash
npm install -g @bullhorn/bullhorn-types
npm install @bullhorn/bullhorn-types
```

## Usage

```typescript
import { EntityTypes, Candidate } from '@bullhorn/bullhorn-types';
import { EntityTypes, Candidate } from "@bullhorn/bullhorn-types";

console.log(EntityTypes.Candidate === 'Candidate'); // outputs: true
console.log(EntityTypes.Candidate === "Candidate"); // outputs: true

let person:Candidate = {
firstName: 'John',
lastName: 'smith'
let person: Candidate = {
firstName: "John",
lastName: "smith"
};
```

## Build & Deploy

```bash
# Clone this repo
git clone [email protected]:bullhorn/bullhorn-types.git
cd bullhorn-types
# Install the Bullhorn CLI tool
npm install -g @bullhorn/bullhorn-cli
# Login into the Bullhorn Environment
bullhorn config set environment YOUR_API_ENDPOINT
# Login into the Bullhorn Environment
bullhorn auth login
# Generate the typings file
bullhorn typings generate
```

Travis will build a deploy to NPM when you push to master with appropriate [Semantice Release](https://github.com/semantic-release/semantic-release) messages.
Loading

0 comments on commit d8bef7f

Please sign in to comment.