The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update latest yaml files
Jonathan Summers-Muir139b42218fb8
diff --git a/spec/client-libs-common.yml b/spec/client-libs-common.ymlnew file mode 100644index 00000000000..9a58e768fe5--- /dev/null+++ b/spec/client-libs-common.yml@@ -0,0 +1,364 @@+openref: 0.1++info:+ id: reference/common-library-file+ itle: Supabase Client libs common+ description: |++ This file shares info common between the JS and Dart libraries.++functions:+ - id: initializing+ title: initializing++ - id: sign-up+ title: signUp()+ product: 'Auth'++ - id: sign-in-with-password+ title: signInWithPassword()+ product: 'Auth'++ - id: sign-in-with-otp+ title: signInWithOtp()+ product: 'Auth'++ - id: sign-in-with-oauth+ title: signInWithOAuth()+ product: 'Auth'++ - id: sign-out+ title: signOut()+ product: 'Auth'++ - id: verify-otp+ title: verifyOtp()+ product: 'Auth'++ - id: get-session+ title: getSession()+ product: 'Auth'++ - id: get-user+ title: getUser()+ product: 'Auth'++ - id: update-user+ title: updateUser()+ product: 'Auth'++ - id: set-session+ title: setSession()+ product: 'Auth'++ - id: refresh-session+ title: refreshSession()+ product: 'Auth'++ - id: on-auth-state-change+ title: onAuthStateChange()+ product: 'Auth'++ - id: admin-api+ title: Overview+ product: 'Auth-admin'++ - id: get-user-by-id+ title: getUserById()+ product: 'Auth-admin'++ - id: list-users+ title: listUsers()+ product: 'Auth-admin'++ - id: create-user+ title: createUser()+ product: 'Auth-admin'++ - id: delete-user+ title: deleteUser()+ product: 'Auth-admin'++ - id: invite-user-by-email+ title: inviteUserByEmail()+ product: 'Auth-admin'++ - id: auth-reset-password-for-email+ title: resetPasswordForEmail()+ product: 'Auth-admin'++ - id: generate-link+ title: generateLink()+ product: 'Auth-admin'++ - id: update-user-by-id+ title: updateUserById()+ product: 'Auth-admin'++ - id: select+ title: 'Fetch data: select()'+ product: 'Database'++ - id: insert+ title: 'Create data: insert()'+ product: 'Database'++ - id: update+ title: 'Modify data: update()'+ product: 'Database'++ - id: upsert+ title: 'Upsert data: upsert()'+ product: 'Database'++ - id: delete+ title: 'Delete data: delete()'+ product: 'Database'++ - id: rpc+ title: 'Postgres functions: rpc()'+ product: 'Database'++ - id: eq+ title: eq()+ product: 'Database'+ parent: 'Filters'++ - id: neq+ title: neq()+ product: 'Database'+ parent: 'Filters'++ - id: gt+ title: gt()+ product: 'Database'+ parent: 'Filters'++ - id: gte+ title: gte()+ product: 'Database'+ parent: 'Filters'++ - id: lt+ title: lt()+ product: 'Database'+ parent: 'Filters'++ - id: lte+ title: lte()+ product: 'Database'+ parent: 'Filters'++ - id: like+ title: like()+ product: 'Database'+ parent: 'Filters'++ - id: ilike+ title: ilike()+ product: 'Database'+ parent: 'Filters'++ - id: is+ title: is()+ product: 'Database'+ parent: 'Filters'++ - id: in+ title: in()+ product: 'Database'+ parent: 'Filters'++ - id: contains+ title: contains()+ product: 'Database'+ parent: 'Filters'++ - id: contained-by+ title: containedBy()+ product: 'Database'+ parent: 'Filters'++ - id: range-gt+ title: rangeGt()+ product: 'Database'+ parent: 'Filters'++ - id: range-gte+ title: rangeGte()+ product: 'Database'+ parent: 'Filters'++ - id: range-lt+ title: rangeLt()+ product: 'Database'+ parent: 'Filters'++ - id: range-lte+ title: rangeLte()+ product: 'Database'+ parent: 'Filters'++ - id: range-adjacent+ title: rangeAdjacent()+ product: 'Database'+ parent: 'Filters'++ - id: overlaps+ title: overlaps()+ product: 'Database'+ parent: 'Filters'++ - id: text-search+ title: textSearch()+ product: 'Database'+ parent: 'Filters'++ - id: match+ title: match()+ product: 'Database'+ parent: 'Filters'++ - id: not+ title: not()+ product: 'Database'+ parent: 'Filters'++ - id: or+ title: or()+ product: 'Database'+ parent: 'Filters'++ - id: filter+ title: filter()+ product: 'Database'+ parent: 'Filters'++ - id: using-modifiers+ title: Using Modifiers+ product: 'Database'+ parent: 'Modifiers'++ - id: db-modifiers-select+ title: select()+ product: 'Database'+ parent: 'Modifiers'++ - id: order+ title: order()+ product: 'Database'+ parent: 'Modifiers'++ - id: limit+ title: limit()+ product: 'Database'+ parent: 'Modifiers'++ - id: range+ title: range()+ product: 'Database'+ parent: 'Modifiers'++ - id: abort-signal+ title: abortSignal()+ product: 'Database'+ parent: 'Modifiers'++ - id: single+ title: single()+ product: 'Database'+ parent: 'Modifiers'++ - id: maybeSingle+ title: maybeSingle()+ product: 'Database'+ parent: 'Modifiers'++ - id: csv+ title: csv()+ product: 'Database'+ parent: 'Modifiers'++ - id: invoke+ title: invoke()+ product: 'Functions'++ - id: subscribe+ title: on().subscribe()+ product: 'Realtime'++ - id: get-channels+ title: getChannels()+ product: 'Realtime'++ - id: remove-channel+ title: removeChannel()+ product: 'Realtime'++ - id: remove-all-channels+ title: removeAllChannels()+ product: 'Realtime'++ - id: list-buckets+ title: listBuckets()+ product: 'Storage'++ - id: get-bucket+ title: getBucket()+ product: 'Storage'++ - id: create-bucket+ title: createBucket()+ product: 'Storage'++ - id: empty-bucket+ title: emptyBucket()+ product: 'Storage'++ - id: update-bucket+ title: updateBucket()+ product: 'Storage'++ - id: delete-bucket+ title: deleteBucket()+ product: 'Storage'++ - id: from-upload+ title: from.upload()+ product: 'Storage'++ - id: from-update+ title: from.update()+ product: 'Storage'++ - id: from-move+ title: from.move()+ product: 'Storage'++ - id: from-copy+ title: from.copy()+ product: 'Storage'++ - id: from-create-signed-url+ title: from.createSignedUrl()+ product: 'Storage'++ - id: from-create-signed-urls+ title: from.createSignedUrls()+ product: 'Storage'++ - id: from-get-public-url+ title: from.getPublicUrl()+ product: 'Storage'++ - id: from-download+ title: from.download()+ product: 'Storage'++ - id: from-remove+ title: from.remove()+ product: 'Storage'++ - id: from-list+ title: from.list()+ product: 'Storage'diff --git a/spec/supabase_js_v2_temp_new_shape.yml b/spec/supabase_js_v2_temp_new_shape.ymlindex 339b307d28f..26e0ca5abd9 100644--- a/spec/supabase_js_v2_temp_new_shape.yml+++ b/spec/supabase_js_v2_temp_new_shape.yml@@ -103,6 +103,7 @@ functions:For React Native we recommend using `AsyncStorage` as the storage implementation for Supabase Auth.- id: sign-up+ title: 'signUp()'$ref: '@supabase/gotrue-js.GoTrueClient.signUp'notes: |- By default, the user needs to verify their email address before logging in. To turn this off, disable **Confirm email** in [your project](https://app.supabase.com/project/_/auth/settings).@@ -115,7 +116,7 @@ functions:- If **Confirm email** is disabled, the error message, `User already registered` is returned.- To fetch the currently logged-in user, refer to [`getUser()`](/docs/reference/javascript/auth-getuser).examples:- - id: sign-up.+ - id: sign-upname: Sign up.isSpotlight: truecode: |@@ -185,7 +186,7 @@ functions:- If you're using phone, you can configure whether you want the user to receive a OTP.- The magic link's destination URL is determined by the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). You can modify the `SITE_URL` or add additional redirect urls in [your project](https://app.supabase.com/project/_/auth/settings).examples:- - id: sign-in-with-email.+ - id: sign-in-with-emailname: Sign in with email.isSpotlight: truedescription: The user will be sent an email which contains either a magiclink or a OTP or both. By default, a given user can only request a OTP once every 60 seconds.@@ -195,7 +196,7 @@ functions:email: '[email protected]',})```- - id: sign-in-with-sms-otp.+ - id: sign-in-with-sms-otpname: Sign in with SMS OTP.isSpotlight: falsedescription: The user will be sent a SMS which contains a OTP. By default, a given user can only request a OTP once every 60 seconds.@@ -341,7 +342,7 @@ functions:```jsconst { data, error } = await supabase.auth.updateUser({password: 'new password'})```- - id: update-the-user's-metadata+ - id: update-the-users-metadataname: Update the user's metadataisSpotlight: truecode: |@@ -476,7 +477,7 @@ functions:title: 'listUsers()'$ref: '@supabase/gotrue-js.GoTrueAdminApi.listUsers'examples:- - id: get-a-full-list-of-users.+ - id: get-a-full-list-of-usersname: Get a full list of users.isSpotlight: truecode: |@@ -500,7 +501,7 @@ functions:user_metadata: { name: 'Yoda' }})```- - id: auto-confirm-the-user's-email+ - id: auto-confirm-the-users-emailname: Auto-confirm the user's emailcode: |```js@@ -509,7 +510,7 @@ functions:email_confirm: true})```- - id: auto-confirm-the-user's-phone-number+ - id: auto-confirm-the-users-phone-numbername: Auto-confirm the user's phone numbercode: |```js@@ -569,7 +570,7 @@ functions:redirectTo: 'https://example.com/update-password',})```- - id: reset-password(react)+ - id: reset-password-reactname: Reset password (React)isSpotlight: truecode: |@@ -670,7 +671,7 @@ functions:title: 'updateUserById()'$ref: '@supabase/gotrue-js.GoTrueAdminApi.updateUserById'examples:- - id: updates-a-users-email.+ - id: updates-a-users-emailname: Updates a user's email.isSpotlight: falsecode: |@@ -680,7 +681,7 @@ functions:{ email: '[email protected]' })```- - id: updates-a-users-password.+ - id: updates-a-users-passwordname: Updates a user's password.isSpotlight: falsecode: |@@ -690,7 +691,7 @@ functions:{ password: 'new_password' })```- - id: updates-a-users-metadata.+ - id: updates-a-users-metadataname: Updates a user's metadata.isSpotlight: truecode: |@@ -700,7 +701,7 @@ functions:{ user_metadata: { hello: 'world' } })```- - id: updates-a-users-app-metadata.+ - id: updates-a-users-app-metadataname: Updates a user's app_metadata.isSpotlight: falsecode: |@@ -710,7 +711,7 @@ functions:{ app_metadata: { plan: 'trial' } })```- - id: confirms-a-users-email-address.+ - id: confirms-a-users-email-addressname: Confirms a user's email address.isSpotlight: falsecode: |@@ -720,7 +721,7 @@ functions:{ email_confirm: true })```- - id: confirms-a-users-phone-number.+ - id: confirms-a-users-phone-numbername: Confirms a user's phone number.isSpotlight: falsecode: |@@ -5016,7 +5017,7 @@ functions:config: 'english'})```- - id: websearch+ - id: web-searchname: Websearchdescription: |Uses PostgreSQL's `websearch_to_tsquery` function.@@ -7086,7 +7087,7 @@ functions:upsert: false})```- - id: upload-file-using`arraybuffer`from-base64-file-data+ - id: upload-file-using-arraybuffer-from-base64-file-dataname: Upload file using `ArrayBuffer` from base64 file datacode: |```js