@harnessio/react-platform-streaming-client
v0.1.3
Published
Harness React platform streaming service client - Platform Streaming (log/event streaming destinations) APIs integrated with react hooks
Keywords
Readme
React Platform Streaming Service Client(WIP)
OpenAPI -> OA
TypeScript -> TS
OpenAPI + TypeScript -> OATS
This React API client stores a collection of Harness Platform Streaming Service (log/event streaming destinations, PL-75180) APIs and interface contracts generated from the Open API Spec using OATS CLI internally.
APIs are using hooks from @tanstack/react-query
The OpenAPI spec source of truth is platform-service/modules/platform-streaming-service/contracts/openapi/v1/openapi.yaml in harness-core.
Steps To Generate API Client build as dist folder
yarn buildFor NextGen UI adoption : HarnessReactAPIClient should be initialized
Before using API Client, it must be initialized with required ClientCallbacks.
