From 4b68c8fe41dc78dc79a5144aa53cd4abea6d8757 Mon Sep 17 00:00:00 2001 From: Jan Tennert Date: Tue, 9 May 2023 18:05:40 +0200 Subject: [PATCH] Fix example id --- spec/supabase_kt_v0.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/spec/supabase_kt_v0.yml b/spec/supabase_kt_v0.yml index 72baa58ce0f..88b6225e1fd 100644 --- a/spec/supabase_kt_v0.yml +++ b/spec/supabase_kt_v0.yml @@ -35,6 +35,7 @@ functions: ) { install(GoTrue) install(Postgrest) + //install other modules } ``` - id: configure-gotrue @@ -110,6 +111,10 @@ functions: `propertyConversionMethod` - The method to use to convert the property names to the column names when applying filters & using the update method. Default: `PropertyConversionMethod.CAMEL_CASE_TO_SNAKE_CASE` `defaultSchema` - The default schema to use for database requests. Default: `public` + + `customUrl` - Custom url for the Postgrest Api. Can be safely ignored when using supabase. Default: `null` + + `jwtToken` - Plugin specific JWT Token. Can be ignored when using the GoTrue plugin. Default: `null` - id: configure-storage name: Configure Storage module code: | @@ -133,6 +138,10 @@ functions: `resumable.retryTimeout` - the timeout for retrying resumable uploads when uploading a chunk fails. Default: `5.seconds` `resumable.onlyUpdateStateAfterChunk` - whether the upload state should only be updated after a chunk was uploaded successfully or also when the chunk is currently being uploaded. Default: `false` + + `customUrl` - Custom url for the Storage Api. Can be safely ignored when using supabase. Default: `null` + + `jwtToken` - Plugin specific JWT Token. Can be ignored when using the GoTrue plugin. Default: `null` - id: configure-realtime name: Configure Realtime module code: | @@ -156,6 +165,10 @@ functions: `secure` - Whether to use wss or ws. Defaults to [SupabaseClient.useHTTPS] when null `websocketConfig` - Custom ktor websocket config + + `customUrl` - Custom url for the Realtime Websocket. Can be safely ignored when using supabase. Default: `null` + + `jwtToken` - Plugin specific JWT Token. Can be ignored when using the GoTrue plugin. Default: `null` - id: configure-functions name: Configure Functions plugin code: | @@ -169,6 +182,10 @@ functions: } } ``` + description: | + `customUrl` - Custom url for the Functions Api. Can be safely ignored when using supabase. Default: `null` + + `jwtToken` - Plugin specific JWT Token. Can be ignored when using the GoTrue plugin. Default: `null` - id: configure-graphql name: Configure GraphQL plugin code: | @@ -186,6 +203,10 @@ functions: ``` description: | `apolloConfiguration` - Custom configuration for the ApolloClient + + `customUrl` - Custom url for the GraphQL Api. Can be safely ignored when using supabase. Default: `null` + + `jwtToken` - Plugin specific JWT Token. Can be ignored when using the GoTrue plugin. Default: `null` - id: select title: 'Fetch data: select()' @@ -433,7 +454,8 @@ functions: let toUpsert = User(username = "supabot") client.postgrest["users"].insert(toUpsert, upsert = true, onConflict = "username") ``` - - name: Return the exact number of rows + - id: upsert-return-row-count + name: Return the exact number of rows isSpotlight: true code: | ```kotlin