mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
## Problem The committed platform API types in `packages/api-types` were behind the production OpenAPI specifications. ## Solution Regenerated the types with `pnpm api:codegen:prod`. The v2 spec adds Warehouse replication endpoints (`add`, `remove`, `resync`, `restart`) with their request and response schemas, and the matching FGA requirements. It also restructures the Warehouse table layout update request. Nothing in the repo used that request, so no consumer needed a change. The platform spec adds an optional runtime `diagnostic` on pipeline status and `423` responses for operations that are already in progress, and updates several descriptions. This PR has no hand edits and no runtime changes. ## Review instructions 1. Run `pnpm api:codegen:prod` from the repo root and confirm that the working tree stays clean. 2. Run `pnpm turbo run typecheck --filter='...[origin/master]'` and confirm that it passes. ## Checks - `pnpm turbo run typecheck --filter='...api-types' --filter='!studio' --continue`: 23/23 passed. - Studio's `tsc --noEmit` (TypeScript 7) passed on its own, both single-threaded and multi-threaded. Under turbo's parallel run it can run out of memory in an 8 GB environment. - `oxfmt --check` passed on the three generated files. ## Checklist Check all before review: - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide) [FE-5193](https://linear.app/supabase/issue/FE-5193/update-the-api-types) ## Feedback for Tedd To ask Tedd for a change to this PR, reply in Tedd's session on [FE-5193](https://linear.app/supabase/issue/FE-5193/update-the-api-types). Tedd doesn't read comments on this PR. --------- Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>