mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
## Problem `packages/api-types` has drifted from the production OpenAPI specs. #54394 regenerated them but was reverted in #54404, because the API had rolled out ahead of its OpenFGA model. That has since been fixed on the backend, so the regen can land. ...plus I need the new spec for #54391 and didn't want to blow up my branch. ## Solution Regenerated with `pnpm --filter=api-types codegen:prod` (production specs, not the localhost `codegen`), plus the type fixes the new specs require: - `platform-webhooks-fetchers.ts` — `page` is now a deep object in the spec, so the query params move from `page[limit]` keys to a nested `page` object with a `deepObject` serializer. - `InvoicesSettings.test.tsx` — four newly-required invoice fields in the mock. - `packages/shared-data` — `@supabase/shared-types` 0.1.98 → 0.1.102, matching `apps/studio`. Notable additions: the `environment_*` FGA scopes and `GET /v2/projects/{ref}/analytics/traces/{trace_id}`. ## Review instructions 1. `pnpm --filter=api-types run verify-production-types` — passes. 2. `pnpm typecheck` and `pnpm --filter=studio test` — pass. 3. Only the three non-generated files need reading; the rest is generated output. Note: `verify-production-api-types` was removed from the required checks during the #54394 incident and hasn't been restored. Worth putting back after this merges.
22 lines
478 B
JSON
22 lines
478 B
JSON
{
|
|
"name": "shared-data",
|
|
"version": "0.0.0",
|
|
"description": "Data shared between Supabase apps",
|
|
"main": "./index.ts",
|
|
"types": "./index.ts",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"clean": "rimraf .turbo tsconfig.tsbuildinfo",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"tsconfig": "workspace:"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@supabase/shared-types": "0.1.102",
|
|
"zod": "catalog:"
|
|
}
|
|
}
|