牛角类
公牛角 REST Api 的打字界面
设置
npm install @bullhorn/bullhorn-types
使用量
import { EntityTypes, Candidate } from "@bullhorn/bullhorn-types";
console.log(EntityTypes.Candidate === "Candidate"); // outputs: true
let person: Candidate = {
firstName: "John",
lastName: "smith",
};
使用 Bullhorn CLI 从 Meta 构建
# Clone this repo
git clone [email protected]:bullhorn/bullhorn-types.git
cd bullhorn-types
npm install
# create directory where tool will generate file
mkdir typings
# Login into the Bullhorn Environment
npx bullhorn config set environment http://<qabox>-backend.bh-bos2.bullhorn.com:8182
npx bullhorn auth login
# Generate the typings file
npx bullhorn typings generate
捐款
此回函使用语义释出,读取 类型 承诺决定下一个版本。 确保承诺 并按适当的承诺类型准备拉动请求.
<type>(<scope>): <subject>
示例 feat(typings): add ListExportFile entity
部署
GitHub Actions将在国家防范机制中部署一个人员,当你以适当的方式推动国家防范机制 释出 留言.