Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add missing documentation, fix kotlin logo in light mode

Jan Tennert3a7bb61d8106
diff --git a/apps/docs/components/index.tsx b/apps/docs/components/index.tsx
index 468ea91e3c1..831b1fa4027 100644
--- a/apps/docs/components/index.tsx
+++ b/apps/docs/components/index.tsx
@@ -48,6 +48,7 @@ import {
IconMenuPython,
IconMenuCsharp,
IconMenuSwift,
+ IconMenuKotlin,
IconMenuApi,
IconMenuCli,
} from './Navigation/NavigationMenu/HomeMenuIcons'
@@ -110,6 +111,7 @@ const components = {
IconMenuFlutter,
IconMenuPython,
IconMenuCsharp,
+ IconMenuKotlin,
IconMenuSwift,
IconMenuApi,
IconMenuCli,
diff --git a/apps/docs/docs/ref/kotlin/installing.mdx b/apps/docs/docs/ref/kotlin/installing.mdx
index 3094b5d4a64..80fc80fd2dd 100644
--- a/apps/docs/docs/ref/kotlin/installing.mdx
+++ b/apps/docs/docs/ref/kotlin/installing.mdx
@@ -11,7 +11,6 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supab
<RefSubLayout.EducationRow>
<RefSubLayout.Examples>
<div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center' }}>
- <p style={{ marginRight: '8px' }}>Newest version:</p>
<a href="https://github.com/supabase-community/supabase-kt/releases" style={{ marginRight: '8px' }}>
<img src="https://img.shields.io/github/release/supabase-community/supabase-kt?label=stable" alt="latest stable supabase-kt version"/>
</a>
diff --git a/apps/docs/docs/ref/kotlin/introduction.mdx b/apps/docs/docs/ref/kotlin/introduction.mdx
index 4b7c4356f3e..74a87b22050 100644
--- a/apps/docs/docs/ref/kotlin/introduction.mdx
+++ b/apps/docs/docs/ref/kotlin/introduction.mdx
@@ -5,7 +5,7 @@ hideTitle: true
---
<div className="flex items-start gap-6 not-prose" id="introduction">
- <img src="/docs/img/icons/menu/reference-kotlin.svg" className="w-8 h-8 rounded" />
+ <IconMenuKotlin width={35} height={35} />
<div className="flex flex-col gap-2">
<h1 className="text-3xl text-scale-1200 m-0">Kotlin Client Library</h1>
<h2 className="text-base font-mono text-scale-1100">@supabase-community/supabase-kt</h2>
diff --git a/spec/supabase_kt_v0.yml b/spec/supabase_kt_v0.yml
index fe9b43dc293..a735206e619 100644
--- a/spec/supabase_kt_v0.yml
+++ b/spec/supabase_kt_v0.yml
@@ -2556,6 +2556,8 @@ functions:
- id: mfa-unenroll
title: 'mfa.unenroll()'
$ref: '@supabase/gotrue-js.GoTrueMFAApi.unenroll'
+ notes: |
+ - Unenroll removes a MFA factor. A user has to have an `AAL2` authentication level in order to unenroll a verified factor.
examples:
- id: unenroll-a-factor
name: Unenroll a factor
@@ -2750,6 +2752,8 @@ functions:
- id: generate-link
title: 'generateLink()'
$ref: '@supabase/gotrue-js.GoTrueAdminApi.generateLink'
+ notes: |
+ - Generates email links and OTPs to be sent via a custom email provider.
examples:
- id: generate-a-signup-link
name: Generate a signup link
@@ -2809,6 +2813,8 @@ functions:
- id: update-user-by-id
title: 'updateUserById()'
$ref: '@supabase/gotrue-js.GoTrueAdminApi.updateUserById'
+ notes: |
+ - Updates the user data.
examples:
- id: updates-a-users-email
name: Updates a user's email
@@ -2870,6 +2876,8 @@ functions:
```
- id: mfa-list-factors
title: 'mfa.listFactors()'
+ notes: |
+ - Lists all factors associated to a user.
$ref: '@supabase/gotrue-js.GoTrueAdminMFAApi.listFactors'
examples:
- id: list-factors
@@ -2882,6 +2890,8 @@ functions:
- id: mfa-delete-factor
title: 'mfa.deleteFactor()'
$ref: '@supabase/gotrue-js.GoTrueAdminMFAApi.deleteFactor'
+ notes: |
+ - Deletes a factor on a user. This will log the user out of all active sessions if the deleted factor was verified.
examples:
- id: delete-factor
name: Delete a factor for a user