mirror of
https://github.com/tiqi-group/pydase_service_base.git
synced 2025-04-21 00:40:01 +02:00
Updating using icon-services as nodejs scope (instead of @icon-service)
This commit is contained in:
parent
e6439923cc
commit
fc4b351248
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
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@icon-service/icon_service_base",
|
||||
"name": "@icon-services/icon_service_base",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@icon-service/icon_service_base",
|
||||
"name": "@icon-services/icon_service_base",
|
||||
"version": "0.1.0",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@icon-service/icon_service_base",
|
||||
"name": "@icon-services/icon_service_base",
|
||||
"version": "0.1.0",
|
||||
"description": "Repository storing the code that is common to all icon services.",
|
||||
"author": "Mose Müller <mosmuell@ethz.ch>",
|
||||
|
Loading…
x
Reference in New Issue
Block a user