0.27.9 • Published 2 years ago

@blueface_npm/ts-api-test v0.27.9

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Blueface API types

Documents the Blueface API responses for Typescript projects.

Usage

Install the package

$ npm install @blueface_npm/ts-api --save-dev

Use in your Typescript code:

import { Device } from '@blueface_npm/ts-api/webapi/v2/devices';

const device = http.get<Device>('/api/v2/devices/1234');

Adding interfaces to the list

Consider the following API call:

GET http://iwebsvcs.dev.blueface.com/web_api/v1/billing/bundles/<bundle_id>
  1. The response for this request should be in this file: webapi/v1/billing/bundles/index.d.ts
  2. The interface name should be Bundle.

Code standards

ESLint will check for code styling. You can run it locally: $ nx run ts-api:lint

Versioning

Please follow a slightly tweaked version of the Semver standard:

  • Major versions introduce non-backwards compatible changes in the library, such as changes in the folder structure.
  • Minor versions introduce backwards compatible changes, such as updating API interfaces or adding new ones.
  • Patch versions introduce fixes to the existing interfaces (typo in field names or wrong type).
0.27.9

2 years ago

0.27.7

2 years ago

0.27.6

2 years ago

0.27.0

2 years ago

0.25.11

2 years ago

0.26.0

2 years ago

0.25.10

3 years ago

0.25.9

3 years ago

0.25.8

3 years ago

0.25.7

3 years ago

0.25.3

3 years ago

0.25.2

3 years ago

0.25.1

3 years ago