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,4 +1,4 @@
|
||||
# @toolctrl/api
|
||||
# @hivegrid/api
|
||||
|
||||
Dedicated Hono API application for `api.<domain>/v1`.
|
||||
|
||||
@@ -13,7 +13,7 @@ This workspace owns the canonical API host. External integrations should use the
|
||||
- `POST /v1/api-keys/validate` validates `apiKey` from the JSON body, `x-api-key` header, or bearer token and returns `{ "active": true, "keyType": "service-token" }` for the configured service token.
|
||||
- `GET /v1/accounts`, `GET /v1/accounts/:id`, and `GET /v1/usage` expose service/API-key scoped account and usage metadata.
|
||||
- `/v1/entities/*`, `/v1/relationships/*`, `/v1/exports/*`, and `/v1/workspaces/*` expose the current tenant-scoped API surface.
|
||||
- `POST /v1/billing/stripe/webhooks` and `POST /v1/events/webhooks/attempts/:id` are signed webhook ingress routes.
|
||||
- `POST /v1/billing/mollie/webhooks` and `POST /v1/events/webhooks/attempts/:id` are webhook ingress routes.
|
||||
|
||||
Use `/v1/openapi.json` and `apps/api/src/route-access-inventory.ts` for the detailed route inventory.
|
||||
|
||||
@@ -23,10 +23,10 @@ Set `API_ACCESS_TOKEN` in the API environment to enable the service-token primit
|
||||
|
||||
## Scripts
|
||||
|
||||
- `pnpm --filter @toolctrl/api dev` starts the API with `tsx watch`.
|
||||
- `pnpm --filter @toolctrl/api build` compiles `src/` to `dist/`.
|
||||
- `pnpm --filter @toolctrl/api start` runs the compiled server.
|
||||
- `pnpm --filter @toolctrl/api typecheck` runs TypeScript without emitting files.
|
||||
- `pnpm --filter @hivegrid/api dev` starts the API with `tsx watch`.
|
||||
- `pnpm --filter @hivegrid/api build` compiles `src/` to `dist/`.
|
||||
- `pnpm --filter @hivegrid/api start` runs the compiled server.
|
||||
- `pnpm --filter @hivegrid/api typecheck` runs TypeScript without emitting files.
|
||||
|
||||
The server listens on `API_PORT` when set, falls back to `PORT`, and otherwise defaults to `3001`.
|
||||
|
||||
@@ -34,4 +34,4 @@ The server listens on `API_PORT` when set, falls back to `PORT`, and otherwise d
|
||||
|
||||
- Keep `src/app.ts` focused on Hono app composition so tests, adapters and future deployment targets can import the app without starting a listener.
|
||||
- Keep newly extracted API behavior in focused API modules instead of growing `src/app.ts` with service logic.
|
||||
- Keep shared environment validation in `@toolctrl/config` and update the catalog when API runtime keys change.
|
||||
- Keep shared environment validation in `@hivegrid/config` and update the catalog when API runtime keys change.
|
||||
Reference in new issue
Block a user