From 7fffbaa0098620e35fae99a94a4fc0ca4f256528 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Wed, 5 May 2021 23:31:51 +0200 Subject: [PATCH 1/3] fix: small error --- web/spec/supabase.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/spec/supabase.json b/web/spec/supabase.json index 8b8be293a4e..7e6ac8dcea7 100644 --- a/web/spec/supabase.json +++ b/web/spec/supabase.json @@ -5074,7 +5074,7 @@ "isExported": true }, "comment": { - "shortText": "Subscribe to realtime changes in your databse." + "shortText": "Subscribe to realtime changes in your database." }, "parameters": [ { @@ -13172,4 +13172,4 @@ ] } ] -} \ No newline at end of file +} From eceb748251f8cebe1c06a06d951336b65d8a4244 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Wed, 5 May 2021 23:41:04 +0200 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20small=20errors=20=F0=9F=98=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/spec/postgres.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/spec/postgres.yml b/web/spec/postgres.yml index ffe7d6aae05..60087722c5b 100644 --- a/web/spec/postgres.yml +++ b/web/spec/postgres.yml @@ -115,8 +115,8 @@ pages: sql: | ```sql alter table table_name - add constraint constraint_name_1 foreign key (colum_1) references foreign_table(id), - add constraint constraint_name_2 foreign key (colum_2) references foreign_table(id); + add constraint constraint_name_1 foreign key (column_1) references foreign_table(id), + add constraint constraint_name_2 foreign key (column_2) references foreign_table(id); ``` - name: Delete a table sql: | @@ -224,7 +224,7 @@ pages: Database Users: description: | - Users and Roles are almost interchangable. + Users and Roles are almost interchangeable. examples: - name: Create New User From 6fb9c407ac8e413aaafcd31135da932b9eb98ead Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Wed, 5 May 2021 23:50:50 +0200 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20small=20errors=20=F0=9F=98=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: small error * fix: small error --- web/docs/learn/auth-deep-dive/gotrue.md | 4 ++-- web/docs/learn/auth-deep-dive/jwts.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/docs/learn/auth-deep-dive/gotrue.md b/web/docs/learn/auth-deep-dive/gotrue.md index 0e73b079c69..c73e357807d 100644 --- a/web/docs/learn/auth-deep-dive/gotrue.md +++ b/web/docs/learn/auth-deep-dive/gotrue.md @@ -45,7 +45,7 @@ You'll have to make sure your google app is verified of course in order to reque [Gotrue-js](https://github.com/supabase/gotrue-js) (and also [gotrue-csharp](https://github.com/supabase/gotrue-csharp), [gotrue-py](https://github.com/j0/gotrue-py), [gotrue-kt](https://github.com/supabase/gotrue-kt), and [gotrue-dart](https://github.com/supabase/gotrue-dart)) are all wrappers around the gotrue API endpoints, and make for easier session management inside your client. -But all the functionality of gotrue-js is also available in supabase-js, which uses gotrue-js internall when you do things like: +But all the functionality of gotrue-js is also available in supabase-js, which uses gotrue-js internally when you do things like: ```jsx const { user, session, error } = await supabase.auth.signIn({ @@ -69,4 +69,4 @@ In the next guide we'll be looking at how to setup external OAuth providers: Wat - Watch [Part Three: Policies](/docs/learn/auth-deep-dive/auth-policies) - Watch [Part Five: Google Oauth](/docs/learn/auth-deep-dive/auth-google-oauth) -- Sign up for Supabase: [app.supabase.io](https://app.supabase.io) \ No newline at end of file +- Sign up for Supabase: [app.supabase.io](https://app.supabase.io) diff --git a/web/docs/learn/auth-deep-dive/jwts.md b/web/docs/learn/auth-deep-dive/jwts.md index 783dcc83d10..98510717fa9 100644 --- a/web/docs/learn/auth-deep-dive/jwts.md +++ b/web/docs/learn/auth-deep-dive/jwts.md @@ -30,7 +30,7 @@ Well, the JSON object starts out looking something like this: } ``` -`sub` is the "subject", which is usually the uuid of the user. `name` is self explanitory, and `iat` is the unix timestamp at which the token was created. Many JWTs will also have an `exp` which is the data at which the token is set to expire, and can no longer be used. These are some of the standard fields you may find in a JWT, but you can pretty much store whatever you want in there, for example: +`sub` is the "subject", which is usually the uuid of the user. `name` is self explanatory, and `iat` is the unix timestamp at which the token was created. Many JWTs will also have an `exp` which is the data at which the token is set to expire, and can no longer be used. These are some of the standard fields you may find in a JWT, but you can pretty much store whatever you want in there, for example: ```js { @@ -176,4 +176,4 @@ Now that you understand what JWTs are and where they're used in Supabase, you ca - [Part Three: Policies](/docs/learn/auth-deep-dive/auth-policies) - [Part Four: GoTrue](/docs/learn/auth-deep-dive/auth-gotrue) - [Part Five: Google Oauth](/docs/learn/auth-deep-dive/auth-google-oauth) -- Sign up for Supabase: [app.supabase.io](https://app.supabase.io) \ No newline at end of file +- Sign up for Supabase: [app.supabase.io](https://app.supabase.io)