mirror of
https://github.com/supabase/supabase.git
synced 2026-06-22 01:02:52 +08:00
24 lines
1.3 KiB
TypeScript
24 lines
1.3 KiB
TypeScript
import { JwtSecretUpdateError, JwtSecretUpdateProgress } from '@supabase/shared-types/out/events'
|
|
|
|
export const JWT_SECRET_UPDATE_ERROR_MESSAGES = {
|
|
[JwtSecretUpdateError.APIServicesConfigurationUpdateFailed]:
|
|
'failed to update configuration for API services',
|
|
[JwtSecretUpdateError.APIServicesRestartFailed]: 'failed to restart API services',
|
|
[JwtSecretUpdateError.DatabaseAdminAPIConfigurationUpdateFailed]:
|
|
'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',
|
|
}
|
|
|
|
export const JWT_SECRET_UPDATE_PROGRESS_MESSAGES = {
|
|
[JwtSecretUpdateProgress.RestartedAPIServices]: 'restarted API services',
|
|
[JwtSecretUpdateProgress.RestartedPostgreSQL]: 'restarted PostgreSQL service',
|
|
[JwtSecretUpdateProgress.Started]: 'started updating',
|
|
[JwtSecretUpdateProgress.UpdatedAPIServicesConfiguration]:
|
|
'updated configuration for API services',
|
|
[JwtSecretUpdateProgress.UpdatedDatabaseAdminAPIConfiguration]:
|
|
'updated configuration for database admin API',
|
|
[JwtSecretUpdateProgress.UpdatedAPIGatewayConfiguration]: 'updated configuration for API Gateway',
|
|
}
|