Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions apps/docs/spec/common-api-sections.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,6 @@
"slug": "v1-apply-a-migration",
"type": "operation"
},
{
"id": "v1-create-restore-point",
"title": "Create restore point",
"slug": "v1-create-restore-point",
"type": "operation"
},
{
"id": "v1-disable-readonly-mode-temporarily",
"title": "Disable readonly mode temporarily",
Expand Down Expand Up @@ -256,12 +250,6 @@
"slug": "v1-get-readonly-mode-status",
"type": "operation"
},
{
"id": "v1-get-restore-point",
"title": "Get restore point",
"slug": "v1-get-restore-point",
"type": "operation"
},
{
"id": "v1-get-ssl-enforcement-config",
"title": "Get ssl enforcement config",
Expand Down Expand Up @@ -310,12 +298,6 @@
"slug": "v1-setup-a-read-replica",
"type": "operation"
},
{
"id": "v1-undo",
"title": "Undo",
"slug": "v1-undo",
"type": "operation"
},
{
"id": "v1-update-pooler-config",
"title": "Update pooler config",
Expand Down Expand Up @@ -538,12 +520,6 @@
"slug": "v1-exchange-oauth-token",
"type": "operation"
},
{
"id": "v1-oauth-authorize-project-claim",
"title": "Oauth authorize project claim",
"slug": "v1-oauth-authorize-project-claim",
"type": "operation"
},
{
"id": "v1-revoke-token",
"title": "Revoke token",
Expand All @@ -556,12 +532,6 @@
"type": "category",
"title": "Organizations",
"items": [
{
"id": "v1-claim-project-for-organization",
"title": "Claim project for organization",
"slug": "v1-claim-project-for-organization",
"type": "operation"
},
{
"id": "v1-create-an-organization",
"title": "Create an organization",
Expand All @@ -574,12 +544,6 @@
"slug": "v1-get-an-organization",
"type": "operation"
},
{
"id": "v1-get-organization-project-claim",
"title": "Get organization project claim",
"slug": "v1-get-organization-project-claim",
"type": "operation"
},
{
"id": "v1-list-all-organizations",
"title": "List all organizations",
Expand Down Expand Up @@ -610,12 +574,6 @@
"slug": "v1-create-a-project",
"type": "operation"
},
{
"id": "v1-create-project-claim-token",
"title": "Create project claim token",
"slug": "v1-create-project-claim-token",
"type": "operation"
},
{
"id": "v1-delete-a-project",
"title": "Delete a project",
Expand All @@ -628,12 +586,6 @@
"slug": "v1-delete-network-bans",
"type": "operation"
},
{
"id": "v1-delete-project-claim-token",
"title": "Delete project claim token",
"slug": "v1-delete-project-claim-token",
"type": "operation"
},
{
"id": "v1-get-network-restrictions",
"title": "Get network restrictions",
Expand All @@ -658,12 +610,6 @@
"slug": "v1-get-project",
"type": "operation"
},
{
"id": "v1-get-project-claim-token",
"title": "Get project claim token",
"slug": "v1-get-project-claim-token",
"type": "operation"
},
{
"id": "v1-get-services-health",
"title": "Get services health",
Expand Down
6 changes: 6 additions & 0 deletions apps/docs/spec/sections/generateMgmtApiSections.cts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ function extractSectionsFromOpenApi(filePath, outputPath) {
for (const route in openApiJson.paths) {
const methods = openApiJson.paths[route]
for (const method in methods) {
// We are using `x-internal` to hide endpoints from the docs,
// but still have them included in the spec so they generate types and can be used.
if (methods[method]['x-internal']) {
continue
}

const tag = methods[method].tags?.[0]
const operationId = methods[method].operationId
// If operationId is not in the form of a slug ignore it.
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/spec/supabase_dart_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ functions:
isSpotlight: true
code: |
```dart
// retrieve all identites linked to a user
// retrieve all identities linked to a user
final identities = await supabase.auth.getUserIdentities();

// find the google identity
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/spec/supabase_js_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1625,7 +1625,7 @@ functions:
isSpotlight: true
code: |
```js
// retrieve all identites linked to a user
// retrieve all identities linked to a user
const identities = await supabase.auth.getUserIdentities()

// find the google identity
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/spec/supabase_py_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ functions:
isSpotlight: true
code: |
```python
# retrieve all identites linked to a user
# retrieve all identities linked to a user
response = supabase.auth.get_user_identities()

# find the google identity
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/spec/supabase_swift_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ functions:
isSpotlight: true
code: |
```swift
// retrieve all identites linked to a user
// retrieve all identities linked to a user
let identities = try await supabase.auth.userIdentities()

// find the google identity
Expand Down
Loading
Loading