Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: update UI messages for API Gateway configuration

Div Aroraa30441084fe5
diff --git a/studio/package-lock.json b/studio/package-lock.json
index 2cfecca20d0..05e8846286a 100644
--- a/studio/package-lock.json
+++ b/studio/package-lock.json
@@ -6119,9 +6119,9 @@
}
},
"@supabase/shared-types": {
- "version": "0.1.15",
- "resolved": "https://registry.npmjs.org/@supabase/shared-types/-/shared-types-0.1.15.tgz",
- "integrity": "sha512-0IJqw0nU526NTxKnAW4N3eNNU9PSG961fXFS3BrguFPmhCUGuapW6zJOZM1FVFeMpn7y6pWw0iV7UqbRoiy8sg=="
+ "version": "0.1.18",
+ "resolved": "https://registry.npmjs.org/@supabase/shared-types/-/shared-types-0.1.18.tgz",
+ "integrity": "sha512-HPRuLkAeut/QRgsMpm6IKVJBDsee3tRmDJRmeX8rkuoJvU2kNH9QiOWRTqhiuNthaRT4sJ5dXMT/dcvYJLW5rw=="
},
"@supabase/storage-js": {
"version": "1.5.0",
diff --git a/studio/package.json b/studio/package.json
index b3ddf7ba229..179cd063912 100644
--- a/studio/package.json
+++ b/studio/package.json
@@ -24,7 +24,7 @@
"@supabase/grid": "v2.5.0-alpha.13",
"@supabase/postgres-meta": "^0.26.1",
"@supabase/react-data-grid": "^7.1.0-beta.7",
- "@supabase/shared-types": "^0.1.15",
+ "@supabase/shared-types": "^0.1.18",
"@supabase/supabase-js": "^1.29.1",
"@supabase/ui": "0.37.0-alpha.51",
"ajv": "^8.6.3",
diff --git a/studio/pages/project/[ref]/settings/api.tsx b/studio/pages/project/[ref]/settings/api.tsx
index 4e83547e1ef..353b7fb88c5 100644
--- a/studio/pages/project/[ref]/settings/api.tsx
+++ b/studio/pages/project/[ref]/settings/api.tsx
@@ -55,6 +55,7 @@ const JWT_SECRET_UPDATE_ERROR_MESSAGES = {
'failed to update configuration for database admin API',
[JwtSecretUpdateError.PostgreSQLRestartFailed]: 'failed to restart PostgreSQL service',
[JwtSecretUpdateError.SupabaseAPIKeyUpdateFailed]: 'failed to update Supabase API key',
+ [JwtSecretUpdateError.APIGatewayUpdateFailed]: 'failed to update API Gateway',
}
const JWT_SECRET_UPDATE_PROGRESS_MESSAGES = {
@@ -65,6 +66,7 @@ const JWT_SECRET_UPDATE_PROGRESS_MESSAGES = {
'updated configuration for API services',
[JwtSecretUpdateProgress.UpdatedDatabaseAdminAPIConfiguration]:
'updated configuration for database admin API',
+ [JwtSecretUpdateProgress.UpdatedAPIGatewayConfiguration]: 'updated API Gateway',
}
const PageContext: any = createContext(null)
@@ -255,8 +257,8 @@ const ServiceList: FC<any> = ({ projectRef }) => {
isJwtSecretUpdateFailed
? 'JWT secret update failed'
: isUpdatingJwtSecret
- ? 'Updating JWT secret...'
- : config?.jwt_secret || ''
+ ? 'Updating JWT secret...'
+ : config?.jwt_secret || ''
}
className="input-mono"
descriptionText={