Skip to content

Commit

Permalink
Merge branch 'supabase:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
nipundev authored Sep 12, 2023
2 parents f7436a8 + 4f45c3f commit a74beb4
Show file tree
Hide file tree
Showing 315 changed files with 6,312 additions and 3,000 deletions.
4 changes: 2 additions & 2 deletions apps/docs/components/Extensions.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Link from 'next/link'
import React, { useState } from 'react'
import { GlassPanel, IconLink, IconX, Input } from 'ui'
import extensions from '../data/extensions.json'
import { extensions } from 'shared-data'
import { GlassPanel, IconX, Input } from 'ui'

type Extension = {
name: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,10 @@ export const auth = {
name: 'Overview',
url: '/guides/auth',
},
{
name: 'Redirect URLs',
url: '/guides/auth/concepts/redirect-urls',
},
{
name: 'Quickstarts',
items: [
Expand Down Expand Up @@ -937,7 +941,18 @@ export const storage: NavMenuConstant = {
],
}

export const ai: NavMenuConstant = {
export const vectorIndexItems = [
{
name: 'HNSW indexes',
url: '/guides/ai/vector-indexes/hnsw-indexes',
},
{
name: 'IVFFlat indexes',
url: '/guides/ai/vector-indexes/ivf-indexes',
},
]

export const ai = {
icon: 'ai',
title: 'AI & Vectors',
url: '/guides/ai',
Expand All @@ -949,61 +964,34 @@ export const ai: NavMenuConstant = {
url: '/guides/ai/structured-unstructured',
},
{
name: 'Quickstarts',
url: undefined,
items: [
{ name: 'Developing locally with Vecs', url: '/guides/ai/vecs-python-client' },
{ name: 'Creating and managing collections', url: '/guides/ai/quickstarts/hello-world' },
{
name: 'Generate Embeddings',
url: '/guides/ai/quickstarts/generate-text-embeddings',
},
{ name: 'Text Deduplication', url: '/guides/ai/quickstarts/text-deduplication' },
{ name: 'Face similarity search', url: '/guides/ai/quickstarts/face-similarity' },
],
},
{
name: 'Python Client',
url: undefined,
items: [
{ name: 'API', url: '/guides/ai/python/api' },
{ name: 'Collections', url: '/guides/ai/python/collections' },
{ name: 'Indexes', url: '/guides/ai/python/indexes' },
{ name: 'Metadata', url: '/guides/ai/python/metadata' },
],
},
{
name: 'Guides',
name: 'Learn',
url: undefined,
items: [
{ name: 'Managing collections', url: '/guides/ai/managing-collections' },
{ name: 'Managing indexes', url: '/guides/ai/managing-indexes' },
{ name: 'Vector columns', url: '/guides/ai/vector-columns' },
{ name: 'Vector indexes', url: '/guides/ai/vector-indexes', items: vectorIndexItems },
{ name: 'Engineering for scale', url: '/guides/ai/engineering-for-scale' },
{ name: 'Choosing Compute Add-on', url: '/guides/ai/choosing-compute-addon' },
{ name: 'Going to Production', url: '/guides/ai/going-to-prod' },
],
},
{
name: 'Examples',
name: 'JavaScript Examples',
url: undefined,
items: [
{
name: 'OpenAI completions using Edge Functions',
url: '/guides/ai/examples/openai',
},
{
name: 'Image search with OpenAI CLIP',
url: '/guides/ai/examples/image-search-openai-clip',
},

{
name: 'Generate image captions using Hugging Face',
url: '/guides/ai/examples/huggingface-image-captioning',
},
{
name: 'Building ChatGPT Plugins',
url: '/guides/ai/examples/building-chatgpt-plugins',
name: 'Generate Embeddings',
url: '/guides/ai/quickstarts/generate-text-embeddings',
},

{
name: 'Adding generative Q&A to your documentation',
url: '/guides/ai/examples/headless-vector-search',
Expand All @@ -1014,6 +1002,36 @@ export const ai: NavMenuConstant = {
},
],
},
{
name: 'Python Client',
url: undefined,
items: [
{ name: 'Choosing a Client', url: '/guides/ai/python-clients' },
{ name: 'API', url: '/guides/ai/python/api' },
{ name: 'Collections', url: '/guides/ai/python/collections' },
{ name: 'Indexes', url: '/guides/ai/python/indexes' },
{ name: 'Metadata', url: '/guides/ai/python/metadata' },
],
},
{
name: 'Python Examples',
url: undefined,
items: [
{ name: 'Developing locally with Vecs', url: '/guides/ai/vecs-python-client' },
{ name: 'Creating and managing collections', url: '/guides/ai/quickstarts/hello-world' },

{ name: 'Text Deduplication', url: '/guides/ai/quickstarts/text-deduplication' },
{ name: 'Face similarity search', url: '/guides/ai/quickstarts/face-similarity' },
{
name: 'Image search with OpenAI CLIP',
url: '/guides/ai/examples/image-search-openai-clip',
},
{
name: 'Building ChatGPT Plugins',
url: '/guides/ai/examples/building-chatgpt-plugins',
},
],
},
{
name: 'Third-Party Tools',
url: undefined,
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/docs/ref/kotlin/installing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supab
</TabPanel>
</Tabs>

The available modules are: **gotrue-kt**, **realtime-kt**, **storage-kt**, **functions-kt**, **postgrest-kt** and **apollo-graphql**
The available modules are: **gotrue-kt**, **realtime-kt**, **storage-kt**, **functions-kt**, **postgrest-kt**, **apollo-graphql**, [**compose-auth**](https://github.com/supabase-community/supabase-kt/tree/master/plugins/ComposeAuth) and [**compose-auth-ui**](https://github.com/supabase-community/supabase-kt/tree/master/plugins/ComposeAuthUI)

When using multiple modules, you can also use the BOM dependency to ensure that all modules use the same version:

Expand Down
48 changes: 34 additions & 14 deletions apps/docs/docs/ref/kotlin/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,43 @@ hideTitle: true

This reference documents every object and method available in Supabase's Kotlin Multiplatform library, [supabase-kt](https://github.com/supabase-community/supabase-kt). You can use supabase-kt to interact with your Postgres database, listen to database changes, invoke Deno Edge Functions, build login and user management functionality, and manage large files.

Supported Kotlin targets:

| | **GoTrue** | **Realtime** | **Postgrest** | **Storage** | **Functions** | **Apollo-GraphQL** |
| ------------------------------------------------------------------ | ---------- | ------------ | ------------- | ----------- | ------------- | ------------------ |
| **JVM** |||||||
| **Android** |||||||
| **JS** _(Browser, NodeJS)_ |||||||
| **IOS** |||||||
| **tvOS** _(tvosArm64, tvosX64, tvosSimulatorArm64)_ 🚧 | ☑️ ||||||
| **watchOS** _(watchosArm64, watchosX64, watchosSimulatorArm64)_ 🚧 | ☑️ ||||||
| **MacOS** _(macosX64 & macosArm64)_ 🚧 |||||||
| **Windows** _(mingwX64)_ 🚧 | ☑️ ||||||
| **Linux** _(linuxX64)_ 🚧 | ☑️ ||||||
Supported targets:

| | **GoTrue** | **Realtime** | **Postgrest** | **Storage** | **Functions** | **Apollo-GraphQL** | **Compose Auth 🚧** | **Compose Auth UI 🚧** |
| ----------- | ---------- | ------------ | ------------- | ----------- | ------------- | ------------------ | ------------------- | ---------------------- |
| **JVM** ||||||| ☑️ ||
| **Android** |||||||||
| **JS** ||||||| ☑️ ||
| **IOS** |||||||||
| **tvOS** | ☑️ ||||||||
| **watchOS** | ☑️ ||||||||
| **MacOS** |||||||||
| **Windows** | ☑️ ||||||||
| **Linux** | ☑️ ||||||||

<details>

<summary>In-depth Kotlin targets</summary>

**iOS:** iosArm64, iosSimulatorArm64, iosX64

**JS**: Browser, NodeJS

**tvOS**: tvosArm64, tvosX64, tvosSimulatorArm64

**watchOS**: watchosArm64, watchosX64, watchosSimulatorArm64

**MacOS**: macosX64, macosArm64

**Windows**: mingwX64

**Linux**: linuxX64

</details>

✅ = full support

☑️ = partial support: no built-in OAuth/OTP link handling. Linux also has no persistent storage.
☑️ = partial support: no built-in OAuth/OTP link handling. Linux also has no support for persistent storage. For Compose Auth, it relies on GoTrue as fallback.

🚧 = experimental/needs feedback

Expand Down
Loading

0 comments on commit a74beb4

Please sign in to comment.