readme update

This commit is contained in:
Julian Krauser 2025-03-12 09:37:33 +01:00
parent 7dc94e0abf
commit 9539fc92fa

View file

@ -6,6 +6,16 @@ Zur Verfügung gestellt werden Requests mit den benötigten Models, Types und En
Der WebApiClient realisiert den automatischen refresh von Zugangs-Tokens.
Installation:
``` npmrc
@ff-admin:registry=https://npm.registry.jk-effects.cloud
//npm.registry.jk-effects.cloud/:_authToken="xxx" # hier optional token einfügen - ff-admin packages sind öffentlich
```
``` bash
npm install @ff-admin/webapi-client
```
Beispiele:
1. Verwendung des Clients:
``` ts
@ -72,4 +82,6 @@ let myClient = new WebApiClient({
myClient.initialize()
client.httpEvents.on(<"error" | "info">, (data) => {})
```
```
zum Package: https://npm.registry.jk-effects.cloud/-/web/detail/@ff-admin/webapi-client