Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 449 Bytes

readme.md

File metadata and controls

21 lines (15 loc) · 449 Bytes

Developing these bindings

To update this, copy .env.example to .env.

Then run

npm i
npm run generate

This will pull specs from the API and save them.

Using these bindings

To use the types;

import {profileComponents} from 'awe-ts-bindings';
type EstablishmentDto = profileComponents["schemas"]["EstablishmentDto"];
async function establishment_data(auth_token) : Promise<Array<EstablishmentDto>>{