12.28.1 • Published 4 years ago

@monsenso/rest-api-next v12.28.1

Weekly downloads
128
License
-
Repository
-
Last release
4 years ago

@monsenso/rest-api

JavaScript and TypeScript client for Monsenso's RestService.

Using the client

  • Provide the base url of the RestService the client shall target, e.g.:

    import { RestModuleApi, BASE_URL } from '@monsenso/rest-api'
    
    @NgModule({
        imports: [
          RestApiModule
        ],
        providers: [
            { provide: BASE_URL, useValue: 'https://rest.dev.monsenso.com' }
        ]
    })
    export class MyModule { ... }
  • The RestApi class contains a function for each operation supported by the RestService.

Generating the client

cd client
yarn
yarn generate
12.28.1

4 years ago

12.28.0

4 years ago

12.27.1

4 years ago

12.27.0

4 years ago

12.26.0

4 years ago

12.25.0

4 years ago

12.24.1

4 years ago

12.1.0

4 years ago

12.0.0

4 years ago

11.2.1

4 years ago

11.2.0

5 years ago

11.1.1

5 years ago

11.1.0

5 years ago

11.0.2

5 years ago

11.0.1

5 years ago

11.0.0

5 years ago

10.2.4

5 years ago

10.2.3

5 years ago

10.2.2

5 years ago

10.2.1

5 years ago

10.2.0

5 years ago

10.1.1

5 years ago

10.1.0

5 years ago