Skip to content

Commit

Permalink
improved some
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwicopple committed Aug 15, 2022
1 parent f231173 commit 6178c0b
Show file tree
Hide file tree
Showing 26 changed files with 154,717 additions and 10,035 deletions.
6 changes: 3 additions & 3 deletions apps/reference/_supabase_js/generated/auth-api-createuser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ const { data: user, error } = await supabase.auth.api.createUser({
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
attributes
AdminUserAttributes
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>AdminUserAttributes</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">

The data you want to create the user with.
No description provided.

</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,18 @@ No description provided.
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
attributes
AdminUserAttributes
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>AdminUserAttributes</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">

The data you want to update.

This function should only be called on a server. Never expose your `service_role` key in the browser.
No description provided.

</div>

Expand Down
49 changes: 47 additions & 2 deletions apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const { user, session, error } = await supabase.auth.signIn({
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
credentials
SignInWithOAuthCredentials
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>SignInWithOAuthCredentials</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">
Expand All @@ -39,6 +39,51 @@ No description provided.

</div>

<ul className="method-list-group">
<h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>

<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
provider
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>Provider</code>
</span>
</h4>
<div class="method-list-item-description">

No description provided.

</div>

</li>

<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
options
</span>
<span className="method-list-item-label-badge false">
optional
</span>
<span className="method-list-item-validation">
<code>SignInWithOAuthOptions</code>
</span>
</h4>
<div class="method-list-item-description">

No description provided.

</div>

</li>

</ul>

</li>

</ul>
Expand Down
4 changes: 2 additions & 2 deletions apps/reference/_supabase_js/generated/auth-signinwithotp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const { user, session, error } = await supabase.auth.signIn({
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
credentials
SignInWithPasswordlessCredentials
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>SignInWithPasswordlessCredentials</code>
<code>reflection</code> | <code>reflection</code>
</span>
</h4>
<div class="method-list-item-description">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const { user, session, error } = await supabase.auth.signIn({
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
credentials
SignInWithPasswordCredentials
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>SignInWithPasswordCredentials</code>
<code>reflection</code> | <code>reflection</code>
</span>
</h4>
<div class="method-list-item-description">
Expand Down
4 changes: 2 additions & 2 deletions apps/reference/_supabase_js/generated/auth-signup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const { user, session, error } = await supabase.auth.signUp({
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
__namedParameters
UserCredentials
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>UserCredentials</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">
Expand Down
4 changes: 2 additions & 2 deletions apps/reference/_supabase_js/generated/auth-update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ const { user, error } = await supabase.auth.update({ email: 'new@email.com' })
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
attributes
UserAttributes
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>UserAttributes</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">
Expand Down
49 changes: 47 additions & 2 deletions apps/reference/_supabase_js/generated/invoke.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ the name of the function to invoke
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
invokeOptions
FunctionInvokeOptions
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>FunctionInvokeOptions</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">
Expand All @@ -58,6 +58,51 @@ No description provided.

</div>

<ul className="method-list-group">
<h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>

<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
body
</span>
<span className="method-list-item-label-badge false">
optional
</span>
<span className="method-list-item-validation">
<code>File</code> | <code>Blob</code> | <code>ArrayBuffer</code> | <code>FormData</code> | <code>ReadableStream</code> | <code>Record</code> | <code>string</code>
</span>
</h4>
<div class="method-list-item-description">

the body of the request

</div>

</li>

<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
headers
</span>
<span className="method-list-item-label-badge false">
optional
</span>
<span className="method-list-item-validation">
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">

object representing the headers to send with the request

</div>

</li>

</ul>

</li>

</ul>
Expand Down
6 changes: 3 additions & 3 deletions apps/reference/_supabase_js/generated/removechannel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ supabase.removeChannel(mySubscription)
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
channel
RealtimeChannel
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>default</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">

The name of the Realtime channel.
No description provided.

</div>

Expand Down
10 changes: 5 additions & 5 deletions apps/reference/_supabase_js/generated/storage-from-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ The folder path.
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
options
SearchOptions
</span>
<span className="method-list-item-label-badge false">
optional
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>SearchOptions</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">

Search options, including `limit`, `offset`, `sortBy`, and `search`.
No description provided.

</div>

Expand Down
13 changes: 5 additions & 8 deletions apps/reference/_supabase_js/generated/storage-from-update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,18 @@ The body of the file to be stored in the bucket.
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
fileOptions
FileOptions
</span>
<span className="method-list-item-label-badge false">
optional
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>FileOptions</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">

HTTP headers.
`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.
`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.
`upsert`: boolean, whether to perform an upsert.
No description provided.

</div>

Expand Down
13 changes: 5 additions & 8 deletions apps/reference/_supabase_js/generated/storage-from-upload.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,18 @@ The body of the file to be stored in the bucket.
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
fileOptions
FileOptions
</span>
<span className="method-list-item-label-badge false">
optional
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
<code>FileOptions</code>
<code>object</code>
</span>
</h4>
<div class="method-list-item-description">

HTTP headers.
`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.
`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.
`upsert`: boolean, whether to perform an upsert.
No description provided.

</div>

Expand Down
Loading

0 comments on commit 6178c0b

Please sign in to comment.