0.27.9 • Published 10 months ago

@blueface_npm/ts-api-test v0.27.9

Weekly downloads
-
License
-
Repository
-
Last release
10 months 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

10 months ago

0.27.7

10 months ago

0.27.6

10 months ago

0.27.0

12 months ago

0.25.11

1 year ago

0.26.0

1 year ago

0.25.10

1 year ago

0.25.9

1 year ago

0.25.8

1 year ago

0.25.7

2 years ago

0.25.3

2 years ago

0.25.2

2 years ago

0.25.1

2 years ago