mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
feat(docs): fetch conn string (#34492)
* feat(docs): fetch conn string Add option to ProjectConfigVariables to fetch the Supavisor session mode connection string, for setting up MCP server * docs(mcp): reminder to replace password placeholder in connection string * fix: display helpful message if project paused --------- Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
This commit is contained in:
1 parent
93f548420d
commit
ef247b8f5f
6 files changed
+110
-18
No files matched your search
@@ -6,7 +6,7 @@ export type Org = OrganizationsData[number]
|
||||
export type Project = ProjectsData[number]
|
||||
export type Branch = BranchesData[number]
|
||||
|
||||
export type Variable = 'url' | 'anonKey'
|
||||
export type Variable = 'url' | 'anonKey' | 'sessionPooler'
|
||||
|
||||
function removeDoubleQuotes(str: string) {
|
||||
return str.replaceAll('"', '')
|
||||
@@ -31,6 +31,7 @@ function unescapeDoubleQuotes(str: string) {
|
||||
export const prettyFormatVariable: Record<Variable, string> = {
|
||||
url: 'Project URL',
|
||||
anonKey: 'Anon key',
|
||||
sessionPooler: 'Connection string (pooler session mode)',
|
||||
}
|
||||
|
||||
type DeepReadonly<T> = {
|
||||
|
||||
Reference in new issue
Block a user