Files
supabase/apps/studio/hooks/custom-content/custom-content.sample.json
T
Alaister YoungandJoshen Lim 774825c1cc chore: customizable dashboard auth (#38516)
* chore: customizable dashboard auth

* minor fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-09 07:04:27 +00:00

83 lines
2.4 KiB
JSON

{
"$schema": "./custom-content.schema.json",
"dashboard_auth:custom_provider": "Nimbus",
"organization:legal_documents": [
{
"id": "doc1",
"name": "Document 1",
"description": "This is a description of Document 1",
"action": {
"text": "Download document",
"url": "https://supabase.com"
}
},
{
"id": "doc2",
"name": "Document 2",
"description": "This is a description of Document 2",
"action": {
"text": "Download document",
"url": "https://supabase.com"
}
}
],
"project_homepage:example_projects": [
{
"title": "Framework 1",
"description": "This is a description of Framework 1",
"iconUrl": "https://supabase.com/dashboard/img/supabase-logo.svg",
"url": "https://supabase.com"
},
{
"title": "Framework 2",
"description": "This is a description of Framework 2",
"iconUrl": "https://supabase.com/dashboard/img/supabase-logo.svg",
"url": "https://supabase.com"
}
],
"logs:default_query": "This is a sample query",
"connect:frameworks": {
"key": "frameworks",
"label": "Frameworks",
"obj": [
{
"key": "framework-1",
"label": "Framework 1",
"icon": "https://supabase.com/dashboard/img/supabase-logo.svg",
"guideLink": "https://supabase.com/docs",
"children": [],
"files": [
{
"name": "sample_env",
"content": "NEXT_PUBLIC_SUPABASE_URL={{apiUrl}}\nNEXT_PUBLIC_SUPABASE_ANON_KEY={{anonKey}}"
},
{
"name": "sample.ts",
"content": "import { createClient } from \"@supabase/supabase-js\";\n\nconst supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL;\nconst supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY;\n\nexport const supabase = createClient(supabaseUrl, supabaseKey);"
}
]
},
{
"key": "framework-2",
"label": "Framework 2",
"icon": "https://supabase.com/dashboard/img/supabase-logo.svg",
"guideLink": "https://supabase.com/docs",
"children": [],
"files": [
{ "name": "file3.tsx", "content": "Content of File 3" },
{ "name": "file4.tsx", "content": "Content of File 4" }
]
}
]
},
"infra:cloud_providers": ["AWS_NIMBUS"],
"ssl:certificate_url": "https://supabase-downloads.s3-ap-southeast-1.amazonaws.com/${env}/ssl/${env}-ca-2021.crt"
}