mirror of
https://github.com/tiqi-group/pydase_service_base.git
synced 2025-06-21 18:57:58 +02:00
Updating using icon-services as nodejs scope (instead of @icon-service)
This commit is contained in:
12
README.md
12
README.md
@ -13,7 +13,7 @@ poetry add git+ssh://git@gitlab.phys.ethz.ch:tiqi-projects/qchub/icon-services/i
|
||||
```
|
||||
|
||||
### TypeScript frontend
|
||||
Make sure you have Node.js and npm or yarn installed on your system. You can install `@icon-service/icon_service_base` like so:
|
||||
Make sure you have Node.js and npm or yarn installed on your system. You can install `@icon-services/icon_service_base` like so:
|
||||
|
||||
```bash
|
||||
npm install git+ssh://git@gitlab.phys.ethz.ch:tiqi-projects/qchub/icon-services/icon_service_base.git
|
||||
@ -26,11 +26,11 @@ The Python code can be used as a library in other ICON services. Import the rele
|
||||
The frontend code contains the core of the typescript openAPI clients generated by [`openapi-typescript-codegen`](https://github.com/ferdikoomen/openapi-typescript-codegen/tree/master). This needs to be imported in the ICON services like so:
|
||||
|
||||
```ts
|
||||
import { OpenAPI } from '@icon-service/icon_service_base';
|
||||
import { request as __request } from '@icon-service/icon_service_base';
|
||||
export { ApiError } from "@icon-service/icon_service_base";
|
||||
export { CancelablePromise, CancelError } from '@icon-service/icon_service_base';
|
||||
export type { OpenAPIConfig } from '@icon-service/icon_service_base';
|
||||
import { OpenAPI } from '@icon-services/icon_service_base';
|
||||
import { request as __request } from '@icon-services/icon_service_base';
|
||||
export { ApiError } from "@icon-services/icon_service_base";
|
||||
export { CancelablePromise, CancelError } from '@icon-services/icon_service_base';
|
||||
export type { OpenAPIConfig } from '@icon-services/icon_service_base';
|
||||
```
|
||||
|
||||
## License
|
||||
|
Reference in New Issue
Block a user