chore(ui): regenerate openapi schema for Plan 02 alerting endpoints #143

Merged
hsiegeln merged 1 commits from chore/openapi-regen-post-plan02 into main 2026-04-20 11:02:13 +02:00
Owner

Summary

Regenerated ui/src/api/openapi.json + ui/src/api/schema.d.ts against the deployed Plan 02 backend at http://192.168.50.86:30090/api/v1/api-docs via npm run generate-api:live. Unblocks Plan 03 UI work.

Net: +1,416 / −91 across 2 files (types + JSON).

New TypeScript paths now available

  • 15 alerting paths under /environments/{envSlug}/alerts/** — rules CRUD, enable/disable, render-preview, test-evaluate, inbox list, unread-count, single alert, ack/read/bulk-read, silences CRUD, per-alert notifications list.
  • 1 flat notification-retry path/alerts/notifications/{id}/retry (notification IDs are globally unique; documented in the flat-allow-list).
  • 4 outbound-connection admin paths — carried through from Plan 01 (#139).

Verification

  • cd ui && npx tsc -p tsconfig.app.json --noEmit — exits 0. No existing SPA call sites break against the fresh types.
  • npm run generate-api:live picked up the script's pre-configured URL — no manual URL munging.

Impact

Pure doc/types regen; no runtime code touched. Plan 03's UI can import from the regenerated schema.d.ts from commit one.

## Summary Regenerated `ui/src/api/openapi.json` + `ui/src/api/schema.d.ts` against the deployed Plan 02 backend at `http://192.168.50.86:30090/api/v1/api-docs` via `npm run generate-api:live`. Unblocks Plan 03 UI work. Net: +1,416 / −91 across 2 files (types + JSON). ## New TypeScript paths now available - **15 alerting paths** under `/environments/{envSlug}/alerts/**` — rules CRUD, enable/disable, render-preview, test-evaluate, inbox list, unread-count, single alert, ack/read/bulk-read, silences CRUD, per-alert notifications list. - **1 flat notification-retry path** — `/alerts/notifications/{id}/retry` (notification IDs are globally unique; documented in the flat-allow-list). - **4 outbound-connection admin paths** — carried through from Plan 01 (#139). ## Verification - `cd ui && npx tsc -p tsconfig.app.json --noEmit` — exits 0. No existing SPA call sites break against the fresh types. - `npm run generate-api:live` picked up the script's pre-configured URL — no manual URL munging. ## Impact Pure doc/types regen; no runtime code touched. Plan 03's UI can import from the regenerated `schema.d.ts` from commit one.
claude added 1 commit 2026-04-20 10:56:56 +02:00
chore(ui): regenerate openapi.json + schema.d.ts from deployed Plan 02 backend
All checks were successful
CI / cleanup-branch (pull_request) Has been skipped
CI / build (pull_request) Successful in 2m37s
CI / docker (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / deploy-feature (pull_request) Has been skipped
39a134a0db
Fetched from http://192.168.50.86:30090/api/v1/api-docs via
`npm run generate-api:live`. Adds TypeScript types for the new alerting
REST surface merged in #140:

- 15 alerting paths under /environments/{envSlug}/alerts/** (rules CRUD,
  enable/disable, render-preview, test-evaluate, inbox, unread-count,
  ack/read/bulk-read, silences CRUD, per-alert notifications)
- 1 flat notification retry path /alerts/notifications/{id}/retry
- 4 outbound-connection admin paths (from Plan 01 #139)

Verified tsc -p tsconfig.app.json --noEmit exits 0 — no existing SPA
call sites break against the fresh types. Plan 03 UI work can consume
these directly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
hsiegeln merged commit 99c3cab84a into main 2026-04-20 11:02:13 +02:00
Sign in to join this conversation.