Commit Graph
45 Commits
Author SHA1 Message Date
John Lombardo 9eefddab4e Stop calling .user() like an async function
The Typescript defs already warn that `supabase.auth.user()` is a synchronous function if it is called with `await` (and it doesn't cause errors) but I am starting to see tutorials propagating this error.
2021-02-16 12:40:53 +08:00
Paul Copplestone ae5fea761c docs: adds instructions on inserts 2021-02-10 23:24:56 +08:00
Paul Copplestone 10c635f4e1 docs: adds missing session value to magic link signup 2021-02-09 21:15:54 +08:00
Paul Copplestone a177fcd79f docs: Adds some more notes about sessions and users depending on GoTrue config 2021-02-09 21:11:06 +08:00
Paul Copplestone 35556b4065 fix: #492
> What is a SupabaseClient in fact?
2021-02-05 11:07:08 +08:00
Paul Copplestone d149254b41 fix: #503
adds await to the user() function.
2021-02-05 11:00:53 +08:00
Paul Copplestone 6c399f320d Removes generated files 2021-02-05 09:15:03 +08:00
Andreas b679eb2c89 Fixed wrong heading for getSubscriptions() example
This was probably caused by copy paste from the previous method.
2021-01-27 18:05:04 +01:00
awalias 28568da9ed chore: adds descending order to example 2021-01-20 16:19:11 +08:00
Paul Copplestone 726e630998 fix: broken build on docs - missing links 2021-01-19 13:09:24 +08:00
dshukertjr afcb11046f Completed documenting count option for select and rpc 2021-01-19 09:05:53 +09:00
dshukertjr b8e56fe7d4 Minor text change 2021-01-19 08:50:24 +09:00
dshukertjr f3e7051684 added documentation about count in rpc 2021-01-19 08:44:56 +09:00
dshukertjr 7537315322 Added documentation about count option for select 2021-01-19 08:37:40 +09:00
Copple ea5e51ea60 Merge pull request #531 from DanielChuDC/master
docs(postgres-client) update Postgrest API methods
2021-01-19 00:02:18 +08:00
Paul Copplestone 31aa8c0cc0 docs: formatting for code snippets 2021-01-17 15:05:00 +08:00
Paul Copplestone 2ef4d8133a docs: add comments for deleted subscriptions 2021-01-17 15:01:58 +08:00
Paul Copplestone a7ca45b2b6 Merge branch 'master' of github.com:supabase/supabase 2021-01-16 13:32:40 +08:00
Paul Copplestone 12f710260f docs: Adds some details for working with JSON data 2021-01-16 13:32:33 +08:00
DanielChu d517f61113 docs(postgres-client) update Postgrest API methods
#513
2021-01-16 00:21:00 +08:00
Ant Wilson 67cb034987 Merge pull request #494 from supabase/chore/fix-gotrue-notes
fix: corrects notes field on forgotten password method
2021-01-08 18:42:29 +04:00
awalias 669f8647df fix: corrects notes field on forgotten password method 2021-01-08 18:34:15 +04:00
Copple d996f6a1cf Merge pull request #459 from sa3dany/patch-1
Add `✏ Edit this page` links to doc pages
2021-01-08 19:51:02 +08:00
awalias 8edaa580bc fix: description text wasnt being persisted 2021-01-07 12:03:49 +04:00
awalias 4829204d91 chore: adds instructions for resetting password after email sent 2021-01-07 11:41:06 +04:00
awalias cb8f3634a9 chore: update title of reset email and regen 2021-01-07 11:03:22 +04:00
Mohamed ElSaadany 3b0a936b6d use src yaml files in Docusaurus 'Edit this page' links for generated doc pages 2021-01-05 10:33:31 +03:00
ffabss 229eb4e13d docs/specs: correct typos 2020-12-26 16:35:31 +01:00
Bobbie Soedirgo 77d37f7f02 docs: correct typos in #442 into specs 2020-12-26 19:31:59 +08:00
Paul Copplestone f987408c4a chore: pull the latest using "Make" 2020-12-22 09:27:27 +01:00
Ant Wilson 722a918b50 Merge pull request #370 from ykdojo/improve-auth-doc
Improve auth doc
2020-12-16 23:10:36 +00:00
ykdojo cebe10391e Javascript -> JavaScript, Typescript -> TypeScript 2020-12-16 12:59:28 -08:00
ykdojo 14cbab9aa2 Re-generated a few docs with RefGenerator
web/docs/client/filter.mdx
web/docs/client/insert.mdx
web/docs/client/order.mdx
2020-12-15 11:19:48 -08:00
awalias a4d63d9d96 chore: adds snippets for api gotrue-js methods, and adds new methods for magic links and invites 2020-11-26 19:54:53 +08:00
Paul Copplestone 65adf3bbe6 docs: Adds some init code for gotruejs 2020-11-26 18:30:11 +08:00
awalias 4e46ed1efe chore: adds magic link time restriction to auth docs 2020-11-23 12:29:48 +08:00
Paul Copplestone db5a7a9261 docs: removes the wrapper code from the embedded filters. 2020-11-17 09:21:57 +08:00
Paul Copplestone df1883b18b docs: adds filter updates to the spec 2020-11-14 10:30:51 +08:00
Paul Copplestone 290c6b6a8d docs: code cleanup and spelling 2020-11-11 17:10:54 +08:00
Paul Copplestone 2e0b26a1c6 Add an update example for gotrue
Fixes: https://github.com/supabase/gotrue-js/issues/22
2020-11-11 16:46:50 +08:00
Paul Copplestone f5276c663f Adds a magic link example to the docs 2020-11-11 10:22:59 +08:00
Paul Copplestone 12c80d5c5c docs: Updates the subscription example 2020-11-03 09:43:04 +08:00
Paul Copplestone de279c0619 Updates signUp and signIn methods 2020-11-02 13:10:06 +08:00
Paul Copplestone c8aa727985 chore: corrects the supabase-js installation instructions 2020-11-02 11:34:39 +08:00
Copple a788003648 Documentation for the new DX (#253)
## What kind of change does this PR introduce?

Updates the docs with the new developer experience: https://deploy-preview-253--supabase.netlify.app/docs

- Documents the new Auth using `gotrue-js`
- Fixes #179 
- Fixes OAuth links https://github.com/supabase/supabase/issues/241#issuecomment-705632335 
- [x] Add docs on Policies

## Additional context

Related PR on `supabase-js` https://github.com/supabase/supabase-js/pull/50

* Updates the docs for the new Auth DX.

* docs: adds docs for subscribing to rows

* Updates all the reads

* Updates all the docs with the new format

* docs: Replaces all { error, data} with data first, because I subjectively think it looks better

* Adds some of the breaking changes to a blog post

* Adds headings

* removes the blog post since it is now in notion

* Adds the Oauth changes

* removes recharts because we no longer use it

* Adds basic structure for GoTrue ref

* Adds styles for the api reference docs

* Adds more generated docs

* Downloads the files to work locally

* Adds a supabase generator

* Moves some of the guides into the "tools" folder

* Re-shuffles some of the pages around

* Generated everythign related to the Supabase Client

* Refactors and categorieses the pages

* Changes the names to be more readable

* Migrates almost all of the filters into the API reference

* Moves most of the stored procedure filters

* Adds realtime-js to the mix

* More desciptive titles

* Moves all the generated docs to the docs folder

* Moves over some of the data manipulators

* Extracts most of the client functionality to the API ref

* Adds more detail to the guides

* Removes the reference to the emulator

* Adds the supabase 1.0 blog post

* Adds a redirects for netlify

* chore: Updates packages

* Updates broken links

* Adding docs for the server

* Adds comments to gotrue and pgapi

* Adds a twitter icon to our navbar

* Updates the auth with the new user and session return values

* Updates the sponsors

* Styles for cards

* Adds a default value to all of the Tabs
2020-11-02 11:08:02 +08:00