Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# @toolctrl/api-client-ts
|
||||
# @hivegrid/api-client-ts
|
||||
|
||||
Official TypeScript SDK for the toolctrl boilerplate REST API.
|
||||
Official TypeScript SDK for the HiveGrid REST API.
|
||||
|
||||
The SDK couples a `@hey-api/openapi-ts`-generated typed client with a hand-written
|
||||
Higher-Level-Wrapper that adds:
|
||||
@@ -14,12 +14,12 @@ Higher-Level-Wrapper that adds:
|
||||
## Quickstart
|
||||
|
||||
```ts
|
||||
import { createToolctrlClient } from "@toolctrl/api-client-ts";
|
||||
import { createHiveGridClient } from "@hivegrid/api-client-ts";
|
||||
|
||||
const client = createToolctrlClient({
|
||||
baseUrl: "https://api.toolctrl.de",
|
||||
auth: { apiKey: process.env.TOOLCTRL_API_KEY! },
|
||||
tenantId: process.env.TOOLCTRL_TENANT_ID,
|
||||
const client = createHiveGridClient({
|
||||
baseUrl: "https://api.hivegrid.de",
|
||||
auth: { apiKey: process.env.HIVEGRID_API_KEY! },
|
||||
tenantId: process.env.HIVEGRID_TENANT_ID,
|
||||
});
|
||||
|
||||
const me = await client.request({ method: "GET", path: "/v1/me" });
|
||||
@@ -35,7 +35,7 @@ The `src/generated/` directory is produced from the upstream OpenAPI document
|
||||
checked into this package as `openapi.json`. Regenerate with:
|
||||
|
||||
```bash
|
||||
pnpm --filter @toolctrl/api-client-ts generate:all
|
||||
pnpm --filter @hivegrid/api-client-ts generate:all
|
||||
```
|
||||
|
||||
The CI workflow `.github/workflows/sdk-codegen.yml` rejects PRs whose generated
|
||||
|
||||
Reference in new issue
Block a user