mirror of
https://github.com/supabase/supabase.git
synced 2026-05-30 17:32:00 +08:00
docs: update key dropdowns to use new key values (#39428)
* Draft * Draft * Draft * fix: wrong query key * Final tweaks * Add to other pages * Update apps/docs/content/guides/getting-started/quickstarts/ios-swiftui.mdx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/content/guides/getting-started/quickstarts/kotlin.mdx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/content/guides/getting-started/quickstarts/nextjs.mdx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/content/guides/getting-started/quickstarts/nuxtjs.mdx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/content/guides/getting-started/quickstarts/reactjs.mdx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/content/guides/getting-started/quickstarts/solidjs.mdx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/content/guides/getting-started/quickstarts/sveltekit.mdx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/content/guides/getting-started/quickstarts/vue.mdx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/content/guides/getting-started/quickstarts/refine.mdx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Prettier --------- Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@ export type Org = OrganizationsData[number]
|
||||
export type Project = ProjectsData[number]
|
||||
export type Branch = BranchesData[number]
|
||||
|
||||
export type Variable = 'url' | 'publishableKey' | 'sessionPooler'
|
||||
export type Variable = 'url' | 'publishable' | 'anon' | 'sessionPooler'
|
||||
|
||||
function removeDoubleQuotes(str: string) {
|
||||
return str.replaceAll('"', '')
|
||||
@@ -30,7 +30,8 @@ function unescapeDoubleQuotes(str: string) {
|
||||
|
||||
export const prettyFormatVariable: Record<Variable, string> = {
|
||||
url: 'Project URL',
|
||||
publishableKey: 'Publishable key',
|
||||
anon: 'Anon key',
|
||||
publishable: 'Publishable key',
|
||||
sessionPooler: 'Connection string (pooler session mode)',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user