0.0.21 • Published 1 year ago

@capable-health/client v0.0.21

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Capable Client

Typescript client to access Capable Health APIs. Generated from the published openapi spec.

Libraries Used

  • openapi-typescript-codegen
  • Axios

Usage

  const capableClient = new CapableClient({TOKEN: () => Auth.user.getAccessToken()});
  const result = await capableClient.patients.getPatients();

  console.log(result);

Regenerating

If the spec is updated,

  1. Copy the new spec to swagger.yaml
  2. Run the following in the root of the project
pnpm run build
0.0.20

1 year ago

0.0.21

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago