The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: update auth docs for supabase-js v2 (#8648)
Kang Ming2812617d0fd8
diff --git a/apps/reference/_supabase_js/generated/auth-admin-createuser.mdx b/apps/reference/_supabase_js/generated/auth-admin-createuser.mdxindex 20d8633252b..e690ec05e4b 100644--- a/apps/reference/_supabase_js/generated/auth-admin-createuser.mdx+++ b/apps/reference/_supabase_js/generated/auth-admin-createuser.mdx@@ -58,11 +58,11 @@ No description provided.</h4><div class="method-list-item-description">-A custom data object for app_metadata that.+A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.Only a service role can modify.-Can be any JSON that includes app-specific info, such as identity providers, roles, and other+The `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and otheraccess control information.</div>@@ -83,7 +83,9 @@ access control information.</h4><div class="method-list-item-description">-A custom data object for user_metadata that a user can modify. Can be any JSON.+A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.++The `data` should be a JSON object that includes user-specific info, such as their first and last name.</div>@@ -109,26 +111,6 @@ The user's email.</li>-<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- email_change_token- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--An email change token.-- </div>--</li>-<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">@@ -143,7 +125,7 @@ An email change token.</h4><div class="method-list-item-description">-Sets if a user has confirmed their email address.+Confirms the user's email address if set to true.Only a service role can modify.@@ -205,7 +187,7 @@ The user's phone.</h4><div class="method-list-item-description">-Sets if a user has confirmed their phone number.+Confirms the user's phone number if set to true.Only a service role can modify.@@ -227,13 +209,13 @@ Only a service role can modify.</h4><div class="method-list-item-description">-A custom data object for user_metadata.--Can be any JSON.+A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.Only a service role can modify.-Note: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,+The `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.++Note: When using the GoTrueAdminApi and wanting to modify a user's metadata,this attribute is used instead of UserAttributes data.</div>@@ -248,13 +230,11 @@ this attribute is used instead of UserAttributes data.## Notes-- Requires a `service_role` key.-- This function should be called on a server. Never expose your `service_role` key in the browser.-- If you do not provide the `email_confirm` and `phone_confirm` options to this function, both will default to false.+- To confirm the user's email address or phone number, set `email_confirm` or `phone_confirm` to true. Both arguments default to false.## Examples-### Create a new user.+### Create a new user with custom user metadata```jsconst { data, error } = await supabase.auth.admin.createUser({@@ -264,7 +244,7 @@ const { data, error } = await supabase.auth.admin.createUser({})```-### Auto-confirm email.+### Auto-confirm the user's email```jsconst { data, error } = await supabase.auth.admin.createUser({@@ -273,7 +253,7 @@ const { data, error } = await supabase.auth.admin.createUser({})```-### Auto-confirm phone.+### Auto-confirm the user's phone number```jsconst { data, error } = await supabase.auth.admin.createUser({diff --git a/apps/reference/_supabase_js/generated/auth-admin-deleteuser.mdx b/apps/reference/_supabase_js/generated/auth-admin-deleteuser.mdxindex 637e8524f4e..d7e96b605e4 100644--- a/apps/reference/_supabase_js/generated/auth-admin-deleteuser.mdx+++ b/apps/reference/_supabase_js/generated/auth-admin-deleteuser.mdx@@ -23,7 +23,7 @@ const { data, error } = await supabase.auth.admin.deleteUser(<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- uid+ id</span><span className="method-list-item-label-badge required">required@@ -34,7 +34,7 @@ const { data, error } = await supabase.auth.admin.deleteUser(</h4><div class="method-list-item-description">-The user uid you want to remove.+The user id you want to remove.This function should only be called on a server. Never expose your `service_role` key in the browser.@@ -46,12 +46,11 @@ This function should only be called on a server. Never expose your `service_role## Notes-- Requires a `service_role` key.-- This function should be called on a server. Never expose your `service_role` key in the browser.+- The `deleteUser()` method requires the user's ID, which maps to the `auth.users.id` column.## Examples-### Remove a user completely.+### Removes a user```jsconst { data, error } = await supabase.auth.admin.deleteUser(diff --git a/apps/reference/_supabase_js/generated/auth-admin-generatelink.mdx b/apps/reference/_supabase_js/generated/auth-admin-generatelink.mdxindex 112547c92c1..912ecf90e03 100644--- a/apps/reference/_supabase_js/generated/auth-admin-generatelink.mdx+++ b/apps/reference/_supabase_js/generated/auth-admin-generatelink.mdx@@ -8,7 +8,7 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_import Tabs from '@theme/Tabs'import TabItem from '@theme/TabItem'-Generates links to be sent via email or other.+Generates email links and OTPs to be sent via a custom email provider.```jsconst { data, error } = await supabase.auth.admin.generateLink(@@ -27,18 +27,18 @@ const { data, error } = await supabase.auth.admin.generateLink(<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- GenerateLinkType+ GenerateLinkParams</span><span className="method-list-item-label-badge required">required</span><span className="method-list-item-validation">- <code>signup</code> | <code>invite</code> | <code>magiclink</code> | <code>recovery</code> | <code>email_change_current</code> | <code>email_change_new</code>+ <code>GenerateSignupLinkParams</code> | <code>GenerateInviteOrMagiclinkParams</code> | <code>GenerateRecoveryLinkParams</code> | <code>GenerateEmailChangeLinkParams</code></span></h4><div class="method-list-item-description">-The link type+No description provided.</div>@@ -48,73 +48,13 @@ The link type<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- email_change_new- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- literal- </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">- email_change_current- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- literal- </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">- recovery- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- literal- </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">- magiclink+ GenerateSignupLinkParams</span><span className="method-list-item-label-badge required">required</span><span className="method-list-item-validation">- literal+ <code>object</code></span></h4><div class="method-list-item-description">@@ -128,13 +68,13 @@ No description provided.<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- invite+ GenerateRecoveryLinkParams</span><span className="method-list-item-label-badge required">required</span><span className="method-list-item-validation">- literal+ <code>object</code></span></h4><div class="method-list-item-description">@@ -148,13 +88,13 @@ No description provided.<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- signup+ GenerateInviteOrMagiclinkParams</span><span className="method-list-item-label-badge required">required</span><span className="method-list-item-validation">- literal+ <code>object</code></span></h4><div class="method-list-item-description">@@ -165,34 +105,10 @@ No description provided.</li>-</ul>--</li>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The user's email.-- </div>--</li>-<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- options+ GenerateEmailChangeLinkParams</span><span className="method-list-item-label-badge required">required@@ -207,67 +123,6 @@ 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">- data- </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">--Optional user metadata. For signup only.-- </div>--</li>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- password- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--User password. For signup only.-- </div>--</li>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- redirectTo- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The redirect url which should be appended to the generated link-- </div>-</li></ul>@@ -276,11 +131,6 @@ The redirect url which should be appended to the generated link</ul>-## Notes--- Requires a `service_role` key.-- This function should only be called on a server. Never expose your `service_role` key in the browser.-## Examples### Generate a signup link.diff --git a/apps/reference/_supabase_js/generated/auth-admin-getuserbyid.mdx b/apps/reference/_supabase_js/generated/auth-admin-getuserbyid.mdxindex 679a72505cf..d4a31673288 100644--- a/apps/reference/_supabase_js/generated/auth-admin-getuserbyid.mdx+++ b/apps/reference/_supabase_js/generated/auth-admin-getuserbyid.mdx@@ -11,7 +11,7 @@ import TabItem from '@theme/TabItem'Get user by id.```js-const { user, error } = await supabase.auth.admin.getUserById(1)+const { data, error } = await supabase.auth.admin.getUserById(1)```## Parameters@@ -44,14 +44,13 @@ This function should only be called on a server. Never expose your `service_role## Notes-- Fetches the user object from the database instead of local storage.-- Note that user() fetches the user object from local storage which might not be the most updated.-- Requires the user's access_token.+- Fetches the user object from the database based on the user's id.+- The `getUserById()` method requires the user's id which maps to the `auth.users.id` column.## Examples### Fetch the user object using the access_token jwt.```js-const { user, error } = await supabase.auth.admin.getUserById(1)+const { data, error } = await supabase.auth.admin.getUserById(1)```diff --git a/apps/reference/_supabase_js/generated/auth-admin-inviteuserbyemail.mdx b/apps/reference/_supabase_js/generated/auth-admin-inviteuserbyemail.mdxindex 05b02be5a3f..d35c8d80387 100644--- a/apps/reference/_supabase_js/generated/auth-admin-inviteuserbyemail.mdx+++ b/apps/reference/_supabase_js/generated/auth-admin-inviteuserbyemail.mdx@@ -95,7 +95,7 @@ Optional user metadata</h4><div class="method-list-item-description">-A URL or mobile address to send the user to after they are confirmed.+A URL or mobile deeplink to send the user to after they are confirmed.</div>@@ -109,12 +109,11 @@ A URL or mobile address to send the user to after they are confirmed.## Notes-- Requires a `service_role` key.-- This function should only be called on a server. Never expose your `service_role` key in the browser.+- Sends an invite link to the user's email address.## Examples-### Basic example.+### Invite a user```jsconst { data, error } = await supabase.auth.admin.inviteUserByEmail(diff --git a/apps/reference/_supabase_js/generated/auth-admin-listusers.mdx b/apps/reference/_supabase_js/generated/auth-admin-listusers.mdxindex ffaaef8e50d..8865b657add 100644--- a/apps/reference/_supabase_js/generated/auth-admin-listusers.mdx+++ b/apps/reference/_supabase_js/generated/auth-admin-listusers.mdx@@ -13,18 +13,19 @@ Get a list of users.This function should only be called on a server. Never expose your `service_role` key in the browser.```js-const { data: user, error } = await supabase.auth.admin.listUsers()+const {+ data: { users },+ error,+} = await supabase.auth.admin.listUsers()```-## Notes--- Requires a `service_role` key.-- This function should be called on a server. Never expose your `service_role` key in the browser.-## Examples### Get a full list of users.```js-const { data: user, error } = await supabase.auth.admin.listUsers()+const {+ data: { users },+ error,+} = await supabase.auth.admin.listUsers()```diff --git a/apps/reference/_supabase_js/generated/auth-admin-updateuserbyid.mdx b/apps/reference/_supabase_js/generated/auth-admin-updateuserbyid.mdxindex a55efaa8800..d6ca9bd9078 100644--- a/apps/reference/_supabase_js/generated/auth-admin-updateuserbyid.mdx+++ b/apps/reference/_supabase_js/generated/auth-admin-updateuserbyid.mdx@@ -76,11 +76,11 @@ No description provided.</h4><div class="method-list-item-description">-A custom data object for app_metadata that.+A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.Only a service role can modify.-Can be any JSON that includes app-specific info, such as identity providers, roles, and other+The `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and otheraccess control information.</div>@@ -101,7 +101,9 @@ access control information.</h4><div class="method-list-item-description">-A custom data object for user_metadata that a user can modify. Can be any JSON.+A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.++The `data` should be a JSON object that includes user-specific info, such as their first and last name.</div>@@ -127,26 +129,6 @@ The user's email.</li>-<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- email_change_token- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--An email change token.-- </div>--</li>-<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">@@ -161,7 +143,7 @@ An email change token.</h4><div class="method-list-item-description">-Sets if a user has confirmed their email address.+Confirms the user's email address if set to true.Only a service role can modify.@@ -223,7 +205,7 @@ The user's phone.</h4><div class="method-list-item-description">-Sets if a user has confirmed their phone number.+Confirms the user's phone number if set to true.Only a service role can modify.@@ -245,13 +227,13 @@ Only a service role can modify.</h4><div class="method-list-item-description">-A custom data object for user_metadata.--Can be any JSON.+A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.Only a service role can modify.-Note: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,+The `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.++Note: When using the GoTrueAdminApi and wanting to modify a user's metadata,this attribute is used instead of UserAttributes data.</div>@@ -264,11 +246,6 @@ this attribute is used instead of UserAttributes data.</ul>-## Notes--- Requires a `service_role` key.-- This function should only be called on a server. Never expose your `service_role` key in the browser.-## Examples### Updates a user's email.diff --git a/apps/reference/_supabase_js/generated/auth-getsession.mdx b/apps/reference/_supabase_js/generated/auth-getsession.mdxindex ce751ce0b5d..5d48abae16e 100644--- a/apps/reference/_supabase_js/generated/auth-getsession.mdx+++ b/apps/reference/_supabase_js/generated/auth-getsession.mdx@@ -8,8 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_import Tabs from '@theme/Tabs'import TabItem from '@theme/TabItem'-Returns the session data, refreshing it if necessary.-If no session is detected, the session returned will be null.+Returns the session, refreshing it if necessary.+The session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out.```jsconst { data, error } = await supabase.auth.getSession()diff --git a/apps/reference/_supabase_js/generated/auth-getuser.mdx b/apps/reference/_supabase_js/generated/auth-getuser.mdxindex a9c49d269e6..c43a4e02a74 100644--- a/apps/reference/_supabase_js/generated/auth-getuser.mdx+++ b/apps/reference/_supabase_js/generated/auth-getuser.mdx@@ -44,8 +44,8 @@ Takes in an optional access token jwt. If no jwt is provided, getUser() will att## Notes-- This method gets the user object using the current session.-- Fetches the user object from the database instead of local storage.+- This method gets the user object from the current session.+- Fetches the user object from the database instead of local session.## Examplesdiff --git a/apps/reference/_supabase_js/generated/auth-onauthstatechange.mdx b/apps/reference/_supabase_js/generated/auth-onauthstatechange.mdxindex f5af3c038ce..d35e657fde6 100644--- a/apps/reference/_supabase_js/generated/auth-onauthstatechange.mdx+++ b/apps/reference/_supabase_js/generated/auth-onauthstatechange.mdx@@ -42,6 +42,10 @@ A callback function to be invoked when an auth event happens.</ul>+## Notes++- Types of auth events: `SIGNED_IN`, `SIGNED_OUT`, `TOKEN_REFRESHED`, `USER_UPDATED`, `USER_DELETED`, `PASSWORD_RECOVERY`+## Examples### Listen to auth changesdiff --git a/apps/reference/_supabase_js/generated/auth-resetpasswordforemail.mdx b/apps/reference/_supabase_js/generated/auth-resetpasswordforemail.mdxindex ebdec52c8f0..cda380e0313 100644--- a/apps/reference/_supabase_js/generated/auth-resetpasswordforemail.mdx+++ b/apps/reference/_supabase_js/generated/auth-resetpasswordforemail.mdx@@ -8,7 +8,7 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_import Tabs from '@theme/Tabs'import TabItem from '@theme/TabItem'-Sends a reset request to an email address.+Sends a password reset request to an email address.```jsconst { error, data } = await supabase.auth.resetPasswordForEmail(email, options: {@@ -95,7 +95,7 @@ Verification token received when the user completes the captcha on the site.</h4><div class="method-list-item-description">-A URL to send the user to after they are confirmed.+The URL to send the user to after they click the password reset link.</div>@@ -109,15 +109,15 @@ A URL to send the user to after they are confirmed.## Notes-Sends a reset request to an email address.+Sends a password reset request to an email address.-When the user clicks the reset link in the email they will be forwarded to the site url or the redirect url specified:+When the user clicks the password reset link in the email, they are redirected to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url) by default. You can modify your `SITE_URL` or add additional redirect URLs in [your project](https://app.supabase.com/project/_/auth/settings).`<SITE_URL>#access_token=x&refresh_token=y&expires_in=z&token_type=bearer&type=recovery`Your app must detect `type=recovery` in the fragment and display a password reset form to the user.-You should then use the access_token in the url and new password to update the user as follows:+You should then [update the user](/docs/reference/javascript/next/auth-updateuser) as follows:```jsconst { error, data } = await supabase.auth.updateUser({diff --git a/apps/reference/_supabase_js/generated/auth-setsession.mdx b/apps/reference/_supabase_js/generated/auth-setsession.mdxindex 7b6da3a7aa0..220ded4d77a 100644--- a/apps/reference/_supabase_js/generated/auth-setsession.mdx+++ b/apps/reference/_supabase_js/generated/auth-setsession.mdx@@ -8,11 +8,10 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_import Tabs from '@theme/Tabs'import TabItem from '@theme/TabItem'-Sets the session data from refresh_token and returns current session or an error if the refresh_token is invalid.+Sets the session data from refresh token and returns current session or an error if the refresh token is invalid.```js- const { data, error } = supabase.auth.setSession(refresh_token)-}+const { data, error } = supabase.auth.setSession(refresh_token)```## Parameters@@ -33,7 +32,7 @@ Sets the session data from refresh_token and returns current session or an error</h4><div class="method-list-item-description">-The refresh token returned by gotrue.+A refresh token returned by supabase auth.</div>@@ -41,13 +40,19 @@ The refresh token returned by gotrue.</ul>+## Notes++- `setSession()` takes in a refresh token and uses it to get a new session.+- The refresh token can only be used once to obtain a new session.+- Refresh token rotation (see [`REFRESH_TOKEN_ROTATION_ENABLED`](https://supabase.com/docs/reference/auth/config#refresh_token_rotation_enabled)) is enabled by default on all projects to guard against replay attacks.+- You can configure the [`REFRESH_TOKEN_REUSE_INTERVAL`](https://supabase.com/docs/reference/auth/config#refresh_token_reuse_interval) which provides a short window in which the same refresh token can be used multiple times in the event of concurrency or offline issues.+## Examples-### Basic example.+### Refresh the sessionSets the session data from refresh_token and returns current session or an error if the refresh_token is invalid.```js- const { data, error } = supabase.auth.setSession(refresh_token)-}+const { data, error } = supabase.auth.setSession(refresh_token)```diff --git a/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx b/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdxindex 69afe49fd83..bcdceac369c 100644--- a/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx+++ b/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx@@ -116,7 +116,7 @@ An object of query params</h4><div class="method-list-item-description">-A URL to send the user to after they are confirmed (OAuth logins only).+A URL to send the user to after they are confirmed.</div>@@ -159,7 +159,7 @@ A space-separated list of scopes granted to the OAuth application.## Examples-### Sign in using a third-party provider.+### Sign in using a third-party provider```jsconst { data, error } = await supabase.auth.signInWithOAuth({@@ -167,14 +167,13 @@ const { data, error } = await supabase.auth.signInWithOAuth({})```-### Sign in using a third-party provider with redirect.+### Sign in using a third-party provider with redirect-The `redirectTo` param will only applied on the callback made from the third-party provider. It does not redirect the user immediately after invoking this method.-In order for the `redirectTo` param to be allowed, one needs to include it in an allowlist. Supabase supports this for-any URL path on your website (the URL must either be on the same domain as your Site URL [see Auth>Settings in dashboard], or must match one of the Additional Redirect URLs [also in Auth>Settings]).+When the third-party provider successfully authenticates the user, the provider will redirect the user to the URL specified in the `redirectTo` parameter. This parameter defaults to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). It does not redirect the user immediately after invoking this method.+You can modify the `SITE_URL` or add additional redirect urls in [your project](https://app.supabase.com/project/_/auth/settings).```js-const { user, session, error } = await supabase.auth.signInWithOAuth({+const { data, error } = await supabase.auth.signInWithOAuth({provider: 'github'options: {redirectTo: 'https://example.com/welcome'@@ -182,10 +181,10 @@ const { user, session, error } = await supabase.auth.signInWithOAuth({}```-### Sign in with scopes.+### Sign in with scopesIf you need additional data from an OAuth provider, you can include a space-separated list of scopes in your request to get back an OAuth provider token.-You may also need to specify the scopes in the provider's OAuth app settings, depending on the provider.+You may also need to specify the scopes in the provider's OAuth app settings, depending on the provider. The list of scopes will be documented by the third-party provider you are using and specifying scopes will enable you to use the OAuth provider token to call additional APIs supported by the third-party provider to get more information.```jsconst { data, error } = await supabase.auth.signInWithOAuth({diff --git a/apps/reference/_supabase_js/generated/auth-signinwithotp.mdx b/apps/reference/_supabase_js/generated/auth-signinwithotp.mdxindex ae90d3fafba..26531fedd98 100644--- a/apps/reference/_supabase_js/generated/auth-signinwithotp.mdx+++ b/apps/reference/_supabase_js/generated/auth-signinwithotp.mdx@@ -8,7 +8,10 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_import Tabs from '@theme/Tabs'import TabItem from '@theme/TabItem'-Passwordless method for logging in an existing user.+Log in a user using magiclink or a one-time password (OTP).+If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.+If the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.+If you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.```jsconst { data, error } = await supabase.auth.signInWithOtp({@@ -289,17 +292,17 @@ If set to false, this method will not create a new user. Defaults to true.## Notes-- This method is used for passwordless sign-ins where an otp is sent to the user's email or phone number.- Requires either an email or phone number.-- If you're using an email, you can configure whether you want the user to receive a magiclink or an otp.-- If you're using phone, you can configure whether you want the user to receive a magiclink or an otp.-- The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)+- This method is used for passwordless sign-ins where a OTP is sent to the user's email or phone number.+- If you're using an email, you can configure whether you want the user to receive a magiclink or a OTP.+- 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### Sign in with email.-The user will be sent an otp to their email. By default, a given user can only request an otp once every 60 seconds.+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.```jsconst { data, error } = await supabase.auth.signInWithOtp({@@ -307,9 +310,9 @@ const { data, error } = await supabase.auth.signInWithOtp({})```-### Sign in with sms otp.+### Sign in with SMS OTP.-The user will be sent an otp to their phone number. By default, a given user can only request an otp once every 60 seconds.+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.```jsconst { data, error } = await supabase.auth.signInWithPassword({diff --git a/apps/reference/_supabase_js/generated/auth-signinwithpassword.mdx b/apps/reference/_supabase_js/generated/auth-signinwithpassword.mdxindex 1211aefcea0..08546b8140a 100644--- a/apps/reference/_supabase_js/generated/auth-signinwithpassword.mdx+++ b/apps/reference/_supabase_js/generated/auth-signinwithpassword.mdx@@ -8,7 +8,7 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_import Tabs from '@theme/Tabs'import TabItem from '@theme/TabItem'-Log in an existing user, or login via a third-party provider.+Log in an existing user with an email and password or phone and password.```jsconst { data, error } = await supabase.auth.signInWithPassword({@@ -274,9 +274,7 @@ Verification token received when the user completes the captcha on the site.## Examples-### Sign in with Email.--Sign in with email and password. After a user has verified their email, they can use the [`signInWithPassword()`](/docs/reference/javascript/auth-signin#sign-in-using-phone) method.+### Sign in with email and password```jsconst { data, error } = await supabase.auth.signInWithPassword({@@ -285,9 +283,7 @@ const { data, error } = await supabase.auth.signInWithPassword({})```-### Sign in with Phone.--Supabase supports Phone Auth. After a user has verified their number, they can use the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-phone) method.+### Sign in with phone and password```jsconst { data, error } = await supabase.auth.signInWithPassword({@@ -295,8 +291,8 @@ const { data, error } = await supabase.auth.signInWithPassword({password: 'some-password',})-// After receiving an SMS with One Time Password.-let { data, error } = await supabase.auth.verifyOtp({+// After receiving a SMS with a OTP.+const { data, error } = await supabase.auth.verifyOtp({phone: '+13334445555',token: '123456',})diff --git a/apps/reference/_supabase_js/generated/auth-signout.mdx b/apps/reference/_supabase_js/generated/auth-signout.mdxindex f32bf014b8f..c8b9f3de082 100644--- a/apps/reference/_supabase_js/generated/auth-signout.mdx+++ b/apps/reference/_supabase_js/generated/auth-signout.mdx@@ -9,7 +9,7 @@ import Tabs from '@theme/Tabs'import TabItem from '@theme/TabItem'Inside a browser context, `signOut()` will remove the logged in user from the browser session-and log them out - removing all items from localstorage and then trigger a "SIGNED_OUT" event.+and log them out - removing all items from localstorage and then trigger a `"SIGNED_OUT"` event.For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.There is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.@@ -18,6 +18,10 @@ There is no way to revoke a user's access token jwt until it expires. It is recoconst { error } = await supabase.auth.signOut()```+## Notes++- In order to use the `signOut()` method, the user needs to be signed in first.+## Examples### Sign outdiff --git a/apps/reference/_supabase_js/generated/auth-signup.mdx b/apps/reference/_supabase_js/generated/auth-signup.mdxindex c4f9ae57b01..e2155d6bb28 100644--- a/apps/reference/_supabase_js/generated/auth-signup.mdx+++ b/apps/reference/_supabase_js/generated/auth-signup.mdx@@ -158,7 +158,9 @@ Verification token received when the user completes the captcha on the site.</h4><div class="method-list-item-description">-The user's metadata.+A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.++The `data` should be a JSON object that includes user-specific info, such as their first and last name.</div>@@ -288,7 +290,9 @@ Verification token received when the user completes the captcha on the site.</h4><div class="method-list-item-description">-The user's metadata.+A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.++The `data` should be a JSON object that includes user-specific info, such as their first and last name.</div>@@ -330,14 +334,15 @@ The redirect url embedded in the email link## Notes-- By default, the user will need to verify their email address before logging in. If you would like to change this, you can disable "Email Confirmations" by going to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)-- If "Email Confirmations" is turned on, a `user` is returned but `session` will be null-- If "Email Confirmations" is turned off, both a `user` and a `session` will be returned-- When the user confirms their email address, they will be redirected to localhost:3000 by default. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)+- 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).+- **Confirm email** determines if users need to confirm their email address after signing up.+ - If **Confirm email** is enabled, a `user` is returned but `session` is null.+ - If **Confirm email** is disabled, both a `user` and a `session` are returned.+- When the user confirms their email address, they are redirected to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url) by default. You can modify your `SITE_URL` or add additional redirect URLs in [your project](https://app.supabase.com/project/_/auth/settings).- If signUp() is called for an existing confirmed user:- - If "Enable email confirmations" is enabled on the "Authentication" -> "Settings" page, an obfuscated / fake user object will be returned.- - If "Enable email confirmations" is disabled, an error with a message "User already registered" will be returned.-- To check if a user already exists, refer to getUser().+ - If **Confirm email** is enabled in [your project](https://app.supabase.com/project/_/auth/settings), an obfuscated/fake user object is returned.+ - 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/next/auth-getuser).## Examples@@ -350,7 +355,7 @@ const { data, error } = await supabase.auth.signUp({})```-### Sign up with additional user meta data.+### Sign up with additional user metadata.```jsconst { data, error } = await supabase.auth.signUp({diff --git a/apps/reference/_supabase_js/generated/auth-updateuser.mdx b/apps/reference/_supabase_js/generated/auth-updateuser.mdxindex 6d7030cc734..1a5021bc07e 100644--- a/apps/reference/_supabase_js/generated/auth-updateuser.mdx+++ b/apps/reference/_supabase_js/generated/auth-updateuser.mdx@@ -11,7 +11,7 @@ import TabItem from '@theme/TabItem'Updates user data, if there is a logged in user.```js-const { user, error } = await supabase.auth.updateUser({+const { data, error } = await supabase.auth.updateUser({data: { hello: 'world' },})```@@ -55,7 +55,9 @@ No description provided.</h4><div class="method-list-item-description">-A custom data object for user_metadata that a user can modify. Can be any JSON.+A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.++The `data` should be a JSON object that includes user-specific info, such as their first and last name.</div>@@ -81,26 +83,6 @@ The user's email.</li>-<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- email_change_token- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--An email change token.-- </div>--</li>-<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">@@ -149,15 +131,13 @@ The user's phone.## Notes-User email: Email updates will send an email to both the user's current and new email with a confirmation link by default.-To toggle this behavior off and only send a single confirmation link to the new email, toggle "Double confirm email changes" under "Authentication" -> "Settings" off.--User metadata: It's generally better to store user data in a table inside your public schema (i.e. `public.users`).-Use the `update()` method if you have data which rarely changes or is specific only to the logged in user.+- In order to use the `updateUser()` method, the user needs to be signed in first.+- Email updates will send an email to both the user's current and new email with a confirmation link by default.+ To only send a single confirmation link to the user's new email, you can toggle the "Secure email change" setting in [your project](https://app.supabase.com/project/_/auth/settings).## Examples-### Update email for authenticated user.+### Update the email of an authenticated userSends a "Confirm Email Change" email to the new email address.@@ -167,7 +147,7 @@ const { data, error } = await supabase.auth.updateUser({})```-### Update password for authenticated user.+### Update the password of an authenticated user```jsconst { data, error } = await supabase.auth.updateUser({@@ -175,10 +155,10 @@ const { data, error } = await supabase.auth.updateUser({})```-### Update a user's metadata.+### Update the user's metadata.```js-const { user, error } = await supabase.auth.updateUser({+const { data, error } = await supabase.auth.updateUser({data: { hello: 'world' },})```diff --git a/apps/reference/_supabase_js/generated/auth-verifyotp.mdx b/apps/reference/_supabase_js/generated/auth-verifyotp.mdxindex 09d150c9393..8fde34f03eb 100644--- a/apps/reference/_supabase_js/generated/auth-verifyotp.mdx+++ b/apps/reference/_supabase_js/generated/auth-verifyotp.mdx@@ -87,72 +87,12 @@ No description provided.</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 required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--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">- captchaToken- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--Verification token received when the user completes the captcha on the site.-- </div>--</li>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- redirectTo- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--A URL to send the user to after they are confirmed.-- </div>--</li>-</ul>-</li>+## Notes-</ul>+- The `verifyOtp` method takes in different verification types. If a phone number is used, the type can either be `sms` or `phone_change`. If an email address is used, the type can be one of the following: `signup`, `magiclink`, `recovery`, `invite` or `email_change`.+- The verification type used should be determined based on the corresponding auth method called before `verifyOtp` to sign up / sign-in a user.## Examplesdiff --git a/apps/reference/_supabase_js/generated/removeallchannels.mdx b/apps/reference/_supabase_js/generated/removeallchannels.mdxindex 7083c443c91..b1651609f85 100644--- a/apps/reference/_supabase_js/generated/removeallchannels.mdx+++ b/apps/reference/_supabase_js/generated/removeallchannels.mdx@@ -20,7 +20,7 @@ supabase.removeAllChannels()## Examples-### Removes all channels+### Remove all channels```jssupabase.removeAllChannels()diff --git a/apps/reference/_supabase_js/generated/removechannel.mdx b/apps/reference/_supabase_js/generated/removechannel.mdxindex 8572858e763..17d20d2bf69 100644--- a/apps/reference/_supabase_js/generated/removechannel.mdx+++ b/apps/reference/_supabase_js/generated/removechannel.mdx@@ -831,7 +831,7 @@ No description provided.## Examples-### Remove a channel+### Removes a channel```jssupabase.removeChannel(myChannel)diff --git a/apps/reference/_supabase_js/generated/supabase-auth-admin-api.mdx b/apps/reference/_supabase_js/generated/supabase-auth-admin-api.mdxnew file mode 100644index 00000000000..f191296b7db--- /dev/null+++ b/apps/reference/_supabase_js/generated/supabase-auth-admin-api.mdx@@ -0,0 +1,14 @@+---+id: supabase-auth-admin-api+title: 'Overview'+slug: /supabase-auth-admin-api+custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_js_v2_legacy.yml+---++import Tabs from '@theme/Tabs'+import TabItem from '@theme/TabItem'++## Notes++- Any method under the `supabase.auth.admin` namespace requires a `service_role` key.+- These methods are considered admin methods and should be called on a trusted server. Never expose your `service_role` key in the browser.diff --git a/apps/reference/nav/supabase_js_sidebars.js b/apps/reference/nav/supabase_js_sidebars.jsindex 6c67d8eed46..dc9d9f70f4e 100644--- a/apps/reference/nav/supabase_js_sidebars.js+++ b/apps/reference/nav/supabase_js_sidebars.js@@ -52,6 +52,7 @@ const sidebars = {type: 'category',label: 'Auth (Server Only)',items: [+ 'generated/supabase-auth-admin-api','generated/auth-admin-listusers','generated/auth-admin-createuser','generated/auth-admin-deleteuser',diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.jsonindex d6ed0102d2b..987fdebd8f1 100644--- a/spec/enrichments/tsdoc_v2/combined.json+++ b/spec/enrichments/tsdoc_v2/combined.json@@ -51599,14 +51599,14 @@"originalName": "","children": [{- "id": 455,+ "id": 499,"name": "AuthApiError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 456,+ "id": 500,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -51620,14 +51620,14 @@],"signatures": [{- "id": 457,+ "id": 501,"name": "new AuthApiError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 458,+ "id": 502,"name": "message","kind": 32768,"kindString": "Parameter",@@ -51638,7 +51638,7 @@}},{- "id": 459,+ "id": 503,"name": "status","kind": 32768,"kindString": "Parameter",@@ -51651,24 +51651,24 @@],"type": {"type": "reference",- "id": 455,+ "id": 499,"name": "AuthApiError"},"overwrites": {"type": "reference",- "id": 452,+ "id": 496,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 451,+ "id": 495,"name": "AuthError.constructor"}},{- "id": 460,+ "id": 504,"name": "status","kind": 1024,"kindString": "Property",@@ -51686,7 +51686,7 @@}},{- "id": 461,+ "id": 505,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -51700,7 +51700,7 @@],"signatures": [{- "id": 462,+ "id": 506,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -51708,14 +51708,14 @@"type": {"type": "reflection","declaration": {- "id": 463,+ "id": 507,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 465,+ "id": 509,"name": "message","kind": 1024,"kindString": "Property",@@ -51734,7 +51734,7 @@"defaultValue": "..."},{- "id": 464,+ "id": 508,"name": "name","kind": 1024,"kindString": "Property",@@ -51753,7 +51753,7 @@"defaultValue": "..."},{- "id": 466,+ "id": 510,"name": "status","kind": 1024,"kindString": "Property",@@ -51777,9 +51777,9 @@"title": "Properties","kind": 1024,"children": [- 465,- 464,- 466+ 509,+ 508,+ 510]}]@@ -51794,21 +51794,21 @@"title": "Constructors","kind": 512,"children": [- 456+ 500]},{"title": "Properties","kind": 1024,"children": [- 460+ 504]},{"title": "Methods","kind": 2048,"children": [- 461+ 505]}],@@ -51822,20 +51822,20 @@"extendedTypes": [{"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}]},{- "id": 450,+ "id": 494,"name": "AuthError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 451,+ "id": 495,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -51849,14 +51849,14 @@],"signatures": [{- "id": 452,+ "id": 496,"name": "new AuthError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 453,+ "id": 497,"name": "message","kind": 32768,"kindString": "Parameter",@@ -51869,7 +51869,7 @@],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"},"overwrites": {@@ -51889,7 +51889,7 @@"title": "Constructors","kind": 512,"children": [- 451+ 495]}],@@ -51911,30 +51911,30 @@"extendedBy": [{"type": "reference",- "id": 455,+ "id": 499,"name": "AuthApiError"},{"type": "reference",- "id": 468,+ "id": 512,"name": "AuthUnknownError"},{"type": "reference",- "id": 475,+ "id": 519,"name": "CustomAuthError"}]},{- "id": 502,- "name": "AuthInvalidCredentialsError",+ "id": 559,+ "name": "AuthImplicitGrantRedirectError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 503,+ "id": 560,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -51942,20 +51942,20 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 67,+ "line": 74,"character": 2}],"signatures": [{- "id": 504,- "name": "new AuthInvalidCredentialsError",+ "id": 561,+ "name": "new AuthImplicitGrantRedirectError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 505,+ "id": 562,"name": "message","kind": 32768,"kindString": "Parameter",@@ -51964,28 +51964,185 @@"type": "intrinsic","name": "string"}+ },+ {+ "id": 563,+ "name": "details",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 564,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 566,+ "name": "code",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 74,+ "character": 57+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 565,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 74,+ "character": 42+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 566,+ 565+ ]+ }+ ]+ }+ }+ ]+ },+ "defaultValue": "null"}],"type": {"type": "reference",- "id": 502,- "name": "AuthInvalidCredentialsError"+ "id": 559,+ "name": "AuthImplicitGrantRedirectError"},"overwrites": {"type": "reference",- "id": 477,+ "id": 521,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 476,+ "id": 520,"name": "CustomAuthError.constructor"}},{- "id": 506,+ "id": 567,+ "name": "details",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 568,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 570,+ "name": "code",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 28+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 569,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 13+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 570,+ 569+ ]+ }+ ]+ }+ }+ ]+ },+ "defaultValue": "null"+ },+ {+ "id": 581,"name": "name","kind": 1024,"kindString": "Property",@@ -52003,12 +52160,12 @@},"inheritedFrom": {"type": "reference",- "id": 481,+ "id": 525,"name": "CustomAuthError.name"}},{- "id": 507,+ "id": 582,"name": "status","kind": 1024,"kindString": "Property",@@ -52026,12 +52183,12 @@},"inheritedFrom": {"type": "reference",- "id": 482,+ "id": 526,"name": "CustomAuthError.status"}},{- "id": 508,+ "id": 571,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -52039,13 +52196,13 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 51,+ "line": 79,"character": 2}],"signatures": [{- "id": 509,+ "id": 572,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -52053,14 +52210,96 @@"type": {"type": "reflection","declaration": {- "id": 510,+ "id": 573,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 512,+ "id": 577,+ "name": "details",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 84,+ "character": 6+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 578,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 580,+ "name": "code",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 28+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 579,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 13+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 580,+ 579+ ]+ }+ ]+ }+ }+ ]+ },+ "defaultValue": "..."+ },+ {+ "id": 575,"name": "message","kind": 1024,"kindString": "Property",@@ -52068,7 +52307,7 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 54,+ "line": 82,"character": 6}],@@ -52079,7 +52318,7 @@"defaultValue": "..."},{- "id": 511,+ "id": 574,"name": "name","kind": 1024,"kindString": "Property",@@ -52087,7 +52326,7 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 53,+ "line": 81,"character": 6}],@@ -52098,7 +52337,7 @@"defaultValue": "..."},{- "id": 513,+ "id": 576,"name": "status","kind": 1024,"kindString": "Property",@@ -52106,7 +52345,7 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 55,+ "line": 83,"character": 6}],@@ -52122,24 +52361,25 @@"title": "Properties","kind": 1024,"children": [- 512,- 511,- 513+ 577,+ 575,+ 574,+ 576]}]}},- "inheritedFrom": {+ "overwrites": {"type": "reference",- "id": 484,+ "id": 528,"name": "CustomAuthError.toJSON"}}],- "inheritedFrom": {+ "overwrites": {"type": "reference",- "id": 483,+ "id": 527,"name": "CustomAuthError.toJSON"}}@@ -52149,49 +52389,50 @@"title": "Constructors","kind": 512,"children": [- 503+ 560]},{"title": "Properties","kind": 1024,"children": [- 506,- 507+ 567,+ 581,+ 582]},{"title": "Methods","kind": 2048,"children": [- 508+ 571]}],"sources": [{"fileName": "src/lib/errors.ts",- "line": 66,+ "line": 72,"character": 13}],"extendedTypes": [{"type": "reference",- "id": 475,+ "id": 519,"name": "CustomAuthError"}]},{- "id": 515,- "name": "AuthRetryableFetchError",+ "id": 546,+ "name": "AuthInvalidCredentialsError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 516,+ "id": 547,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -52199,20 +52440,20 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 73,+ "line": 67,"character": 2}],"signatures": [{- "id": 517,- "name": "new AuthRetryableFetchError",+ "id": 548,+ "name": "new AuthInvalidCredentialsError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 518,+ "id": 549,"name": "message","kind": 32768,"kindString": "Parameter",@@ -52221,39 +52462,28 @@"type": "intrinsic","name": "string"}- },- {- "id": 519,- "name": "status",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "number"- }}],"type": {"type": "reference",- "id": 515,- "name": "AuthRetryableFetchError"+ "id": 546,+ "name": "AuthInvalidCredentialsError"},"overwrites": {"type": "reference",- "id": 477,+ "id": 521,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 476,+ "id": 520,"name": "CustomAuthError.constructor"}},{- "id": 520,+ "id": 550,"name": "name","kind": 1024,"kindString": "Property",@@ -52271,12 +52501,12 @@},"inheritedFrom": {"type": "reference",- "id": 481,+ "id": 525,"name": "CustomAuthError.name"}},{- "id": 521,+ "id": 551,"name": "status","kind": 1024,"kindString": "Property",@@ -52294,12 +52524,12 @@},"inheritedFrom": {"type": "reference",- "id": 482,+ "id": 526,"name": "CustomAuthError.status"}},{- "id": 522,+ "id": 552,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -52313,7 +52543,7 @@],"signatures": [{- "id": 523,+ "id": 553,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -52321,14 +52551,14 @@"type": {"type": "reflection","declaration": {- "id": 524,+ "id": 554,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 526,+ "id": 556,"name": "message","kind": 1024,"kindString": "Property",@@ -52347,7 +52577,7 @@"defaultValue": "..."},{- "id": 525,+ "id": 555,"name": "name","kind": 1024,"kindString": "Property",@@ -52366,7 +52596,7 @@"defaultValue": "..."},{- "id": 527,+ "id": 557,"name": "status","kind": 1024,"kindString": "Property",@@ -52390,9 +52620,9 @@"title": "Properties","kind": 1024,"children": [- 526,- 525,- 527+ 556,+ 555,+ 557]}]@@ -52400,14 +52630,14 @@},"inheritedFrom": {"type": "reference",- "id": 484,+ "id": 528,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 483,+ "id": 527,"name": "CustomAuthError.toJSON"}}@@ -52417,49 +52647,49 @@"title": "Constructors","kind": 512,"children": [- 516+ 547]},{"title": "Properties","kind": 1024,"children": [- 520,- 521+ 550,+ 551]},{"title": "Methods","kind": 2048,"children": [- 522+ 552]}],"sources": [{"fileName": "src/lib/errors.ts",- "line": 72,+ "line": 66,"character": 13}],"extendedTypes": [{"type": "reference",- "id": 475,+ "id": 519,"name": "CustomAuthError"}]},{- "id": 490,- "name": "AuthSessionMissingError",+ "id": 584,+ "name": "AuthRetryableFetchError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 491,+ "id": 585,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -52467,37 +52697,61 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 61,+ "line": 90,"character": 2}],"signatures": [{- "id": 492,- "name": "new AuthSessionMissingError",+ "id": 586,+ "name": "new AuthRetryableFetchError","kind": 16384,"kindString": "Constructor signature","flags": {},+ "parameters": [+ {+ "id": 587,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 588,+ "name": "status",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ }+ ],"type": {"type": "reference",- "id": 490,- "name": "AuthSessionMissingError"+ "id": 584,+ "name": "AuthRetryableFetchError"},"overwrites": {"type": "reference",- "id": 477,+ "id": 521,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 476,+ "id": 520,"name": "CustomAuthError.constructor"}},{- "id": 493,+ "id": 589,"name": "name","kind": 1024,"kindString": "Property",@@ -52515,12 +52769,12 @@},"inheritedFrom": {"type": "reference",- "id": 481,+ "id": 525,"name": "CustomAuthError.name"}},{- "id": 494,+ "id": 590,"name": "status","kind": 1024,"kindString": "Property",@@ -52538,12 +52792,12 @@},"inheritedFrom": {"type": "reference",- "id": 482,+ "id": 526,"name": "CustomAuthError.status"}},{- "id": 495,+ "id": 591,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -52557,7 +52811,7 @@],"signatures": [{- "id": 496,+ "id": 592,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -52565,14 +52819,14 @@"type": {"type": "reflection","declaration": {- "id": 497,+ "id": 593,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 499,+ "id": 595,"name": "message","kind": 1024,"kindString": "Property",@@ -52591,7 +52845,7 @@"defaultValue": "..."},{- "id": 498,+ "id": 594,"name": "name","kind": 1024,"kindString": "Property",@@ -52610,7 +52864,7 @@"defaultValue": "..."},{- "id": 500,+ "id": 596,"name": "status","kind": 1024,"kindString": "Property",@@ -52634,9 +52888,9 @@"title": "Properties","kind": 1024,"children": [- 499,- 498,- 500+ 595,+ 594,+ 596]}]@@ -52644,14 +52898,14 @@},"inheritedFrom": {"type": "reference",- "id": 484,+ "id": 528,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 483,+ "id": 527,"name": "CustomAuthError.toJSON"}}@@ -52661,168 +52915,49 @@"title": "Constructors","kind": 512,"children": [- 491+ 585]},{"title": "Properties","kind": 1024,"children": [- 493,- 494+ 589,+ 590]},{"title": "Methods","kind": 2048,"children": [- 495+ 591]}],"sources": [{"fileName": "src/lib/errors.ts",- "line": 60,+ "line": 89,"character": 13}],"extendedTypes": [{"type": "reference",- "id": 475,+ "id": 519,"name": "CustomAuthError"}]},{- "id": 468,- "name": "AuthUnknownError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 469,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 35,- "character": 2- }- ],- "signatures": [- {- "id": 470,- "name": "new AuthUnknownError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 471,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 472,- "name": "originalError",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "unknown"- }- }- ],- "type": {- "type": "reference",- "id": 468,- "name": "AuthUnknownError"- },- "overwrites": {- "type": "reference",- "id": 452,- "name": "AuthError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 451,- "name": "AuthError.constructor"- }- },- {- "id": 473,- "name": "originalError",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 33,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "unknown"- }- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 469- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 473- ]- }- ],- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 32,- "character": 13- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 450,- "name": "AuthError"- }- ]- },- {- "id": 475,- "name": "CustomAuthError",+ "id": 534,+ "name": "AuthSessionMissingError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 476,+ "id": 535,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -52830,72 +52965,37 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 45,+ "line": 61,"character": 2}],"signatures": [{- "id": 477,- "name": "new CustomAuthError",+ "id": 536,+ "name": "new AuthSessionMissingError","kind": 16384,"kindString": "Constructor signature","flags": {},- "parameters": [- {- "id": 478,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 479,- "name": "name",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 480,- "name": "status",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "number"- }- }- ],"type": {"type": "reference",- "id": 475,- "name": "CustomAuthError"+ "id": 534,+ "name": "AuthSessionMissingError"},"overwrites": {"type": "reference",- "id": 452,- "name": "AuthError.constructor"+ "id": 521,+ "name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 451,- "name": "AuthError.constructor"+ "id": 520,+ "name": "CustomAuthError.constructor"}},{- "id": 481,+ "id": 537,"name": "name","kind": 1024,"kindString": "Property",@@ -52911,13 +53011,14 @@"type": "intrinsic","name": "string"},- "overwrites": {+ "inheritedFrom": {"type": "reference",- "name": "AuthError.name"+ "id": 525,+ "name": "CustomAuthError.name"}},{- "id": 482,+ "id": 538,"name": "status","kind": 1024,"kindString": "Property",@@ -52932,10 +53033,15 @@"type": {"type": "intrinsic","name": "number"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 526,+ "name": "CustomAuthError.status"}},{- "id": 483,+ "id": 539,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -52949,7 +53055,7 @@],"signatures": [{- "id": 484,+ "id": 540,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -52957,14 +53063,14 @@"type": {"type": "reflection","declaration": {- "id": 485,+ "id": 541,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 487,+ "id": 543,"name": "message","kind": 1024,"kindString": "Property",@@ -52983,7 +53089,7 @@"defaultValue": "..."},{- "id": 486,+ "id": 542,"name": "name","kind": 1024,"kindString": "Property",@@ -53002,7 +53108,7 @@"defaultValue": "..."},{- "id": 488,+ "id": 544,"name": "status","kind": 1024,"kindString": "Property",@@ -53026,16 +53132,26 @@"title": "Properties","kind": 1024,"children": [- 487,- 486,- 488+ 543,+ 542,+ 544]}]}+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 528,+ "name": "CustomAuthError.toJSON"}}- ]+ ],+ "inheritedFrom": {+ "type": "reference",+ "id": 527,+ "name": "CustomAuthError.toJSON"+ }}],"groups": [@@ -53043,456 +53159,816 @@"title": "Constructors","kind": 512,"children": [- 476+ 535]},{"title": "Properties","kind": 1024,"children": [- 481,- 482+ 537,+ 538]},{"title": "Methods","kind": 2048,"children": [- 483+ 539]}],"sources": [{"fileName": "src/lib/errors.ts",- "line": 42,+ "line": 60,"character": 13}],"extendedTypes": [{"type": "reference",- "id": 450,- "name": "AuthError"- }- ],- "extendedBy": [- {- "type": "reference",- "id": 490,- "name": "AuthSessionMissingError"- },- {- "type": "reference",- "id": 502,- "name": "AuthInvalidCredentialsError"- },- {- "type": "reference",- "id": 515,- "name": "AuthRetryableFetchError"+ "id": 519,+ "name": "CustomAuthError"}]},{- "id": 1,- "name": "GoTrueAdminApi",+ "id": 512,+ "name": "AuthUnknownError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 2,+ "id": 513,"name": "constructor","kind": 512,"kindString": "Constructor","flags": {},"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 13,+ "fileName": "src/lib/errors.ts",+ "line": 35,"character": 2}],"signatures": [{- "id": 3,- "name": "new GoTrueAdminApi",+ "id": 514,+ "name": "new AuthUnknownError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 4,- "name": "__namedParameters",+ "id": 515,+ "name": "message","kind": 32768,"kindString": "Parameter","flags": {},"type": {- "type": "reflection",- "declaration": {- "id": 5,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 11,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 22,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 12,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 13,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 14,- "name": "input",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "reference",- "qualifiedName": "RequestInfo",- "package": "typescript",- "name": "RequestInfo"- },- {- "type": "reference",- "qualifiedName": "URL",- "package": "typescript",- "name": "URL"- }- ]- }- },- {- "id": 15,- "name": "init",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "reference",- "qualifiedName": "RequestInit",- "package": "typescript",- "name": "RequestInit"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Response",- "package": "typescript",- "name": "Response"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- }- }- },- {- "id": 7,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 19,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 8,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 9,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 10,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 6,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 18,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 11,- 7,- 6- ]- }- ]- }+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 516,+ "name": "originalError",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "unknown"}}],"type": {"type": "reference",- "id": 1,- "name": "default"+ "id": 512,+ "name": "AuthUnknownError"+ },+ "overwrites": {+ "type": "reference",+ "id": 496,+ "name": "AuthError.constructor"}}- ]+ ],+ "overwrites": {+ "type": "reference",+ "id": 495,+ "name": "AuthError.constructor"+ }},{- "id": 56,- "name": "createUser",- "kind": 2048,- "kindString": "Method",+ "id": 517,+ "name": "originalError",+ "kind": 1024,+ "kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 128,- "character": 8+ "fileName": "src/lib/errors.ts",+ "line": 33,+ "character": 2}],- "signatures": [- {- "id": 57,- "name": "createUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."- },- "parameters": [- {- "id": 58,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 355,- "name": "AdminUserAttributes",- "dereferenced": {- "id": 355,- "name": "AdminUserAttributes",- "kind": 256,- "kindString": "Interface",+ "type": {+ "type": "intrinsic",+ "name": "unknown"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 513+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 517+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 32,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ]+ },+ {+ "id": 519,+ "name": "CustomAuthError",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 520,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 45,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 521,+ "name": "new CustomAuthError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {},+ "parameters": [+ {+ "id": 522,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 523,+ "name": "name",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 524,+ "name": "status",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 519,+ "name": "CustomAuthError"+ },+ "overwrites": {+ "type": "reference",+ "id": 496,+ "name": "AuthError.constructor"+ }+ }+ ],+ "overwrites": {+ "type": "reference",+ "id": 495,+ "name": "AuthError.constructor"+ }+ },+ {+ "id": 525,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 43,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "overwrites": {+ "type": "reference",+ "name": "AuthError.name"+ }+ },+ {+ "id": 526,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 44,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ },+ {+ "id": 527,+ "name": "toJSON",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 51,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 528,+ "name": "toJSON",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 529,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 531,+ "name": "message",+ "kind": 1024,+ "kindString": "Property","flags": {},- "children": [- {- "id": 357,- "name": "app_metadata",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for app_metadata that.",- "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 187,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },+ "sources": [{- "id": 364,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 162,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- },- "inheritedFrom": {- "type": "reference",- "id": 354,- "name": "UserAttributes.data"- }- },+ "fileName": "src/lib/errors.ts",+ "line": 54,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 530,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [{- "id": 360,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 142,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 350,- "name": "UserAttributes.email"- }- },+ "fileName": "src/lib/errors.ts",+ "line": 53,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 532,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 55,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "defaultValue": "..."+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 531,+ 530,+ 532+ ]+ }+ ]+ }+ }+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 520+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 525,+ 526+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 527+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 42,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 534,+ "name": "AuthSessionMissingError"+ },+ {+ "type": "reference",+ "id": 546,+ "name": "AuthInvalidCredentialsError"+ },+ {+ "type": "reference",+ "id": 559,+ "name": "AuthImplicitGrantRedirectError"+ },+ {+ "type": "reference",+ "id": 584,+ "name": "AuthRetryableFetchError"+ }+ ]+ },+ {+ "id": 1,+ "name": "GoTrueAdminApi",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 2,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 19,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 3,+ "name": "new GoTrueAdminApi",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {},+ "parameters": [+ {+ "id": 4,+ "name": "__namedParameters",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 5,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [{- "id": 363,- "name": "email_change_token",+ "id": 11,+ "name": "fetch","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "An email change token."- },"sources": [{- "fileName": "src/lib/types.ts",- "line": 157,- "character": 2+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 28,+ "character": 4}],"type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 353,- "name": "UserAttributes.email_change_token"+ "type": "reflection",+ "declaration": {+ "id": 12,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "signatures": [+ {+ "id": 13,+ "name": "__type",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "parameters": [+ {+ "id": 14,+ "name": "input",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "qualifiedName": "RequestInfo",+ "package": "typescript",+ "name": "RequestInfo"+ },+ {+ "type": "reference",+ "qualifiedName": "URL",+ "package": "typescript",+ "name": "URL"+ }+ ]+ }+ },+ {+ "id": 15,+ "name": "init",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isOptional": true+ },+ "type": {+ "type": "reference",+ "qualifiedName": "RequestInit",+ "package": "typescript",+ "name": "RequestInit"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "qualifiedName": "Response",+ "package": "typescript",+ "name": "Response"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ }}},{- "id": 358,- "name": "email_confirm",+ "id": 7,+ "name": "headers","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "Sets if a user has confirmed their email address.",- "text": "Only a service role can modify.\n"- },"sources": [{- "fileName": "src/lib/types.ts",- "line": 194,- "character": 2+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 25,+ "character": 4}],"type": {- "type": "intrinsic",- "name": "boolean"- }- },+ "type": "reflection",+ "declaration": {+ "id": 8,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "indexSignature": {+ "id": 9,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 10,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ }+ }+ },{- "id": 362,+ "id": 6,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 24,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 11,+ 7,+ 6+ ]+ }+ ]+ }+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 1,+ "name": "default"+ }+ }+ ]+ },+ {+ "id": 41,+ "name": "createUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 126,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 42,+ "name": "createUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."+ },+ "parameters": [+ {+ "id": 43,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "id": 343,+ "name": "AdminUserAttributes",+ "dereferenced": {+ "id": 343,+ "name": "AdminUserAttributes",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 345,+ "name": "app_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 205,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 351,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 180,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 342,+ "name": "UserAttributes.data"+ }+ },+ {+ "id": 348,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's email."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 162,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 339,+ "name": "UserAttributes.email"+ }+ },+ {+ "id": 346,+ "name": "email_confirm",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Confirms the user's email address if set to true.",+ "text": "Only a service role can modify.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 212,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 350,"name": "password","kind": 1024,"kindString": "Property",@@ -53505,7 +53981,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 152,+ "line": 172,"character": 2}],@@ -53515,12 +53991,12 @@},"inheritedFrom": {"type": "reference",- "id": 352,+ "id": 341,"name": "UserAttributes.password"}},{- "id": 361,+ "id": 349,"name": "phone","kind": 1024,"kindString": "Property",@@ -53533,7 +54009,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 147,+ "line": 167,"character": 2}],@@ -53543,12 +54019,12 @@},"inheritedFrom": {"type": "reference",- "id": 351,+ "id": 340,"name": "UserAttributes.phone"}},{- "id": 359,+ "id": 347,"name": "phone_confirm","kind": 1024,"kindString": "Property",@@ -53556,13 +54032,13 @@"isOptional": true},"comment": {- "shortText": "Sets if a user has confirmed their phone number.",+ "shortText": "Confirms the user's phone number if set to true.","text": "Only a service role can modify.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 219,"character": 2}],@@ -53572,7 +54048,7 @@}},{- "id": 356,+ "id": 344,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -53580,13 +54056,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for user_metadata.",- "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 177,+ "line": 195,"character": 2}],@@ -53601,29 +54077,28 @@"title": "Properties","kind": 1024,"children": [- 357,- 364,- 360,- 363,- 358,- 362,- 361,- 359,- 356+ 345,+ 351,+ 348,+ 346,+ 350,+ 349,+ 347,+ 344]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 165,+ "line": 183,"character": 17}],"extendedTypes": [{"type": "reference",- "id": 349,+ "id": 338,"name": "UserAttributes"}]@@ -53636,7 +54111,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -53648,7 +54123,7 @@]},{- "id": 78,+ "id": 63,"name": "deleteUser","kind": 2048,"kindString": "Method",@@ -53656,13 +54131,13 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 218,+ "line": 216,"character": 8}],"signatures": [{- "id": 79,+ "id": 64,"name": "deleteUser","kind": 4096,"kindString": "Call signature",@@ -53672,13 +54147,13 @@},"parameters": [{- "id": 80,- "name": "uid",+ "id": 65,+ "name": "id","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "The user uid you want to remove.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ "shortText": "The user id you want to remove.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"},"type": {"type": "intrinsic",@@ -53691,7 +54166,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -53711,7 +54186,7 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 85,+ "line": 92,"character": 8}],@@ -53723,32 +54198,29 @@"kindString": "Call signature","flags": {},"comment": {- "shortText": "Generates links to be sent via email or other."+ "shortText": "Generates email links and OTPs to be sent via a custom email provider."},"parameters": [{"id": 40,- "name": "type",+ "name": "params","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 438,- "name": "GenerateLinkType",+ "id": 458,+ "name": "GenerateLinkParams","dereferenced": {- "id": 438,- "name": "GenerateLinkType",+ "id": 458,+ "name": "GenerateLinkParams","kind": 4194304,"kindString": "Type alias","flags": {},- "comment": {- "shortText": "The link type"- },"sources": [{"fileName": "src/lib/types.ts",- "line": 327,+ "line": 407,"character": 12}],@@ -53756,42 +54228,134 @@"type": "union","types": [{- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"+ "type": "reference",+ "id": 433,+ "name": "GenerateSignupLinkParams"},{- "type": "literal",- "value": "recovery"+ "type": "reference",+ "id": 439,+ "name": "GenerateInviteOrMagiclinkParams"},{- "type": "literal",- "value": "email_change_current"+ "type": "reference",+ "id": 444,+ "name": "GenerateRecoveryLinkParams"},{- "type": "literal",- "value": "email_change_new"+ "type": "reference",+ "id": 449,+ "name": "GenerateEmailChangeLinkParams"}]}}}- },+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 459,+ "name": "GenerateLinkResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 56,+ "name": "getUserById",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 171,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 57,+ "name": "getUserById",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Get user by id."+ },+ "parameters": [{- "id": 41,+ "id": 58,+ "name": "uid",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "comment": {+ "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 31,+ "name": "inviteUserByEmail",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 62,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 32,+ "name": "inviteUserByEmail",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Sends an invite link to an email address."+ },+ "parameters": [+ {+ "id": 33,"name": "email","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "The user's email."+ "shortText": "The email address of the user."},"type": {"type": "intrinsic",@@ -53799,7 +54363,7 @@}},{- "id": 42,+ "id": 34,"name": "options","kind": 32768,"kindString": "Parameter",@@ -53807,14 +54371,14 @@"type": {"type": "reflection","declaration": {- "id": 43,+ "id": 35,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 45,+ "id": 37,"name": "data","kind": 1024,"kindString": "Property",@@ -53822,12 +54386,12 @@"isOptional": true},"comment": {- "shortText": "Optional user metadata. For signup only."+ "shortText": "Optional user metadata\n"},"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 90,+ "line": 66,"character": 6}],@@ -53837,30 +54401,7 @@}},{- "id": 44,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "User password. For signup only."- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 89,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 46,+ "id": 36,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -53868,12 +54409,12 @@"isOptional": true},"comment": {- "shortText": "The redirect url which should be appended to the generated link\n"+ "shortText": "A URL or mobile deeplink to send the user to after they are confirmed."},"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 91,+ "line": 65,"character": 6}],@@ -53888,9 +54429,8 @@"title": "Properties","kind": 1024,"children": [- 45,- 44,- 46+ 37,+ 36]}]@@ -53899,6 +54439,46 @@"defaultValue": "{}"}],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 44,+ "name": "listUsers",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 147,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 45,+ "name": "listUsers",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Get a list of users.",+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ },"type": {"type": "reference","typeArguments": [@@ -53908,14 +54488,14 @@{"type": "reflection","declaration": {- "id": 47,+ "id": 46,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 48,+ "id": 47,"name": "data","kind": 1024,"kindString": "Property",@@ -53923,18 +54503,56 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 95,- "character": 8+ "line": 148,+ "character": 6}],"type": {- "type": "reference",- "id": 321,- "name": "User"+ "type": "reflection",+ "declaration": {+ "id": 48,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 49,+ "name": "users",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 148,+ "character": 14+ }+ ],+ "type": {+ "type": "array",+ "elementType": {+ "type": "reference",+ "id": 310,+ "name": "User"+ }+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 49+ ]+ }+ ]+ }}},{- "id": 49,+ "id": 50,"name": "error","kind": 1024,"kindString": "Property",@@ -53942,8 +54560,8 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 96,- "character": 8+ "line": 148,+ "character": 31}],"type": {@@ -53957,8 +54575,8 @@"title": "Properties","kind": 1024,"children": [- 48,- 49+ 47,+ 50]}]@@ -53967,87 +54585,62 @@{"type": "reflection","declaration": {- "id": 50,+ "id": 51,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [- {- "id": 51,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 99,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 302,- "name": "Session"- }- },{"id": 52,- "name": "error",+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 100,- "character": 8+ "line": 148,+ "character": 49}],"type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 51,- 52- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 53,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 54,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 102,- "character": 8+ "type": "reflection",+ "declaration": {+ "id": 53,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 54,+ "name": "users",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 148,+ "character": 57+ }+ ],+ "type": {+ "type": "tuple"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 54+ ]+ }+ ]}- ],- "type": {- "type": "literal",- "value": null}},{@@ -54059,13 +54652,13 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 102,- "character": 20+ "line": 148,+ "character": 70}],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -54075,7 +54668,7 @@"title": "Properties","kind": 1024,"children": [- 54,+ 52,55]}@@ -54093,37 +54686,37 @@]},{- "id": 71,- "name": "getUserById",+ "id": 26,+ "name": "signOut","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 173,+ "line": 39,"character": 8}],"signatures": [{- "id": 72,- "name": "getUserById",+ "id": 27,+ "name": "signOut","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Get user by id."+ "shortText": "Removes a logged-in session."},"parameters": [{- "id": 73,- "name": "uid",+ "id": 28,+ "name": "jwt","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ "shortText": "A valid, logged-in JWT.\n"},"type": {"type": "intrinsic",@@ -54135,9 +54728,53 @@"type": "reference","typeArguments": [{- "type": "reference",- "id": 291,- "name": "UserResponse"+ "type": "reflection",+ "declaration": {+ "id": 29,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 30,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 39,+ "character": 40+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 30+ ]+ }+ ]+ }}],"qualifiedName": "Promise",@@ -54148,60 +54785,86 @@]},{- "id": 31,- "name": "inviteUserByEmail",+ "id": 59,+ "name": "updateUserById","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 55,+ "line": 193,"character": 8}],"signatures": [{- "id": 32,- "name": "inviteUserByEmail",+ "id": 60,+ "name": "updateUserById","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Sends an invite link to an email address."+ "shortText": "Updates the user data."},"parameters": [{- "id": 33,- "name": "email",+ "id": 61,+ "name": "uid","kind": 32768,"kindString": "Parameter","flags": {},- "comment": {- "shortText": "The email address of the user."- },"type": {"type": "intrinsic","name": "string"}},{- "id": 34,- "name": "options",+ "id": 62,+ "name": "attributes","kind": 32768,"kindString": "Parameter","flags": {},+ "comment": {+ "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ },"type": {- "type": "reflection",- "declaration": {- "id": 35,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "type": "reference",+ "id": 343,+ "name": "AdminUserAttributes",+ "dereferenced": {+ "id": 343,+ "name": "AdminUserAttributes",+ "kind": 256,+ "kindString": "Interface","flags": {},"children": [{- "id": 37,+ "id": 345,+ "name": "app_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 205,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 351,"name": "data","kind": 1024,"kindString": "Property",@@ -54209,280 +54872,523 @@"isOptional": true},"comment": {- "shortText": "Optional user metadata\n"+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"},"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 59,- "character": 6+ "fileName": "src/lib/types.ts",+ "line": 180,+ "character": 2}],"type": {"type": "intrinsic","name": "object"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 342,+ "name": "UserAttributes.data"}},{- "id": 36,- "name": "redirectTo",+ "id": 348,+ "name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed."+ "shortText": "The user's email."},"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 58,- "character": 6+ "fileName": "src/lib/types.ts",+ "line": 162,+ "character": 2}],"type": {"type": "intrinsic","name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 339,+ "name": "UserAttributes.email"}- }- ],- "groups": [+ },{- "title": "Properties",+ "id": 346,+ "name": "email_confirm","kind": 1024,- "children": [- 37,- 36- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 59,- "name": "listUsers",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 149,- "character": 8- }- ],- "signatures": [- {- "id": 60,- "name": "listUsers",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Get a list of users.",- "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"- },+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Confirms the user's email address if set to true.",+ "text": "Only a service role can modify.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 212,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 350,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 172,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 341,+ "name": "UserAttributes.password"+ }+ },+ {+ "id": 349,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's phone."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 167,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 340,+ "name": "UserAttributes.phone"+ }+ },+ {+ "id": 347,+ "name": "phone_confirm",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Confirms the user's phone number if set to true.",+ "text": "Only a service role can modify.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 219,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 344,+ "name": "user_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 195,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 345,+ 351,+ 348,+ 346,+ 350,+ 349,+ 347,+ 344+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 183,+ "character": 17+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 338,+ "name": "UserAttributes"+ }+ ]+ }+ }+ }+ ],"type": {"type": "reference","typeArguments": [{- "type": "union",- "types": [- {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 2+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 41,+ 63,+ 38,+ 56,+ 31,+ 44,+ 26,+ 59+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 12,+ "character": 21+ }+ ]+ },+ {+ "id": 66,+ "name": "GoTrueClient",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 67,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 104,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 68,+ "name": "new GoTrueClient",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {},+ "comment": {+ "shortText": "Create a new client for use in the browser."+ },+ "parameters": [+ {+ "id": 69,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "id": 241,+ "name": "GoTrueClientOptions",+ "dereferenced": {+ "id": 241,+ "name": "GoTrueClientOptions",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 31,+ "character": 12+ }+ ],+ "type": {"type": "reflection","declaration": {- "id": 61,+ "id": 242,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 62,- "name": "data",+ "id": 250,+ "name": "autoRefreshToken","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 6+ "fileName": "src/lib/types.ts",+ "line": 41,+ "character": 2}],"type": {- "type": "reflection",- "declaration": {- "id": 63,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 64,- "name": "users",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 14- }- ],- "type": {- "type": "array",- "elementType": {- "type": "reference",- "id": 321,- "name": "User"- }- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 64- ]- }- ]- }+ "type": "intrinsic",+ "name": "boolean"}},{- "id": 65,- "name": "error",+ "id": 249,+ "name": "detectSessionInUrl","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 31+ "fileName": "src/lib/types.ts",+ "line": 39,+ "character": 2}],"type": {- "type": "literal",- "value": null+ "type": "intrinsic",+ "name": "boolean"}- }- ],- "groups": [+ },{- "title": "Properties",+ "id": 253,+ "name": "fetch","kind": 1024,- "children": [- 62,- 65- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 66,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 47,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "name": "Fetch"+ }+ },{- "id": 67,- "name": "data",+ "id": 244,+ "name": "headers","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 49+ "fileName": "src/lib/types.ts",+ "line": 35,+ "character": 2}],"type": {"type": "reflection","declaration": {- "id": 68,+ "id": 245,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},- "children": [+ "sources": [{- "id": 69,- "name": "users",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 57- }- ],- "type": {- "type": "tuple"- }+ "fileName": "src/lib/types.ts",+ "line": 35,+ "character": 12}],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 69- ]+ "indexSignature": {+ "id": 246,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 247,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}- ]+ }}}},{- "id": 70,- "name": "error",+ "id": 251,+ "name": "persistSession","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 70+ "fileName": "src/lib/types.ts",+ "line": 43,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 252,+ "name": "storage",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 45,+ "character": 2}],"type": {"type": "reference",- "id": 450,- "name": "AuthError"+ "id": 480,+ "name": "SupportedStorage"+ }+ },+ {+ "id": 248,+ "name": "storageKey",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 37,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 243,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 33,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}}],@@ -54491,446 +55397,418 @@"title": "Properties","kind": 1024,"children": [- 67,- 70+ 250,+ 249,+ 253,+ 244,+ 251,+ 252,+ 248,+ 243]}+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 31,+ "character": 34+ }]}}- ]+ }}- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ }+ ],+ "type": {+ "type": "reference",+ "id": 66,+ "name": "default"}}]},{- "id": 26,- "name": "signOut",- "kind": 2048,- "kindString": "Method",+ "id": 70,+ "name": "admin",+ "kind": 1024,+ "kindString": "Property","flags": {},+ "comment": {+ "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment."+ },"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 33,- "character": 8+ "fileName": "src/GoTrueClient.ts",+ "line": 68,+ "character": 2}],- "signatures": [- {- "id": 27,- "name": "signOut",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Removes a logged-in session."- },- "parameters": [- {- "id": 28,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid, logged-in JWT.\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reflection",- "declaration": {- "id": 29,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 30,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 33,- "character": 40- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 450,- "name": "AuthError"- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 30- ]- }- ]- }- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]+ "type": {+ "type": "reference",+ "id": 1,+ "name": "default"+ }},{- "id": 74,- "name": "updateUserById",+ "id": 111,+ "name": "getSession","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 195,+ "fileName": "src/GoTrueClient.ts",+ "line": 407,"character": 8}],"signatures": [{- "id": 75,- "name": "updateUserById",+ "id": 112,+ "name": "getSession","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Updates the user data."+ "shortText": "Returns the session, refreshing it if necessary.\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out."},- "parameters": [- {- "id": 76,- "name": "uid",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 77,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"- },- "type": {- "type": "reference",- "id": 355,- "name": "AdminUserAttributes",- "dereferenced": {- "id": 355,- "name": "AdminUserAttributes",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 357,- "name": "app_metadata",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for app_metadata that.",- "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"- },- "sources": [+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 113,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [{- "fileName": "src/lib/types.ts",- "line": 187,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 364,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."- },- "sources": [+ "id": 114,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 409,+ "character": 8+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 115,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 116,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 410,+ "character": 10+ }+ ],+ "type": {+ "type": "reference",+ "id": 291,+ "name": "Session"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 116+ ]+ }+ ]+ }+ }+ },{- "fileName": "src/lib/types.ts",- "line": 162,- "character": 2+ "id": 117,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 412,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }}],- "type": {- "type": "intrinsic",- "name": "object"- },- "inheritedFrom": {- "type": "reference",- "id": 354,- "name": "UserAttributes.data"- }- },- {- "id": 360,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [+ "groups": [{- "fileName": "src/lib/types.ts",- "line": 142,- "character": 2+ "title": "Properties",+ "kind": 1024,+ "children": [+ 114,+ 117+ ]}- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 350,- "name": "UserAttributes.email"- }- },- {- "id": 363,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 118,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [{- "fileName": "src/lib/types.ts",- "line": 157,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 353,- "name": "UserAttributes.email_change_token"- }- },- {- "id": 358,- "name": "email_confirm",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Sets if a user has confirmed their email address.",- "text": "Only a service role can modify.\n"- },- "sources": [+ "id": 119,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 415,+ "character": 8+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 120,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 121,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 416,+ "character": 10+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 121+ ]+ }+ ]+ }+ }+ },{- "fileName": "src/lib/types.ts",- "line": 194,- "character": 2+ "id": 122,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 418,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }}],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 362,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [+ "groups": [{- "fileName": "src/lib/types.ts",- "line": 152,- "character": 2+ "title": "Properties",+ "kind": 1024,+ "children": [+ 119,+ 122+ ]}- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 352,- "name": "UserAttributes.password"- }- },- {- "id": 361,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 123,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [{- "fileName": "src/lib/types.ts",- "line": 147,- "character": 2+ "id": 124,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 421,+ "character": 8+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 125,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 126,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 422,+ "character": 10+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 126+ ]+ }+ ]+ }+ }+ },+ {+ "id": 127,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 424,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }}],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 351,- "name": "UserAttributes.phone"- }- },- {- "id": 359,- "name": "phone_confirm",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Sets if a user has confirmed their phone number.",- "text": "Only a service role can modify.\n"- },- "sources": [+ "groups": [{- "fileName": "src/lib/types.ts",- "line": 201,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 356,- "name": "user_metadata",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for user_metadata.",- "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 177,- "character": 2+ "title": "Properties",+ "kind": 1024,+ "children": [+ 124,+ 127+ ]}- ],- "type": {- "type": "intrinsic",- "name": "object"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 357,- 364,- 360,- 363,- 358,- 362,- 361,- 359,- 356]}- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 165,- "character": 17- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 349,- "name": "UserAttributes"- }- ]- }+ }+ ]+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 128,+ "name": "getUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 470,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 129,+ "name": "getUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Gets the current user details if there is an existing session."+ },+ "parameters": [+ {+ "id": 130,+ "name": "jwt",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"}}],@@ -54939,7 +55817,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -54949,414 +55827,309 @@}}]- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 2- ]},{- "title": "Methods",+ "id": 92,+ "name": "initialize","kind": 2048,- "children": [- 56,- 78,- 38,- 71,- 31,- 59,- 26,- 74+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 130,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 93,+ "name": "initialize",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)."+ },+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 481,+ "name": "InitializeResult"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }]- }- ],- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 6,- "character": 21- }- ]- },- {- "id": 81,- "name": "GoTrueClient",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [+ },{- "id": 82,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",+ "id": 157,+ "name": "onAuthStateChange",+ "kind": 2048,+ "kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 104,+ "line": 665,"character": 2}],"signatures": [{- "id": 83,- "name": "new GoTrueClient",- "kind": 16384,- "kindString": "Constructor signature",+ "id": 158,+ "name": "onAuthStateChange",+ "kind": 4096,+ "kindString": "Call signature","flags": {},"comment": {- "shortText": "Create a new client for use in the browser."+ "shortText": "Receive a notification every time an auth event happens."},"parameters": [{- "id": 84,- "name": "options",+ "id": 159,+ "name": "callback","kind": 32768,"kindString": "Parameter","flags": {},+ "comment": {+ "shortText": "A callback function to be invoked when an auth event happens.\n"+ },"type": {"type": "reflection","declaration": {- "id": 85,+ "id": 160,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},- "children": [+ "signatures": [{- "id": 93,- "name": "autoRefreshToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring."- },- "sources": [+ "id": 161,+ "name": "__type",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "parameters": [{- "fileName": "src/GoTrueClient.ts",- "line": 109,- "character": 4+ "id": 162,+ "name": "event",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "id": 240,+ "name": "AuthChangeEvent"+ }+ },+ {+ "id": 163,+ "name": "session",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reference",+ "id": 291,+ "name": "Session"+ }+ ]+ }}],"type": {"type": "intrinsic",- "name": "boolean"+ "name": "void"}- },- {- "id": 92,- "name": "detectSessionInUrl",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 108,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },+ }+ ]+ }+ }+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 164,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 165,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [{- "id": 97,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [+ "fileName": "src/GoTrueClient.ts",+ "line": 666,+ "character": 4+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 166,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [{- "fileName": "src/GoTrueClient.ts",- "line": 113,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 98,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "id": 167,+ "name": "subscription",+ "kind": 1024,+ "kindString": "Property","flags": {},- "signatures": [+ "sources": [{- "id": 99,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "A custom fetch implementation.\n"- },- "parameters": [- {- "id": 100,- "name": "input",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "reference",- "qualifiedName": "RequestInfo",- "package": "typescript",- "name": "RequestInfo"- },- {- "type": "reference",- "qualifiedName": "URL",- "package": "typescript",- "name": "URL"- }- ]- }- },- {- "id": 101,- "name": "init",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "reference",- "qualifiedName": "RequestInit",- "package": "typescript",- "name": "RequestInit"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Response",- "package": "typescript",- "name": "Response"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }+ "fileName": "src/GoTrueClient.ts",+ "line": 666,+ "character": 12}+ ],+ "type": {+ "type": "reference",+ "id": 352,+ "name": "Subscription"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 167]}- }- },+ ]+ }+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 165+ ]+ }+ ]+ }+ }+ }+ ]+ },+ {+ "id": 168,+ "name": "resetPasswordForEmail",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 688,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 169,+ "name": "resetPasswordForEmail",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Sends a password reset request to an email address."+ },+ "parameters": [+ {+ "id": 170,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "comment": {+ "shortText": "The email address of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 171,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 172,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [{- "id": 87,- "name": "headers",+ "id": 174,+ "name": "captchaToken","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "Any additional headers to send to the GoTrue server."+ "shortText": "Verification token received when the user completes the captcha on the site.\n"},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 106,- "character": 4+ "line": 692,+ "character": 6}],"type": {- "type": "reflection",- "declaration": {- "id": 88,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 89,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 90,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }+ "type": "intrinsic",+ "name": "string"}},{- "id": 96,- "name": "multiTab",+ "id": 173,+ "name": "redirectTo","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "Set to \"false\" if you want to disable multi-tab/window events."+ "shortText": "The URL to send the user to after they click the password reset link."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 112,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 94,- "name": "persistSession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 110,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 95,- "name": "storage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 111,- "character": 4- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Storage",- "package": "typescript",- "name": "Storage"- },- {- "type": "union",- "types": [- {- "type": "literal",- "value": "getItem"- },- {- "type": "literal",- "value": "removeItem"- },- {- "type": "literal",- "value": "setItem"- }- ]- }- ],- "qualifiedName": "Pick",- "package": "typescript",- "name": "Pick"- }- ],- "name": "PromisifyMethods"- }- },- {- "id": 91,- "name": "storageKey",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional key name used for storing tokens in local storage"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 107,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 86,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The URL of the GoTrue server."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 105,- "character": 4+ "line": 691,+ "character": 6}],"type": {@@ -55370,75 +56143,16 @@"title": "Properties","kind": 1024,"children": [- 93,- 92,- 97,- 87,- 96,- 94,- 95,- 91,- 86+ 174,+ 173]}]}- }+ },+ "defaultValue": "{}"}],- "type": {- "type": "reference",- "id": 81,- "name": "default"- }- }- ]- },- {- "id": 102,- "name": "admin",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 66,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 1,- "name": "default"- }- },- {- "id": 141,- "name": "getSession",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 362,- "character": 8- }- ],- "signatures": [- {- "id": 142,- "name": "getSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Returns the session data, refreshing it if necessary.\nIf no session is detected, the session returned will be null."- },"type": {"type": "reference","typeArguments": [@@ -55448,14 +56162,14 @@{"type": "reflection","declaration": {- "id": 143,+ "id": 175,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 144,+ "id": 176,"name": "data","kind": 1024,"kindString": "Property",@@ -55463,53 +56177,23 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 364,+ "line": 696,"character": 8}],"type": {"type": "reflection","declaration": {- "id": 145,+ "id": 177,"name": "__type","kind": 65536,"kindString": "Type literal",- "flags": {},- "children": [- {- "id": 146,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 365,- "character": 10- }- ],- "type": {- "type": "reference",- "id": 302,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 146- ]- }- ]+ "flags": {}}}},{- "id": 147,+ "id": 178,"name": "error","kind": 1024,"kindString": "Property",@@ -55517,7 +56201,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 367,+ "line": 697,"character": 8}],@@ -55532,8 +56216,8 @@"title": "Properties","kind": 1024,"children": [- 144,- 147+ 176,+ 178]}]@@ -55542,14 +56226,14 @@{"type": "reflection","declaration": {- "id": 148,+ "id": 179,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 149,+ "id": 180,"name": "data","kind": 1024,"kindString": "Property",@@ -55557,52 +56241,17 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 370,+ "line": 699,"character": 8}],"type": {- "type": "reflection",- "declaration": {- "id": 150,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 151,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 371,- "character": 10- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 151- ]- }- ]- }+ "type": "literal",+ "value": null}},{- "id": 152,+ "id": 181,"name": "error","kind": 1024,"kindString": "Property",@@ -55610,13 +56259,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 373,- "character": 8+ "line": 699,+ "character": 20}],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -55626,60 +56275,261 @@"title": "Properties","kind": 1024,"children": [- 149,- 152+ 180,+ 181]}]}- },- {- "type": "reflection",- "declaration": {- "id": 153,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 154,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},+ }+ ]+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 134,+ "name": "setSession",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 534,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 135,+ "name": "setSession",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Sets the session data from refresh token and returns current session or an error if the refresh token is invalid."+ },+ "parameters": [+ {+ "id": 136,+ "name": "refresh_token",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "comment": {+ "shortText": "A refresh token returned by supabase auth.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 254,+ "name": "AuthResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 102,+ "name": "signInWithOAuth",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 306,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 103,+ "name": "signInWithOAuth",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Log in an existing user via a third-party provider."+ },+ "parameters": [+ {+ "id": 104,+ "name": "credentials",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "id": 403,+ "name": "SignInWithOAuthCredentials",+ "dereferenced": {+ "id": 403,+ "name": "SignInWithOAuthCredentials",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 318,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 404,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 406,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },"sources": [{- "fileName": "src/GoTrueClient.ts",- "line": 376,- "character": 8+ "fileName": "src/lib/types.ts",+ "line": 321,+ "character": 2}],"type": {"type": "reflection","declaration": {- "id": 155,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 156,- "name": "session",+ "id": 410,+ "name": "queryParams","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "An object of query params"+ },"sources": [{- "fileName": "src/GoTrueClient.ts",- "line": 377,- "character": 10+ "fileName": "src/lib/types.ts",+ "line": 327,+ "character": 4}],"type": {- "type": "literal",- "value": null+ "type": "reflection",+ "declaration": {+ "id": 411,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 327,+ "character": 18+ }+ ],+ "indexSignature": {+ "id": 412,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 413,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ }+ }+ },+ {+ "id": 408,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A URL to send the user to after they are confirmed."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 323,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 409,+ "name": "scopes",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A space-separated list of scopes granted to the OAuth application."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 325,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}}],@@ -55688,29 +56538,42 @@"title": "Properties","kind": 1024,"children": [- 156+ 410,+ 408,+ 409]}+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 321,+ "character": 12+ }]}}},{- "id": 157,- "name": "error",+ "id": 405,+ "name": "provider","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },"sources": [{- "fileName": "src/GoTrueClient.ts",- "line": 379,- "character": 8+ "fileName": "src/lib/types.ts",+ "line": 320,+ "character": 2}],"type": {- "type": "literal",- "value": null+ "type": "reference",+ "id": 239,+ "name": "Provider"}}],@@ -55719,14 +56582,31 @@"title": "Properties","kind": 1024,"children": [- 154,- 157+ 406,+ 405]}+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 318,+ "character": 41+ }]}}- ]+ }+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 267,+ "name": "OAuthResponse"}],"qualifiedName": "Promise",@@ -55737,572 +56617,364 @@]},{- "id": 158,- "name": "getUser",+ "id": 105,+ "name": "signInWithOtp","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 419,+ "line": 321,"character": 8}],"signatures": [{- "id": 159,- "name": "getUser",+ "id": 106,+ "name": "signInWithOtp","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Gets the current user details if there is an existing session."+ "shortText": "Log in a user using magiclink or a one-time password (OTP).\nIf the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins."},"parameters": [{- "id": 160,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 179,- "name": "onAuthStateChange",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 593,- "character": 2- }- ],- "signatures": [- {- "id": 180,- "name": "onAuthStateChange",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Receive a notification every time an auth event happens.",- "returns": "A subscription object which can be used to unsubscribe itself.\n"- },- "parameters": [- {- "id": 181,- "name": "callback",+ "id": 107,+ "name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},- "comment": {- "shortText": "A callback function to be invoked when an auth event happens."- },"type": {- "type": "reflection",- "declaration": {- "id": 182,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "type": "reference",+ "id": 389,+ "name": "SignInWithPasswordlessCredentials",+ "dereferenced": {+ "id": 389,+ "name": "SignInWithPasswordlessCredentials",+ "kind": 4194304,+ "kindString": "Type alias","flags": {},- "signatures": [+ "sources": [{- "id": 183,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 184,- "name": "event",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 264,- "name": "AuthChangeEvent"- }- },- {- "id": 185,- "name": "session",- "kind": 32768,- "kindString": "Parameter",+ "fileName": "src/lib/types.ts",+ "line": 294,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 390,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null+ "children": [+ {+ "id": 391,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's email address."},- {- "type": "reference",- "id": 302,- "name": "Session"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 297,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}- ]- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- }- }- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 186,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 188,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 596,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 187,- "name": "subscription",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 595,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 365,- "name": "Subscription"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 188,- 187- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 189,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 191,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 598,- "character": 28- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- },- {- "id": 190,- "name": "subscription",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 598,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 191,- 190- ]- }- ]- }- }- ]- }- }- ]- },- {- "id": 192,- "name": "resetPasswordForEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 625,- "character": 8- }- ],- "signatures": [- {- "id": 193,- "name": "resetPasswordForEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a reset request to an email address."- },- "parameters": [- {- "id": 194,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 195,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 196,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 198,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site.\n"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 629,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 197,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A URL to send the user to after they are confirmed."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 628,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 198,- 197- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 199,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 200,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [+ },{- "fileName": "src/GoTrueClient.ts",- "line": 633,- "character": 8+ "id": 392,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 298,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 393,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 396,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 304,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 394,+ "name": "emailRedirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The redirect url embedded in the email link"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 300,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 395,+ "name": "shouldCreateUser",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "If set to false, this method will not create a new user. Defaults to true."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 302,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 396,+ 394,+ 395+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 298,+ "character": 16+ }+ ]+ }+ }}],- "type": {- "type": "reflection",- "declaration": {- "id": 201,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 391,+ 392+ ]}- }- },- {- "id": 202,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},+ ],"sources": [{- "fileName": "src/GoTrueClient.ts",- "line": 634,- "character": 8+ "fileName": "src/lib/types.ts",+ "line": 295,+ "character": 4}- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 200,- 202]}- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 203,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 204,- "name": "data",- "kind": 1024,- "kindString": "Property",+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 397,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "sources": [+ "children": [{- "fileName": "src/GoTrueClient.ts",- "line": 636,- "character": 8+ "id": 399,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 310,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 400,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 402,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 314,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 401,+ "name": "shouldCreateUser",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "If set to false, this method will not create a new user. Defaults to true."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 312,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 402,+ 401+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 310,+ "character": 16+ }+ ]+ }+ }+ },+ {+ "id": 398,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 309,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 205,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [+ "groups": [{- "fileName": "src/GoTrueClient.ts",- "line": 636,- "character": 20+ "title": "Properties",+ "kind": 1024,+ "children": [+ 399,+ 398+ ]}],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 204,- 205+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 307,+ "character": 4+ }]}- ]- }+ }+ ]}- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 164,- "name": "setSession",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 482,- "character": 8- }- ],- "signatures": [- {- "id": 165,- "name": "setSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sets the session data from refresh_token and returns current session or an error if the refresh_token is invalid."- },- "parameters": [- {- "id": 166,- "name": "refresh_token",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The refresh token returned by gotrue.\n"- },- "type": {- "type": "intrinsic",- "name": "string"+ }}}],@@ -56311,7 +56983,7 @@"typeArguments": [{"type": "reference",- "id": 265,+ "id": 254,"name": "AuthResponse"}],@@ -56323,318 +56995,49 @@]},{- "id": 128,- "name": "signInWithOAuth",+ "id": 99,+ "name": "signInWithPassword","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 258,+ "line": 256,"character": 8}],"signatures": [{- "id": 129,- "name": "signInWithOAuth",+ "id": 100,+ "name": "signInWithPassword","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Log in an existing user via a third-party provider."+ "shortText": "Log in an existing user with an email and password or phone and password."},"parameters": [{- "id": 130,+ "id": 101,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 416,- "name": "SignInWithOAuthCredentials",+ "id": 376,+ "name": "SignInWithPasswordCredentials","dereferenced": {- "id": 416,- "name": "SignInWithOAuthCredentials",+ "id": 376,+ "name": "SignInWithPasswordCredentials","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 292,- "character": 12- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 417,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 419,- "name": "options",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 295,- "character": 2- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 420,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 423,- "name": "queryParams",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An object of query params"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 301,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 424,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 301,- "character": 18- }- ],- "indexSignature": {- "id": 425,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 426,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 421,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 297,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 422,- "name": "scopes",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A space-separated list of scopes granted to the OAuth application."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 299,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 423,- 421,- 422- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 295,- "character": 12- }- ]- }- }- },- {- "id": 418,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "One of the providers supported by GoTrue."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 294,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 263,- "name": "Provider"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 419,- 418- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 292,- "character": 41- }- ]- }- }- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 278,- "name": "OAuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 131,- "name": "signInWithOtp",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 270,- "character": 8- }- ],- "signatures": [- {- "id": 132,- "name": "signInWithOtp",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Passwordless method for logging in an existing user."- },- "parameters": [- {- "id": 133,- "name": "credentials",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 402,- "name": "SignInWithPasswordlessCredentials",- "dereferenced": {- "id": 402,- "name": "SignInWithPasswordlessCredentials",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 268,+ "line": 272,"character": 12}],@@ -56644,14 +57047,14 @@{"type": "reflection","declaration": {- "id": 403,+ "id": 377,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 404,+ "id": 378,"name": "email","kind": 1024,"kindString": "Property",@@ -56662,7 +57065,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 271,+ "line": 275,"character": 6}],@@ -56672,7 +57075,7 @@}},{- "id": 405,+ "id": 380,"name": "options","kind": 1024,"kindString": "Property",@@ -56682,21 +57085,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 272,+ "line": 278,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 406,+ "id": 381,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 409,+ "id": 382,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -56709,7 +57112,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 278,+ "line": 280,"character": 8}],@@ -56717,74 +57120,47 @@"type": "intrinsic","name": "string"}- },+ }+ ],+ "groups": [{- "id": 407,- "name": "emailRedirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The redirect url embedded in the email link"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 274,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 408,- "name": "shouldCreateUser",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "If set to false, this method will not create a new user. Defaults to true."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 276,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- }- ],- "groups": [- {- "title": "Properties",+ "title": "Properties","kind": 1024,"children": [- 409,- 407,- 408+ 382]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 272,+ "line": 278,"character": 16}]}}+ },+ {+ "id": 379,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 277,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}],"groups": [@@ -56792,15 +57168,16 @@"title": "Properties","kind": 1024,"children": [- 404,- 405+ 378,+ 380,+ 379]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 269,+ "line": 273,"character": 4}]@@ -56809,14 +57186,14 @@{"type": "reflection","declaration": {- "id": 410,+ "id": 383,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 412,+ "id": 386,"name": "options","kind": 1024,"kindString": "Property",@@ -56826,21 +57203,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 284,+ "line": 288,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 413,+ "id": 387,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 415,+ "id": 388,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -56853,7 +57230,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 288,+ "line": 290,"character": 8}],@@ -56861,29 +57238,6 @@"type": "intrinsic","name": "string"}- },- {- "id": 414,- "name": "shouldCreateUser",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "If set to false, this method will not create a new user. Defaults to true."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 286,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }}],"groups": [@@ -56891,15 +57245,14 @@"title": "Properties","kind": 1024,"children": [- 415,- 414+ 388]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 284,+ "line": 288,"character": 16}]@@ -56907,7 +57260,28 @@}},{- "id": 411,+ "id": 385,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 287,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 384,"name": "phone","kind": 1024,"kindString": "Property",@@ -56918,7 +57292,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 283,+ "line": 285,"character": 6}],@@ -56933,15 +57307,16 @@"title": "Properties","kind": 1024,"children": [- 412,- 411+ 386,+ 385,+ 384]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 281,+ "line": 283,"character": 4}]@@ -56958,7 +57333,7 @@"typeArguments": [{"type": "reference",- "id": 265,+ "id": 254,"name": "AuthResponse"}],@@ -56970,49 +57345,134 @@]},{- "id": 125,- "name": "signInWithPassword",+ "id": 153,+ "name": "signOut","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 210,+ "line": 646,"character": 8}],"signatures": [{- "id": 126,- "name": "signInWithPassword",+ "id": 154,+ "name": "signOut",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.",+ "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n"+ },+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 155,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 156,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 646,+ "character": 29+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 156+ ]+ }+ ]+ }+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 96,+ "name": "signUp",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 193,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 97,+ "name": "signUp","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Log in an existing user, or login via a third-party provider."+ "shortText": "Creates a new user.",+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"},"parameters": [{- "id": 127,+ "id": 98,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 389,- "name": "SignInWithPasswordCredentials",+ "id": 360,+ "name": "SignUpWithPasswordCredentials","dereferenced": {- "id": 389,- "name": "SignInWithPasswordCredentials",+ "id": 360,+ "name": "SignUpWithPasswordCredentials","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 246,+ "line": 237,"character": 12}],@@ -57022,14 +57482,14 @@{"type": "reflection","declaration": {- "id": 390,+ "id": 361,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 391,+ "id": 362,"name": "email","kind": 1024,"kindString": "Property",@@ -57040,7 +57500,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 249,+ "line": 240,"character": 6}],@@ -57050,7 +57510,7 @@}},{- "id": 393,+ "id": 364,"name": "options","kind": 1024,"kindString": "Property",@@ -57060,21 +57520,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 243,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 394,+ "id": 365,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 395,+ "id": 368,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -57087,7 +57547,54 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 254,+ "line": 253,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 367,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 251,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 366,+ "name": "emailRedirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The redirect url embedded in the email link"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 245,"character": 8}],@@ -57102,14 +57609,16 @@"title": "Properties","kind": 1024,"children": [- 395+ 368,+ 367,+ 366]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 243,"character": 16}]@@ -57117,7 +57626,7 @@}},{- "id": 392,+ "id": 363,"name": "password","kind": 1024,"kindString": "Property",@@ -57128,7 +57637,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 251,+ "line": 242,"character": 6}],@@ -57143,16 +57652,16 @@"title": "Properties","kind": 1024,"children": [- 391,- 393,- 392+ 362,+ 364,+ 363]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 247,+ "line": 238,"character": 4}]@@ -57161,14 +57670,14 @@{"type": "reflection","declaration": {- "id": 396,+ "id": 369,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 399,+ "id": 372,"name": "options","kind": 1024,"kindString": "Property",@@ -57178,21 +57687,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 261,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 400,+ "id": 373,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 401,+ "id": 375,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -57205,7 +57714,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 264,+ "line": 269,"character": 8}],@@ -57213,21 +57722,46 @@"type": "intrinsic","name": "string"}- }- ],- "groups": [+ },+ {+ "id": 374,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 267,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ }+ ],+ "groups": [{"title": "Properties","kind": 1024,"children": [- 401+ 375,+ 374]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 261,"character": 16}]@@ -57235,7 +57769,7 @@}},{- "id": 398,+ "id": 371,"name": "password","kind": 1024,"kindString": "Property",@@ -57246,7 +57780,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 261,+ "line": 260,"character": 6}],@@ -57256,7 +57790,7 @@}},{- "id": 397,+ "id": 370,"name": "phone","kind": 1024,"kindString": "Property",@@ -57267,7 +57801,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 259,+ "line": 258,"character": 6}],@@ -57282,16 +57816,16 @@"title": "Properties","kind": 1024,"children": [- 399,- 398,- 397+ 372,+ 371,+ 370]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 257,+ "line": 256,"character": 4}]@@ -57308,7 +57842,7 @@"typeArguments": [{"type": "reference",- "id": 265,+ "id": 254,"name": "AuthResponse"}],@@ -57320,67 +57854,137 @@]},{- "id": 175,- "name": "signOut",+ "id": 131,+ "name": "updateUser","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 573,+ "line": 499,"character": 8}],"signatures": [{- "id": 176,- "name": "signOut",+ "id": 132,+ "name": "updateUser","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",- "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n"+ "shortText": "Updates user data, if there is a logged in user."},- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reflection",- "declaration": {- "id": 177,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "parameters": [+ {+ "id": 133,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "id": 338,+ "name": "UserAttributes",+ "dereferenced": {+ "id": 338,+ "name": "UserAttributes",+ "kind": 256,+ "kindString": "Interface","flags": {},"children": [{- "id": 178,- "name": "error",+ "id": 342,+ "name": "data","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"+ },"sources": [{- "fileName": "src/GoTrueClient.ts",- "line": 573,- "character": 29+ "fileName": "src/lib/types.ts",+ "line": 180,+ "character": 2}],"type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 450,- "name": "AuthError"- }- ]+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 339,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's email."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 162,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 341,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 172,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 340,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's phone."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 167,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}}],@@ -57389,12 +57993,39 @@"title": "Properties","kind": 1024,"children": [- 178+ 342,+ 339,+ 341,+ 340]}+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 158,+ "character": 17+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 343,+ "name": "AdminUserAttributes"+ }]}}+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"+ }],"qualifiedName": "Promise","package": "typescript",@@ -57404,50 +58035,49 @@]},{- "id": 122,- "name": "signUp",+ "id": 108,+ "name": "verifyOtp","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 147,+ "line": 363,"character": 8}],"signatures": [{- "id": 123,- "name": "signUp",+ "id": 109,+ "name": "verifyOtp","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Creates a new user.",- "returns": "A logged-in session if the server has \"autoconfirm\" ON"+ "shortText": "Log in a user given a User supplied OTP received via mobile."},"parameters": [{- "id": 124,- "name": "credentials",+ "id": 110,+ "name": "params","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 373,- "name": "SignUpWithPasswordCredentials",+ "id": 414,+ "name": "VerifyOtpParams","dereferenced": {- "id": 373,- "name": "SignUpWithPasswordCredentials",+ "id": 414,+ "name": "VerifyOtpParams","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 219,+ "line": 331,"character": 12}],@@ -57455,354 +58085,14 @@"type": "union","types": [{- "type": "reflection",- "declaration": {- "id": 374,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 375,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's email address."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 222,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 377,- "name": "options",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 225,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 378,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 381,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 231,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 380,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's metadata."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 229,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 379,- "name": "emailRedirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The redirect url embedded in the email link"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 227,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 381,- 380,- 379- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 225,- "character": 16- }- ]- }- }- },- {- "id": 376,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 224,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 375,- 377,- 376- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 220,- "character": 4- }- ]- }+ "type": "reference",+ "id": 415,+ "name": "VerifyMobileOtpParams"},{- "type": "reflection",- "declaration": {- "id": 382,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 385,- "name": "options",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 239,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 386,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 388,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 243,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 387,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's metadata."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 241,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 388,- 387- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 239,- "character": 16- }- ]- }- }- },- {- "id": 384,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 238,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 383,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's phone number."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 236,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 385,- 384,- 383- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 234,- "character": 4- }- ]- }+ "type": "reference",+ "id": 423,+ "name": "VerifyEmailOtpParams"}]}@@ -57815,7 +58105,7 @@"typeArguments": [{"type": "reference",- "id": 265,+ "id": 254,"name": "AuthResponse"}],@@ -57824,256 +58114,628 @@"name": "Promise"}}- ]+ ]+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 67+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 70+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 111,+ 128,+ 92,+ 157,+ 168,+ 134,+ 102,+ 105,+ 99,+ 153,+ 96,+ 131,+ 108+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 63,+ "character": 21+ }+ ]+ },+ {+ "id": 343,+ "name": "AdminUserAttributes",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 345,+ "name": "app_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 205,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 351,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 180,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 342,+ "name": "UserAttributes.data"+ }+ },+ {+ "id": 348,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's email."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 162,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 339,+ "name": "UserAttributes.email"+ }+ },+ {+ "id": 346,+ "name": "email_confirm",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Confirms the user's email address if set to true.",+ "text": "Only a service role can modify.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 212,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 350,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 172,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 341,+ "name": "UserAttributes.password"+ }+ },+ {+ "id": 349,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's phone."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 167,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 340,+ "name": "UserAttributes.phone"+ }+ },+ {+ "id": 347,+ "name": "phone_confirm",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Confirms the user's phone number if set to true.",+ "text": "Only a service role can modify.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 219,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 344,+ "name": "user_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 195,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 345,+ 351,+ 348,+ 346,+ 350,+ 349,+ 347,+ 344+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 183,+ "character": 17+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 338,+ "name": "UserAttributes"+ }+ ]+ },+ {+ "id": 455,+ "name": "GenerateLinkOptions",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 456,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 402,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 457,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The URL which will be appended to the email link generated."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 404,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 456,+ 457+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 396,+ "character": 17+ }+ ]+ },+ {+ "id": 291,+ "name": "Session",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 293,+ "name": "access_token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 101,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }},{- "id": 161,- "name": "updateUser",- "kind": 2048,- "kindString": "Method",+ "id": 296,+ "name": "expires_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 113,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ },+ {+ "id": 295,+ "name": "expires_in",+ "kind": 1024,+ "kindString": "Property","flags": {},+ "comment": {+ "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."+ },"sources": [{- "fileName": "src/GoTrueClient.ts",- "line": 448,- "character": 8+ "fileName": "src/lib/types.ts",+ "line": 109,+ "character": 2}],- "signatures": [+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ },+ {+ "id": 292,+ "name": "provider_token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 162,- "name": "updateUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates user data, if there is a logged in user."- },- "parameters": [- {- "id": 163,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 349,- "name": "UserAttributes",- "dereferenced": {- "id": 349,- "name": "UserAttributes",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 354,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 162,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 350,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 142,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 353,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 157,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 352,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 152,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 351,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 147,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 354,- 350,- 353,- 352,- 351- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 138,- "character": 17- }- ],- "extendedBy": [- {- "type": "reference",- "id": 355,- "name": "AdminUserAttributes"- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ "fileName": "src/lib/types.ts",+ "line": 97,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "intrinsic",+ "name": "string"}+ ]+ }+ },+ {+ "id": 294,+ "name": "refresh_token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "A one-time used refresh token that never expires."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 105,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 297,+ "name": "token_type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 114,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 298,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 115,+ "character": 2}+ ],+ "type": {+ "type": "reference",+ "id": 310,+ "name": "User"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 293,+ 296,+ 295,+ 292,+ 294,+ 297,+ 298]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 96,+ "character": 17+ }+ ]+ },+ {+ "id": 352,+ "name": "Subscription",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 353,+ "name": "id",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The subscriber UUID. This will be set by the client."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 226,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }},{- "id": 134,- "name": "verifyOtp",+ "id": 354,+ "name": "callback","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueClient.ts",- "line": 313,- "character": 8+ "fileName": "src/lib/types.ts",+ "line": 230,+ "character": 2}],"signatures": [{- "id": 135,- "name": "verifyOtp",+ "id": 355,+ "name": "callback","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Log in a user given a User supplied OTP received via mobile."+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"},"parameters": [{- "id": 136,- "name": "params",+ "id": 356,+ "name": "event","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 427,- "name": "VerifyOtpParams",+ "id": 240,+ "name": "AuthChangeEvent","dereferenced": {- "id": 427,- "name": "VerifyOtpParams",+ "id": 240,+ "name": "AuthChangeEvent","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 305,+ "line": 23,"character": 12}],@@ -58081,14 +58743,28 @@"type": "union","types": [{- "type": "reference",- "id": 428,- "name": "VerifyMobileOtpParams"+ "type": "literal",+ "value": "PASSWORD_RECOVERY"},{- "type": "reference",- "id": 432,- "name": "VerifyEmailOtpParams"+ "type": "literal",+ "value": "SIGNED_IN"+ },+ {+ "type": "literal",+ "value": "SIGNED_OUT"+ },+ {+ "type": "literal",+ "value": "TOKEN_REFRESHED"+ },+ {+ "type": "literal",+ "value": "USER_UPDATED"+ },+ {+ "type": "literal",+ "value": "USER_DELETED"}]}@@ -58096,437 +58772,341 @@}},{- "id": 137,- "name": "options",+ "id": 357,+ "name": "session","kind": 32768,"kindString": "Parameter","flags": {},"type": {- "type": "reflection",- "declaration": {- "id": 138,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 140,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site.\n"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 317,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 139,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A URL to send the user to after they are confirmed."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 316,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 140,- 139- ]- }- ]- }- },- "defaultValue": "{}"+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reference",+ "id": 291,+ "name": "Session"+ }+ ]+ }}],"type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 265,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ "type": "intrinsic",+ "name": "void"+ }+ }+ ]+ },+ {+ "id": 358,+ "name": "unsubscribe",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 234,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 359,+ "name": "unsubscribe",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Call this to remove the listener."+ },+ "type": {+ "type": "intrinsic",+ "name": "void"}}]}],"groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 82- ]- },{"title": "Properties","kind": 1024,"children": [- 102+ 353]},{"title": "Methods","kind": 2048,"children": [- 141,- 158,- 179,- 192,- 164,- 128,- 131,- 125,- 175,- 122,- 161,- 134+ 354,+ 358]}],"sources": [{- "fileName": "src/GoTrueClient.ts",- "line": 61,- "character": 21+ "fileName": "src/lib/types.ts",+ "line": 222,+ "character": 17}]},{- "id": 355,- "name": "AdminUserAttributes",+ "id": 310,+ "name": "User","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 357,- "name": "app_metadata",+ "id": 327,+ "name": "action_link","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "A custom data object for app_metadata that.",- "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"- },"sources": [{"fileName": "src/lib/types.ts",- "line": 187,+ "line": 145,"character": 2}],"type": {"type": "intrinsic",- "name": "object"+ "name": "string"}},{- "id": 364,- "name": "data",+ "id": 312,+ "name": "app_metadata","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."- },+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 162,+ "line": 132,"character": 2}],"type": {- "type": "intrinsic",- "name": "object"- },- "inheritedFrom": {- "type": "reference",- "id": 354,- "name": "UserAttributes.data"+ "type": "reflection",+ "declaration": {+ "id": 313,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 314,+ "name": "provider",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 133,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 314+ ]+ }+ ],+ "indexSignature": {+ "id": 315,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 316,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ }}},{- "id": 360,- "name": "email",+ "id": 321,+ "name": "aud","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 142,+ "line": 139,"character": 2}],"type": {"type": "intrinsic","name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 350,- "name": "UserAttributes.email"}},{- "id": 363,- "name": "email_change_token",+ "id": 322,+ "name": "confirmation_sent_at","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "An email change token."- },"sources": [{"fileName": "src/lib/types.ts",- "line": 157,+ "line": 140,"character": 2}],"type": {"type": "intrinsic","name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 353,- "name": "UserAttributes.email_change_token"}},{- "id": 358,- "name": "email_confirm",+ "id": 331,+ "name": "confirmed_at","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "Sets if a user has confirmed their email address.",- "text": "Only a service role can modify.\n"- },"sources": [{"fileName": "src/lib/types.ts",- "line": 194,+ "line": 149,"character": 2}],"type": {"type": "intrinsic",- "name": "boolean"+ "name": "string"}},{- "id": 362,- "name": "password",+ "id": 330,+ "name": "created_at","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 152,+ "line": 148,"character": 2}],"type": {"type": "intrinsic","name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 352,- "name": "UserAttributes.password"}},{- "id": 361,- "name": "phone",+ "id": 328,+ "name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "The user's phone."- },"sources": [{"fileName": "src/lib/types.ts",- "line": 147,+ "line": 146,"character": 2}],"type": {"type": "intrinsic","name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 351,- "name": "UserAttributes.phone"}},{- "id": 359,- "name": "phone_confirm",+ "id": 324,+ "name": "email_change_sent_at","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "Sets if a user has confirmed their phone number.",- "text": "Only a service role can modify.\n"- },"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 142,"character": 2}],"type": {"type": "intrinsic",- "name": "boolean"+ "name": "string"}},{- "id": 356,- "name": "user_metadata",+ "id": 332,+ "name": "email_confirmed_at","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "A custom data object for user_metadata.",- "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"- },"sources": [{"fileName": "src/lib/types.ts",- "line": 177,+ "line": 150,"character": 2}],"type": {"type": "intrinsic",- "name": "object"+ "name": "string"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 357,- 364,- 360,- 363,- 358,- 362,- 361,- 359,- 356- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 165,- "character": 17- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 349,- "name": "UserAttributes"- }- ]- },- {- "id": 302,- "name": "Session",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [+ },{- "id": 304,- "name": "access_token",+ "id": 311,+ "name": "id","kind": 1024,"kindString": "Property","flags": {},- "comment": {- "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value."- },"sources": [{"fileName": "src/lib/types.ts",- "line": 81,+ "line": 131,"character": 2}],@@ -58536,52 +59116,52 @@}},{- "id": 307,- "name": "expires_at",+ "id": 337,+ "name": "identities","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."- },"sources": [{"fileName": "src/lib/types.ts",- "line": 93,+ "line": 155,"character": 2}],"type": {- "type": "intrinsic",- "name": "number"+ "type": "array",+ "elementType": {+ "type": "reference",+ "id": 299,+ "name": "UserIdentity"+ }}},{- "id": 306,- "name": "expires_in",+ "id": 326,+ "name": "invited_at","kind": 1024,"kindString": "Property",- "flags": {},- "comment": {- "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."+ "flags": {+ "isOptional": true},"sources": [{"fileName": "src/lib/types.ts",- "line": 89,+ "line": 144,"character": 2}],"type": {"type": "intrinsic",- "name": "number"+ "name": "string"}},{- "id": 303,- "name": "provider_token",+ "id": 334,+ "name": "last_sign_in_at","kind": 1024,"kindString": "Property","flags": {@@ -58590,37 +59170,27 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 77,+ "line": 152,"character": 2}],"type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "intrinsic",- "name": "string"- }- ]+ "type": "intrinsic",+ "name": "string"}},{- "id": 305,- "name": "refresh_token",+ "id": 325,+ "name": "new_email","kind": 1024,"kindString": "Property",- "flags": {},- "comment": {- "shortText": "A one-time used refresh token that never expires."+ "flags": {+ "isOptional": true},"sources": [{"fileName": "src/lib/types.ts",- "line": 85,+ "line": 143,"character": 2}],@@ -58630,15 +59200,17 @@}},{- "id": 308,- "name": "token_type",+ "id": 329,+ "name": "phone","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 94,+ "line": 147,"character": 2}],@@ -58648,68 +59220,37 @@}},{- "id": 309,- "name": "user",+ "id": 333,+ "name": "phone_confirmed_at","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 95,+ "line": 151,"character": 2}],"type": {- "type": "reference",- "id": 321,- "name": "User"+ "type": "intrinsic",+ "name": "string"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 304,- 307,- 306,- 303,- 305,- 308,- 309- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 76,- "character": 17- }- ]- },- {- "id": 365,- "name": "Subscription",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [+ },{- "id": 366,- "name": "id",+ "id": 323,+ "name": "recovery_sent_at","kind": 1024,"kindString": "Property",- "flags": {},- "comment": {- "shortText": "The subscriber UUID. This will be set by the client."+ "flags": {+ "isOptional": true},"sources": [{"fileName": "src/lib/types.ts",- "line": 208,+ "line": 141,"character": 2}],@@ -58719,179 +59260,28 @@}},{- "id": 367,- "name": "callback",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 212,- "character": 2- }- ],- "signatures": [- {- "id": 368,- "name": "callback",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "The function to call every time there is an event. eg: (eventName) => {}"- },- "parameters": [- {- "id": 369,- "name": "event",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 264,- "name": "AuthChangeEvent",- "dereferenced": {- "id": 264,- "name": "AuthChangeEvent",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 22,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "PASSWORD_RECOVERY"- },- {- "type": "literal",- "value": "SIGNED_IN"- },- {- "type": "literal",- "value": "SIGNED_OUT"- },- {- "type": "literal",- "value": "TOKEN_REFRESHED"- },- {- "type": "literal",- "value": "USER_UPDATED"- },- {- "type": "literal",- "value": "USER_DELETED"- }- ]- }- }- }- },- {- "id": 370,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 302,- "name": "Session"- }- ]- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 371,- "name": "unsubscribe",- "kind": 2048,- "kindString": "Method",- "flags": {},+ "id": 335,+ "name": "role",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 216,+ "line": 153,"character": 2}],- "signatures": [- {- "id": 372,- "name": "unsubscribe",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Call this to remove the listener."- },- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 366- ]+ "type": {+ "type": "intrinsic",+ "name": "string"+ }},{- "title": "Methods",- "kind": 2048,- "children": [- 367,- 371- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 204,- "character": 17- }- ]- },- {- "id": 321,- "name": "User",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 338,- "name": "action_link",+ "id": 336,+ "name": "updated_at","kind": 1024,"kindString": "Property","flags": {@@ -58900,7 +59290,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 125,+ "line": 154,"character": 2}],@@ -58910,66 +59300,35 @@}},{- "id": 323,- "name": "app_metadata",+ "id": 317,+ "name": "user_metadata","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 112,+ "line": 136,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 324,+ "id": 318,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},- "children": [- {- "id": 325,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 113,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 325- ]- }- ],"indexSignature": {- "id": 326,+ "id": 319,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 327,+ "id": 320,"name": "key","kind": 32768,"flags": {},@@ -58986,57 +59345,90 @@}}}- },+ }+ ],+ "groups": [{- "id": 332,- "name": "aud",+ "title": "Properties","kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 119,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },+ "children": [+ 327,+ 312,+ 321,+ 322,+ 331,+ 330,+ 328,+ 324,+ 332,+ 311,+ 337,+ 326,+ 334,+ 325,+ 329,+ 333,+ 323,+ 335,+ 336,+ 317+ ]+ }+ ],+ "sources": [{- "id": 333,- "name": "confirmation_sent_at",+ "fileName": "src/lib/types.ts",+ "line": 130,+ "character": 17+ }+ ]+ },+ {+ "id": 338,+ "name": "UserAttributes",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 342,+ "name": "data","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 180,"character": 2}],"type": {"type": "intrinsic",- "name": "string"+ "name": "object"}},{- "id": 342,- "name": "confirmed_at",+ "id": 339,+ "name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's email."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 129,+ "line": 162,"character": 2}],@@ -59047,34 +59439,19 @@},{"id": 341,- "name": "created_at",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 128,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 339,- "name": "email",+ "name": "password","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 126,+ "line": 172,"character": 2}],@@ -59084,17 +59461,20 @@}},{- "id": 335,- "name": "email_change_sent_at",+ "id": 340,+ "name": "phone","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's phone."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 122,+ "line": 167,"character": 2}],@@ -59102,19 +59482,52 @@"type": "intrinsic","name": "string"}- },+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 342,+ 339,+ 341,+ 340+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 158,+ "character": 17+ }+ ],+ "extendedBy": [{+ "type": "reference","id": 343,- "name": "email_confirmed_at",+ "name": "AdminUserAttributes"+ }+ ]+ },+ {+ "id": 299,+ "name": "UserIdentity",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 307,+ "name": "created_at","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 130,+ "line": 125,"character": 2}],@@ -59124,7 +59537,7 @@}},{- "id": 322,+ "id": 300,"name": "id","kind": 1024,"kindString": "Property",@@ -59132,7 +59545,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 111,+ "line": 119,"character": 2}],@@ -59142,61 +59555,62 @@}},{- "id": 348,- "name": "identities",+ "id": 302,+ "name": "identity_data","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 135,+ "line": 121,"character": 2}],"type": {- "type": "array",- "elementType": {- "type": "reference",- "id": 310,- "name": "UserIdentity"- }- }- },- {- "id": 337,- "name": "invited_at",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 124,- "character": 2+ "type": "reflection",+ "declaration": {+ "id": 303,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "indexSignature": {+ "id": 304,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 305,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }}- ],- "type": {- "type": "intrinsic",- "name": "string"}},{- "id": 345,+ "id": 308,"name": "last_sign_in_at","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 132,+ "line": 126,"character": 2}],@@ -59206,17 +59620,15 @@}},{- "id": 336,- "name": "new_email",+ "id": 306,+ "name": "provider","kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },+ "kindString": "Property",+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 123,+ "line": 124,"character": 2}],@@ -59226,8 +59638,8 @@}},{- "id": 340,- "name": "phone",+ "id": 309,+ "name": "updated_at","kind": 1024,"kindString": "Property","flags": {@@ -59246,17 +59658,15 @@}},{- "id": 344,- "name": "phone_confirmed_at",+ "id": 301,+ "name": "user_id","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 131,+ "line": 120,"character": 2}],@@ -59264,19 +59674,51 @@"type": "intrinsic","name": "string"}- },+ }+ ],+ "groups": [{- "id": 334,- "name": "recovery_sent_at",+ "title": "Properties",+ "kind": 1024,+ "children": [+ 307,+ 300,+ 302,+ 308,+ 306,+ 309,+ 301+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 118,+ "character": 17+ }+ ]+ },+ {+ "id": 423,+ "name": "VerifyEmailOtpParams",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 424,+ "name": "email","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true+ "flags": {},+ "comment": {+ "shortText": "The user's email address."},"sources": [{"fileName": "src/lib/types.ts",- "line": 121,+ "line": 348,"character": 2}],@@ -59286,8 +59728,8 @@}},{- "id": 346,- "name": "role",+ "id": 427,+ "name": "options","kind": 1024,"kindString": "Property","flags": {@@ -59296,27 +59738,92 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 133,+ "line": 353,"character": 2}],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reflection",+ "declaration": {+ "id": 428,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 430,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 357,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 429,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A URL to send the user to after they are confirmed."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 355,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 430,+ 429+ ]+ }+ ]+ }}},{- "id": 347,- "name": "updated_at",+ "id": 425,+ "name": "token","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true+ "flags": {},+ "comment": {+ "shortText": "The otp sent to the user's email address."},"sources": [{"fileName": "src/lib/types.ts",- "line": 134,+ "line": 350,"character": 2}],@@ -59326,50 +59833,25 @@}},{- "id": 328,- "name": "user_metadata",+ "id": 426,+ "name": "type","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's verification type."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 116,+ "line": 352,"character": 2}],"type": {- "type": "reflection",- "declaration": {- "id": 329,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 330,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 331,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "any"- }- }- }+ "type": "reference",+ "id": 432,+ "name": "EmailOtpType"}}],@@ -59378,82 +59860,125 @@"title": "Properties","kind": 1024,"children": [- 338,- 323,- 332,- 333,- 342,- 341,- 339,- 335,- 343,- 322,- 348,- 337,- 345,- 336,- 340,- 344,- 334,- 346,- 347,- 328+ 424,+ 427,+ 425,+ 426]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 110,+ "line": 346,"character": 17}]},{- "id": 349,- "name": "UserAttributes",+ "id": 415,+ "name": "VerifyMobileOtpParams","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 354,- "name": "data",+ "id": 419,+ "name": "options","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."- },"sources": [{"fileName": "src/lib/types.ts",- "line": 162,+ "line": 339,"character": 2}],"type": {- "type": "intrinsic",- "name": "object"+ "type": "reflection",+ "declaration": {+ "id": 420,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 422,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 343,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 421,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A URL to send the user to after they are confirmed."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 341,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 422,+ 421+ ]+ }+ ]+ }}},{- "id": 350,- "name": "email",+ "id": 416,+ "name": "phone","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "flags": {},"comment": {- "shortText": "The user's email."+ "shortText": "The user's phone number."},"sources": [{"fileName": "src/lib/types.ts",- "line": 142,+ "line": 334,"character": 2}],@@ -59463,20 +59988,18 @@}},{- "id": 353,- "name": "email_change_token",+ "id": 417,+ "name": "token","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "flags": {},"comment": {- "shortText": "An email change token."+ "shortText": "The otp sent to the user's phone number."},"sources": [{"fileName": "src/lib/types.ts",- "line": 157,+ "line": 336,"character": 2}],@@ -59486,460 +60009,864 @@}},{- "id": 352,- "name": "password",+ "id": 418,+ "name": "type","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "flags": {},"comment": {- "shortText": "The user's password."+ "shortText": "The user's verification type."},"sources": [{"fileName": "src/lib/types.ts",- "line": 152,+ "line": 338,"character": 2}],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "id": 431,+ "name": "MobileOtpType"}- },+ }+ ],+ "groups": [{- "id": 351,- "name": "phone",+ "title": "Properties","kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true+ "children": [+ 419,+ 416,+ 417,+ 418+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 332,+ "character": 17+ }+ ]+ },+ {+ "id": 240,+ "name": "AuthChangeEvent",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 23,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "PASSWORD_RECOVERY"},- "comment": {- "shortText": "The user's phone."+ {+ "type": "literal",+ "value": "SIGNED_IN"},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 147,- "character": 2+ {+ "type": "literal",+ "value": "SIGNED_OUT"+ },+ {+ "type": "literal",+ "value": "TOKEN_REFRESHED"+ },+ {+ "type": "literal",+ "value": "USER_UPDATED"+ },+ {+ "type": "literal",+ "value": "USER_DELETED"+ }+ ]+ }+ },+ {+ "id": 254,+ "name": "AuthResponse",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 50,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 255,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 256,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 52,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 257,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 259,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 54,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 291,+ "name": "Session"+ },+ {+ "type": "literal",+ "value": null+ }+ ]+ }+ },+ {+ "id": 258,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 53,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 310,+ "name": "User"+ },+ {+ "type": "literal",+ "value": null+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 259,+ 258+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 52,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 260,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 56,+ "character": 6+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 256,+ 260+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 51,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 261,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 262,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 59,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 263,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 265,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 61,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ },+ {+ "id": 264,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 60,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 265,+ 264+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 59,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 266,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 63,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 262,+ 266+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 58,+ "character": 4+ }+ ]}- ],- "type": {- "type": "intrinsic",- "name": "string"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 354,- 350,- 353,- 352,- 351- ]- }- ],+ ]+ }+ },+ {+ "id": 484,+ "name": "CallRefreshTokenResult",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 138,- "character": 17+ "line": 472,+ "character": 12}],- "extendedBy": [- {- "type": "reference",- "id": 355,- "name": "AdminUserAttributes"- }- ]- },- {- "id": 310,- "name": "UserIdentity",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 318,- "name": "created_at",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 105,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 311,- "name": "id",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 99,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 313,- "name": "identity_data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 101,- "character": 2- }- ],- "type": {+ "type": {+ "type": "union",+ "types": [+ {"type": "reflection","declaration": {- "id": 314,+ "id": 485,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},- "indexSignature": {- "id": 315,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 316,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"+ "children": [+ {+ "id": 487,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 475,+ "character": 6+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ },+ {+ "id": 486,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 474,+ "character": 6}+ ],+ "type": {+ "type": "reference",+ "id": 291,+ "name": "Session"}- ],- "type": {- "type": "intrinsic",- "name": "any"}- }- }- }- },- {- "id": 319,- "name": "last_sign_in_at",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 106,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 317,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 104,- "character": 2+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 487,+ 486+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 473,+ "character": 4+ }+ ]}- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 320,- "name": "updated_at",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 107,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 312,- "name": "user_id",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 100,- "character": 2+ {+ "type": "reflection",+ "declaration": {+ "id": 488,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 490,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 479,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ },+ {+ "id": 489,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 478,+ "character": 6+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 490,+ 489+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 477,+ "character": 4+ }+ ]}- ],- "type": {- "type": "intrinsic",- "name": "string"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 318,- 311,- 313,- 319,- 317,- 320,- 312- ]- }- ],+ ]+ }+ },+ {+ "id": 432,+ "name": "EmailOtpType",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 98,- "character": 17+ "line": 362,+ "character": 12}- ]+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "signup"+ },+ {+ "type": "literal",+ "value": "invite"+ },+ {+ "type": "literal",+ "value": "magiclink"+ },+ {+ "type": "literal",+ "value": "recovery"+ },+ {+ "type": "literal",+ "value": "email_change"+ }+ ]+ }},{- "id": 432,- "name": "VerifyEmailOtpParams",- "kind": 256,- "kindString": "Interface",+ "id": 449,+ "name": "GenerateEmailChangeLinkParams",+ "kind": 4194304,+ "kindString": "Type alias","flags": {},- "children": [+ "sources": [{- "id": 433,- "name": "email",- "kind": 1024,- "kindString": "Property",+ "fileName": "src/lib/types.ts",+ "line": 385,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 450,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "comment": {- "shortText": "The user's email address."- },- "sources": [+ "children": [+ {+ "id": 452,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's email"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 388,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 453,+ "name": "newEmail",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 392,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 454,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 393,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },{- "fileName": "src/lib/types.ts",- "line": 316,- "character": 2+ "id": 451,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 386,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "email_change_current"+ },+ {+ "type": "literal",+ "value": "email_change_new"+ }+ ]+ }}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 434,- "name": "token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The otp sent to the user's email address."- },- "sources": [+ "groups": [{- "fileName": "src/lib/types.ts",- "line": 318,- "character": 2+ "title": "Properties",+ "kind": 1024,+ "children": [+ 452,+ 453,+ 454,+ 451+ ]}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 435,- "name": "type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's verification type."- },"sources": [{"fileName": "src/lib/types.ts",- "line": 320,- "character": 2+ "line": 385,+ "character": 44}- ],- "type": {- "type": "reference",- "id": 437,- "name": "EmailOtpType"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 433,- 434,- 435]}- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 314,- "character": 17- }- ]+ }},{- "id": 428,- "name": "VerifyMobileOtpParams",- "kind": 256,- "kindString": "Interface",+ "id": 439,+ "name": "GenerateInviteOrMagiclinkParams",+ "kind": 4194304,+ "kindString": "Type alias","flags": {},- "children": [+ "sources": [{- "id": 429,- "name": "phone",- "kind": 1024,- "kindString": "Property",+ "fileName": "src/lib/types.ts",+ "line": 371,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 440,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "comment": {- "shortText": "The user's phone number."- },- "sources": [+ "children": [{- "fileName": "src/lib/types.ts",- "line": 308,- "character": 2+ "id": 442,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's email"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 374,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 443,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 375,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "data"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ]+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 441,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 372,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "invite"+ },+ {+ "type": "literal",+ "value": "magiclink"+ }+ ]+ }}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 430,- "name": "token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The otp sent to the user's phone number."- },- "sources": [+ "groups": [{- "fileName": "src/lib/types.ts",- "line": 310,- "character": 2+ "title": "Properties",+ "kind": 1024,+ "children": [+ 442,+ 443,+ 441+ ]}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 431,- "name": "type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's verification type."- },"sources": [{"fileName": "src/lib/types.ts",- "line": 312,- "character": 2+ "line": 371,+ "character": 46}- ],- "type": {- "type": "reference",- "id": 436,- "name": "MobileOtpType"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 429,- 430,- 431]}- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 306,- "character": 17- }- ]+ }},{- "id": 264,- "name": "AuthChangeEvent",+ "id": 458,+ "name": "GenerateLinkParams","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 22,+ "line": 407,"character": 12}],@@ -59947,42 +60874,193 @@"type": "union","types": [{- "type": "literal",- "value": "PASSWORD_RECOVERY"- },- {- "type": "literal",- "value": "SIGNED_IN"- },- {- "type": "literal",- "value": "SIGNED_OUT"+ "type": "reference",+ "id": 433,+ "name": "GenerateSignupLinkParams"},{- "type": "literal",- "value": "TOKEN_REFRESHED"+ "type": "reference",+ "id": 439,+ "name": "GenerateInviteOrMagiclinkParams"},{- "type": "literal",- "value": "USER_UPDATED"+ "type": "reference",+ "id": 444,+ "name": "GenerateRecoveryLinkParams"},{- "type": "literal",- "value": "USER_DELETED"+ "type": "reference",+ "id": 449,+ "name": "GenerateEmailChangeLinkParams"}]}},{- "id": 265,- "name": "AuthResponse",+ "id": 472,+ "name": "GenerateLinkProperties",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "comment": {+ "shortText": "The properties related to the email link generated"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 430,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 473,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 474,+ "name": "action_link",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The email link to send to the user.\nThe action_link follows the following format: auth/v1/verify?type={verification_type}&token={hashed_token}&redirect_to={redirect_to}"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 435,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 475,+ "name": "email_otp",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The raw email OTP.\nYou should send this in the email if you want your users to verify using an OTP instead of the action link."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 440,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 476,+ "name": "hashed_token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The hashed token appended to the action link."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 444,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 477,+ "name": "redirect_to",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The URL appended to the action link."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 446,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 478,+ "name": "verification_type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The verification type that the email link is associated to."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 448,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 479,+ "name": "GenerateLinkType"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 474,+ 475,+ 476,+ 477,+ 478+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 430,+ "character": 37+ }+ ]+ }+ }+ },+ {+ "id": 459,+ "name": "GenerateLinkResponse","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 30,+ "line": 413,"character": 12}],@@ -59992,14 +61070,142 @@{"type": "reflection","declaration": {- "id": 266,+ "id": 460,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 461,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 415,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 462,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 463,+ "name": "properties",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 416,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 472,+ "name": "GenerateLinkProperties"+ }+ },+ {+ "id": 464,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 417,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 310,+ "name": "User"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 463,+ 464+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 415,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 465,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 419,+ "character": 6+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 461,+ 465+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 414,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 466,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 267,+ "id": 467,"name": "data","kind": 1024,"kindString": "Property",@@ -60007,49 +61213,39 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 32,+ "line": 422,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 268,+ "id": 468,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 270,- "name": "session",+ "id": 469,+ "name": "properties","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 34,+ "line": 423,"character": 8}],"type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 302,- "name": "Session"- },- {- "type": "literal",- "value": null- }- ]+ "type": "literal",+ "value": null}},{- "id": 269,+ "id": 470,"name": "user","kind": 1024,"kindString": "Property",@@ -60057,23 +61253,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 33,+ "line": 424,"character": 8}],"type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 321,- "name": "User"- },- {- "type": "literal",- "value": null- }- ]+ "type": "literal",+ "value": null}}],@@ -60082,15 +61268,15 @@"title": "Properties","kind": 1024,"children": [- 270,- 269+ 469,+ 470]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 32,+ "line": 422,"character": 12}]@@ -60098,411 +61284,665 @@}},{- "id": 271,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 36,- "character": 6- }- ],- "type": {- "type": "literal",- "value": null- }+ "id": 471,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 426,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 467,+ 471+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 421,+ "character": 4+ }+ ]+ }+ }+ ]+ }+ },+ {+ "id": 479,+ "name": "GenerateLinkType",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 451,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "signup"+ },+ {+ "type": "literal",+ "value": "invite"+ },+ {+ "type": "literal",+ "value": "magiclink"+ },+ {+ "type": "literal",+ "value": "recovery"+ },+ {+ "type": "literal",+ "value": "email_change_current"+ },+ {+ "type": "literal",+ "value": "email_change_new"+ }+ ]+ }+ },+ {+ "id": 444,+ "name": "GenerateRecoveryLinkParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 378,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 445,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 447,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's email"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 381,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 448,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 382,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 446,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 379,+ "character": 2+ }+ ],+ "type": {+ "type": "literal",+ "value": "recovery"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 447,+ 448,+ 446+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 378,+ "character": 41+ }+ ]+ }+ }+ },+ {+ "id": 433,+ "name": "GenerateSignupLinkParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 364,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 434,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 436,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 366,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 438,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 368,+ "character": 2}],- "groups": [+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "data"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ]+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 437,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 267,- 271- ]+ "fileName": "src/lib/types.ts",+ "line": 367,+ "character": 2}],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 435,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 31,- "character": 4+ "line": 365,+ "character": 2}- ]+ ],+ "type": {+ "type": "literal",+ "value": "signup"+ }}- },- {- "type": "reflection",- "declaration": {- "id": 272,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,"children": [+ 436,+ 438,+ 437,+ 435+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 364,+ "character": 39+ }+ ]+ }+ }+ },+ {+ "id": 241,+ "name": "GoTrueClientOptions",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 31,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 242,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 250,+ "name": "autoRefreshToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 273,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 39,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 274,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 276,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 41,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 275,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 40,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 276,- 275- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 39,- "character": 12- }- ]- }- }- },+ "fileName": "src/lib/types.ts",+ "line": 41,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 249,+ "name": "detectSessionInUrl",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 277,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 43,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }+ "fileName": "src/lib/types.ts",+ "line": 39,+ "character": 2}],- "groups": [+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 253,+ "name": "fetch",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 273,- 277- ]+ "fileName": "src/lib/types.ts",+ "line": 47,+ "character": 2}],+ "type": {+ "type": "reference",+ "name": "Fetch"+ }+ },+ {+ "id": 244,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 38,- "character": 4+ "line": 35,+ "character": 2}- ]- }- }- ]- }- },- {- "id": 440,- "name": "CallRefreshTokenResult",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 346,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 441,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 443,- "name": "error",- "kind": 1024,- "kindString": "Property",+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 245,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 349,- "character": 6+ "line": 35,+ "character": 12}],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 442,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 348,- "character": 6+ "indexSignature": {+ "id": 246,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 247,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}- ],- "type": {- "type": "reference",- "id": 302,- "name": "Session"}}- ],- "groups": [+ }+ },+ {+ "id": 251,+ "name": "persistSession",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 443,- 442- ]+ "fileName": "src/lib/types.ts",+ "line": 43,+ "character": 2}],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 252,+ "name": "storage",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 347,- "character": 4- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 444,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 446,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 353,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- },- {- "id": 445,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 352,- "character": 6- }- ],- "type": {- "type": "literal",- "value": null- }+ "line": 45,+ "character": 2}],- "groups": [+ "type": {+ "type": "reference",+ "id": 480,+ "name": "SupportedStorage"+ }+ },+ {+ "id": 248,+ "name": "storageKey",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 446,- 445- ]+ "fileName": "src/lib/types.ts",+ "line": 37,+ "character": 2}],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 243,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 351,- "character": 4+ "line": 33,+ "character": 2}- ]+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}- }- ]- }- },- {- "id": 437,- "name": "EmailOtpType",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 324,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"- },- {- "type": "literal",- "value": "recovery"- },- {- "type": "literal",- "value": "email_change"- }- ]+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 250,+ 249,+ 253,+ 244,+ 251,+ 252,+ 248,+ 243+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 31,+ "character": 34+ }+ ]+ }}},{- "id": 438,- "name": "GenerateLinkType",+ "id": 481,+ "name": "InitializeResult","kind": 4194304,"kindString": "Type alias","flags": {},- "comment": {- "shortText": "The link type"- },"sources": [{"fileName": "src/lib/types.ts",- "line": 327,+ "line": 470,"character": 12}],"type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"- },- {- "type": "literal",- "value": "recovery"- },- {- "type": "literal",- "value": "email_change_current"- },- {- "type": "literal",- "value": "email_change_new"- }- ]+ "type": "reflection",+ "declaration": {+ "id": 482,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 483,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 470,+ "character": 33+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ },+ {+ "type": "literal",+ "value": null+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 483+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 470,+ "character": 31+ }+ ]+ }}},{- "id": 436,+ "id": 431,"name": "MobileOtpType","kind": 4194304,"kindString": "Type alias",@@ -60510,7 +61950,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 323,+ "line": 361,"character": 12}],@@ -60529,7 +61969,7 @@}},{- "id": 278,+ "id": 267,"name": "OAuthResponse","kind": 4194304,"kindString": "Type alias",@@ -60537,7 +61977,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 46,+ "line": 66,"character": 12}],@@ -60547,14 +61987,14 @@{"type": "reflection","declaration": {- "id": 279,+ "id": 268,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 280,+ "id": 269,"name": "data","kind": 1024,"kindString": "Property",@@ -60562,21 +62002,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 48,+ "line": 68,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 281,+ "id": 270,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 282,+ "id": 271,"name": "provider","kind": 1024,"kindString": "Property",@@ -60584,18 +62024,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 49,+ "line": 69,"character": 8}],"type": {"type": "reference",- "id": 263,+ "id": 239,"name": "Provider"}},{- "id": 283,+ "id": 272,"name": "url","kind": 1024,"kindString": "Property",@@ -60603,7 +62043,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 50,+ "line": 70,"character": 8}],@@ -60618,15 +62058,15 @@"title": "Properties","kind": 1024,"children": [- 282,- 283+ 271,+ 272]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 48,+ "line": 68,"character": 12}]@@ -60634,7 +62074,7 @@}},{- "id": 284,+ "id": 273,"name": "error","kind": 1024,"kindString": "Property",@@ -60642,7 +62082,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 52,+ "line": 72,"character": 6}],@@ -60657,15 +62097,15 @@"title": "Properties","kind": 1024,"children": [- 280,- 284+ 269,+ 273]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 47,+ "line": 67,"character": 4}]@@ -60674,14 +62114,14 @@{"type": "reflection","declaration": {- "id": 285,+ "id": 274,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 286,+ "id": 275,"name": "data","kind": 1024,"kindString": "Property",@@ -60689,21 +62129,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 55,+ "line": 75,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 287,+ "id": 276,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 288,+ "id": 277,"name": "provider","kind": 1024,"kindString": "Property",@@ -60711,18 +62151,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 56,+ "line": 76,"character": 8}],"type": {"type": "reference",- "id": 263,+ "id": 239,"name": "Provider"}},{- "id": 289,+ "id": 278,"name": "url","kind": 1024,"kindString": "Property",@@ -60730,7 +62170,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 57,+ "line": 77,"character": 8}],@@ -60745,15 +62185,15 @@"title": "Properties","kind": 1024,"children": [- 288,- 289+ 277,+ 278]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 55,+ "line": 75,"character": 12}]@@ -60761,7 +62201,7 @@}},{- "id": 290,+ "id": 279,"name": "error","kind": 1024,"kindString": "Property",@@ -60769,13 +62209,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 59,+ "line": 79,"character": 6}],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -60785,15 +62225,15 @@"title": "Properties","kind": 1024,"children": [- 286,- 290+ 275,+ 279]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 54,+ "line": 74,"character": 4}]@@ -60803,7 +62243,7 @@}},{- "id": 263,+ "id": 239,"name": "Provider","kind": 4194304,"kindString": "Type alias",@@ -60814,7 +62254,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 4,+ "line": 5,"character": 12}],@@ -60889,7 +62329,7 @@}},{- "id": 416,+ "id": 403,"name": "SignInWithOAuthCredentials","kind": 4194304,"kindString": "Type alias",@@ -60897,21 +62337,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 292,+ "line": 318,"character": 12}],"type": {"type": "reflection","declaration": {- "id": 417,+ "id": 404,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 419,+ "id": 406,"name": "options","kind": 1024,"kindString": "Property",@@ -60921,21 +62361,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 295,+ "line": 321,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 420,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 423,+ "id": 410,"name": "queryParams","kind": 1024,"kindString": "Property",@@ -60948,14 +62388,14 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 301,+ "line": 327,"character": 4}],"type": {"type": "reflection","declaration": {- "id": 424,+ "id": 411,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -60963,19 +62403,19 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 301,+ "line": 327,"character": 18}],"indexSignature": {- "id": 425,+ "id": 412,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 426,+ "id": 413,"name": "key","kind": 32768,"flags": {},@@ -60994,7 +62434,7 @@}},{- "id": 421,+ "id": 408,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -61002,12 +62442,12 @@"isOptional": true},"comment": {- "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."+ "shortText": "A URL to send the user to after they are confirmed."},"sources": [{"fileName": "src/lib/types.ts",- "line": 297,+ "line": 323,"character": 4}],@@ -61017,7 +62457,7 @@}},{- "id": 422,+ "id": 409,"name": "scopes","kind": 1024,"kindString": "Property",@@ -61030,7 +62470,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 299,+ "line": 325,"character": 4}],@@ -61045,16 +62485,16 @@"title": "Properties","kind": 1024,"children": [- 423,- 421,- 422+ 410,+ 408,+ 409]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 295,+ "line": 321,"character": 12}]@@ -61062,7 +62502,7 @@}},{- "id": 418,+ "id": 405,"name": "provider","kind": 1024,"kindString": "Property",@@ -61073,13 +62513,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 294,+ "line": 320,"character": 2}],"type": {"type": "reference",- "id": 263,+ "id": 239,"name": "Provider"}}@@ -61089,15 +62529,15 @@"title": "Properties","kind": 1024,"children": [- 419,- 418+ 406,+ 405]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 292,+ "line": 318,"character": 41}]@@ -61105,7 +62545,7 @@}},{- "id": 389,+ "id": 376,"name": "SignInWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -61113,7 +62553,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 246,+ "line": 272,"character": 12}],@@ -61123,14 +62563,14 @@{"type": "reflection","declaration": {- "id": 390,+ "id": 377,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 391,+ "id": 378,"name": "email","kind": 1024,"kindString": "Property",@@ -61141,7 +62581,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 249,+ "line": 275,"character": 6}],@@ -61151,7 +62591,7 @@}},{- "id": 393,+ "id": 380,"name": "options","kind": 1024,"kindString": "Property",@@ -61161,21 +62601,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 278,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 394,+ "id": 381,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 395,+ "id": 382,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -61188,7 +62628,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 254,+ "line": 280,"character": 8}],@@ -61203,14 +62643,14 @@"title": "Properties","kind": 1024,"children": [- 395+ 382]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 278,"character": 16}]@@ -61218,7 +62658,7 @@}},{- "id": 392,+ "id": 379,"name": "password","kind": 1024,"kindString": "Property",@@ -61229,7 +62669,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 251,+ "line": 277,"character": 6}],@@ -61244,16 +62684,16 @@"title": "Properties","kind": 1024,"children": [- 391,- 393,- 392+ 378,+ 380,+ 379]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 247,+ "line": 273,"character": 4}]@@ -61262,14 +62702,14 @@{"type": "reflection","declaration": {- "id": 396,+ "id": 383,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 399,+ "id": 386,"name": "options","kind": 1024,"kindString": "Property",@@ -61279,21 +62719,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 288,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 400,+ "id": 387,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 401,+ "id": 388,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -61306,7 +62746,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 264,+ "line": 290,"character": 8}],@@ -61321,14 +62761,14 @@"title": "Properties","kind": 1024,"children": [- 401+ 388]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 288,"character": 16}]@@ -61336,7 +62776,7 @@}},{- "id": 398,+ "id": 385,"name": "password","kind": 1024,"kindString": "Property",@@ -61347,7 +62787,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 261,+ "line": 287,"character": 6}],@@ -61357,7 +62797,7 @@}},{- "id": 397,+ "id": 384,"name": "phone","kind": 1024,"kindString": "Property",@@ -61368,7 +62808,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 259,+ "line": 285,"character": 6}],@@ -61383,16 +62823,16 @@"title": "Properties","kind": 1024,"children": [- 399,- 398,- 397+ 386,+ 385,+ 384]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 257,+ "line": 283,"character": 4}]@@ -61402,7 +62842,7 @@}},{- "id": 402,+ "id": 389,"name": "SignInWithPasswordlessCredentials","kind": 4194304,"kindString": "Type alias",@@ -61410,7 +62850,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 268,+ "line": 294,"character": 12}],@@ -61420,14 +62860,14 @@{"type": "reflection","declaration": {- "id": 403,+ "id": 390,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 404,+ "id": 391,"name": "email","kind": 1024,"kindString": "Property",@@ -61438,7 +62878,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 271,+ "line": 297,"character": 6}],@@ -61448,7 +62888,7 @@}},{- "id": 405,+ "id": 392,"name": "options","kind": 1024,"kindString": "Property",@@ -61458,21 +62898,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 272,+ "line": 298,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 406,+ "id": 393,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 409,+ "id": 396,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -61485,7 +62925,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 278,+ "line": 304,"character": 8}],@@ -61495,7 +62935,7 @@}},{- "id": 407,+ "id": 394,"name": "emailRedirectTo","kind": 1024,"kindString": "Property",@@ -61508,7 +62948,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 274,+ "line": 300,"character": 8}],@@ -61518,7 +62958,7 @@}},{- "id": 408,+ "id": 395,"name": "shouldCreateUser","kind": 1024,"kindString": "Property",@@ -61531,7 +62971,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 276,+ "line": 302,"character": 8}],@@ -61546,16 +62986,16 @@"title": "Properties","kind": 1024,"children": [- 409,- 407,- 408+ 396,+ 394,+ 395]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 272,+ "line": 298,"character": 16}]@@ -61568,15 +63008,15 @@"title": "Properties","kind": 1024,"children": [- 404,- 405+ 391,+ 392]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 269,+ "line": 295,"character": 4}]@@ -61585,14 +63025,14 @@{"type": "reflection","declaration": {- "id": 410,+ "id": 397,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 412,+ "id": 399,"name": "options","kind": 1024,"kindString": "Property",@@ -61602,21 +63042,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 284,+ "line": 310,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 413,+ "id": 400,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 415,+ "id": 402,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -61629,7 +63069,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 288,+ "line": 314,"character": 8}],@@ -61639,7 +63079,7 @@}},{- "id": 414,+ "id": 401,"name": "shouldCreateUser","kind": 1024,"kindString": "Property",@@ -61652,7 +63092,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 286,+ "line": 312,"character": 8}],@@ -61667,15 +63107,15 @@"title": "Properties","kind": 1024,"children": [- 415,- 414+ 402,+ 401]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 284,+ "line": 310,"character": 16}]@@ -61683,7 +63123,7 @@}},{- "id": 411,+ "id": 398,"name": "phone","kind": 1024,"kindString": "Property",@@ -61694,7 +63134,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 283,+ "line": 309,"character": 6}],@@ -61709,15 +63149,15 @@"title": "Properties","kind": 1024,"children": [- 412,- 411+ 399,+ 398]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 281,+ "line": 307,"character": 4}]@@ -61727,7 +63167,7 @@}},{- "id": 373,+ "id": 360,"name": "SignUpWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -61735,7 +63175,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 219,+ "line": 237,"character": 12}],@@ -61745,14 +63185,14 @@{"type": "reflection","declaration": {- "id": 374,+ "id": 361,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 375,+ "id": 362,"name": "email","kind": 1024,"kindString": "Property",@@ -61763,7 +63203,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 222,+ "line": 240,"character": 6}],@@ -61773,7 +63213,7 @@}},{- "id": 377,+ "id": 364,"name": "options","kind": 1024,"kindString": "Property",@@ -61783,21 +63223,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 243,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 378,+ "id": 365,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 381,+ "id": 368,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -61810,7 +63250,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 231,+ "line": 253,"character": 8}],@@ -61820,7 +63260,7 @@}},{- "id": 380,+ "id": 367,"name": "data","kind": 1024,"kindString": "Property",@@ -61828,12 +63268,13 @@"isOptional": true},"comment": {- "shortText": "The user's metadata."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 229,+ "line": 251,"character": 8}],@@ -61843,7 +63284,7 @@}},{- "id": 379,+ "id": 366,"name": "emailRedirectTo","kind": 1024,"kindString": "Property",@@ -61856,7 +63297,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 227,+ "line": 245,"character": 8}],@@ -61871,16 +63312,16 @@"title": "Properties","kind": 1024,"children": [- 381,- 380,- 379+ 368,+ 367,+ 366]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 243,"character": 16}]@@ -61888,7 +63329,7 @@}},{- "id": 376,+ "id": 363,"name": "password","kind": 1024,"kindString": "Property",@@ -61899,7 +63340,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 224,+ "line": 242,"character": 6}],@@ -61914,16 +63355,16 @@"title": "Properties","kind": 1024,"children": [- 375,- 377,- 376+ 362,+ 364,+ 363]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 220,+ "line": 238,"character": 4}]@@ -61932,14 +63373,14 @@{"type": "reflection","declaration": {- "id": 382,+ "id": 369,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 385,+ "id": 372,"name": "options","kind": 1024,"kindString": "Property",@@ -61949,21 +63390,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 239,+ "line": 261,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 386,+ "id": 373,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 388,+ "id": 375,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -61976,7 +63417,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 243,+ "line": 269,"character": 8}],@@ -61986,7 +63427,7 @@}},{- "id": 387,+ "id": 374,"name": "data","kind": 1024,"kindString": "Property",@@ -61994,12 +63435,13 @@"isOptional": true},"comment": {- "shortText": "The user's metadata."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 241,+ "line": 267,"character": 8}],@@ -62014,15 +63456,15 @@"title": "Properties","kind": 1024,"children": [- 388,- 387+ 375,+ 374]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 239,+ "line": 261,"character": 16}]@@ -62030,7 +63472,7 @@}},{- "id": 384,+ "id": 371,"name": "password","kind": 1024,"kindString": "Property",@@ -62041,7 +63483,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 238,+ "line": 260,"character": 6}],@@ -62051,7 +63493,7 @@}},{- "id": 383,+ "id": 370,"name": "phone","kind": 1024,"kindString": "Property",@@ -62062,7 +63504,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 236,+ "line": 258,"character": 6}],@@ -62077,16 +63519,16 @@"title": "Properties","kind": 1024,"children": [- 385,- 384,- 383+ 372,+ 371,+ 370]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 234,+ "line": 256,"character": 4}]@@ -62096,7 +63538,7 @@}},{- "id": 439,+ "id": 480,"name": "SupportedStorage","kind": 4194304,"kindString": "Type alias",@@ -62104,7 +63546,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 344,+ "line": 468,"character": 12}],@@ -62147,7 +63589,7 @@}},{- "id": 291,+ "id": 280,"name": "UserResponse","kind": 4194304,"kindString": "Type alias",@@ -62155,7 +63597,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 62,+ "line": 82,"character": 12}],@@ -62165,14 +63607,14 @@{"type": "reflection","declaration": {- "id": 292,+ "id": 281,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 293,+ "id": 282,"name": "data","kind": 1024,"kindString": "Property",@@ -62180,21 +63622,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 64,+ "line": 84,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 294,+ "id": 283,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 295,+ "id": 284,"name": "user","kind": 1024,"kindString": "Property",@@ -62202,13 +63644,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 65,+ "line": 85,"character": 8}],"type": {"type": "reference",- "id": 321,+ "id": 310,"name": "User"}}@@ -62218,14 +63660,14 @@"title": "Properties","kind": 1024,"children": [- 295+ 284]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 64,+ "line": 84,"character": 12}]@@ -62233,7 +63675,7 @@}},{- "id": 296,+ "id": 285,"name": "error","kind": 1024,"kindString": "Property",@@ -62241,7 +63683,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 67,+ "line": 87,"character": 6}],@@ -62256,15 +63698,15 @@"title": "Properties","kind": 1024,"children": [- 293,- 296+ 282,+ 285]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 63,+ "line": 83,"character": 4}]@@ -62273,14 +63715,14 @@{"type": "reflection","declaration": {- "id": 297,+ "id": 286,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 298,+ "id": 287,"name": "data","kind": 1024,"kindString": "Property",@@ -62288,21 +63730,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 70,+ "line": 90,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 299,+ "id": 288,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 300,+ "id": 289,"name": "user","kind": 1024,"kindString": "Property",@@ -62310,7 +63752,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 71,+ "line": 91,"character": 8}],@@ -62325,14 +63767,14 @@"title": "Properties","kind": 1024,"children": [- 300+ 289]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 70,+ "line": 90,"character": 12}]@@ -62340,7 +63782,7 @@}},{- "id": 301,+ "id": 290,"name": "error","kind": 1024,"kindString": "Property",@@ -62348,13 +63790,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 73,+ "line": 93,"character": 6}],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -62364,15 +63806,15 @@"title": "Properties","kind": 1024,"children": [- 298,- 301+ 287,+ 290]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 69,+ "line": 89,"character": 4}]@@ -62382,7 +63824,7 @@}},{- "id": 427,+ "id": 414,"name": "VerifyOtpParams","kind": 4194304,"kindString": "Type alias",@@ -62390,7 +63832,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 305,+ "line": 331,"character": 12}],@@ -62399,19 +63841,19 @@"types": [{"type": "reference",- "id": 428,+ "id": 415,"name": "VerifyMobileOtpParams"},{"type": "reference",- "id": 432,+ "id": 423,"name": "VerifyEmailOtpParams"}]}},{- "id": 447,+ "id": 491,"name": "isAuthError","kind": 64,"kindString": "Function",@@ -62425,14 +63867,14 @@],"signatures": [{- "id": 448,+ "id": 492,"name": "isAuthError","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 449,+ "id": 493,"name": "error","kind": 32768,"kindString": "Parameter",@@ -62449,7 +63891,7 @@"asserts": false,"targetType": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -62462,57 +63904,68 @@"title": "Classes","kind": 128,"children": [- 455,- 450,- 502,- 515,- 490,- 468,- 475,+ 499,+ 494,+ 559,+ 546,+ 584,+ 534,+ 512,+ 519,1,- 81+ 66]},{"title": "Interfaces","kind": 256,"children": [- 355,- 302,- 365,- 321,- 349,+ 343,+ 455,+ 291,+ 352,310,- 432,- 428+ 338,+ 299,+ 423,+ 415]},{"title": "Type Aliases","kind": 4194304,"children": [- 264,- 265,- 440,- 437,- 438,- 436,- 278,- 263,- 416,- 389,- 402,- 373,+ 240,+ 254,+ 484,+ 432,+ 449,439,- 291,- 427+ 458,+ 472,+ 459,+ 479,+ 444,+ 433,+ 241,+ 481,+ 431,+ 267,+ 239,+ 403,+ 376,+ 389,+ 360,+ 480,+ 280,+ 414]},{"title": "Functions","kind": 64,"children": [- 447+ 491]}],diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.jsonindex 81b5b0c0bbb..1d3d6c68861 100644--- a/spec/enrichments/tsdoc_v2/gotrue.json+++ b/spec/enrichments/tsdoc_v2/gotrue.json@@ -3,8904 +3,11001 @@"name": "@supabase/gotrue-js","kind": 1,"kindString": "Project",- "flags": {},+ "flags": {++ },"originalName": "","children": [- {- "id": 455,- "name": "AuthApiError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 456,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 17,- "character": 2- }- ],- "signatures": [- {- "id": 457,- "name": "new AuthApiError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 458,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 459,- "name": "status",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "number"- }- }- ],- "type": {- "type": "reference",- "id": 455,- "name": "AuthApiError"- },- "overwrites": {- "type": "reference",- "id": 452,- "name": "AuthError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 451,- "name": "AuthError.constructor"- }+ {+ "id": 499,+ "name": "AuthApiError",+ "kind": 128,+ "kindString": "Class",+ "flags": {++ },+ "children": [+ {+ "id": 500,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 17,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 501,+ "name": "new AuthApiError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {+},- {- "id": 460,+ "parameters": [+ {+ "id": 502,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 503,"name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 15,- "character": 2- }- ],+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },"type": {- "type": "intrinsic",- "name": "number"+ "type": "intrinsic",+ "name": "number"}+ }+ ],+ "type": {+ "type": "reference",+ "id": 499,+ "name": "AuthApiError"},- {- "id": 461,- "name": "toJSON",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 23,- "character": 2- }- ],- "signatures": [- {- "id": 462,- "name": "toJSON",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 463,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 465,- "name": "message",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 26,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."- },- {- "id": 464,- "name": "name",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 25,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."- },- {- "id": 466,- "name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 27,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "number"- },- "defaultValue": "..."- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 465,- 464,- 466- ]- }- ]- }- }- }- ]+ "overwrites": {+ "type": "reference",+ "id": 496,+ "name": "AuthError.constructor"}+ }],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 456- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 460- ]+ "overwrites": {+ "type": "reference",+ "id": 495,+ "name": "AuthError.constructor"+ }+ },+ {+ "id": 504,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 15,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ },+ {+ "id": 505,+ "name": "toJSON",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 23,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 506,+ "name": "toJSON",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "title": "Methods",- "kind": 2048,+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 507,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },"children": [- 461+ {+ "id": 509,+ "name": "message",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 26,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 508,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 25,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 510,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 27,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "defaultValue": "..."+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 509,+ 508,+ 510+ ]+ }]+ }}- ],+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 500+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 504+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 505+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 14,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ]+ },+ {+ "id": 494,+ "name": "AuthError",+ "kind": 128,+ "kindString": "Class",+ "flags": {++ },+ "children": [+ {+ "id": 495,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/errors.ts",- "line": 14,- "character": 13- }+ {+ "fileName": "src/lib/errors.ts",+ "line": 4,+ "character": 2+ }],- "extendedTypes": [- {- "type": "reference",- "id": 450,- "name": "AuthError"+ "signatures": [+ {+ "id": 496,+ "name": "new AuthError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 497,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ },+ "overwrites": {+ "type": "reference",+ "name": "Error.constructor"}+ }+ ],+ "overwrites": {+ "type": "reference",+ "name": "Error.constructor"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 495]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 1,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "qualifiedName": "Error",+ "package": "typescript",+ "name": "Error"+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 499,+ "name": "AuthApiError"+ },+ {+ "type": "reference",+ "id": 512,+ "name": "AuthUnknownError"+ },+ {+ "type": "reference",+ "id": 519,+ "name": "CustomAuthError"+ }+ ]+ },+ {+ "id": 559,+ "name": "AuthImplicitGrantRedirectError",+ "kind": 128,+ "kindString": "Class",+ "flags": {+},- {- "id": 450,- "name": "AuthError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 451,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [+ "children": [+ {+ "id": 560,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 74,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 561,+ "name": "new AuthImplicitGrantRedirectError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 562,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 563,+ "name": "details",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "union",+ "types": [{- "fileName": "src/lib/errors.ts",- "line": 4,- "character": 2- }- ],- "signatures": [+ "type": "literal",+ "value": null+ },{- "id": 452,- "name": "new AuthError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 453,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }+ "type": "reflection",+ "declaration": {+ "id": 564,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 566,+ "name": "code",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 74,+ "character": 57+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 565,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 74,+ "character": 42+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}+ }],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- },- "overwrites": {- "type": "reference",- "name": "Error.constructor"- }+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 566,+ 565+ ]+ }+ ]+ }}- ],- "overwrites": {- "type": "reference",- "name": "Error.constructor"- }- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 451- ]+ ]+ },+ "defaultValue": "null"+ }+ ],+ "type": {+ "type": "reference",+ "id": 559,+ "name": "AuthImplicitGrantRedirectError"+ },+ "overwrites": {+ "type": "reference",+ "id": 521,+ "name": "CustomAuthError.constructor"}+ }],+ "overwrites": {+ "type": "reference",+ "id": 520,+ "name": "CustomAuthError.constructor"+ }+ },+ {+ "id": 567,+ "name": "details",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/errors.ts",- "line": 1,- "character": 13- }- ],- "extendedTypes": [- {- "type": "reference",- "qualifiedName": "Error",- "package": "typescript",- "name": "Error"- }+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 2+ }],- "extendedBy": [- {- "type": "reference",- "id": 455,- "name": "AuthApiError"- },+ "type": {+ "type": "union",+ "types": [{- "type": "reference",- "id": 468,- "name": "AuthUnknownError"+ "type": "literal",+ "value": null},{- "type": "reference",- "id": 475,- "name": "CustomAuthError"- }- ]- },- {- "id": 502,- "name": "AuthInvalidCredentialsError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 503,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {+ "type": "reflection",+ "declaration": {+ "id": 568,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 570,+ "name": "code",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {"fileName": "src/lib/errors.ts",- "line": 67,- "character": 2+ "line": 73,+ "character": 28+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}- ],- "signatures": [- {- "id": 504,- "name": "new AuthInvalidCredentialsError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 505,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "id": 502,- "name": "AuthInvalidCredentialsError"- },- "overwrites": {- "type": "reference",- "id": 477,- "name": "CustomAuthError.constructor"- }+ },+ {+ "id": 569,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 13+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}+ }],- "overwrites": {- "type": "reference",- "id": 476,- "name": "CustomAuthError.constructor"- }- },- {- "id": 506,- "name": "name",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 43,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 481,- "name": "CustomAuthError.name"- }+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 570,+ 569+ ]+ }+ ]+ }+ }+ ]+ },+ "defaultValue": "null"+ },+ {+ "id": 581,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 43,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 525,+ "name": "CustomAuthError.name"+ }+ },+ {+ "id": 582,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 44,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 526,+ "name": "CustomAuthError.status"+ }+ },+ {+ "id": 571,+ "name": "toJSON",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 79,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 572,+ "name": "toJSON",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 507,- "name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 44,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 573,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- "inheritedFrom": {- "type": "reference",- "id": 482,- "name": "CustomAuthError.status"- }- },- {- "id": 508,- "name": "toJSON",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {+ "children": [+ {+ "id": 577,+ "name": "details",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {"fileName": "src/lib/errors.ts",- "line": 51,- "character": 2- }- ],- "signatures": [- {- "id": 509,- "name": "toJSON",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 510,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 512,- "name": "message",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 54,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."- },- {- "id": 511,- "name": "name",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 53,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."- },- {- "id": 513,- "name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 55,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "number"- },- "defaultValue": "..."- }+ "line": 84,+ "character": 6+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 578,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 580,+ "name": "code",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 28+ }],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 512,- 511,- 513- ]- }+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 579,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 13+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 580,+ 579]- }- },- "inheritedFrom": {- "type": "reference",- "id": 484,- "name": "CustomAuthError.toJSON"+ }+ ]+ }}- }+ ]+ },+ "defaultValue": "..."+ },+ {+ "id": 575,+ "name": "message",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 82,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 574,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 81,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 576,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 83,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "defaultValue": "..."+ }],- "inheritedFrom": {- "type": "reference",- "id": 483,- "name": "CustomAuthError.toJSON"- }+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 577,+ 575,+ 574,+ 576+ ]+ }+ ]+ }+ },+ "overwrites": {+ "type": "reference",+ "id": 528,+ "name": "CustomAuthError.toJSON"}+ }],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 503- ]+ "overwrites": {+ "type": "reference",+ "id": 527,+ "name": "CustomAuthError.toJSON"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 560+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 567,+ 581,+ 582+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 571+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 72,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 519,+ "name": "CustomAuthError"+ }+ ]+ },+ {+ "id": 546,+ "name": "AuthInvalidCredentialsError",+ "kind": 128,+ "kindString": "Class",+ "flags": {++ },+ "children": [+ {+ "id": 547,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 67,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 548,+ "name": "new AuthInvalidCredentialsError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {+},- {- "title": "Properties",- "kind": 1024,- "children": [- 506,- 507- ]+ "parameters": [+ {+ "id": 549,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 546,+ "name": "AuthInvalidCredentialsError"},- {- "title": "Methods",- "kind": 2048,- "children": [- 508- ]+ "overwrites": {+ "type": "reference",+ "id": 521,+ "name": "CustomAuthError.constructor"}+ }],+ "overwrites": {+ "type": "reference",+ "id": 520,+ "name": "CustomAuthError.constructor"+ }+ },+ {+ "id": 550,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/errors.ts",- "line": 66,- "character": 13- }+ {+ "fileName": "src/lib/errors.ts",+ "line": 43,+ "character": 2+ }],- "extendedTypes": [- {- "type": "reference",- "id": 475,- "name": "CustomAuthError"+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 525,+ "name": "CustomAuthError.name"+ }+ },+ {+ "id": 551,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 44,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 526,+ "name": "CustomAuthError.status"+ }+ },+ {+ "id": 552,+ "name": "toJSON",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 51,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 553,+ "name": "toJSON",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 554,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 556,+ "name": "message",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 54,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 555,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 53,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 557,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 55,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "defaultValue": "..."+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 556,+ 555,+ 557+ ]+ }+ ]+ }+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 528,+ "name": "CustomAuthError.toJSON"}+ }+ ],+ "inheritedFrom": {+ "type": "reference",+ "id": 527,+ "name": "CustomAuthError.toJSON"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 547]- },- {- "id": 515,- "name": "AuthRetryableFetchError",- "kind": 128,- "kindString": "Class",- "flags": {},+ },+ {+ "title": "Properties",+ "kind": 1024,"children": [- {- "id": 516,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 73,- "character": 2- }- ],- "signatures": [- {- "id": 517,- "name": "new AuthRetryableFetchError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 518,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 519,- "name": "status",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "number"- }- }- ],- "type": {- "type": "reference",- "id": 515,- "name": "AuthRetryableFetchError"- },- "overwrites": {- "type": "reference",- "id": 477,- "name": "CustomAuthError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 476,- "name": "CustomAuthError.constructor"- }+ 550,+ 551+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 552+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 66,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 519,+ "name": "CustomAuthError"+ }+ ]+ },+ {+ "id": 584,+ "name": "AuthRetryableFetchError",+ "kind": 128,+ "kindString": "Class",+ "flags": {++ },+ "children": [+ {+ "id": 585,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 90,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 586,+ "name": "new AuthRetryableFetchError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {+},- {- "id": 520,- "name": "name",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 43,- "character": 2- }- ],+ "parameters": [+ {+ "id": 587,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },"type": {- "type": "intrinsic",- "name": "string"+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 588,+ "name": "status",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+},- "inheritedFrom": {- "type": "reference",- "id": 481,- "name": "CustomAuthError.name"+ "type": {+ "type": "intrinsic",+ "name": "number"}+ }+ ],+ "type": {+ "type": "reference",+ "id": 584,+ "name": "AuthRetryableFetchError"},- {- "id": 521,- "name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 44,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- },- "inheritedFrom": {- "type": "reference",- "id": 482,- "name": "CustomAuthError.status"- }+ "overwrites": {+ "type": "reference",+ "id": 521,+ "name": "CustomAuthError.constructor"+ }+ }+ ],+ "overwrites": {+ "type": "reference",+ "id": 520,+ "name": "CustomAuthError.constructor"+ }+ },+ {+ "id": 589,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 43,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 525,+ "name": "CustomAuthError.name"+ }+ },+ {+ "id": 590,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 44,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 526,+ "name": "CustomAuthError.status"+ }+ },+ {+ "id": 591,+ "name": "toJSON",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 51,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 592,+ "name": "toJSON",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 522,- "name": "toJSON",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 593,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 595,+ "name": "message",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {"fileName": "src/lib/errors.ts",- "line": 51,- "character": 2- }- ],- "signatures": [- {- "id": 523,- "name": "toJSON",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 524,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 526,- "name": "message",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 54,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."- },- {- "id": 525,- "name": "name",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 53,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."- },- {- "id": 527,- "name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 55,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "number"- },- "defaultValue": "..."- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 526,- 525,- 527- ]- }- ]- }- },- "inheritedFrom": {- "type": "reference",- "id": 484,- "name": "CustomAuthError.toJSON"- }- }+ "line": 54,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 594,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 53,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 596,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 55,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "defaultValue": "..."+ }],- "inheritedFrom": {- "type": "reference",- "id": 483,- "name": "CustomAuthError.toJSON"- }+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 595,+ 594,+ 596+ ]+ }+ ]+ }+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 528,+ "name": "CustomAuthError.toJSON"}+ }],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 516- ]+ "inheritedFrom": {+ "type": "reference",+ "id": 527,+ "name": "CustomAuthError.toJSON"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 585+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 589,+ 590+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 591+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 89,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 519,+ "name": "CustomAuthError"+ }+ ]+ },+ {+ "id": 534,+ "name": "AuthSessionMissingError",+ "kind": 128,+ "kindString": "Class",+ "flags": {++ },+ "children": [+ {+ "id": 535,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 61,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 536,+ "name": "new AuthSessionMissingError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {+},- {- "title": "Properties",- "kind": 1024,- "children": [- 520,- 521- ]+ "type": {+ "type": "reference",+ "id": 534,+ "name": "AuthSessionMissingError"},- {- "title": "Methods",- "kind": 2048,+ "overwrites": {+ "type": "reference",+ "id": 521,+ "name": "CustomAuthError.constructor"+ }+ }+ ],+ "overwrites": {+ "type": "reference",+ "id": 520,+ "name": "CustomAuthError.constructor"+ }+ },+ {+ "id": 537,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 43,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 525,+ "name": "CustomAuthError.name"+ }+ },+ {+ "id": 538,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 44,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 526,+ "name": "CustomAuthError.status"+ }+ },+ {+ "id": 539,+ "name": "toJSON",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 51,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 540,+ "name": "toJSON",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 541,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },"children": [- 522+ {+ "id": 543,+ "name": "message",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 54,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 542,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 53,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 544,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 55,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "defaultValue": "..."+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 543,+ 542,+ 544+ ]+ }]+ }+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 528,+ "name": "CustomAuthError.toJSON"}+ }],+ "inheritedFrom": {+ "type": "reference",+ "id": 527,+ "name": "CustomAuthError.toJSON"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 535+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 537,+ 538+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 539+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 60,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 519,+ "name": "CustomAuthError"+ }+ ]+ },+ {+ "id": 512,+ "name": "AuthUnknownError",+ "kind": 128,+ "kindString": "Class",+ "flags": {++ },+ "children": [+ {+ "id": 513,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/errors.ts",- "line": 72,- "character": 13- }+ {+ "fileName": "src/lib/errors.ts",+ "line": 35,+ "character": 2+ }],- "extendedTypes": [- {- "type": "reference",- "id": 475,- "name": "CustomAuthError"+ "signatures": [+ {+ "id": 514,+ "name": "new AuthUnknownError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 515,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 516,+ "name": "originalError",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "unknown"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 512,+ "name": "AuthUnknownError"+ },+ "overwrites": {+ "type": "reference",+ "id": 496,+ "name": "AuthError.constructor"}+ }+ ],+ "overwrites": {+ "type": "reference",+ "id": 495,+ "name": "AuthError.constructor"+ }+ },+ {+ "id": 517,+ "name": "originalError",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 33,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "unknown"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 513]- },- {- "id": 490,- "name": "AuthSessionMissingError",- "kind": 128,- "kindString": "Class",- "flags": {},+ },+ {+ "title": "Properties",+ "kind": 1024,"children": [- {- "id": 491,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 61,- "character": 2- }- ],- "signatures": [- {- "id": 492,- "name": "new AuthSessionMissingError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "type": {- "type": "reference",- "id": 490,- "name": "AuthSessionMissingError"- },- "overwrites": {- "type": "reference",- "id": 477,- "name": "CustomAuthError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 476,- "name": "CustomAuthError.constructor"- }+ 517+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 32,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ]+ },+ {+ "id": 519,+ "name": "CustomAuthError",+ "kind": 128,+ "kindString": "Class",+ "flags": {++ },+ "children": [+ {+ "id": 520,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 45,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 521,+ "name": "new CustomAuthError",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {+},- {- "id": 493,- "name": "name",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 43,- "character": 2- }- ],+ "parameters": [+ {+ "id": 522,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },"type": {- "type": "intrinsic",- "name": "string"+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 523,+ "name": "name",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+},- "inheritedFrom": {- "type": "reference",- "id": 481,- "name": "CustomAuthError.name"+ "type": {+ "type": "intrinsic",+ "name": "string"}- },- {- "id": 494,+ },+ {+ "id": 524,"name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 44,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+},- "inheritedFrom": {- "type": "reference",- "id": 482,- "name": "CustomAuthError.status"+ "type": {+ "type": "intrinsic",+ "name": "number"}+ }+ ],+ "type": {+ "type": "reference",+ "id": 519,+ "name": "CustomAuthError"},- {- "id": 495,- "name": "toJSON",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 51,- "character": 2- }- ],- "signatures": [- {- "id": 496,- "name": "toJSON",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 497,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 499,- "name": "message",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 54,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."- },- {- "id": 498,- "name": "name",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 53,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."- },- {- "id": 500,- "name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 55,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "number"- },- "defaultValue": "..."- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 499,- 498,- 500- ]- }- ]- }- },- "inheritedFrom": {- "type": "reference",- "id": 484,- "name": "CustomAuthError.toJSON"- }- }- ],- "inheritedFrom": {- "type": "reference",- "id": 483,- "name": "CustomAuthError.toJSON"- }+ "overwrites": {+ "type": "reference",+ "id": 496,+ "name": "AuthError.constructor"}+ }],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 491- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 493,- 494- ]- },- {- "title": "Methods",- "kind": 2048,- "children": [- 495- ]- }+ "overwrites": {+ "type": "reference",+ "id": 495,+ "name": "AuthError.constructor"+ }+ },+ {+ "id": 525,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 43,+ "character": 2+ }],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "overwrites": {+ "type": "reference",+ "name": "AuthError.name"+ }+ },+ {+ "id": 526,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/errors.ts",- "line": 60,- "character": 13- }+ {+ "fileName": "src/lib/errors.ts",+ "line": 44,+ "character": 2+ }],- "extendedTypes": [- {- "type": "reference",- "id": 475,- "name": "CustomAuthError"+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ },+ {+ "id": 527,+ "name": "toJSON",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 51,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 528,+ "name": "toJSON",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 529,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 531,+ "name": "message",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 54,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 530,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 53,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 532,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 55,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "defaultValue": "..."+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 531,+ 530,+ 532+ ]+ }+ ]+ }}+ }]- },- {- "id": 468,- "name": "AuthUnknownError",- "kind": 128,- "kindString": "Class",- "flags": {},+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,"children": [- {- "id": 469,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 35,- "character": 2- }- ],- "signatures": [- {- "id": 470,- "name": "new AuthUnknownError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 471,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},+ 520+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 525,+ 526+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 527+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 42,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 534,+ "name": "AuthSessionMissingError"+ },+ {+ "type": "reference",+ "id": 546,+ "name": "AuthInvalidCredentialsError"+ },+ {+ "type": "reference",+ "id": 559,+ "name": "AuthImplicitGrantRedirectError"+ },+ {+ "type": "reference",+ "id": 584,+ "name": "AuthRetryableFetchError"+ }+ ]+ },+ {+ "id": 1,+ "name": "GoTrueAdminApi",+ "kind": 128,+ "kindString": "Class",+ "flags": {++ },+ "children": [+ {+ "id": 2,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 19,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 3,+ "name": "new GoTrueAdminApi",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 4,+ "name": "__namedParameters",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 5,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 11,+ "name": "fetch",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 28,+ "character": 4+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 12,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "signatures": [+ {+ "id": 13,+ "name": "__type",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 14,+ "name": "input",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "qualifiedName": "RequestInfo",+ "package": "typescript",+ "name": "RequestInfo"+ },+ {+ "type": "reference",+ "qualifiedName": "URL",+ "package": "typescript",+ "name": "URL"+ }+ ]+ }+ },+ {+ "id": 15,+ "name": "init",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isOptional": true+ },+ "type": {+ "type": "reference",+ "qualifiedName": "RequestInit",+ "package": "typescript",+ "name": "RequestInit"+ }+ }+ ],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "qualifiedName": "Response",+ "package": "typescript",+ "name": "Response"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}+ }+ ]+ }+ }+ },+ {+ "id": 7,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 25,+ "character": 4+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 8,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 472,- "name": "originalError",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {+ "indexSignature": {+ "id": 9,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 10,+ "name": "key",+ "kind": 32768,+ "flags": {++ },+ "type": {"type": "intrinsic",- "name": "unknown"+ "name": "string"+ }}+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}+ }+ }+ },+ {+ "id": 6,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 24,+ "character": 4+ }],"type": {- "type": "reference",- "id": 468,- "name": "AuthUnknownError"- },- "overwrites": {- "type": "reference",- "id": 452,- "name": "AuthError.constructor"+ "type": "intrinsic",+ "name": "string"}- }- ],- "overwrites": {- "type": "reference",- "id": 451,- "name": "AuthError.constructor"+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 11,+ 7,+ 6+ ]+ }+ ]+ }}+ }+ ],+ "type": {+ "type": "reference",+ "id": 1,+ "name": "default"+ }+ }+ ]+ },+ {+ "id": 41,+ "name": "createUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 126,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 42,+ "name": "createUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 473,- "name": "originalError",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 33,- "character": 2- }- ],+ "comment": {+ "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."+ },+ "parameters": [+ {+ "id": 43,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },"type": {- "type": "intrinsic",- "name": "unknown"+ "type": "reference",+ "id": 343,+ "name": "AdminUserAttributes"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"}+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}+ }+ ]+ },+ {+ "id": 63,+ "name": "deleteUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 216,+ "character": 8+ }],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 469- ]+ "signatures": [+ {+ "id": 64,+ "name": "deleteUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "title": "Properties",- "kind": 1024,- "children": [- 473- ]+ "comment": {+ "shortText": "Delete a user. Requires a `service_role` key."+ },+ "parameters": [+ {+ "id": 65,+ "name": "id",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "comment": {+ "shortText": "The user id you want to remove.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}- ],+ }+ ]+ },+ {+ "id": 38,+ "name": "generateLink",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/errors.ts",- "line": 32,- "character": 13- }+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 92,+ "character": 8+ }],- "extendedTypes": [- {- "type": "reference",- "id": 450,- "name": "AuthError"+ "signatures": [+ {+ "id": 39,+ "name": "generateLink",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "comment": {+ "shortText": "Generates email links and OTPs to be sent via a custom email provider."+ },+ "parameters": [+ {+ "id": 40,+ "name": "params",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "reference",+ "id": 458,+ "name": "GenerateLinkParams"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 459,+ "name": "GenerateLinkResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}+ }]- },- {- "id": 475,- "name": "CustomAuthError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 476,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 45,- "character": 2- }- ],- "signatures": [- {- "id": 477,- "name": "new CustomAuthError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 478,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 479,- "name": "name",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 480,- "name": "status",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "number"- }- }- ],- "type": {- "type": "reference",- "id": 475,- "name": "CustomAuthError"- },- "overwrites": {- "type": "reference",- "id": 452,- "name": "AuthError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 451,- "name": "AuthError.constructor"- }+ },+ {+ "id": 56,+ "name": "getUserById",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 171,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 57,+ "name": "getUserById",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 481,- "name": "name",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 43,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"+ "comment": {+ "shortText": "Get user by id."+ },+ "parameters": [+ {+ "id": 58,+ "name": "uid",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+},- "overwrites": {- "type": "reference",- "name": "AuthError.name"+ "comment": {+ "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"}+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 31,+ "name": "inviteUserByEmail",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 62,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 32,+ "name": "inviteUserByEmail",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 482,- "name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 44,- "character": 2- }- ],+ "comment": {+ "shortText": "Sends an invite link to an email address."+ },+ "parameters": [+ {+ "id": 33,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "comment": {+ "shortText": "The email address of the user."+ },"type": {- "type": "intrinsic",- "name": "number"+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 34,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 35,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 37,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Optional user metadata\n"+ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 66,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 36,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A URL or mobile deeplink to send the user to after they are confirmed."+ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 65,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 37,+ 36+ ]+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"}+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 44,+ "name": "listUsers",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 147,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 45,+ "name": "listUsers",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 483,- "name": "toJSON",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 51,- "character": 2- }- ],- "signatures": [+ "comment": {+ "shortText": "Get a list of users.",+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ },+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [{- "id": 484,- "name": "toJSON",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 485,+ "type": "reflection",+ "declaration": {+ "id": 46,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 47,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 148,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 48,"name": "__type","kind": 65536,"kindString": "Type literal",- "flags": {},+ "flags": {++ },"children": [- {- "id": 487,- "name": "message",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 54,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."+ {+ "id": 49,+ "name": "users",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "id": 486,- "name": "name",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 53,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "defaultValue": "..."- },- {- "id": 488,- "name": "status",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 55,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "number"- },- "defaultValue": "..."+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 148,+ "character": 14+ }+ ],+ "type": {+ "type": "array",+ "elementType": {+ "type": "reference",+ "id": 310,+ "name": "User"+ }}+ }],"groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 487,- 486,- 488- ]+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 49+ ]+ }+ ]+ }+ }+ },+ {+ "id": 50,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 148,+ "character": 31+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 47,+ 50+ ]+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 51,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 52,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 148,+ "character": 49+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 53,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 54,+ "name": "users",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 148,+ "character": 57+ }+ ],+ "type": {+ "type": "tuple"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 54+ ]+ }]+ }}- }+ },+ {+ "id": 55,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 148,+ "character": 70+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 52,+ 55+ ]+ }+ ]+ }}- ]+ ]+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}+ }+ ]+ },+ {+ "id": 26,+ "name": "signOut",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 39,+ "character": 8+ }],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 476- ]+ "signatures": [+ {+ "id": 27,+ "name": "signOut",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "title": "Properties",- "kind": 1024,- "children": [- 481,- 482- ]+ "comment": {+ "shortText": "Removes a logged-in session."},- {- "title": "Methods",- "kind": 2048,- "children": [- 483- ]+ "parameters": [+ {+ "id": 28,+ "name": "jwt",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "comment": {+ "shortText": "A valid, logged-in JWT.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 29,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 30,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 39,+ "character": 40+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 30+ ]+ }+ ]+ }+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}- ],+ }+ ]+ },+ {+ "id": 59,+ "name": "updateUserById",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/errors.ts",- "line": 42,- "character": 13- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 450,- "name": "AuthError"- }+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 193,+ "character": 8+ }],- "extendedBy": [- {- "type": "reference",- "id": 490,- "name": "AuthSessionMissingError"+ "signatures": [+ {+ "id": 60,+ "name": "updateUserById",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "type": "reference",- "id": 502,- "name": "AuthInvalidCredentialsError"+ "comment": {+ "shortText": "Updates the user data."},- {- "type": "reference",- "id": 515,- "name": "AuthRetryableFetchError"+ "parameters": [+ {+ "id": 61,+ "name": "uid",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 62,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "comment": {+ "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ },+ "type": {+ "type": "reference",+ "id": 343,+ "name": "AdminUserAttributes"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}+ }]- },- {- "id": 1,- "name": "GoTrueAdminApi",- "kind": 128,- "kindString": "Class",- "flags": {},+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,"children": [- {- "id": 2,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 13,- "character": 2- }- ],- "signatures": [- {- "id": 3,- "name": "new GoTrueAdminApi",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 4,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 5,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 11,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 22,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 12,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 13,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 14,- "name": "input",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "reference",- "qualifiedName": "RequestInfo",- "package": "typescript",- "name": "RequestInfo"- },- {- "type": "reference",- "qualifiedName": "URL",- "package": "typescript",- "name": "URL"- }- ]- }- },- {- "id": 15,- "name": "init",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "reference",- "qualifiedName": "RequestInit",- "package": "typescript",- "name": "RequestInit"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Response",- "package": "typescript",- "name": "Response"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- }- }- },- {- "id": 7,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 19,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 8,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 9,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 10,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 6,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 18,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 11,- 7,- 6- ]- }- ]- }- }- }- ],- "type": {- "type": "reference",- "id": 1,- "name": "default"- }- }- ]+ 2+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 41,+ 63,+ 38,+ 56,+ 31,+ 44,+ 26,+ 59+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 12,+ "character": 21+ }+ ]+ },+ {+ "id": 66,+ "name": "GoTrueClient",+ "kind": 128,+ "kindString": "Class",+ "flags": {++ },+ "children": [+ {+ "id": 67,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 104,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 68,+ "name": "new GoTrueClient",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {+},- {- "id": 56,- "name": "createUser",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 128,- "character": 8- }- ],- "signatures": [+ "comment": {+ "shortText": "Create a new client for use in the browser."+ },+ "parameters": [+ {+ "id": 69,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "reference",+ "id": 241,+ "name": "GoTrueClientOptions"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 66,+ "name": "default"+ }+ }+ ]+ },+ {+ "id": 70,+ "name": "admin",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment."+ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 68,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 1,+ "name": "default"+ }+ },+ {+ "id": 111,+ "name": "getSession",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 407,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 112,+ "name": "getSession",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "comment": {+ "shortText": "Returns the session, refreshing it if necessary.\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out."+ },+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [{- "id": 57,- "name": "createUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."+ "type": "reflection",+ "declaration": {+ "id": 113,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- "parameters": [- {- "id": 58,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 355,- "name": "AdminUserAttributes"- }+ "children": [+ {+ "id": 114,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 409,+ "character": 8+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 115,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 116,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 410,+ "character": 10+ }+ ],+ "type": {+ "type": "reference",+ "id": 291,+ "name": "Session"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 116+ ]+ }+ ]+ }}- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }+ },+ {+ "id": 117,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 412,+ "character": 8+ }],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 78,- "name": "deleteUser",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 218,- "character": 8- }- ],- "signatures": [+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 114,+ 117+ ]+ }+ ]+ }+ },{- "id": 79,- "name": "deleteUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Delete a user. Requires a `service_role` key."+ "type": "reflection",+ "declaration": {+ "id": 118,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- "parameters": [- {- "id": 80,- "name": "uid",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user uid you want to remove.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ "children": [+ {+ "id": 119,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 415,+ "character": 8+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 120,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- "type": {- "type": "intrinsic",- "name": "string"- }+ "children": [+ {+ "id": 121,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 416,+ "character": 10+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 121+ ]+ }+ ]+ }}- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }+ },+ {+ "id": 122,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 418,+ "character": 8+ }],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 38,- "name": "generateLink",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 85,- "character": 8- }- ],- "signatures": [+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 119,+ 122+ ]+ }+ ]+ }+ },{- "id": 39,- "name": "generateLink",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Generates links to be sent via email or other."+ "type": "reflection",+ "declaration": {+ "id": 123,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- "parameters": [- {- "id": 40,- "name": "type",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 438,- "name": "GenerateLinkType"- }+ "children": [+ {+ "id": 124,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "id": 41,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's email."+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 421,+ "character": 8+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 125,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 42,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 43,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 45,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional user metadata. For signup only."- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 90,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 44,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "User password. For signup only."- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 89,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 46,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The redirect url which should be appended to the generated link\n"- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 91,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 45,- 44,- 46- ]- }- ]+ "children": [+ {+ "id": 126,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 422,+ "character": 10+ }+ ],+ "type": {+ "type": "literal",+ "value": null}- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 47,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 48,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 95,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 321,- "name": "User"- }- },- {- "id": 49,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 96,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 48,- 49- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 50,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 51,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 99,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 302,- "name": "Session"- }- },- {- "id": 52,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 100,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 51,- 52- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 53,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 54,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 102,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 55,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 102,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 54,- 55- ]- }- ]- }- }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 126]- }+ }+ ]+ }+ }+ },+ {+ "id": 127,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 424,+ "character": 8+ }],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 124,+ 127+ ]+ }+ ]+ }}- ]+ ]+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 128,+ "name": "getUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 470,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 129,+ "name": "getUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 71,- "name": "getUserById",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 173,- "character": 8- }- ],- "signatures": [- {- "id": 72,- "name": "getUserById",+ "comment": {+ "shortText": "Gets the current user details if there is an existing session."+ },+ "parameters": [+ {+ "id": 130,+ "name": "jwt",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 92,+ "name": "initialize",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 130,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 93,+ "name": "initialize",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "comment": {+ "shortText": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)."+ },+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 481,+ "name": "InitializeResult"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 157,+ "name": "onAuthStateChange",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 665,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 158,+ "name": "onAuthStateChange",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "comment": {+ "shortText": "Receive a notification every time an auth event happens."+ },+ "parameters": [+ {+ "id": 159,+ "name": "callback",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "comment": {+ "shortText": "A callback function to be invoked when an auth event happens.\n"+ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 160,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "signatures": [+ {+ "id": 161,+ "name": "__type","kind": 4096,"kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Get user by id."+ "flags": {+},"parameters": [- {- "id": 73,- "name": "uid",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ {+ "id": 162,+ "name": "event",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "reference",+ "id": 240,+ "name": "AuthChangeEvent"+ }+ },+ {+ "id": 163,+ "name": "session",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null},- "type": {- "type": "intrinsic",- "name": "string"+ {+ "type": "reference",+ "id": 291,+ "name": "Session"}+ ]}+ }],"type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ "type": "intrinsic",+ "name": "void"}- }- ]- },- {- "id": 31,- "name": "inviteUserByEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 55,- "character": 8- }- ],- "signatures": [- {- "id": 32,- "name": "inviteUserByEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends an invite link to an email address."+ }+ ]+ }+ }+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 164,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 165,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 666,+ "character": 4+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 166,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- "parameters": [- {- "id": 33,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }+ "children": [+ {+ "id": 167,+ "name": "subscription",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "id": 34,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 35,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 37,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional user metadata\n"- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 59,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 36,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed."- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 58,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 37,- 36- ]- }- ]- }- },- "defaultValue": "{}"+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 666,+ "character": 12+ }+ ],+ "type": {+ "type": "reference",+ "id": 352,+ "name": "Subscription"}+ }],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 167+ ]+ }+ ]+ }}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 165+ ]+ }]+ }+ }+ }+ ]+ },+ {+ "id": 168,+ "name": "resetPasswordForEmail",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 688,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 169,+ "name": "resetPasswordForEmail",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 59,- "name": "listUsers",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 149,- "character": 8- }- ],- "signatures": [- {- "id": 60,- "name": "listUsers",- "kind": 4096,- "kindString": "Call signature",- "flags": {},+ "comment": {+ "shortText": "Sends a password reset request to an email address."+ },+ "parameters": [+ {+ "id": 170,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "comment": {+ "shortText": "The email address of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 171,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 172,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 174,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },"comment": {- "shortText": "Get a list of users.",- "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ "shortText": "Verification token received when the user completes the captcha on the site.\n"},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 692,+ "character": 6+ }+ ],"type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 61,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 62,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 63,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 64,- "name": "users",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 14- }- ],- "type": {- "type": "array",- "elementType": {- "type": "reference",- "id": 321,- "name": "User"- }- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 64- ]- }- ]- }- }- },- {- "id": 65,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 31- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 62,- 65- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 66,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 67,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 49- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 68,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 69,- "name": "users",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 57- }- ],- "type": {- "type": "tuple"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 69- ]- }- ]- }- }- },- {- "id": 70,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 150,- "character": 70- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 67,- 70- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ "type": "intrinsic",+ "name": "string"}- }- ]- },- {- "id": 26,- "name": "signOut",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 33,- "character": 8- }- ],- "signatures": [- {- "id": 27,- "name": "signOut",- "kind": 4096,- "kindString": "Call signature",- "flags": {},+ },+ {+ "id": 173,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },"comment": {- "shortText": "Removes a logged-in session."+ "shortText": "The URL to send the user to after they click the password reset link."},- "parameters": [- {- "id": 28,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid, logged-in JWT.\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 691,+ "character": 6+ }],"type": {- "type": "reference",- "typeArguments": [- {- "type": "reflection",- "declaration": {- "id": 29,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 30,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 33,- "character": 40- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 450,- "name": "AuthError"- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 30- ]- }- ]- }- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ "type": "intrinsic",+ "name": "string"}- }- ]- },- {- "id": 74,- "name": "updateUserById",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 195,- "character": 8- }- ],- "signatures": [+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 174,+ 173+ ]+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [{- "id": 75,- "name": "updateUserById",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates the user data."+ "type": "reflection",+ "declaration": {+ "id": 175,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- "parameters": [- {- "id": 76,- "name": "uid",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }+ "children": [+ {+ "id": 176,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "id": 77,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"- },- "type": {- "type": "reference",- "id": 355,- "name": "AdminUserAttributes"+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 696,+ "character": 8+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 177,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+}+ }+ }+ },+ {+ "id": 178,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 697,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null}+ }],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 176,+ 178+ ]+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 179,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 180,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 699,+ "character": 8+ }],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }+ "type": {+ "type": "literal",+ "value": null+ }+ },+ {+ "id": 181,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 699,+ "character": 20+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 180,+ 181+ ]+ }+ ]+ }}- ]+ ]+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}+ }+ ]+ },+ {+ "id": 134,+ "name": "setSession",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 534,+ "character": 8+ }],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 2- ]+ "signatures": [+ {+ "id": 135,+ "name": "setSession",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "title": "Methods",- "kind": 2048,- "children": [- 56,- 78,- 38,- 71,- 31,- 59,- 26,- 74- ]- }- ],- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 6,- "character": 21+ "comment": {+ "shortText": "Sets the session data from refresh token and returns current session or an error if the refresh token is invalid."+ },+ "parameters": [+ {+ "id": 136,+ "name": "refresh_token",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "comment": {+ "shortText": "A refresh token returned by supabase auth.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 254,+ "name": "AuthResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}+ }]- },- {- "id": 81,- "name": "GoTrueClient",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 82,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 104,- "character": 2- }- ],- "signatures": [- {- "id": 83,- "name": "new GoTrueClient",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "comment": {- "shortText": "Create a new client for use in the browser."- },- "parameters": [- {- "id": 84,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 85,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 93,- "name": "autoRefreshToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 109,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 92,- "name": "detectSessionInUrl",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 108,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 97,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 113,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 98,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 99,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "A custom fetch implementation.\n"- },- "parameters": [- {- "id": 100,- "name": "input",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "reference",- "qualifiedName": "RequestInfo",- "package": "typescript",- "name": "RequestInfo"- },- {- "type": "reference",- "qualifiedName": "URL",- "package": "typescript",- "name": "URL"- }- ]- }- },- {- "id": 101,- "name": "init",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "reference",- "qualifiedName": "RequestInit",- "package": "typescript",- "name": "RequestInit"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Response",- "package": "typescript",- "name": "Response"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- }- }- },- {- "id": 87,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Any additional headers to send to the GoTrue server."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 106,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 88,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 89,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 90,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 96,- "name": "multiTab",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"false\" if you want to disable multi-tab/window events."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 112,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 94,- "name": "persistSession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 110,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 95,- "name": "storage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 111,- "character": 4- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Storage",- "package": "typescript",- "name": "Storage"- },- {- "type": "union",- "types": [- {- "type": "literal",- "value": "getItem"- },- {- "type": "literal",- "value": "removeItem"- },- {- "type": "literal",- "value": "setItem"- }- ]- }- ],- "qualifiedName": "Pick",- "package": "typescript",- "name": "Pick"- }- ],- "name": "PromisifyMethods"- }- },- {- "id": 91,- "name": "storageKey",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional key name used for storing tokens in local storage"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 107,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 86,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The URL of the GoTrue server."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 105,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 93,- 92,- 97,- 87,- 96,- 94,- 95,- 91,- 86- ]- }- ]- }- }- }- ],- "type": {- "type": "reference",- "id": 81,- "name": "default"- }- }- ]+ },+ {+ "id": 102,+ "name": "signInWithOAuth",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 306,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 103,+ "name": "signInWithOAuth",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 102,- "name": "admin",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment."+ "comment": {+ "shortText": "Log in an existing user via a third-party provider."+ },+ "parameters": [+ {+ "id": 104,+ "name": "credentials",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 66,- "character": 2- }- ],"type": {- "type": "reference",- "id": 1,- "name": "default"+ "type": "reference",+ "id": 403,+ "name": "SignInWithOAuthCredentials"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 267,+ "name": "OAuthResponse"}+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 105,+ "name": "signInWithOtp",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 321,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 106,+ "name": "signInWithOtp",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 141,- "name": "getSession",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 362,- "character": 8- }- ],- "signatures": [- {- "id": 142,- "name": "getSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Returns the session data, refreshing it if necessary.\nIf no session is detected, the session returned will be null."- },- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 143,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 144,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 364,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 145,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 146,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 365,- "character": 10- }- ],- "type": {- "type": "reference",- "id": 302,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 146- ]- }- ]- }- }- },- {- "id": 147,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 367,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 144,- 147- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 148,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 149,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 370,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 150,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 151,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 371,- "character": 10- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 151- ]- }- ]- }- }- },- {- "id": 152,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 373,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 149,- 152- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 153,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 154,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 376,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 155,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 156,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 377,- "character": 10- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 156- ]- }- ]- }- }- },- {- "id": 157,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 379,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 154,- 157- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]+ "comment": {+ "shortText": "Log in a user using magiclink or a one-time password (OTP).\nIf the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins."},- {- "id": 158,- "name": "getUser",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 419,- "character": 8- }- ],- "signatures": [- {- "id": 159,- "name": "getUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Gets the current user details if there is an existing session."- },- "parameters": [- {- "id": 160,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]+ "parameters": [+ {+ "id": 107,+ "name": "credentials",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "reference",+ "id": 389,+ "name": "SignInWithPasswordlessCredentials"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 254,+ "name": "AuthResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 99,+ "name": "signInWithPassword",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 256,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 100,+ "name": "signInWithPassword",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 179,- "name": "onAuthStateChange",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 593,- "character": 2- }- ],- "signatures": [- {- "id": 180,- "name": "onAuthStateChange",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Receive a notification every time an auth event happens.",- "returns": "A subscription object which can be used to unsubscribe itself.\n"+ "comment": {+ "shortText": "Log in an existing user with an email and password or phone and password."+ },+ "parameters": [+ {+ "id": 101,+ "name": "credentials",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "reference",+ "id": 376,+ "name": "SignInWithPasswordCredentials"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 254,+ "name": "AuthResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 153,+ "name": "signOut",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 646,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 154,+ "name": "signOut",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "comment": {+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.",+ "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n"+ },+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 155,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 156,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- "parameters": [- {- "id": 181,- "name": "callback",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A callback function to be invoked when an auth event happens."- },- "type": {- "type": "reflection",- "declaration": {- "id": 182,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 183,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 184,- "name": "event",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 264,- "name": "AuthChangeEvent"- }- },- {- "id": 185,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 302,- "name": "Session"- }- ]- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- }- }- }+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 646,+ "character": 29+ }],"type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 186,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 188,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 596,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 187,- "name": "subscription",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 595,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 365,- "name": "Subscription"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 188,- 187- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 189,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 191,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 598,- "character": 28- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- },- {- "id": 190,- "name": "subscription",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 598,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 191,- 190- ]- }- ]- }- }- ]- }- }- ]- },- {- "id": 192,- "name": "resetPasswordForEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 625,- "character": 8- }- ],- "signatures": [- {- "id": 193,- "name": "resetPasswordForEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a reset request to an email address."- },- "parameters": [+ "type": "union",+ "types": [{- "id": 194,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }+ "type": "literal",+ "value": null},{- "id": 195,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 196,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 198,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site.\n"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 629,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 197,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A URL to send the user to after they are confirmed."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 628,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 198,- 197- ]- }- ]- }- },- "defaultValue": "{}"+ "type": "reference",+ "id": 494,+ "name": "AuthError"}- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 199,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 200,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 633,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 201,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },- {- "id": 202,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 634,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 200,- 202- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 203,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 204,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 636,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 205,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 636,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 204,- 205- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ ]}- }- ]+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 156+ ]+ }+ ]+ }+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 96,+ "name": "signUp",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 193,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 97,+ "name": "signUp",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 164,- "name": "setSession",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 482,- "character": 8- }- ],- "signatures": [- {- "id": 165,- "name": "setSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sets the session data from refresh_token and returns current session or an error if the refresh_token is invalid."- },- "parameters": [- {- "id": 166,- "name": "refresh_token",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The refresh token returned by gotrue.\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 265,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]+ "comment": {+ "shortText": "Creates a new user.",+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"},- {- "id": 128,- "name": "signInWithOAuth",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 258,- "character": 8- }- ],- "signatures": [- {- "id": 129,- "name": "signInWithOAuth",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Log in an existing user via a third-party provider."- },- "parameters": [- {- "id": 130,- "name": "credentials",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 416,- "name": "SignInWithOAuthCredentials"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 278,- "name": "OAuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]+ "parameters": [+ {+ "id": 98,+ "name": "credentials",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "reference",+ "id": 360,+ "name": "SignUpWithPasswordCredentials"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 254,+ "name": "AuthResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 131,+ "name": "updateUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 499,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 132,+ "name": "updateUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 131,- "name": "signInWithOtp",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 270,- "character": 8- }- ],- "signatures": [- {- "id": 132,- "name": "signInWithOtp",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Passwordless method for logging in an existing user."- },- "parameters": [- {- "id": 133,- "name": "credentials",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 402,- "name": "SignInWithPasswordlessCredentials"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 265,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]+ "comment": {+ "shortText": "Updates user data, if there is a logged in user."},- {- "id": 125,- "name": "signInWithPassword",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 210,- "character": 8- }- ],- "signatures": [- {- "id": 126,- "name": "signInWithPassword",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Log in an existing user, or login via a third-party provider."- },- "parameters": [- {- "id": 127,- "name": "credentials",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 389,- "name": "SignInWithPasswordCredentials"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 265,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 175,- "name": "signOut",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 573,- "character": 8- }- ],- "signatures": [- {- "id": 176,- "name": "signOut",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",- "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n"- },- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reflection",- "declaration": {- "id": 177,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 178,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 573,- "character": 29- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 450,- "name": "AuthError"- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 178- ]- }- ]- }- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 122,- "name": "signUp",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 147,- "character": 8- }- ],- "signatures": [- {- "id": 123,- "name": "signUp",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Creates a new user.",- "returns": "A logged-in session if the server has \"autoconfirm\" ON"- },- "parameters": [- {- "id": 124,- "name": "credentials",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 373,- "name": "SignUpWithPasswordCredentials"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 265,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 161,- "name": "updateUser",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 448,- "character": 8- }- ],- "signatures": [- {- "id": 162,- "name": "updateUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates user data, if there is a logged in user."- },- "parameters": [- {- "id": 163,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 349,- "name": "UserAttributes"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 291,- "name": "UserResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 134,- "name": "verifyOtp",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 313,- "character": 8- }- ],- "signatures": [- {- "id": 135,- "name": "verifyOtp",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Log in a user given a User supplied OTP received via mobile."- },- "parameters": [- {- "id": 136,- "name": "params",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 427,- "name": "VerifyOtpParams"- }- },- {- "id": 137,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 138,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 140,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site.\n"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 317,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 139,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A URL to send the user to after they are confirmed."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 316,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 140,- 139- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 265,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 82- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 102- ]- },- {- "title": "Methods",- "kind": 2048,- "children": [- 141,- 158,- 179,- 192,- 164,- 128,- 131,- 125,- 175,- 122,- 161,- 134- ]- }- ],- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 61,- "character": 21- }- ]- },- {- "id": 355,- "name": "AdminUserAttributes",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 357,- "name": "app_metadata",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for app_metadata that.",- "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 187,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 364,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 162,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- },- "inheritedFrom": {- "type": "reference",- "id": 354,- "name": "UserAttributes.data"- }- },- {- "id": 360,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 142,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 350,- "name": "UserAttributes.email"- }- },- {- "id": 363,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",+ "parameters": [+ {+ "id": 133,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter","flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."+},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 157,- "character": 2- }- ],"type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 353,- "name": "UserAttributes.email_change_token"+ "type": "reference",+ "id": 338,+ "name": "UserAttributes"}- },- {- "id": 358,- "name": "email_confirm",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Sets if a user has confirmed their email address.",- "text": "Only a service role can modify.\n"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 194,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 362,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 152,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 352,- "name": "UserAttributes.password"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 280,+ "name": "UserResponse"}+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 108,+ "name": "verifyOtp",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 363,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 109,+ "name": "verifyOtp",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 361,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 147,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 351,- "name": "UserAttributes.phone"- }+ "comment": {+ "shortText": "Log in a user given a User supplied OTP received via mobile."},- {- "id": 359,- "name": "phone_confirm",- "kind": 1024,- "kindString": "Property",+ "parameters": [+ {+ "id": 110,+ "name": "params",+ "kind": 32768,+ "kindString": "Parameter","flags": {- "isOptional": true- },- "comment": {- "shortText": "Sets if a user has confirmed their phone number.",- "text": "Only a service role can modify.\n"+},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 201,- "character": 2- }- ],"type": {- "type": "intrinsic",- "name": "boolean"+ "type": "reference",+ "id": 414,+ "name": "VerifyOtpParams"}- },- {- "id": 356,- "name": "user_metadata",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for user_metadata.",- "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 177,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 254,+ "name": "AuthResponse"}+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 67+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 70+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 111,+ 128,+ 92,+ 157,+ 168,+ 134,+ 102,+ 105,+ 99,+ 153,+ 96,+ 131,+ 108+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 63,+ "character": 21+ }+ ]+ },+ {+ "id": 343,+ "name": "AdminUserAttributes",+ "kind": 256,+ "kindString": "Interface",+ "flags": {++ },+ "children": [+ {+ "id": 345,+ "name": "app_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 205,+ "character": 2+ }],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 357,- 364,- 360,- 363,- 358,- 362,- 361,- 359,- 356- ]- }+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 351,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 180,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 342,+ "name": "UserAttributes.data"+ }+ },+ {+ "id": 348,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's email."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 162,+ "character": 2+ }],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 339,+ "name": "UserAttributes.email"+ }+ },+ {+ "id": 346,+ "name": "email_confirm",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Confirms the user's email address if set to true.",+ "text": "Only a service role can modify.\n"+ },"sources": [- {- "fileName": "src/lib/types.ts",- "line": 165,- "character": 17- }+ {+ "fileName": "src/lib/types.ts",+ "line": 212,+ "character": 2+ }],- "extendedTypes": [- {- "type": "reference",- "id": 349,- "name": "UserAttributes"- }+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 350,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 172,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 341,+ "name": "UserAttributes.password"+ }+ },+ {+ "id": 349,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's phone."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 167,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 340,+ "name": "UserAttributes.phone"+ }+ },+ {+ "id": 347,+ "name": "phone_confirm",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Confirms the user's phone number if set to true.",+ "text": "Only a service role can modify.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 219,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 344,+ "name": "user_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 195,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 345,+ 351,+ 348,+ 346,+ 350,+ 349,+ 347,+ 344]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 183,+ "character": 17+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 338,+ "name": "UserAttributes"+ }+ ]+ },+ {+ "id": 455,+ "name": "GenerateLinkOptions",+ "kind": 256,+ "kindString": "Interface",+ "flags": {+},- {- "id": 302,- "name": "Session",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 304,- "name": "access_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 81,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 307,- "name": "expires_at",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 93,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 306,- "name": "expires_in",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 89,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 303,- "name": "provider_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 77,- "character": 2- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- },- {- "id": 305,- "name": "refresh_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "A one-time used refresh token that never expires."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 85,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 308,- "name": "token_type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 94,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 309,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 95,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 321,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 304,- 307,- 306,- 303,- 305,- 308,- 309- ]- }+ "children": [+ {+ "id": 456,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 402,+ "character": 2+ }],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 457,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The URL which will be appended to the email link generated."+ },"sources": [- {- "fileName": "src/lib/types.ts",- "line": 76,- "character": 17- }+ {+ "fileName": "src/lib/types.ts",+ "line": 404,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 456,+ 457]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 396,+ "character": 17+ }+ ]+ },+ {+ "id": 291,+ "name": "Session",+ "kind": 256,+ "kindString": "Interface",+ "flags": {+},- {- "id": 365,- "name": "Subscription",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 366,- "name": "id",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The subscriber UUID. This will be set by the client."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 208,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 367,- "name": "callback",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 212,- "character": 2- }- ],- "signatures": [- {- "id": 368,- "name": "callback",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "The function to call every time there is an event. eg: (eventName) => {}"- },- "parameters": [- {- "id": 369,- "name": "event",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 264,- "name": "AuthChangeEvent"- }- },- {- "id": 370,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 302,- "name": "Session"- }- ]- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 371,- "name": "unsubscribe",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 216,- "character": 2- }- ],- "signatures": [- {- "id": 372,- "name": "unsubscribe",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Call this to remove the listener."- },- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- }+ "children": [+ {+ "id": 293,+ "name": "access_token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 101,+ "character": 2+ }],- "groups": [+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 296,+ "name": "expires_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 113,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ },+ {+ "id": 295,+ "name": "expires_in",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 109,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ },+ {+ "id": 292,+ "name": "provider_token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 97,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [{- "title": "Properties",- "kind": 1024,- "children": [- 366- ]+ "type": "literal",+ "value": null},{- "title": "Methods",- "kind": 2048,- "children": [- 367,- 371- ]+ "type": "intrinsic",+ "name": "string"}+ ]+ }+ },+ {+ "id": 294,+ "name": "refresh_token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "A one-time used refresh token that never expires."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 105,+ "character": 2+ }],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 297,+ "name": "token_type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/types.ts",- "line": 204,- "character": 17- }+ {+ "fileName": "src/lib/types.ts",+ "line": 114,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 298,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 115,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 310,+ "name": "User"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 293,+ 296,+ 295,+ 292,+ 294,+ 297,+ 298]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 96,+ "character": 17+ }+ ]+ },+ {+ "id": 352,+ "name": "Subscription",+ "kind": 256,+ "kindString": "Interface",+ "flags": {+},- {- "id": 321,- "name": "User",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 338,- "name": "action_link",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 125,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 323,- "name": "app_metadata",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 112,- "character": 2- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 324,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 325,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 113,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 325- ]- }- ],- "indexSignature": {- "id": 326,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 327,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "any"- }- }- }- }- },- {- "id": 332,- "name": "aud",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 119,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }+ "children": [+ {+ "id": 353,+ "name": "id",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The subscriber UUID. This will be set by the client."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 226,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 354,+ "name": "callback",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 230,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 355,+ "name": "callback",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 333,- "name": "confirmation_sent_at",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 120,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }+ "comment": {+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"},- {- "id": 342,- "name": "confirmed_at",- "kind": 1024,- "kindString": "Property",+ "parameters": [+ {+ "id": 356,+ "name": "event",+ "kind": 32768,+ "kindString": "Parameter","flags": {- "isOptional": true+},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 129,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 341,- "name": "created_at",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 128,- "character": 2- }- ],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "id": 240,+ "name": "AuthChangeEvent"}- },- {- "id": 339,- "name": "email",- "kind": 1024,- "kindString": "Property",+ },+ {+ "id": 357,+ "name": "session",+ "kind": 32768,+ "kindString": "Parameter","flags": {- "isOptional": true+},- "sources": [+ "type": {+ "type": "union",+ "types": [{- "fileName": "src/lib/types.ts",- "line": 126,- "character": 2+ "type": "literal",+ "value": null+ },+ {+ "type": "reference",+ "id": 291,+ "name": "Session"}- ],- "type": {- "type": "intrinsic",- "name": "string"+ ]}+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ]+ },+ {+ "id": 358,+ "name": "unsubscribe",+ "kind": 2048,+ "kindString": "Method",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 234,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 359,+ "name": "unsubscribe",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+},- {- "id": 335,- "name": "email_change_sent_at",+ "comment": {+ "shortText": "Call this to remove the listener."+ },+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 353+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 354,+ 358+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 222,+ "character": 17+ }+ ]+ },+ {+ "id": 310,+ "name": "User",+ "kind": 256,+ "kindString": "Interface",+ "flags": {++ },+ "children": [+ {+ "id": 327,+ "name": "action_link",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 145,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 312,+ "name": "app_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 132,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 313,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 314,+ "name": "provider","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+ "isOptional": true},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 122,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 133,+ "character": 4+ }],"type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 314+ ]+ }+ ],+ "indexSignature": {+ "id": 315,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 316,+ "name": "key",+ "kind": 32768,+ "flags": {++ },+ "type": {"type": "intrinsic","name": "string"+ }}+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ }+ }+ },+ {+ "id": 321,+ "name": "aud",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 139,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 322,+ "name": "confirmation_sent_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 140,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 331,+ "name": "confirmed_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 149,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 330,+ "name": "created_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 148,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 328,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 146,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 324,+ "name": "email_change_sent_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 142,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 332,+ "name": "email_confirmed_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 150,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 311,+ "name": "id",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 131,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 337,+ "name": "identities",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 155,+ "character": 2+ }+ ],+ "type": {+ "type": "array",+ "elementType": {+ "type": "reference",+ "id": 299,+ "name": "UserIdentity"+ }+ }+ },+ {+ "id": 326,+ "name": "invited_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 144,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 334,+ "name": "last_sign_in_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 152,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 325,+ "name": "new_email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 143,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 329,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 147,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 333,+ "name": "phone_confirmed_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 151,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 323,+ "name": "recovery_sent_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 141,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 335,+ "name": "role",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 153,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 336,+ "name": "updated_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 154,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 317,+ "name": "user_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 136,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 318,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 343,- "name": "email_confirmed_at",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 130,- "character": 2- }- ],- "type": {+ "indexSignature": {+ "id": 319,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 320,+ "name": "key",+ "kind": 32768,+ "flags": {++ },+ "type": {"type": "intrinsic","name": "string"+ }}+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ }+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 327,+ 312,+ 321,+ 322,+ 331,+ 330,+ 328,+ 324,+ 332,+ 311,+ 337,+ 326,+ 334,+ 325,+ 329,+ 333,+ 323,+ 335,+ 336,+ 317+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 130,+ "character": 17+ }+ ]+ },+ {+ "id": 338,+ "name": "UserAttributes",+ "kind": 256,+ "kindString": "Interface",+ "flags": {++ },+ "children": [+ {+ "id": 342,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 180,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 339,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's email."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 162,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 341,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 172,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 340,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's phone."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 167,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 342,+ 339,+ 341,+ 340+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 158,+ "character": 17+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 343,+ "name": "AdminUserAttributes"+ }+ ]+ },+ {+ "id": 299,+ "name": "UserIdentity",+ "kind": 256,+ "kindString": "Interface",+ "flags": {++ },+ "children": [+ {+ "id": 307,+ "name": "created_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 125,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 300,+ "name": "id",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 119,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 302,+ "name": "identity_data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 121,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 303,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 322,- "name": "id",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 111,- "character": 2- }- ],- "type": {+ "indexSignature": {+ "id": 304,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 305,+ "name": "key",+ "kind": 32768,+ "flags": {++ },+ "type": {"type": "intrinsic","name": "string"+ }}+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ }+ }+ },+ {+ "id": 308,+ "name": "last_sign_in_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 126,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 306,+ "name": "provider",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 124,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 309,+ "name": "updated_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 127,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 301,+ "name": "user_id",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 120,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 307,+ 300,+ 302,+ 308,+ 306,+ 309,+ 301+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 118,+ "character": 17+ }+ ]+ },+ {+ "id": 423,+ "name": "VerifyEmailOtpParams",+ "kind": 256,+ "kindString": "Interface",+ "flags": {++ },+ "children": [+ {+ "id": 424,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's email address."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 348,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 427,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 353,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 428,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 348,- "name": "identities",+ "children": [+ {+ "id": 430,+ "name": "captchaToken","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+ "isOptional": true},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 135,- "character": 2- }- ],- "type": {- "type": "array",- "elementType": {- "type": "reference",- "id": 310,- "name": "UserIdentity"- }- }- },- {- "id": 337,- "name": "invited_at",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 124,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 357,+ "character": 4+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "intrinsic",+ "name": "string"}- },- {- "id": 345,- "name": "last_sign_in_at",+ },+ {+ "id": 429,+ "name": "redirectTo","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+ "isOptional": true},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 132,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 336,- "name": "new_email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true+ "comment": {+ "shortText": "A URL to send the user to after they are confirmed."},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 123,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 355,+ "character": 4+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "intrinsic",+ "name": "string"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 430,+ 429+ ]+ }+ ]+ }+ }+ },+ {+ "id": 425,+ "name": "token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The otp sent to the user's email address."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 350,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 426,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's verification type."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 352,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 432,+ "name": "EmailOtpType"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 424,+ 427,+ 425,+ 426+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 346,+ "character": 17+ }+ ]+ },+ {+ "id": 415,+ "name": "VerifyMobileOtpParams",+ "kind": 256,+ "kindString": "Interface",+ "flags": {++ },+ "children": [+ {+ "id": 419,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 339,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 420,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 340,- "name": "phone",+ "children": [+ {+ "id": 422,+ "name": "captchaToken","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 127,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 343,+ "character": 4+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "intrinsic",+ "name": "string"}- },- {- "id": 344,- "name": "phone_confirmed_at",+ },+ {+ "id": 421,+ "name": "redirectTo","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+ "isOptional": true+ },+ "comment": {+ "shortText": "A URL to send the user to after they are confirmed."},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 131,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 341,+ "character": 4+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "intrinsic",+ "name": "string"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 422,+ 421+ ]+ }+ ]+ }+ }+ },+ {+ "id": 416,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 334,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 417,+ "name": "token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The otp sent to the user's phone number."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 336,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 418,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's verification type."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 338,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 431,+ "name": "MobileOtpType"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 419,+ 416,+ 417,+ 418+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 332,+ "character": 17+ }+ ]+ },+ {+ "id": 240,+ "name": "AuthChangeEvent",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 23,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "PASSWORD_RECOVERY"+ },+ {+ "type": "literal",+ "value": "SIGNED_IN"+ },+ {+ "type": "literal",+ "value": "SIGNED_OUT"+ },+ {+ "type": "literal",+ "value": "TOKEN_REFRESHED"+ },+ {+ "type": "literal",+ "value": "USER_UPDATED"+ },+ {+ "type": "literal",+ "value": "USER_DELETED"+ }+ ]+ }+ },+ {+ "id": 254,+ "name": "AuthResponse",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 50,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 255,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 334,- "name": "recovery_sent_at",+ "children": [+ {+ "id": 256,+ "name": "data","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 121,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 52,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reflection",+ "declaration": {+ "id": 257,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 259,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 54,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 291,+ "name": "Session"+ },+ {+ "type": "literal",+ "value": null+ }+ ]+ }+ },+ {+ "id": 258,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 53,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 310,+ "name": "User"+ },+ {+ "type": "literal",+ "value": null+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 259,+ 258+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 52,+ "character": 12+ }+ ]+ }}- },- {- "id": 346,- "name": "role",+ },+ {+ "id": 260,+ "name": "error","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 133,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 56,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "literal",+ "value": null}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 256,+ 260+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 51,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 261,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 347,- "name": "updated_at",+ "children": [+ {+ "id": 262,+ "name": "data","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 134,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 328,- "name": "user_metadata",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 116,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 59,+ "character": 6+ }],"type": {- "type": "reflection",- "declaration": {- "id": 329,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 330,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 331,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "any"- }+ "type": "reflection",+ "declaration": {+ "id": 263,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 265,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 61,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null}- }- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 338,- 323,- 332,- 333,- 342,- 341,- 339,- 335,- 343,- 322,- 348,- 337,- 345,- 336,- 340,- 344,- 334,- 346,- 347,- 328- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 110,- "character": 17- }- ]- },- {- "id": 349,- "name": "UserAttributes",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 354,- "name": "data",+ },+ {+ "id": 264,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 60,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 265,+ 264+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 59,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 266,+ "name": "error","kind": 1024,"kindString": "Property","flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 162,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 63,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "object"+ "type": "reference",+ "id": 494,+ "name": "AuthError"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 262,+ 266+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 58,+ "character": 4+ }+ ]+ }+ }+ ]+ }+ },+ {+ "id": 484,+ "name": "CallRefreshTokenResult",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 472,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 485,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 350,- "name": "email",+ "children": [+ {+ "id": 487,+ "name": "error","kind": 1024,"kindString": "Property","flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 142,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 475,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "literal",+ "value": null}- },- {- "id": 353,- "name": "email_change_token",+ },+ {+ "id": 486,+ "name": "session","kind": 1024,"kindString": "Property","flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 157,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 474,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "id": 291,+ "name": "Session"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 487,+ 486+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 473,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 488,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 352,- "name": "password",+ "children": [+ {+ "id": 490,+ "name": "error","kind": 1024,"kindString": "Property","flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 152,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 479,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "id": 494,+ "name": "AuthError"}- },- {- "id": 351,- "name": "phone",+ },+ {+ "id": 489,+ "name": "session","kind": 1024,"kindString": "Property","flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 147,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 478,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "literal",+ "value": null}- }- ],- "groups": [- {+ }+ ],+ "groups": [+ {"title": "Properties","kind": 1024,"children": [- 354,- 350,- 353,- 352,- 351+ 490,+ 489]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 477,+ "character": 4+ }+ ]+ }+ }+ ]+ }+ },+ {+ "id": 432,+ "name": "EmailOtpType",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 362,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "signup"+ },+ {+ "type": "literal",+ "value": "invite"+ },+ {+ "type": "literal",+ "value": "magiclink"+ },+ {+ "type": "literal",+ "value": "recovery"+ },+ {+ "type": "literal",+ "value": "email_change"+ }+ ]+ }+ },+ {+ "id": 449,+ "name": "GenerateEmailChangeLinkParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 385,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 450,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 452,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's email"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 388,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}- ],- "sources": [- {+ },+ {+ "id": 453,+ "name": "newEmail",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'."+ },+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 138,- "character": 17+ "line": 392,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}- ],- "extendedBy": [- {- "type": "reference",- "id": 355,- "name": "AdminUserAttributes"+ },+ {+ "id": 454,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 393,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 451,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 386,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "email_change_current"+ },+ {+ "type": "literal",+ "value": "email_change_new"+ }+ ]}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 452,+ 453,+ 454,+ 451+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 385,+ "character": 44+ }]+ }+ }+ },+ {+ "id": 439,+ "name": "GenerateInviteOrMagiclinkParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {+},- {- "id": 310,- "name": "UserIdentity",- "kind": 256,- "kindString": "Interface",- "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 371,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 440,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },"children": [- {- "id": 318,- "name": "created_at",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 105,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }+ {+ "id": 442,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "id": 311,- "name": "id",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 99,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }+ "comment": {+ "shortText": "The user's email"},- {- "id": 313,- "name": "identity_data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 101,- "character": 2- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 314,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 315,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 316,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "any"- }- }- }- }+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 374,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 443,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true},- {- "id": 319,- "name": "last_sign_in_at",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 375,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "union",+ "types": [{- "fileName": "src/lib/types.ts",- "line": 106,- "character": 2+ "type": "literal",+ "value": "data"+ },+ {+ "type": "literal",+ "value": "redirectTo"}- ],- "type": {- "type": "intrinsic",- "name": "string"+ ]}+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 441,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "id": 317,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 104,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 372,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "invite"+ },+ {+ "type": "literal",+ "value": "magiclink"}+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 442,+ 443,+ 441+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 371,+ "character": 46+ }+ ]+ }+ }+ },+ {+ "id": 458,+ "name": "GenerateLinkParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 407,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 433,+ "name": "GenerateSignupLinkParams"+ },+ {+ "type": "reference",+ "id": 439,+ "name": "GenerateInviteOrMagiclinkParams"+ },+ {+ "type": "reference",+ "id": 444,+ "name": "GenerateRecoveryLinkParams"+ },+ {+ "type": "reference",+ "id": 449,+ "name": "GenerateEmailChangeLinkParams"+ }+ ]+ }+ },+ {+ "id": 472,+ "name": "GenerateLinkProperties",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "comment": {+ "shortText": "The properties related to the email link generated"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 430,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 473,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 474,+ "name": "action_link",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The email link to send to the user.\nThe action_link follows the following format: auth/v1/verify?type={verification_type}&token={hashed_token}&redirect_to={redirect_to}"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 435,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 475,+ "name": "email_otp",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The raw email OTP.\nYou should send this in the email if you want your users to verify using an OTP instead of the action link."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 440,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 476,+ "name": "hashed_token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The hashed token appended to the action link."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 444,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 477,+ "name": "redirect_to",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The URL appended to the action link."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 446,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 478,+ "name": "verification_type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "id": 320,- "name": "updated_at",+ "comment": {+ "shortText": "The verification type that the email link is associated to."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 448,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 479,+ "name": "GenerateLinkType"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 474,+ 475,+ 476,+ 477,+ 478+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 430,+ "character": 37+ }+ ]+ }+ }+ },+ {+ "id": 459,+ "name": "GenerateLinkResponse",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 413,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 460,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 461,+ "name": "data","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 107,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 415,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reflection",+ "declaration": {+ "id": 462,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 463,+ "name": "properties",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 416,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 472,+ "name": "GenerateLinkProperties"+ }+ },+ {+ "id": 464,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 417,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 310,+ "name": "User"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 463,+ 464+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 415,+ "character": 12+ }+ ]+ }}- },- {- "id": 312,- "name": "user_id",+ },+ {+ "id": 465,+ "name": "error","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {++ },"sources": [- {- "fileName": "src/lib/types.ts",- "line": 100,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 419,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "literal",+ "value": null}- }- ],- "groups": [- {+ }+ ],+ "groups": [+ {"title": "Properties","kind": 1024,"children": [- 318,- 311,- 313,- 319,- 317,- 320,- 312+ 461,+ 465]- }- ],- "sources": [- {+ }+ ],+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 98,- "character": 17- }- ]- },- {- "id": 432,- "name": "VerifyEmailOtpParams",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 433,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's email address."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 316,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }+ "line": 414,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 466,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "id": 434,- "name": "token",+ "children": [+ {+ "id": 467,+ "name": "data","kind": 1024,"kindString": "Property",- "flags": {},- "comment": {- "shortText": "The otp sent to the user's email address."+ "flags": {+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 318,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 422,+ "character": 6+ }],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reflection",+ "declaration": {+ "id": 468,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 469,+ "name": "properties",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 423,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ },+ {+ "id": 470,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 424,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 469,+ 470+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 422,+ "character": 12+ }+ ]+ }}- },- {- "id": 435,- "name": "type",+ },+ {+ "id": 471,+ "name": "error","kind": 1024,"kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's verification type."+ "flags": {+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 320,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 426,+ "character": 6+ }],"type": {- "type": "reference",- "id": 437,- "name": "EmailOtpType"+ "type": "reference",+ "id": 494,+ "name": "AuthError"}- }- ],- "groups": [- {+ }+ ],+ "groups": [+ {"title": "Properties","kind": 1024,"children": [- 433,- 434,- 435+ 467,+ 471]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 421,+ "character": 4+ }+ ]+ }+ }+ ]+ }+ },+ {+ "id": 479,+ "name": "GenerateLinkType",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 451,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "signup"+ },+ {+ "type": "literal",+ "value": "invite"+ },+ {+ "type": "literal",+ "value": "magiclink"+ },+ {+ "type": "literal",+ "value": "recovery"+ },+ {+ "type": "literal",+ "value": "email_change_current"+ },+ {+ "type": "literal",+ "value": "email_change_new"+ }+ ]+ }+ },+ {+ "id": 444,+ "name": "GenerateRecoveryLinkParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 378,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 445,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 447,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's email"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 381,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}- ],- "sources": [- {+ },+ {+ "id": 448,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 382,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 446,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 314,- "character": 17+ "line": 379,+ "character": 2+ }+ ],+ "type": {+ "type": "literal",+ "value": "recovery"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 447,+ 448,+ 446+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 378,+ "character": 41+ }]+ }+ }+ },+ {+ "id": 433,+ "name": "GenerateSignupLinkParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {+},- {- "id": 428,- "name": "VerifyMobileOtpParams",- "kind": 256,- "kindString": "Interface",- "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 364,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 434,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },"children": [- {- "id": 429,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's phone number."+ {+ "id": 436,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 366,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 438,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 368,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"},- "sources": [+ {+ "type": "union",+ "types": [{- "fileName": "src/lib/types.ts",- "line": 308,- "character": 2+ "type": "literal",+ "value": "data"+ },+ {+ "type": "literal",+ "value": "redirectTo"}- ],- "type": {- "type": "intrinsic",- "name": "string"+ ]}+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 437,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "id": 430,- "name": "token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The otp sent to the user's phone number."+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 367,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 435,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 365,+ "character": 2+ }+ ],+ "type": {+ "type": "literal",+ "value": "signup"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 436,+ 438,+ 437,+ 435+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 364,+ "character": 39+ }+ ]+ }+ }+ },+ {+ "id": 241,+ "name": "GoTrueClientOptions",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 31,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 242,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 250,+ "name": "autoRefreshToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 41,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 249,+ "name": "detectSessionInUrl",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 39,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 253,+ "name": "fetch",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 47,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "name": "Fetch"+ }+ },+ {+ "id": 244,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 35,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 245,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 310,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 35,+ "character": 12+ }],- "type": {+ "indexSignature": {+ "id": 246,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 247,+ "name": "key",+ "kind": 32768,+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {"type": "intrinsic","name": "string"+ }}- },- {- "id": 431,- "name": "type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's verification type."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 312,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 436,- "name": "MobileOtpType"- }+ }}- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 429,- 430,- 431- ]+ },+ {+ "id": 251,+ "name": "persistSession",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 43,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"}- ],- "sources": [- {+ },+ {+ "id": 252,+ "name": "storage",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 306,- "character": 17+ "line": 45,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 480,+ "name": "SupportedStorage"}- ]- },- {- "id": 264,- "name": "AuthChangeEvent",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {+ },+ {+ "id": 248,+ "name": "storageKey",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 37,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 243,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 22,- "character": 12+ "line": 33,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}+ }],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "PASSWORD_RECOVERY"- },- {- "type": "literal",- "value": "SIGNED_IN"- },- {- "type": "literal",- "value": "SIGNED_OUT"- },- {- "type": "literal",- "value": "TOKEN_REFRESHED"- },- {- "type": "literal",- "value": "USER_UPDATED"- },- {- "type": "literal",- "value": "USER_DELETED"- }+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 250,+ 249,+ 253,+ 244,+ 251,+ 252,+ 248,+ 243]- }- },- {- "id": 265,- "name": "AuthResponse",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},+ }+ ],"sources": [- {+ {+ "fileName": "src/lib/types.ts",+ "line": 31,+ "character": 34+ }+ ]+ }+ }+ },+ {+ "id": 481,+ "name": "InitializeResult",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 470,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 482,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 483,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 30,- "character": 12- }- ],- "type": {- "type": "union",- "types": [+ "line": 470,+ "character": 33+ }+ ],+ "type": {+ "type": "union",+ "types": [{- "type": "reflection",- "declaration": {- "id": 266,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 267,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 32,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 268,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 270,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 34,- "character": 8- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 302,- "name": "Session"- },- {- "type": "literal",- "value": null- }- ]- }- },- {- "id": 269,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 33,- "character": 8- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 321,- "name": "User"- },- {- "type": "literal",- "value": null- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 270,- 269- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 32,- "character": 12- }- ]- }- }- },- {- "id": 271,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 36,- "character": 6- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 267,- 271- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 31,- "character": 4- }- ]- }+ "type": "reference",+ "id": 494,+ "name": "AuthError"},{- "type": "reflection",- "declaration": {- "id": 272,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 273,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 39,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 274,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 276,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 41,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 275,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 40,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 276,- 275- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 39,- "character": 12- }- ]- }- }- },- {- "id": 277,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 43,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 273,- 277- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 38,- "character": 4- }- ]- }+ "type": "literal",+ "value": null}+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 483]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 470,+ "character": 31+ }+ ]+ }+ }+ },+ {+ "id": 431,+ "name": "MobileOtpType",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 361,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "sms"+ },+ {+ "type": "literal",+ "value": "phone_change"}+ ]+ }+ },+ {+ "id": 267,+ "name": "OAuthResponse",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {+},- {- "id": 440,- "name": "CallRefreshTokenResult",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 346,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 441,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 443,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 349,- "character": 6- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 442,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 348,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 302,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 443,- 442- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 347,- "character": 4- }- ]- }+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 66,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 268,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 269,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "reflection",- "declaration": {- "id": 444,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 446,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 353,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- },- {- "id": 445,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 352,- "character": 6- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 446,- 445- ]- }+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 68,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 270,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 271,+ "name": "provider",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 69,+ "character": 8+ }],+ "type": {+ "type": "reference",+ "id": 239,+ "name": "Provider"+ }+ },+ {+ "id": 272,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/types.ts",- "line": 351,- "character": 4- }+ {+ "fileName": "src/lib/types.ts",+ "line": 70,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 271,+ 272]- }+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 68,+ "character": 12+ }+ ]+ }}- ]- }- },- {- "id": 437,- "name": "EmailOtpType",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 324,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"- },- {- "type": "literal",- "value": "recovery"+ },+ {+ "id": 273,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "literal",- "value": "email_change"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 72,+ "character": 6+ }+ ],+ "type": {+ "type": "literal",+ "value": null}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 269,+ 273+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 67,+ "character": 4+ }]- }- },- {- "id": 438,- "name": "GenerateLinkType",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "comment": {- "shortText": "The link type"+ }},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 327,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"- },- {- "type": "literal",- "value": "recovery"+ {+ "type": "reflection",+ "declaration": {+ "id": 274,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 275,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "literal",- "value": "email_change_current"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 75,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 276,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 277,+ "name": "provider",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 76,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 239,+ "name": "Provider"+ }+ },+ {+ "id": 278,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 77,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 277,+ 278+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 75,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 279,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "literal",- "value": "email_change_new"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 79,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 275,+ 279+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 74,+ "character": 4+ }]+ }}+ ]+ }+ },+ {+ "id": 239,+ "name": "Provider",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {+},- {- "id": 436,- "name": "MobileOtpType",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 323,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "sms"- },- {- "type": "literal",- "value": "phone_change"- }- ]+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 5,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "apple"+ },+ {+ "type": "literal",+ "value": "azure"+ },+ {+ "type": "literal",+ "value": "bitbucket"+ },+ {+ "type": "literal",+ "value": "discord"+ },+ {+ "type": "literal",+ "value": "facebook"+ },+ {+ "type": "literal",+ "value": "github"+ },+ {+ "type": "literal",+ "value": "gitlab"+ },+ {+ "type": "literal",+ "value": "google"+ },+ {+ "type": "literal",+ "value": "keycloak"+ },+ {+ "type": "literal",+ "value": "linkedin"+ },+ {+ "type": "literal",+ "value": "notion"+ },+ {+ "type": "literal",+ "value": "slack"+ },+ {+ "type": "literal",+ "value": "spotify"+ },+ {+ "type": "literal",+ "value": "twitch"+ },+ {+ "type": "literal",+ "value": "twitter"+ },+ {+ "type": "literal",+ "value": "workos"}+ ]+ }+ },+ {+ "id": 403,+ "name": "SignInWithOAuthCredentials",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {+},- {- "id": 278,- "name": "OAuthResponse",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 318,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 404,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 406,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 46,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 279,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 280,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 48,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 281,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 282,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 49,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 263,- "name": "Provider"- }- },- {- "id": 283,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 50,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 282,- 283- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 48,- "character": 12- }- ]- }- }- },- {- "id": 284,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 52,- "character": 6- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 280,- 284- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 47,- "character": 4- }- ]- }+ "line": 321,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 407,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+},- {- "type": "reflection",- "declaration": {- "id": 285,+ "children": [+ {+ "id": 410,+ "name": "queryParams",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "An object of query params"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 327,+ "character": 4+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 411,"name": "__type","kind": 65536,"kindString": "Type literal",- "flags": {},- "children": [- {- "id": 286,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 55,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 287,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 288,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 56,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 263,- "name": "Provider"- }- },- {- "id": 289,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 57,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 288,- 289- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 55,- "character": 12- }- ]- }- }- },- {- "id": 290,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 59,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 286,- 290- ]- }- ],+ "flags": {++ },"sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 327,+ "character": 18+ }+ ],+ "indexSignature": {+ "id": 412,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {++ },+ "parameters": [{- "fileName": "src/lib/types.ts",- "line": 54,- "character": 4+ "id": 413,+ "name": "key",+ "kind": 32768,+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}- ]+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ }+ }+ },+ {+ "id": 408,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A URL to send the user to after they are confirmed."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 323,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 409,+ "name": "scopes",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A space-separated list of scopes granted to the OAuth application."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 325,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}- }- ]- }- },- {- "id": 263,- "name": "Provider",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "comment": {- "shortText": "One of the providers supported by GoTrue."- },- "sources": [- {+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 410,+ 408,+ 409+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 321,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 405,+ "name": "provider",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 4,- "character": 12+ "line": 320,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 239,+ "name": "Provider"}+ }],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "apple"- },- {- "type": "literal",- "value": "azure"- },- {- "type": "literal",- "value": "bitbucket"- },- {- "type": "literal",- "value": "discord"- },- {- "type": "literal",- "value": "facebook"- },- {- "type": "literal",- "value": "github"+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 406,+ 405+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 318,+ "character": 41+ }+ ]+ }+ }+ },+ {+ "id": 376,+ "name": "SignInWithPasswordCredentials",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 272,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 377,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 378,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "literal",- "value": "gitlab"+ "comment": {+ "shortText": "The user's email address."},- {- "type": "literal",- "value": "google"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 275,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 380,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true},- {- "type": "literal",- "value": "keycloak"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 278,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 381,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 382,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 280,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 382+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 278,+ "character": 16+ }+ ]+ }+ }+ },+ {+ "id": 379,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "literal",- "value": "linkedin"+ "comment": {+ "shortText": "The user's password."},- {- "type": "literal",- "value": "notion"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 277,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 378,+ 380,+ 379+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 273,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 383,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 386,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true},- {- "type": "literal",- "value": "slack"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 288,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 387,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 388,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 290,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 388+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 288,+ "character": 16+ }+ ]+ }+ }+ },+ {+ "id": 385,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "literal",- "value": "spotify"+ "comment": {+ "shortText": "The user's password."},- {- "type": "literal",- "value": "twitch"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 287,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 384,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "literal",- "value": "twitter"+ "comment": {+ "shortText": "The user's phone number."},- {- "type": "literal",- "value": "workos"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 285,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 386,+ 385,+ 384+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 283,+ "character": 4+ }]+ }}+ ]+ }+ },+ {+ "id": 389,+ "name": "SignInWithPasswordlessCredentials",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {+},- {- "id": 416,- "name": "SignInWithOAuthCredentials",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 292,- "character": 12- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 417,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 419,- "name": "options",+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 294,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 390,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 391,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's email address."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 297,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 392,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 298,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 393,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 396,+ "name": "captchaToken","kind": 1024,"kindString": "Property","flags": {- "isOptional": true+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 295,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 304,+ "character": 8+ }],"type": {- "type": "reflection",- "declaration": {- "id": 420,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 423,- "name": "queryParams",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An object of query params"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 301,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 424,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 301,- "character": 18- }- ],- "indexSignature": {- "id": 425,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 426,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 421,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 297,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 422,- "name": "scopes",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A space-separated list of scopes granted to the OAuth application."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 299,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 423,- 421,- 422- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 295,- "character": 12- }- ]- }+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 394,+ "name": "emailRedirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The redirect url embedded in the email link"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 300,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 395,+ "name": "shouldCreateUser",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "If set to false, this method will not create a new user. Defaults to true."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 302,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 396,+ 394,+ 395+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 298,+ "character": 16+ }+ ]+ }+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 391,+ 392+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 295,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 397,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 399,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 310,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 400,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 402,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 314,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}- },- {- "id": 418,- "name": "provider",+ },+ {+ "id": 401,+ "name": "shouldCreateUser","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },"comment": {- "shortText": "One of the providers supported by GoTrue."+ "shortText": "If set to false, this method will not create a new user. Defaults to true."},"sources": [- {- "fileName": "src/lib/types.ts",- "line": 294,- "character": 2- }+ {+ "fileName": "src/lib/types.ts",+ "line": 312,+ "character": 8+ }],"type": {- "type": "reference",- "id": 263,- "name": "Provider"+ "type": "intrinsic",+ "name": "boolean"}- }- ],- "groups": [- {+ }+ ],+ "groups": [+ {"title": "Properties","kind": 1024,"children": [- 419,- 418+ 402,+ 401]- }- ],- "sources": [- {+ }+ ],+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 292,- "character": 41- }- ]- }- }- },- {- "id": 389,- "name": "SignInWithPasswordCredentials",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 246,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 390,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 391,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's email address."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 249,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 393,- "name": "options",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 252,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 394,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 395,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 254,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 395- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 252,- "character": 16- }- ]- }- }- },- {- "id": 392,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 251,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 391,- 393,- 392- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 247,- "character": 4- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 396,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 399,- "name": "options",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 262,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 400,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 401,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 264,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 401- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 262,- "character": 16- }- ]- }- }- },- {- "id": 398,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 261,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 397,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's phone number."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 259,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 399,- 398,- 397- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 257,- "character": 4- }- ]- }+ "line": 310,+ "character": 16+ }+ ]+ }}- ]- }- },- {- "id": 402,- "name": "SignInWithPasswordlessCredentials",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 268,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 403,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 404,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's email address."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 271,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 405,- "name": "options",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 272,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 406,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 409,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 278,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 407,- "name": "emailRedirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The redirect url embedded in the email link"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 274,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 408,- "name": "shouldCreateUser",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "If set to false, this method will not create a new user. Defaults to true."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 276,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 409,- 407,- 408- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 272,- "character": 16- }- ]- }- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 404,- 405- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 269,- "character": 4- }- ]- }+ },+ {+ "id": 398,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "reflection",- "declaration": {- "id": 410,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 412,- "name": "options",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 284,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 413,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 415,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 288,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 414,- "name": "shouldCreateUser",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "If set to false, this method will not create a new user. Defaults to true."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 286,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 415,- 414- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 284,- "character": 16- }- ]- }- }- },- {- "id": 411,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's phone number."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 283,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 412,- 411- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 281,- "character": 4- }- ]- }+ "comment": {+ "shortText": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 309,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 399,+ 398+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 307,+ "character": 4+ }]+ }}+ ]+ }+ },+ {+ "id": 360,+ "name": "SignUpWithPasswordCredentials",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {+},- {- "id": 373,- "name": "SignUpWithPasswordCredentials",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 219,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 374,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 375,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's email address."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 222,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 377,- "name": "options",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 225,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 378,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 381,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 231,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 380,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's metadata."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 229,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 379,- "name": "emailRedirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The redirect url embedded in the email link"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 227,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 381,- 380,- 379- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 225,- "character": 16- }- ]- }- }- },- {- "id": 376,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 224,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 237,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 361,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 362,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's email address."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 240,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 364,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 243,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 365,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 368,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 253,+ "character": 8+ }],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 375,- 377,- 376- ]- }+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 367,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 251,+ "character": 8+ }],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 366,+ "name": "emailRedirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The redirect url embedded in the email link"+ },"sources": [- {- "fileName": "src/lib/types.ts",- "line": 220,- "character": 4- }+ {+ "fileName": "src/lib/types.ts",+ "line": 245,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 368,+ 367,+ 366]- }+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 243,+ "character": 16+ }+ ]+ }+ }+ },+ {+ "id": 363,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "reflection",- "declaration": {- "id": 382,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 385,- "name": "options",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 239,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 386,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 388,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 243,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 387,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's metadata."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 241,- "character": 8- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 388,- 387- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 239,- "character": 16- }- ]- }- }- },- {- "id": 384,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 238,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 383,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's phone number."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 236,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 385,- 384,- 383- ]- }+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 242,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 362,+ 364,+ 363+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 238,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 369,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 372,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 261,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 373,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 375,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 269,+ "character": 8+ }],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 374,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"+ },"sources": [- {- "fileName": "src/lib/types.ts",- "line": 234,- "character": 4- }+ {+ "fileName": "src/lib/types.ts",+ "line": 267,+ "character": 8+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 375,+ 374]- }+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 261,+ "character": 16+ }+ ]+ }+ }+ },+ {+ "id": 371,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 260,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 370,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "comment": {+ "shortText": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 258,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 372,+ 371,+ 370+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 256,+ "character": 4+ }]+ }}+ ]+ }+ },+ {+ "id": 480,+ "name": "SupportedStorage",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {+},- {- "id": 439,- "name": "SupportedStorage",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 468,+ "character": 12+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "qualifiedName": "Storage",+ "package": "typescript",+ "name": "Storage"+ },{- "fileName": "src/lib/types.ts",- "line": 344,- "character": 12- }- ],- "type": {- "type": "reference",- "typeArguments": [+ "type": "union",+ "types": [{- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Storage",- "package": "typescript",- "name": "Storage"+ "type": "literal",+ "value": "getItem"+ },+ {+ "type": "literal",+ "value": "setItem"+ },+ {+ "type": "literal",+ "value": "removeItem"+ }+ ]+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ ],+ "name": "PromisifyMethods"+ }+ },+ {+ "id": 280,+ "name": "UserResponse",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 82,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 281,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 282,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 84,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 283,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 284,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "union",- "types": [- {- "type": "literal",- "value": "getItem"- },- {- "type": "literal",- "value": "setItem"- },- {- "type": "literal",- "value": "removeItem"- }- ]+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 85,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 310,+ "name": "User"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 284+ ]+ }],- "qualifiedName": "Pick",- "package": "typescript",- "name": "Pick"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 84,+ "character": 12+ }+ ]+ }}+ },+ {+ "id": 285,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 87,+ "character": 6+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }],- "name": "PromisifyMethods"- }- },- {- "id": 291,- "name": "UserResponse",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 282,+ 285+ ]+ }+ ],+ "sources": [+ {"fileName": "src/lib/types.ts",- "line": 62,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 292,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 293,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 64,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 294,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 295,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 65,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 321,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 295- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 64,- "character": 12- }- ]- }- }- },- {- "id": 296,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 67,- "character": 6- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 293,- 296- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 63,- "character": 4- }- ]- }+ "line": 83,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 286,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 287,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "reflection",- "declaration": {- "id": 297,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 298,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 70,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 299,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 300,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 71,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 300- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 70,- "character": 12- }- ]- }- }- },- {- "id": 301,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 73,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 298,- 301- ]- }- ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 90,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 288,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {++ },+ "children": [+ {+ "id": 289,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {++ },"sources": [- {- "fileName": "src/lib/types.ts",- "line": 69,- "character": 4- }+ {+ "fileName": "src/lib/types.ts",+ "line": 91,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 289]- }+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 90,+ "character": 12+ }+ ]+ }}- ]- }- },- {- "id": 427,- "name": "VerifyOtpParams",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 305,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 428,- "name": "VerifyMobileOtpParams"+ },+ {+ "id": 290,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+},- {- "type": "reference",- "id": 432,- "name": "VerifyEmailOtpParams"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 93,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"}+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 287,+ 290+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 89,+ "character": 4+ }]+ }+ }+ ]+ }+ },+ {+ "id": 414,+ "name": "VerifyOtpParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {++ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 331,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 415,+ "name": "VerifyMobileOtpParams"+ },+ {+ "type": "reference",+ "id": 423,+ "name": "VerifyEmailOtpParams"}+ ]+ }+ },+ {+ "id": 491,+ "name": "isAuthError",+ "kind": 64,+ "kindString": "Function",+ "flags": {+},- {- "id": 447,+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 10,+ "character": 16+ }+ ],+ "signatures": [+ {+ "id": 492,"name": "isAuthError",- "kind": 64,- "kindString": "Function",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 10,- "character": 16+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {++ },+ "parameters": [+ {+ "id": 493,+ "name": "error",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {++ },+ "type": {+ "type": "intrinsic",+ "name": "unknown"}+ }],- "signatures": [- {- "id": 448,- "name": "isAuthError",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 449,- "name": "error",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "unknown"- }- }- ],- "type": {- "type": "predicate",- "name": "error",- "asserts": false,- "targetType": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- }- ]- }+ "type": {+ "type": "predicate",+ "name": "error",+ "asserts": false,+ "targetType": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ }+ }+ ]+ }],"groups": [- {- "title": "Classes",- "kind": 128,- "children": [- 455,- 450,- 502,- 515,- 490,- 468,- 475,- 1,- 81- ]- },- {- "title": "Interfaces",- "kind": 256,- "children": [- 355,- 302,- 365,- 321,- 349,- 310,- 432,- 428- ]- },- {- "title": "Type Aliases",- "kind": 4194304,- "children": [- 264,- 265,- 440,- 437,- 438,- 436,- 278,- 263,- 416,- 389,- 402,- 373,- 439,- 291,- 427- ]- },- {- "title": "Functions",- "kind": 64,- "children": [- 447- ]- }+ {+ "title": "Classes",+ "kind": 128,+ "children": [+ 499,+ 494,+ 559,+ 546,+ 584,+ 534,+ 512,+ 519,+ 1,+ 66+ ]+ },+ {+ "title": "Interfaces",+ "kind": 256,+ "children": [+ 343,+ 455,+ 291,+ 352,+ 310,+ 338,+ 299,+ 423,+ 415+ ]+ },+ {+ "title": "Type Aliases",+ "kind": 4194304,+ "children": [+ 240,+ 254,+ 484,+ 432,+ 449,+ 439,+ 458,+ 472,+ 459,+ 479,+ 444,+ 433,+ 241,+ 481,+ 431,+ 267,+ 239,+ 403,+ 376,+ 389,+ 360,+ 480,+ 280,+ 414+ ]+ },+ {+ "title": "Functions",+ "kind": 64,+ "children": [+ 491+ ]+ }],"sources": [- {- "fileName": "src/index.ts",- "line": 1,- "character": 0- }+ {+ "fileName": "src/index.ts",+ "line": 1,+ "character": 0+ }]-}\ No newline at end of file+ }\ No newline at end of filediff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.jsonindex a874ab0aa38..80140fb9800 100644--- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json+++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json@@ -7,14 +7,14 @@"originalName": "","children": [{- "id": 455,+ "id": 499,"name": "AuthApiError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 456,+ "id": 500,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -28,14 +28,14 @@],"signatures": [{- "id": 457,+ "id": 501,"name": "new AuthApiError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 458,+ "id": 502,"name": "message","kind": 32768,"kindString": "Parameter",@@ -46,7 +46,7 @@}},{- "id": 459,+ "id": 503,"name": "status","kind": 32768,"kindString": "Parameter",@@ -59,24 +59,24 @@],"type": {"type": "reference",- "id": 455,+ "id": 499,"name": "AuthApiError"},"overwrites": {"type": "reference",- "id": 452,+ "id": 496,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 451,+ "id": 495,"name": "AuthError.constructor"}},{- "id": 460,+ "id": 504,"name": "status","kind": 1024,"kindString": "Property",@@ -94,7 +94,7 @@}},{- "id": 461,+ "id": 505,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -108,7 +108,7 @@],"signatures": [{- "id": 462,+ "id": 506,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -116,14 +116,14 @@"type": {"type": "reflection","declaration": {- "id": 463,+ "id": 507,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 465,+ "id": 509,"name": "message","kind": 1024,"kindString": "Property",@@ -142,7 +142,7 @@"defaultValue": "..."},{- "id": 464,+ "id": 508,"name": "name","kind": 1024,"kindString": "Property",@@ -161,7 +161,7 @@"defaultValue": "..."},{- "id": 466,+ "id": 510,"name": "status","kind": 1024,"kindString": "Property",@@ -185,9 +185,9 @@"title": "Properties","kind": 1024,"children": [- 465,- 464,- 466+ 509,+ 508,+ 510]}]@@ -202,21 +202,21 @@"title": "Constructors","kind": 512,"children": [- 456+ 500]},{"title": "Properties","kind": 1024,"children": [- 460+ 504]},{"title": "Methods","kind": 2048,"children": [- 461+ 505]}],@@ -230,20 +230,20 @@"extendedTypes": [{"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}]},{- "id": 450,+ "id": 494,"name": "AuthError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 451,+ "id": 495,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -257,14 +257,14 @@],"signatures": [{- "id": 452,+ "id": 496,"name": "new AuthError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 453,+ "id": 497,"name": "message","kind": 32768,"kindString": "Parameter",@@ -277,7 +277,7 @@],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"},"overwrites": {@@ -297,7 +297,7 @@"title": "Constructors","kind": 512,"children": [- 451+ 495]}],@@ -319,30 +319,30 @@"extendedBy": [{"type": "reference",- "id": 455,+ "id": 499,"name": "AuthApiError"},{"type": "reference",- "id": 468,+ "id": 512,"name": "AuthUnknownError"},{"type": "reference",- "id": 475,+ "id": 519,"name": "CustomAuthError"}]},{- "id": 502,- "name": "AuthInvalidCredentialsError",+ "id": 559,+ "name": "AuthImplicitGrantRedirectError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 503,+ "id": 560,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -350,20 +350,20 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 67,+ "line": 74,"character": 2}],"signatures": [{- "id": 504,- "name": "new AuthInvalidCredentialsError",+ "id": 561,+ "name": "new AuthImplicitGrantRedirectError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 505,+ "id": 562,"name": "message","kind": 32768,"kindString": "Parameter",@@ -372,28 +372,185 @@"type": "intrinsic","name": "string"}+ },+ {+ "id": 563,+ "name": "details",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 564,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 566,+ "name": "code",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 74,+ "character": 57+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 565,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 74,+ "character": 42+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 566,+ 565+ ]+ }+ ]+ }+ }+ ]+ },+ "defaultValue": "null"}],"type": {"type": "reference",- "id": 502,- "name": "AuthInvalidCredentialsError"+ "id": 559,+ "name": "AuthImplicitGrantRedirectError"},"overwrites": {"type": "reference",- "id": 477,+ "id": 521,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 476,+ "id": 520,"name": "CustomAuthError.constructor"}},{- "id": 506,+ "id": 567,+ "name": "details",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 568,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 570,+ "name": "code",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 28+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 569,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 13+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 570,+ 569+ ]+ }+ ]+ }+ }+ ]+ },+ "defaultValue": "null"+ },+ {+ "id": 581,"name": "name","kind": 1024,"kindString": "Property",@@ -411,12 +568,12 @@},"inheritedFrom": {"type": "reference",- "id": 481,+ "id": 525,"name": "CustomAuthError.name"}},{- "id": 507,+ "id": 582,"name": "status","kind": 1024,"kindString": "Property",@@ -434,12 +591,12 @@},"inheritedFrom": {"type": "reference",- "id": 482,+ "id": 526,"name": "CustomAuthError.status"}},{- "id": 508,+ "id": 571,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -447,13 +604,13 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 51,+ "line": 79,"character": 2}],"signatures": [{- "id": 509,+ "id": 572,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -461,14 +618,96 @@"type": {"type": "reflection","declaration": {- "id": 510,+ "id": 573,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 512,+ "id": 577,+ "name": "details",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 84,+ "character": 6+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 578,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 580,+ "name": "code",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 28+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 579,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 73,+ "character": 13+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 580,+ 579+ ]+ }+ ]+ }+ }+ ]+ },+ "defaultValue": "..."+ },+ {+ "id": 575,"name": "message","kind": 1024,"kindString": "Property",@@ -476,7 +715,7 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 54,+ "line": 82,"character": 6}],@@ -487,7 +726,7 @@"defaultValue": "..."},{- "id": 511,+ "id": 574,"name": "name","kind": 1024,"kindString": "Property",@@ -495,7 +734,7 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 53,+ "line": 81,"character": 6}],@@ -506,7 +745,7 @@"defaultValue": "..."},{- "id": 513,+ "id": 576,"name": "status","kind": 1024,"kindString": "Property",@@ -514,7 +753,7 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 55,+ "line": 83,"character": 6}],@@ -530,24 +769,25 @@"title": "Properties","kind": 1024,"children": [- 512,- 511,- 513+ 577,+ 575,+ 574,+ 576]}]}},- "inheritedFrom": {+ "overwrites": {"type": "reference",- "id": 484,+ "id": 528,"name": "CustomAuthError.toJSON"}}],- "inheritedFrom": {+ "overwrites": {"type": "reference",- "id": 483,+ "id": 527,"name": "CustomAuthError.toJSON"}}@@ -557,49 +797,50 @@"title": "Constructors","kind": 512,"children": [- 503+ 560]},{"title": "Properties","kind": 1024,"children": [- 506,- 507+ 567,+ 581,+ 582]},{"title": "Methods","kind": 2048,"children": [- 508+ 571]}],"sources": [{"fileName": "src/lib/errors.ts",- "line": 66,+ "line": 72,"character": 13}],"extendedTypes": [{"type": "reference",- "id": 475,+ "id": 519,"name": "CustomAuthError"}]},{- "id": 515,- "name": "AuthRetryableFetchError",+ "id": 546,+ "name": "AuthInvalidCredentialsError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 516,+ "id": 547,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -607,20 +848,20 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 73,+ "line": 67,"character": 2}],"signatures": [{- "id": 517,- "name": "new AuthRetryableFetchError",+ "id": 548,+ "name": "new AuthInvalidCredentialsError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 518,+ "id": 549,"name": "message","kind": 32768,"kindString": "Parameter",@@ -629,39 +870,28 @@"type": "intrinsic","name": "string"}- },- {- "id": 519,- "name": "status",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "number"- }}],"type": {"type": "reference",- "id": 515,- "name": "AuthRetryableFetchError"+ "id": 546,+ "name": "AuthInvalidCredentialsError"},"overwrites": {"type": "reference",- "id": 477,+ "id": 521,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 476,+ "id": 520,"name": "CustomAuthError.constructor"}},{- "id": 520,+ "id": 550,"name": "name","kind": 1024,"kindString": "Property",@@ -679,12 +909,12 @@},"inheritedFrom": {"type": "reference",- "id": 481,+ "id": 525,"name": "CustomAuthError.name"}},{- "id": 521,+ "id": 551,"name": "status","kind": 1024,"kindString": "Property",@@ -702,12 +932,12 @@},"inheritedFrom": {"type": "reference",- "id": 482,+ "id": 526,"name": "CustomAuthError.status"}},{- "id": 522,+ "id": 552,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -721,7 +951,7 @@],"signatures": [{- "id": 523,+ "id": 553,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -729,14 +959,14 @@"type": {"type": "reflection","declaration": {- "id": 524,+ "id": 554,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 526,+ "id": 556,"name": "message","kind": 1024,"kindString": "Property",@@ -755,7 +985,7 @@"defaultValue": "..."},{- "id": 525,+ "id": 555,"name": "name","kind": 1024,"kindString": "Property",@@ -774,7 +1004,7 @@"defaultValue": "..."},{- "id": 527,+ "id": 557,"name": "status","kind": 1024,"kindString": "Property",@@ -798,9 +1028,9 @@"title": "Properties","kind": 1024,"children": [- 526,- 525,- 527+ 556,+ 555,+ 557]}]@@ -808,14 +1038,14 @@},"inheritedFrom": {"type": "reference",- "id": 484,+ "id": 528,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 483,+ "id": 527,"name": "CustomAuthError.toJSON"}}@@ -825,49 +1055,49 @@"title": "Constructors","kind": 512,"children": [- 516+ 547]},{"title": "Properties","kind": 1024,"children": [- 520,- 521+ 550,+ 551]},{"title": "Methods","kind": 2048,"children": [- 522+ 552]}],"sources": [{"fileName": "src/lib/errors.ts",- "line": 72,+ "line": 66,"character": 13}],"extendedTypes": [{"type": "reference",- "id": 475,+ "id": 519,"name": "CustomAuthError"}]},{- "id": 490,- "name": "AuthSessionMissingError",+ "id": 584,+ "name": "AuthRetryableFetchError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 491,+ "id": 585,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -875,37 +1105,61 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 61,+ "line": 90,"character": 2}],"signatures": [{- "id": 492,- "name": "new AuthSessionMissingError",+ "id": 586,+ "name": "new AuthRetryableFetchError","kind": 16384,"kindString": "Constructor signature","flags": {},- "type": {- "type": "reference",- "id": 490,- "name": "AuthSessionMissingError"- },- "overwrites": {- "type": "reference",- "id": 477,- "name": "CustomAuthError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 476,- "name": "CustomAuthError.constructor"- }- },- {- "id": 493,+ "parameters": [+ {+ "id": 587,+ "name": "message",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 588,+ "name": "status",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 584,+ "name": "AuthRetryableFetchError"+ },+ "overwrites": {+ "type": "reference",+ "id": 521,+ "name": "CustomAuthError.constructor"+ }+ }+ ],+ "overwrites": {+ "type": "reference",+ "id": 520,+ "name": "CustomAuthError.constructor"+ }+ },+ {+ "id": 589,"name": "name","kind": 1024,"kindString": "Property",@@ -923,12 +1177,12 @@},"inheritedFrom": {"type": "reference",- "id": 481,+ "id": 525,"name": "CustomAuthError.name"}},{- "id": 494,+ "id": 590,"name": "status","kind": 1024,"kindString": "Property",@@ -946,12 +1200,12 @@},"inheritedFrom": {"type": "reference",- "id": 482,+ "id": 526,"name": "CustomAuthError.status"}},{- "id": 495,+ "id": 591,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -965,7 +1219,7 @@],"signatures": [{- "id": 496,+ "id": 592,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -973,14 +1227,14 @@"type": {"type": "reflection","declaration": {- "id": 497,+ "id": 593,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 499,+ "id": 595,"name": "message","kind": 1024,"kindString": "Property",@@ -999,7 +1253,7 @@"defaultValue": "..."},{- "id": 498,+ "id": 594,"name": "name","kind": 1024,"kindString": "Property",@@ -1018,7 +1272,7 @@"defaultValue": "..."},{- "id": 500,+ "id": 596,"name": "status","kind": 1024,"kindString": "Property",@@ -1042,9 +1296,9 @@"title": "Properties","kind": 1024,"children": [- 499,- 498,- 500+ 595,+ 594,+ 596]}]@@ -1052,14 +1306,14 @@},"inheritedFrom": {"type": "reference",- "id": 484,+ "id": 528,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 483,+ "id": 527,"name": "CustomAuthError.toJSON"}}@@ -1069,168 +1323,49 @@"title": "Constructors","kind": 512,"children": [- 491+ 585]},{"title": "Properties","kind": 1024,"children": [- 493,- 494+ 589,+ 590]},{"title": "Methods","kind": 2048,"children": [- 495+ 591]}],"sources": [{"fileName": "src/lib/errors.ts",- "line": 60,+ "line": 89,"character": 13}],"extendedTypes": [{"type": "reference",- "id": 475,+ "id": 519,"name": "CustomAuthError"}]},{- "id": 468,- "name": "AuthUnknownError",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 469,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 35,- "character": 2- }- ],- "signatures": [- {- "id": 470,- "name": "new AuthUnknownError",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "parameters": [- {- "id": 471,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 472,- "name": "originalError",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "unknown"- }- }- ],- "type": {- "type": "reference",- "id": 468,- "name": "AuthUnknownError"- },- "overwrites": {- "type": "reference",- "id": 452,- "name": "AuthError.constructor"- }- }- ],- "overwrites": {- "type": "reference",- "id": 451,- "name": "AuthError.constructor"- }- },- {- "id": 473,- "name": "originalError",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 33,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "unknown"- }- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 469- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 473- ]- }- ],- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 32,- "character": 13- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 450,- "name": "AuthError"- }- ]- },- {- "id": 475,- "name": "CustomAuthError",+ "id": 534,+ "name": "AuthSessionMissingError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 476,+ "id": 535,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -1238,72 +1373,37 @@"sources": [{"fileName": "src/lib/errors.ts",- "line": 45,+ "line": 61,"character": 2}],"signatures": [{- "id": 477,- "name": "new CustomAuthError",+ "id": 536,+ "name": "new AuthSessionMissingError","kind": 16384,"kindString": "Constructor signature","flags": {},- "parameters": [- {- "id": 478,- "name": "message",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 479,- "name": "name",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 480,- "name": "status",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "number"- }- }- ],"type": {"type": "reference",- "id": 475,- "name": "CustomAuthError"+ "id": 534,+ "name": "AuthSessionMissingError"},"overwrites": {"type": "reference",- "id": 452,- "name": "AuthError.constructor"+ "id": 521,+ "name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 451,- "name": "AuthError.constructor"+ "id": 520,+ "name": "CustomAuthError.constructor"}},{- "id": 481,+ "id": 537,"name": "name","kind": 1024,"kindString": "Property",@@ -1319,13 +1419,14 @@"type": "intrinsic","name": "string"},- "overwrites": {+ "inheritedFrom": {"type": "reference",- "name": "AuthError.name"+ "id": 525,+ "name": "CustomAuthError.name"}},{- "id": 482,+ "id": 538,"name": "status","kind": 1024,"kindString": "Property",@@ -1340,10 +1441,15 @@"type": {"type": "intrinsic","name": "number"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 526,+ "name": "CustomAuthError.status"}},{- "id": 483,+ "id": 539,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -1357,7 +1463,7 @@],"signatures": [{- "id": 484,+ "id": 540,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -1365,14 +1471,14 @@"type": {"type": "reflection","declaration": {- "id": 485,+ "id": 541,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 487,+ "id": 543,"name": "message","kind": 1024,"kindString": "Property",@@ -1391,7 +1497,7 @@"defaultValue": "..."},{- "id": 486,+ "id": 542,"name": "name","kind": 1024,"kindString": "Property",@@ -1410,7 +1516,7 @@"defaultValue": "..."},{- "id": 488,+ "id": 544,"name": "status","kind": 1024,"kindString": "Property",@@ -1434,16 +1540,26 @@"title": "Properties","kind": 1024,"children": [- 487,- 486,- 488+ 543,+ 542,+ 544]}]}+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 528,+ "name": "CustomAuthError.toJSON"}}- ]+ ],+ "inheritedFrom": {+ "type": "reference",+ "id": 527,+ "name": "CustomAuthError.toJSON"+ }}],"groups": [@@ -1451,486 +1567,846 @@"title": "Constructors","kind": 512,"children": [- 476+ 535]},{"title": "Properties","kind": 1024,"children": [- 481,- 482+ 537,+ 538]},{"title": "Methods","kind": 2048,"children": [- 483+ 539]}],"sources": [{"fileName": "src/lib/errors.ts",- "line": 42,+ "line": 60,"character": 13}],"extendedTypes": [{"type": "reference",- "id": 450,- "name": "AuthError"- }- ],- "extendedBy": [- {- "type": "reference",- "id": 490,- "name": "AuthSessionMissingError"- },- {- "type": "reference",- "id": 502,- "name": "AuthInvalidCredentialsError"- },- {- "type": "reference",- "id": 515,- "name": "AuthRetryableFetchError"+ "id": 519,+ "name": "CustomAuthError"}]},{- "id": 1,- "name": "GoTrueAdminApi",+ "id": 512,+ "name": "AuthUnknownError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 2,+ "id": 513,"name": "constructor","kind": 512,"kindString": "Constructor","flags": {},"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 13,+ "fileName": "src/lib/errors.ts",+ "line": 35,"character": 2}],"signatures": [{- "id": 3,- "name": "new GoTrueAdminApi",+ "id": 514,+ "name": "new AuthUnknownError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 4,- "name": "__namedParameters",+ "id": 515,+ "name": "message","kind": 32768,"kindString": "Parameter","flags": {},"type": {- "type": "reflection",- "declaration": {- "id": 5,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 11,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 22,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 12,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 13,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 14,- "name": "input",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "reference",- "qualifiedName": "RequestInfo",- "package": "typescript",- "name": "RequestInfo"- },- {- "type": "reference",- "qualifiedName": "URL",- "package": "typescript",- "name": "URL"- }- ]- }- },- {- "id": 15,- "name": "init",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "reference",- "qualifiedName": "RequestInit",- "package": "typescript",- "name": "RequestInit"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Response",- "package": "typescript",- "name": "Response"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- }- }- },- {- "id": 7,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 19,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 8,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 9,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 10,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 6,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 18,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 11,- 7,- 6- ]- }- ]- }+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 516,+ "name": "originalError",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "unknown"}}],"type": {"type": "reference",- "id": 1,- "name": "default"+ "id": 512,+ "name": "AuthUnknownError"+ },+ "overwrites": {+ "type": "reference",+ "id": 496,+ "name": "AuthError.constructor"}}- ]+ ],+ "overwrites": {+ "type": "reference",+ "id": 495,+ "name": "AuthError.constructor"+ }},{- "id": 56,- "name": "createUser",- "kind": 2048,- "kindString": "Method",+ "id": 517,+ "name": "originalError",+ "kind": 1024,+ "kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueAdminApi.ts",- "line": 128,- "character": 8+ "fileName": "src/lib/errors.ts",+ "line": 33,+ "character": 2}],- "signatures": [+ "type": {+ "type": "intrinsic",+ "name": "unknown"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 513+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 517+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 32,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ]+ },+ {+ "id": 519,+ "name": "CustomAuthError",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 520,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [{- "id": 57,- "name": "createUser",- "kind": 4096,- "kindString": "Call signature",+ "fileName": "src/lib/errors.ts",+ "line": 45,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 521,+ "name": "new CustomAuthError",+ "kind": 16384,+ "kindString": "Constructor signature","flags": {},- "comment": {- "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."- },"parameters": [{- "id": 58,- "name": "attributes",+ "id": 522,+ "name": "message","kind": 32768,"kindString": "Parameter","flags": {},"type": {- "type": "reference",- "id": 355,- "name": "AdminUserAttributes",- "dereferenced": {- "id": 355,- "name": "AdminUserAttributes",- "kind": 256,- "kindString": "Interface",+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 523,+ "name": "name",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 524,+ "name": "status",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 519,+ "name": "CustomAuthError"+ },+ "overwrites": {+ "type": "reference",+ "id": 496,+ "name": "AuthError.constructor"+ }+ }+ ],+ "overwrites": {+ "type": "reference",+ "id": 495,+ "name": "AuthError.constructor"+ }+ },+ {+ "id": 525,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 43,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "overwrites": {+ "type": "reference",+ "name": "AuthError.name"+ }+ },+ {+ "id": 526,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 44,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ }+ },+ {+ "id": 527,+ "name": "toJSON",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 51,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 528,+ "name": "toJSON",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 529,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 531,+ "name": "message",+ "kind": 1024,+ "kindString": "Property","flags": {},- "children": [- {- "id": 357,- "name": "app_metadata",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for app_metadata that.",- "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 187,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },+ "sources": [{- "id": 364,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 162,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- },- "inheritedFrom": {- "type": "reference",- "id": 354,- "name": "UserAttributes.data"- }- },+ "fileName": "src/lib/errors.ts",+ "line": 54,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 530,+ "name": "name",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [{- "id": 360,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 142,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 350,- "name": "UserAttributes.email"- }- },+ "fileName": "src/lib/errors.ts",+ "line": 53,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "..."+ },+ {+ "id": 532,+ "name": "status",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [{- "id": 363,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 157,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 353,- "name": "UserAttributes.email_change_token"- }- },+ "fileName": "src/lib/errors.ts",+ "line": 55,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "number"+ },+ "defaultValue": "..."+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 531,+ 530,+ 532+ ]+ }+ ]+ }+ }+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 520+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 525,+ 526+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 527+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/errors.ts",+ "line": 42,+ "character": 13+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 534,+ "name": "AuthSessionMissingError"+ },+ {+ "type": "reference",+ "id": 546,+ "name": "AuthInvalidCredentialsError"+ },+ {+ "type": "reference",+ "id": 559,+ "name": "AuthImplicitGrantRedirectError"+ },+ {+ "type": "reference",+ "id": 584,+ "name": "AuthRetryableFetchError"+ }+ ]+ },+ {+ "id": 1,+ "name": "GoTrueAdminApi",+ "kind": 128,+ "kindString": "Class",+ "flags": {},+ "children": [+ {+ "id": 2,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 19,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 3,+ "name": "new GoTrueAdminApi",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {},+ "parameters": [+ {+ "id": 4,+ "name": "__namedParameters",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 5,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [{- "id": 358,- "name": "email_confirm",+ "id": 11,+ "name": "fetch","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "Sets if a user has confirmed their email address.",- "text": "Only a service role can modify.\n"- },"sources": [{- "fileName": "src/lib/types.ts",- "line": 194,- "character": 2+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 28,+ "character": 4}],"type": {- "type": "intrinsic",- "name": "boolean"+ "type": "reflection",+ "declaration": {+ "id": 12,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "signatures": [+ {+ "id": 13,+ "name": "__type",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "parameters": [+ {+ "id": 14,+ "name": "input",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "qualifiedName": "RequestInfo",+ "package": "typescript",+ "name": "RequestInfo"+ },+ {+ "type": "reference",+ "qualifiedName": "URL",+ "package": "typescript",+ "name": "URL"+ }+ ]+ }+ },+ {+ "id": 15,+ "name": "init",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isOptional": true+ },+ "type": {+ "type": "reference",+ "qualifiedName": "RequestInit",+ "package": "typescript",+ "name": "RequestInit"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "qualifiedName": "Response",+ "package": "typescript",+ "name": "Response"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ }}},{- "id": 362,- "name": "password",+ "id": 7,+ "name": "headers","kind": 1024,"kindString": "Property","flags": {"isOptional": true},- "comment": {- "shortText": "The user's password."- },"sources": [{- "fileName": "src/lib/types.ts",- "line": 152,- "character": 2+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 25,+ "character": 4}],"type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 352,- "name": "UserAttributes.password"+ "type": "reflection",+ "declaration": {+ "id": 8,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "indexSignature": {+ "id": 9,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 10,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ }}},{- "id": 361,- "name": "phone",- "kind": 1024,+ "id": 6,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 24,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 11,+ 7,+ 6+ ]+ }+ ]+ }+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 1,+ "name": "default"+ }+ }+ ]+ },+ {+ "id": 41,+ "name": "createUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 126,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 42,+ "name": "createUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."+ },+ "parameters": [+ {+ "id": 43,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "id": 343,+ "name": "AdminUserAttributes",+ "dereferenced": {+ "id": 343,+ "name": "AdminUserAttributes",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 345,+ "name": "app_metadata",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 205,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 351,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 180,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 342,+ "name": "UserAttributes.data"+ }+ },+ {+ "id": 348,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's email."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 162,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 339,+ "name": "UserAttributes.email"+ }+ },+ {+ "id": 346,+ "name": "email_confirm",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Confirms the user's email address if set to true.",+ "text": "Only a service role can modify.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 212,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 350,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 172,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 341,+ "name": "UserAttributes.password"+ }+ },+ {+ "id": 349,+ "name": "phone",+ "kind": 1024,"kindString": "Property","flags": {"isOptional": true@@ -1941,7 +2417,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 147,+ "line": 167,"character": 2}],@@ -1951,12 +2427,12 @@},"inheritedFrom": {"type": "reference",- "id": 351,+ "id": 340,"name": "UserAttributes.phone"}},{- "id": 359,+ "id": 347,"name": "phone_confirm","kind": 1024,"kindString": "Property",@@ -1964,13 +2440,13 @@"isOptional": true},"comment": {- "shortText": "Sets if a user has confirmed their phone number.",+ "shortText": "Confirms the user's phone number if set to true.","text": "Only a service role can modify.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 219,"character": 2}],@@ -1980,7 +2456,7 @@}},{- "id": 356,+ "id": 344,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -1988,13 +2464,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for user_metadata.",- "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 177,+ "line": 195,"character": 2}],@@ -2009,29 +2485,28 @@"title": "Properties","kind": 1024,"children": [- 357,- 364,- 360,- 363,- 358,- 362,- 361,- 359,- 356+ 345,+ 351,+ 348,+ 346,+ 350,+ 349,+ 347,+ 344]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 165,+ "line": 183,"character": 17}],"extendedTypes": [{"type": "reference",- "id": 349,+ "id": 338,"name": "UserAttributes"}]@@ -2044,7 +2519,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -2056,7 +2531,7 @@]},{- "id": 78,+ "id": 63,"name": "deleteUser","kind": 2048,"kindString": "Method",@@ -2064,13 +2539,13 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 218,+ "line": 216,"character": 8}],"signatures": [{- "id": 79,+ "id": 64,"name": "deleteUser","kind": 4096,"kindString": "Call signature",@@ -2080,13 +2555,13 @@},"parameters": [{- "id": 80,- "name": "uid",+ "id": 65,+ "name": "id","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "The user uid you want to remove.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ "shortText": "The user id you want to remove.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"},"type": {"type": "intrinsic",@@ -2099,7 +2574,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -2119,7 +2594,7 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 85,+ "line": 92,"character": 8}],@@ -2131,32 +2606,29 @@"kindString": "Call signature","flags": {},"comment": {- "shortText": "Generates links to be sent via email or other."+ "shortText": "Generates email links and OTPs to be sent via a custom email provider."},"parameters": [{"id": 40,- "name": "type",+ "name": "params","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 438,- "name": "GenerateLinkType",+ "id": 458,+ "name": "GenerateLinkParams","dereferenced": {- "id": 438,- "name": "GenerateLinkType",+ "id": 458,+ "name": "GenerateLinkParams","kind": 4194304,"kindString": "Type alias","flags": {},- "comment": {- "shortText": "The link type"- },"sources": [{"fileName": "src/lib/types.ts",- "line": 327,+ "line": 407,"character": 12}],@@ -2164,333 +2636,38 @@"type": "union","types": [{- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"+ "type": "reference",+ "id": 433,+ "name": "GenerateSignupLinkParams"},{- "type": "literal",- "value": "recovery"+ "type": "reference",+ "id": 439,+ "name": "GenerateInviteOrMagiclinkParams"},{- "type": "literal",- "value": "email_change_current"+ "type": "reference",+ "id": 444,+ "name": "GenerateRecoveryLinkParams"},{- "type": "literal",- "value": "email_change_new"+ "type": "reference",+ "id": 449,+ "name": "GenerateEmailChangeLinkParams"}]}}}- },- {- "id": 41,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's email."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 42,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 43,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 45,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional user metadata. For signup only."- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 90,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 44,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "User password. For signup only."- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 89,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 46,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The redirect url which should be appended to the generated link\n"- },- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 91,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 45,- 44,- 46- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 47,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 48,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 95,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 321,- "name": "User"- }- },- {- "id": 49,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 96,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 48,- 49- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 50,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 51,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 99,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 302,- "name": "Session"- }- },- {- "id": 52,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 100,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 51,- 52- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 53,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 54,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 102,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 55,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueAdminApi.ts",- "line": 102,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 54,- 55- ]- }- ]- }- }- ]+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 459,+ "name": "GenerateLinkResponse"}],"qualifiedName": "Promise",@@ -2501,7 +2678,7 @@]},{- "id": 71,+ "id": 56,"name": "getUserById","kind": 2048,"kindString": "Method",@@ -2509,13 +2686,13 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 173,+ "line": 171,"character": 8}],"signatures": [{- "id": 72,+ "id": 57,"name": "getUserById","kind": 4096,"kindString": "Call signature",@@ -2525,7 +2702,7 @@},"parameters": [{- "id": 73,+ "id": 58,"name": "uid","kind": 32768,"kindString": "Parameter",@@ -2544,7 +2721,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -2564,7 +2741,7 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 55,+ "line": 62,"character": 8}],@@ -2622,7 +2799,7 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 59,+ "line": 66,"character": 6}],@@ -2640,12 +2817,12 @@"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed."+ "shortText": "A URL or mobile deeplink to send the user to after they are confirmed."},"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 58,+ "line": 65,"character": 6}],@@ -2675,7 +2852,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -2687,7 +2864,7 @@]},{- "id": 59,+ "id": 44,"name": "listUsers","kind": 2048,"kindString": "Method",@@ -2695,13 +2872,13 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 149,+ "line": 147,"character": 8}],"signatures": [{- "id": 60,+ "id": 45,"name": "listUsers","kind": 4096,"kindString": "Call signature",@@ -2719,14 +2896,14 @@{"type": "reflection","declaration": {- "id": 61,+ "id": 46,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 62,+ "id": 47,"name": "data","kind": 1024,"kindString": "Property",@@ -2734,21 +2911,21 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 150,+ "line": 148,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 63,+ "id": 48,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 64,+ "id": 49,"name": "users","kind": 1024,"kindString": "Property",@@ -2756,7 +2933,7 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 150,+ "line": 148,"character": 14}],@@ -2764,7 +2941,7 @@"type": "array","elementType": {"type": "reference",- "id": 321,+ "id": 310,"name": "User"}}@@ -2775,7 +2952,7 @@"title": "Properties","kind": 1024,"children": [- 64+ 49]}]@@ -2783,7 +2960,7 @@}},{- "id": 65,+ "id": 50,"name": "error","kind": 1024,"kindString": "Property",@@ -2791,7 +2968,7 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 150,+ "line": 148,"character": 31}],@@ -2806,8 +2983,8 @@"title": "Properties","kind": 1024,"children": [- 62,- 65+ 47,+ 50]}]@@ -2816,14 +2993,14 @@{"type": "reflection","declaration": {- "id": 66,+ "id": 51,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 67,+ "id": 52,"name": "data","kind": 1024,"kindString": "Property",@@ -2831,21 +3008,21 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 150,+ "line": 148,"character": 49}],"type": {"type": "reflection","declaration": {- "id": 68,+ "id": 53,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 69,+ "id": 54,"name": "users","kind": 1024,"kindString": "Property",@@ -2853,7 +3030,7 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 150,+ "line": 148,"character": 57}],@@ -2867,7 +3044,7 @@"title": "Properties","kind": 1024,"children": [- 69+ 54]}]@@ -2875,7 +3052,7 @@}},{- "id": 70,+ "id": 55,"name": "error","kind": 1024,"kindString": "Property",@@ -2883,13 +3060,13 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 150,+ "line": 148,"character": 70}],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -2899,8 +3076,8 @@"title": "Properties","kind": 1024,"children": [- 67,- 70+ 52,+ 55]}]@@ -2925,7 +3102,7 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 33,+ "line": 39,"character": 8}],@@ -2976,7 +3153,7 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 33,+ "line": 39,"character": 40}],@@ -2989,7 +3166,7 @@},{"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}]@@ -3016,7 +3193,7 @@]},{- "id": 74,+ "id": 59,"name": "updateUserById","kind": 2048,"kindString": "Method",@@ -3024,13 +3201,13 @@"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 195,+ "line": 193,"character": 8}],"signatures": [{- "id": 75,+ "id": 60,"name": "updateUserById","kind": 4096,"kindString": "Call signature",@@ -3040,7 +3217,7 @@},"parameters": [{- "id": 76,+ "id": 61,"name": "uid","kind": 32768,"kindString": "Parameter",@@ -3051,7 +3228,7 @@}},{- "id": 77,+ "id": 62,"name": "attributes","kind": 32768,"kindString": "Parameter",@@ -3061,17 +3238,17 @@},"type": {"type": "reference",- "id": 355,+ "id": 343,"name": "AdminUserAttributes","dereferenced": {- "id": 355,+ "id": 343,"name": "AdminUserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 357,+ "id": 345,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -3079,13 +3256,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for app_metadata that.",- "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 187,+ "line": 205,"character": 2}],@@ -3095,7 +3272,7 @@}},{- "id": 364,+ "id": 351,"name": "data","kind": 1024,"kindString": "Property",@@ -3103,12 +3280,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 162,+ "line": 180,"character": 2}],@@ -3118,12 +3296,12 @@},"inheritedFrom": {"type": "reference",- "id": 354,+ "id": 342,"name": "UserAttributes.data"}},{- "id": 360,+ "id": 348,"name": "email","kind": 1024,"kindString": "Property",@@ -3136,7 +3314,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 142,+ "line": 162,"character": 2}],@@ -3146,40 +3324,12 @@},"inheritedFrom": {"type": "reference",- "id": 350,+ "id": 339,"name": "UserAttributes.email"}},{- "id": 363,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 157,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 353,- "name": "UserAttributes.email_change_token"- }- },- {- "id": 358,+ "id": 346,"name": "email_confirm","kind": 1024,"kindString": "Property",@@ -3187,13 +3337,13 @@"isOptional": true},"comment": {- "shortText": "Sets if a user has confirmed their email address.",+ "shortText": "Confirms the user's email address if set to true.","text": "Only a service role can modify.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 194,+ "line": 212,"character": 2}],@@ -3203,7 +3353,7 @@}},{- "id": 362,+ "id": 350,"name": "password","kind": 1024,"kindString": "Property",@@ -3216,7 +3366,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 152,+ "line": 172,"character": 2}],@@ -3226,12 +3376,12 @@},"inheritedFrom": {"type": "reference",- "id": 352,+ "id": 341,"name": "UserAttributes.password"}},{- "id": 361,+ "id": 349,"name": "phone","kind": 1024,"kindString": "Property",@@ -3244,7 +3394,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 147,+ "line": 167,"character": 2}],@@ -3254,12 +3404,12 @@},"inheritedFrom": {"type": "reference",- "id": 351,+ "id": 340,"name": "UserAttributes.phone"}},{- "id": 359,+ "id": 347,"name": "phone_confirm","kind": 1024,"kindString": "Property",@@ -3267,13 +3417,13 @@"isOptional": true},"comment": {- "shortText": "Sets if a user has confirmed their phone number.",+ "shortText": "Confirms the user's phone number if set to true.","text": "Only a service role can modify.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 219,"character": 2}],@@ -3283,7 +3433,7 @@}},{- "id": 356,+ "id": 344,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -3291,13 +3441,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for user_metadata.",- "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 177,+ "line": 195,"character": 2}],@@ -3312,29 +3462,28 @@"title": "Properties","kind": 1024,"children": [- 357,- 364,- 360,- 363,- 358,- 362,- 361,- 359,- 356+ 345,+ 351,+ 348,+ 346,+ 350,+ 349,+ 347,+ 344]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 165,+ "line": 183,"character": 17}],"extendedTypes": [{"type": "reference",- "id": 349,+ "id": 338,"name": "UserAttributes"}]@@ -3347,7 +3496,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -3371,34 +3520,34 @@"title": "Methods","kind": 2048,"children": [- 56,- 78,+ 41,+ 63,38,- 71,+ 56,31,- 59,+ 44,26,- 74+ 59]}],"sources": [{"fileName": "src/GoTrueAdminApi.ts",- "line": 6,+ "line": 12,"character": 21}]},{- "id": 81,+ "id": 66,"name": "GoTrueClient","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 82,+ "id": 67,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -3412,7 +3561,7 @@],"signatures": [{- "id": 83,+ "id": 68,"name": "new GoTrueClient","kind": 16384,"kindString": "Constructor signature",@@ -3422,388 +3571,274 @@},"parameters": [{- "id": 84,+ "id": 69,"name": "options","kind": 32768,"kindString": "Parameter","flags": {},"type": {- "type": "reflection",- "declaration": {- "id": 85,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "type": "reference",+ "id": 241,+ "name": "GoTrueClientOptions",+ "dereferenced": {+ "id": 241,+ "name": "GoTrueClientOptions",+ "kind": 4194304,+ "kindString": "Type alias","flags": {},- "children": [+ "sources": [{- "id": 93,- "name": "autoRefreshToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring."- },- "sources": [+ "fileName": "src/lib/types.ts",+ "line": 31,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 242,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [{- "fileName": "src/GoTrueClient.ts",- "line": 109,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 92,- "name": "detectSessionInUrl",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."- },- "sources": [+ "id": 250,+ "name": "autoRefreshToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 41,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },{- "fileName": "src/GoTrueClient.ts",- "line": 108,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 97,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [+ "id": 249,+ "name": "detectSessionInUrl",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 39,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },{- "fileName": "src/GoTrueClient.ts",- "line": 113,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 98,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [+ "id": 253,+ "name": "fetch",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 47,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "name": "Fetch"+ }+ },+ {+ "id": 244,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 99,+ "fileName": "src/lib/types.ts",+ "line": 35,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 245,"name": "__type",- "kind": 4096,- "kindString": "Call signature",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "comment": {- "shortText": "A custom fetch implementation.\n"- },- "parameters": [- {- "id": 100,- "name": "input",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "reference",- "qualifiedName": "RequestInfo",- "package": "typescript",- "name": "RequestInfo"- },- {- "type": "reference",- "qualifiedName": "URL",- "package": "typescript",- "name": "URL"- }- ]- }- },+ "sources": [{- "id": 101,- "name": "init",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "reference",- "qualifiedName": "RequestInit",- "package": "typescript",- "name": "RequestInit"- }+ "fileName": "src/lib/types.ts",+ "line": 35,+ "character": 12}],- "type": {- "type": "reference",- "typeArguments": [+ "indexSignature": {+ "id": 246,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [{- "type": "reference",- "qualifiedName": "Response",- "package": "typescript",- "name": "Response"+ "id": 247,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}}- ]- }- }- },- {- "id": 87,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Any additional headers to send to the GoTrue server."- },- "sources": [+ }+ },{- "fileName": "src/GoTrueClient.ts",- "line": 106,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 88,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 89,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 90,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"+ "id": 251,+ "name": "persistSession",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 43,+ "character": 2}+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"}- }- }- },- {- "id": 96,- "name": "multiTab",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"false\" if you want to disable multi-tab/window events."- },- "sources": [+ },{- "fileName": "src/GoTrueClient.ts",- "line": 112,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 94,- "name": "persistSession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory."- },- "sources": [+ "id": 252,+ "name": "storage",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 45,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 480,+ "name": "SupportedStorage"+ }+ },{- "fileName": "src/GoTrueClient.ts",- "line": 110,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 95,- "name": "storage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [+ "id": 248,+ "name": "storageKey",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 37,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },{- "fileName": "src/GoTrueClient.ts",- "line": 111,- "character": 4+ "id": 243,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 33,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "qualifiedName": "Storage",- "package": "typescript",- "name": "Storage"- },- {- "type": "union",- "types": [- {- "type": "literal",- "value": "getItem"- },- {- "type": "literal",- "value": "removeItem"- },- {- "type": "literal",- "value": "setItem"- }- ]- }- ],- "qualifiedName": "Pick",- "package": "typescript",- "name": "Pick"- }- ],- "name": "PromisifyMethods"- }- },- {- "id": 91,- "name": "storageKey",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional key name used for storing tokens in local storage"- },- "sources": [+ "groups": [{- "fileName": "src/GoTrueClient.ts",- "line": 107,- "character": 4+ "title": "Properties",+ "kind": 1024,+ "children": [+ 250,+ 249,+ 253,+ 244,+ 251,+ 252,+ 248,+ 243+ ]}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 86,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The URL of the GoTrue server."- },"sources": [{- "fileName": "src/GoTrueClient.ts",- "line": 105,- "character": 4+ "fileName": "src/lib/types.ts",+ "line": 31,+ "character": 34}- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 93,- 92,- 97,- 87,- 96,- 94,- 95,- 91,- 86]}- ]+ }}}}],"type": {"type": "reference",- "id": 81,+ "id": 66,"name": "default"}}]},{- "id": 102,+ "id": 70,"name": "admin","kind": 1024,"kindString": "Property",@@ -3814,7 +3849,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 66,+ "line": 68,"character": 2}],@@ -3825,7 +3860,7 @@}},{- "id": 141,+ "id": 111,"name": "getSession","kind": 2048,"kindString": "Method",@@ -3833,19 +3868,19 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 362,+ "line": 407,"character": 8}],"signatures": [{- "id": 142,+ "id": 112,"name": "getSession","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Returns the session data, refreshing it if necessary.\nIf no session is detected, the session returned will be null."+ "shortText": "Returns the session, refreshing it if necessary.\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out."},"type": {"type": "reference",@@ -3856,14 +3891,14 @@{"type": "reflection","declaration": {- "id": 143,+ "id": 113,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 144,+ "id": 114,"name": "data","kind": 1024,"kindString": "Property",@@ -3871,21 +3906,21 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 364,+ "line": 409,"character": 8}],"type": {"type": "reflection","declaration": {- "id": 145,+ "id": 115,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 146,+ "id": 116,"name": "session","kind": 1024,"kindString": "Property",@@ -3893,13 +3928,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 365,+ "line": 410,"character": 10}],"type": {"type": "reference",- "id": 302,+ "id": 291,"name": "Session"}}@@ -3909,7 +3944,7 @@"title": "Properties","kind": 1024,"children": [- 146+ 116]}]@@ -3917,7 +3952,7 @@}},{- "id": 147,+ "id": 117,"name": "error","kind": 1024,"kindString": "Property",@@ -3925,7 +3960,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 367,+ "line": 412,"character": 8}],@@ -3940,8 +3975,8 @@"title": "Properties","kind": 1024,"children": [- 144,- 147+ 114,+ 117]}]@@ -3950,14 +3985,14 @@{"type": "reflection","declaration": {- "id": 148,+ "id": 118,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 149,+ "id": 119,"name": "data","kind": 1024,"kindString": "Property",@@ -3965,21 +4000,21 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 370,+ "line": 415,"character": 8}],"type": {"type": "reflection","declaration": {- "id": 150,+ "id": 120,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 151,+ "id": 121,"name": "session","kind": 1024,"kindString": "Property",@@ -3987,7 +4022,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 371,+ "line": 416,"character": 10}],@@ -4002,7 +4037,7 @@"title": "Properties","kind": 1024,"children": [- 151+ 121]}]@@ -4010,7 +4045,7 @@}},{- "id": 152,+ "id": 122,"name": "error","kind": 1024,"kindString": "Property",@@ -4018,13 +4053,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 373,+ "line": 418,"character": 8}],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -4034,8 +4069,8 @@"title": "Properties","kind": 1024,"children": [- 149,- 152+ 119,+ 122]}]@@ -4044,14 +4079,14 @@{"type": "reflection","declaration": {- "id": 153,+ "id": 123,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 154,+ "id": 124,"name": "data","kind": 1024,"kindString": "Property",@@ -4059,21 +4094,21 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 376,+ "line": 421,"character": 8}],"type": {"type": "reflection","declaration": {- "id": 155,+ "id": 125,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 156,+ "id": 126,"name": "session","kind": 1024,"kindString": "Property",@@ -4081,7 +4116,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 377,+ "line": 422,"character": 10}],@@ -4096,7 +4131,7 @@"title": "Properties","kind": 1024,"children": [- 156+ 126]}]@@ -4104,7 +4139,7 @@}},{- "id": 157,+ "id": 127,"name": "error","kind": 1024,"kindString": "Property",@@ -4112,7 +4147,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 379,+ "line": 424,"character": 8}],@@ -4127,8 +4162,8 @@"title": "Properties","kind": 1024,"children": [- 154,- 157+ 124,+ 127]}]@@ -4145,7 +4180,7 @@]},{- "id": 158,+ "id": 128,"name": "getUser","kind": 2048,"kindString": "Method",@@ -4153,13 +4188,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 419,+ "line": 470,"character": 8}],"signatures": [{- "id": 159,+ "id": 129,"name": "getUser","kind": 4096,"kindString": "Call signature",@@ -4169,7 +4204,7 @@},"parameters": [{- "id": 160,+ "id": 130,"name": "jwt","kind": 32768,"kindString": "Parameter",@@ -4190,7 +4225,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -4202,7 +4237,46 @@]},{- "id": 179,+ "id": 92,+ "name": "initialize",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 130,+ "character": 2+ }+ ],+ "signatures": [+ {+ "id": 93,+ "name": "initialize",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)."+ },+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 481,+ "name": "InitializeResult"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 157,"name": "onAuthStateChange","kind": 2048,"kindString": "Method",@@ -4210,61 +4284,60 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 593,+ "line": 665,"character": 2}],"signatures": [{- "id": 180,+ "id": 158,"name": "onAuthStateChange","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Receive a notification every time an auth event happens.",- "returns": "A subscription object which can be used to unsubscribe itself.\n"+ "shortText": "Receive a notification every time an auth event happens."},"parameters": [{- "id": 181,+ "id": 159,"name": "callback","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "A callback function to be invoked when an auth event happens."+ "shortText": "A callback function to be invoked when an auth event happens.\n"},"type": {"type": "reflection","declaration": {- "id": 182,+ "id": 160,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"signatures": [{- "id": 183,+ "id": 161,"name": "__type","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 184,+ "id": 162,"name": "event","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 264,+ "id": 240,"name": "AuthChangeEvent"}},{- "id": 185,+ "id": 163,"name": "session","kind": 32768,"kindString": "Parameter",@@ -4278,7 +4351,7 @@},{"type": "reference",- "id": 302,+ "id": 291,"name": "Session"}]@@ -4296,133 +4369,85 @@}],"type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 186,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "type": "reflection",+ "declaration": {+ "id": 164,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 165,+ "name": "data",+ "kind": 1024,+ "kindString": "Property","flags": {},- "children": [+ "sources": [{- "id": 188,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 596,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 187,- "name": "subscription",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 595,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 365,- "name": "Subscription"- }+ "fileName": "src/GoTrueClient.ts",+ "line": 666,+ "character": 4}],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 188,- 187- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 189,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 191,- "name": "error",- "kind": 1024,- "kindString": "Property",+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 166,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "sources": [+ "children": [{- "fileName": "src/GoTrueClient.ts",- "line": 598,- "character": 28+ "id": 167,+ "name": "subscription",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 666,+ "character": 12+ }+ ],+ "type": {+ "type": "reference",+ "id": 352,+ "name": "Subscription"+ }}],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }- },- {- "id": 190,- "name": "subscription",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [+ "groups": [{- "fileName": "src/GoTrueClient.ts",- "line": 598,- "character": 8+ "title": "Properties",+ "kind": 1024,+ "children": [+ 167+ ]}- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 191,- 190]}+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 165]}- }- ]+ ]+ }}}]},{- "id": 192,+ "id": 168,"name": "resetPasswordForEmail","kind": 2048,"kindString": "Method",@@ -4430,23 +4455,23 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 625,+ "line": 688,"character": 8}],"signatures": [{- "id": 193,+ "id": 169,"name": "resetPasswordForEmail","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Sends a reset request to an email address."+ "shortText": "Sends a password reset request to an email address."},"parameters": [{- "id": 194,+ "id": 170,"name": "email","kind": 32768,"kindString": "Parameter",@@ -4460,7 +4485,7 @@}},{- "id": 195,+ "id": 171,"name": "options","kind": 32768,"kindString": "Parameter",@@ -4468,14 +4493,14 @@"type": {"type": "reflection","declaration": {- "id": 196,+ "id": 172,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 198,+ "id": 174,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -4488,7 +4513,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 629,+ "line": 692,"character": 6}],@@ -4498,7 +4523,7 @@}},{- "id": 197,+ "id": 173,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -4506,12 +4531,12 @@"isOptional": true},"comment": {- "shortText": "A URL to send the user to after they are confirmed."+ "shortText": "The URL to send the user to after they click the password reset link."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 628,+ "line": 691,"character": 6}],@@ -4526,8 +4551,8 @@"title": "Properties","kind": 1024,"children": [- 198,- 197+ 174,+ 173]}]@@ -4545,14 +4570,14 @@{"type": "reflection","declaration": {- "id": 199,+ "id": 175,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 200,+ "id": 176,"name": "data","kind": 1024,"kindString": "Property",@@ -4560,14 +4585,14 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 633,+ "line": 696,"character": 8}],"type": {"type": "reflection","declaration": {- "id": 201,+ "id": 177,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4576,7 +4601,7 @@}},{- "id": 202,+ "id": 178,"name": "error","kind": 1024,"kindString": "Property",@@ -4584,7 +4609,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 634,+ "line": 697,"character": 8}],@@ -4599,8 +4624,8 @@"title": "Properties","kind": 1024,"children": [- 200,- 202+ 176,+ 178]}]@@ -4609,14 +4634,14 @@{"type": "reflection","declaration": {- "id": 203,+ "id": 179,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 204,+ "id": 180,"name": "data","kind": 1024,"kindString": "Property",@@ -4624,7 +4649,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 636,+ "line": 699,"character": 8}],@@ -4634,7 +4659,7 @@}},{- "id": 205,+ "id": 181,"name": "error","kind": 1024,"kindString": "Property",@@ -4642,13 +4667,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 636,+ "line": 699,"character": 20}],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -4658,8 +4683,8 @@"title": "Properties","kind": 1024,"children": [- 204,- 205+ 180,+ 181]}]@@ -4676,7 +4701,7 @@]},{- "id": 164,+ "id": 134,"name": "setSession","kind": 2048,"kindString": "Method",@@ -4684,29 +4709,29 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 482,+ "line": 534,"character": 8}],"signatures": [{- "id": 165,+ "id": 135,"name": "setSession","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Sets the session data from refresh_token and returns current session or an error if the refresh_token is invalid."+ "shortText": "Sets the session data from refresh token and returns current session or an error if the refresh token is invalid."},"parameters": [{- "id": 166,+ "id": 136,"name": "refresh_token","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "The refresh token returned by gotrue.\n"+ "shortText": "A refresh token returned by supabase auth.\n"},"type": {"type": "intrinsic",@@ -4719,7 +4744,7 @@"typeArguments": [{"type": "reference",- "id": 265,+ "id": 254,"name": "AuthResponse"}],@@ -4731,7 +4756,7 @@]},{- "id": 128,+ "id": 102,"name": "signInWithOAuth","kind": 2048,"kindString": "Method",@@ -4739,13 +4764,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 258,+ "line": 306,"character": 8}],"signatures": [{- "id": 129,+ "id": 103,"name": "signInWithOAuth","kind": 4096,"kindString": "Call signature",@@ -4755,17 +4780,17 @@},"parameters": [{- "id": 130,+ "id": 104,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 416,+ "id": 403,"name": "SignInWithOAuthCredentials","dereferenced": {- "id": 416,+ "id": 403,"name": "SignInWithOAuthCredentials","kind": 4194304,"kindString": "Type alias",@@ -4773,21 +4798,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 292,+ "line": 318,"character": 12}],"type": {"type": "reflection","declaration": {- "id": 417,+ "id": 404,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 419,+ "id": 406,"name": "options","kind": 1024,"kindString": "Property",@@ -4797,21 +4822,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 295,+ "line": 321,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 420,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 423,+ "id": 410,"name": "queryParams","kind": 1024,"kindString": "Property",@@ -4824,14 +4849,14 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 301,+ "line": 327,"character": 4}],"type": {"type": "reflection","declaration": {- "id": 424,+ "id": 411,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4839,19 +4864,19 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 301,+ "line": 327,"character": 18}],"indexSignature": {- "id": 425,+ "id": 412,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 426,+ "id": 413,"name": "key","kind": 32768,"flags": {},@@ -4870,7 +4895,7 @@}},{- "id": 421,+ "id": 408,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -4878,12 +4903,12 @@"isOptional": true},"comment": {- "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."+ "shortText": "A URL to send the user to after they are confirmed."},"sources": [{"fileName": "src/lib/types.ts",- "line": 297,+ "line": 323,"character": 4}],@@ -4893,7 +4918,7 @@}},{- "id": 422,+ "id": 409,"name": "scopes","kind": 1024,"kindString": "Property",@@ -4906,7 +4931,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 299,+ "line": 325,"character": 4}],@@ -4921,16 +4946,16 @@"title": "Properties","kind": 1024,"children": [- 423,- 421,- 422+ 410,+ 408,+ 409]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 295,+ "line": 321,"character": 12}]@@ -4938,7 +4963,7 @@}},{- "id": 418,+ "id": 405,"name": "provider","kind": 1024,"kindString": "Property",@@ -4949,13 +4974,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 294,+ "line": 320,"character": 2}],"type": {"type": "reference",- "id": 263,+ "id": 239,"name": "Provider"}}@@ -4965,15 +4990,15 @@"title": "Properties","kind": 1024,"children": [- 419,- 418+ 406,+ 405]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 292,+ "line": 318,"character": 41}]@@ -4988,7 +5013,7 @@"typeArguments": [{"type": "reference",- "id": 278,+ "id": 267,"name": "OAuthResponse"}],@@ -5000,7 +5025,7 @@]},{- "id": 131,+ "id": 105,"name": "signInWithOtp","kind": 2048,"kindString": "Method",@@ -5008,33 +5033,33 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 270,+ "line": 321,"character": 8}],"signatures": [{- "id": 132,+ "id": 106,"name": "signInWithOtp","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Passwordless method for logging in an existing user."+ "shortText": "Log in a user using magiclink or a one-time password (OTP).\nIf the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins."},"parameters": [{- "id": 133,+ "id": 107,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 402,+ "id": 389,"name": "SignInWithPasswordlessCredentials","dereferenced": {- "id": 402,+ "id": 389,"name": "SignInWithPasswordlessCredentials","kind": 4194304,"kindString": "Type alias",@@ -5042,7 +5067,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 268,+ "line": 294,"character": 12}],@@ -5052,14 +5077,14 @@{"type": "reflection","declaration": {- "id": 403,+ "id": 390,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 404,+ "id": 391,"name": "email","kind": 1024,"kindString": "Property",@@ -5070,7 +5095,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 271,+ "line": 297,"character": 6}],@@ -5080,7 +5105,7 @@}},{- "id": 405,+ "id": 392,"name": "options","kind": 1024,"kindString": "Property",@@ -5090,21 +5115,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 272,+ "line": 298,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 406,+ "id": 393,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 409,+ "id": 396,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -5117,7 +5142,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 278,+ "line": 304,"character": 8}],@@ -5127,7 +5152,7 @@}},{- "id": 407,+ "id": 394,"name": "emailRedirectTo","kind": 1024,"kindString": "Property",@@ -5140,7 +5165,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 274,+ "line": 300,"character": 8}],@@ -5150,7 +5175,7 @@}},{- "id": 408,+ "id": 395,"name": "shouldCreateUser","kind": 1024,"kindString": "Property",@@ -5163,7 +5188,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 276,+ "line": 302,"character": 8}],@@ -5178,16 +5203,16 @@"title": "Properties","kind": 1024,"children": [- 409,- 407,- 408+ 396,+ 394,+ 395]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 272,+ "line": 298,"character": 16}]@@ -5200,15 +5225,15 @@"title": "Properties","kind": 1024,"children": [- 404,- 405+ 391,+ 392]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 269,+ "line": 295,"character": 4}]@@ -5217,14 +5242,14 @@{"type": "reflection","declaration": {- "id": 410,+ "id": 397,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 412,+ "id": 399,"name": "options","kind": 1024,"kindString": "Property",@@ -5234,21 +5259,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 284,+ "line": 310,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 413,+ "id": 400,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 415,+ "id": 402,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -5261,7 +5286,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 288,+ "line": 314,"character": 8}],@@ -5271,7 +5296,7 @@}},{- "id": 414,+ "id": 401,"name": "shouldCreateUser","kind": 1024,"kindString": "Property",@@ -5284,7 +5309,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 286,+ "line": 312,"character": 8}],@@ -5299,15 +5324,15 @@"title": "Properties","kind": 1024,"children": [- 415,- 414+ 402,+ 401]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 284,+ "line": 310,"character": 16}]@@ -5315,7 +5340,7 @@}},{- "id": 411,+ "id": 398,"name": "phone","kind": 1024,"kindString": "Property",@@ -5326,7 +5351,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 283,+ "line": 309,"character": 6}],@@ -5341,15 +5366,15 @@"title": "Properties","kind": 1024,"children": [- 412,- 411+ 399,+ 398]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 281,+ "line": 307,"character": 4}]@@ -5366,7 +5391,7 @@"typeArguments": [{"type": "reference",- "id": 265,+ "id": 254,"name": "AuthResponse"}],@@ -5378,7 +5403,7 @@]},{- "id": 125,+ "id": 99,"name": "signInWithPassword","kind": 2048,"kindString": "Method",@@ -5386,33 +5411,33 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 210,+ "line": 256,"character": 8}],"signatures": [{- "id": 126,+ "id": 100,"name": "signInWithPassword","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Log in an existing user, or login via a third-party provider."+ "shortText": "Log in an existing user with an email and password or phone and password."},"parameters": [{- "id": 127,+ "id": 101,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 389,+ "id": 376,"name": "SignInWithPasswordCredentials","dereferenced": {- "id": 389,+ "id": 376,"name": "SignInWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -5420,7 +5445,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 246,+ "line": 272,"character": 12}],@@ -5430,14 +5455,14 @@{"type": "reflection","declaration": {- "id": 390,+ "id": 377,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 391,+ "id": 378,"name": "email","kind": 1024,"kindString": "Property",@@ -5448,7 +5473,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 249,+ "line": 275,"character": 6}],@@ -5458,7 +5483,7 @@}},{- "id": 393,+ "id": 380,"name": "options","kind": 1024,"kindString": "Property",@@ -5468,21 +5493,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 278,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 394,+ "id": 381,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 395,+ "id": 382,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -5495,7 +5520,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 254,+ "line": 280,"character": 8}],@@ -5510,14 +5535,14 @@"title": "Properties","kind": 1024,"children": [- 395+ 382]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 278,"character": 16}]@@ -5525,7 +5550,7 @@}},{- "id": 392,+ "id": 379,"name": "password","kind": 1024,"kindString": "Property",@@ -5536,7 +5561,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 251,+ "line": 277,"character": 6}],@@ -5551,16 +5576,16 @@"title": "Properties","kind": 1024,"children": [- 391,- 393,- 392+ 378,+ 380,+ 379]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 247,+ "line": 273,"character": 4}]@@ -5569,14 +5594,14 @@{"type": "reflection","declaration": {- "id": 396,+ "id": 383,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 399,+ "id": 386,"name": "options","kind": 1024,"kindString": "Property",@@ -5586,21 +5611,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 288,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 400,+ "id": 387,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 401,+ "id": 388,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -5613,7 +5638,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 264,+ "line": 290,"character": 8}],@@ -5628,14 +5653,14 @@"title": "Properties","kind": 1024,"children": [- 401+ 388]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 288,"character": 16}]@@ -5643,7 +5668,7 @@}},{- "id": 398,+ "id": 385,"name": "password","kind": 1024,"kindString": "Property",@@ -5654,7 +5679,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 261,+ "line": 287,"character": 6}],@@ -5664,7 +5689,7 @@}},{- "id": 397,+ "id": 384,"name": "phone","kind": 1024,"kindString": "Property",@@ -5675,7 +5700,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 259,+ "line": 285,"character": 6}],@@ -5690,16 +5715,16 @@"title": "Properties","kind": 1024,"children": [- 399,- 398,- 397+ 386,+ 385,+ 384]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 257,+ "line": 283,"character": 4}]@@ -5716,7 +5741,7 @@"typeArguments": [{"type": "reference",- "id": 265,+ "id": 254,"name": "AuthResponse"}],@@ -5728,7 +5753,7 @@]},{- "id": 175,+ "id": 153,"name": "signOut","kind": 2048,"kindString": "Method",@@ -5736,19 +5761,19 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 573,+ "line": 646,"character": 8}],"signatures": [{- "id": 176,+ "id": 154,"name": "signOut","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.","text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n"},"type": {@@ -5757,14 +5782,14 @@{"type": "reflection","declaration": {- "id": 177,+ "id": 155,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 178,+ "id": 156,"name": "error","kind": 1024,"kindString": "Property",@@ -5772,7 +5797,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 573,+ "line": 646,"character": 29}],@@ -5785,7 +5810,7 @@},{"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}]@@ -5797,7 +5822,7 @@"title": "Properties","kind": 1024,"children": [- 178+ 156]}]@@ -5812,7 +5837,7 @@]},{- "id": 122,+ "id": 96,"name": "signUp","kind": 2048,"kindString": "Method",@@ -5820,13 +5845,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 147,+ "line": 193,"character": 8}],"signatures": [{- "id": 123,+ "id": 97,"name": "signUp","kind": 4096,"kindString": "Call signature",@@ -5837,17 +5862,17 @@},"parameters": [{- "id": 124,+ "id": 98,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 373,+ "id": 360,"name": "SignUpWithPasswordCredentials","dereferenced": {- "id": 373,+ "id": 360,"name": "SignUpWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -5855,7 +5880,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 219,+ "line": 237,"character": 12}],@@ -5865,14 +5890,14 @@{"type": "reflection","declaration": {- "id": 374,+ "id": 361,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 375,+ "id": 362,"name": "email","kind": 1024,"kindString": "Property",@@ -5883,7 +5908,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 222,+ "line": 240,"character": 6}],@@ -5893,7 +5918,7 @@}},{- "id": 377,+ "id": 364,"name": "options","kind": 1024,"kindString": "Property",@@ -5903,21 +5928,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 243,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 378,+ "id": 365,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 381,+ "id": 368,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -5930,7 +5955,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 231,+ "line": 253,"character": 8}],@@ -5940,7 +5965,7 @@}},{- "id": 380,+ "id": 367,"name": "data","kind": 1024,"kindString": "Property",@@ -5948,12 +5973,13 @@"isOptional": true},"comment": {- "shortText": "The user's metadata."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 229,+ "line": 251,"character": 8}],@@ -5963,7 +5989,7 @@}},{- "id": 379,+ "id": 366,"name": "emailRedirectTo","kind": 1024,"kindString": "Property",@@ -5976,7 +6002,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 227,+ "line": 245,"character": 8}],@@ -5991,16 +6017,16 @@"title": "Properties","kind": 1024,"children": [- 381,- 380,- 379+ 368,+ 367,+ 366]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 243,"character": 16}]@@ -6008,7 +6034,7 @@}},{- "id": 376,+ "id": 363,"name": "password","kind": 1024,"kindString": "Property",@@ -6019,7 +6045,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 224,+ "line": 242,"character": 6}],@@ -6034,16 +6060,16 @@"title": "Properties","kind": 1024,"children": [- 375,- 377,- 376+ 362,+ 364,+ 363]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 220,+ "line": 238,"character": 4}]@@ -6052,14 +6078,14 @@{"type": "reflection","declaration": {- "id": 382,+ "id": 369,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 385,+ "id": 372,"name": "options","kind": 1024,"kindString": "Property",@@ -6069,21 +6095,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 239,+ "line": 261,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 386,+ "id": 373,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 388,+ "id": 375,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -6096,7 +6122,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 243,+ "line": 269,"character": 8}],@@ -6106,7 +6132,7 @@}},{- "id": 387,+ "id": 374,"name": "data","kind": 1024,"kindString": "Property",@@ -6114,12 +6140,13 @@"isOptional": true},"comment": {- "shortText": "The user's metadata."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 241,+ "line": 267,"character": 8}],@@ -6134,15 +6161,15 @@"title": "Properties","kind": 1024,"children": [- 388,- 387+ 375,+ 374]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 239,+ "line": 261,"character": 16}]@@ -6150,7 +6177,7 @@}},{- "id": 384,+ "id": 371,"name": "password","kind": 1024,"kindString": "Property",@@ -6161,7 +6188,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 238,+ "line": 260,"character": 6}],@@ -6171,7 +6198,7 @@}},{- "id": 383,+ "id": 370,"name": "phone","kind": 1024,"kindString": "Property",@@ -6182,7 +6209,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 236,+ "line": 258,"character": 6}],@@ -6197,16 +6224,16 @@"title": "Properties","kind": 1024,"children": [- 385,- 384,- 383+ 372,+ 371,+ 370]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 234,+ "line": 256,"character": 4}]@@ -6223,7 +6250,7 @@"typeArguments": [{"type": "reference",- "id": 265,+ "id": 254,"name": "AuthResponse"}],@@ -6235,7 +6262,7 @@]},{- "id": 161,+ "id": 131,"name": "updateUser","kind": 2048,"kindString": "Method",@@ -6243,13 +6270,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 448,+ "line": 499,"character": 8}],"signatures": [{- "id": 162,+ "id": 132,"name": "updateUser","kind": 4096,"kindString": "Call signature",@@ -6259,24 +6286,24 @@},"parameters": [{- "id": 163,+ "id": 133,"name": "attributes","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 349,+ "id": 338,"name": "UserAttributes","dereferenced": {- "id": 349,+ "id": 338,"name": "UserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 354,+ "id": 342,"name": "data","kind": 1024,"kindString": "Property",@@ -6284,12 +6311,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 162,+ "line": 180,"character": 2}],@@ -6299,7 +6327,7 @@}},{- "id": 350,+ "id": 339,"name": "email","kind": 1024,"kindString": "Property",@@ -6312,30 +6340,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 142,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 353,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 157,+ "line": 162,"character": 2}],@@ -6345,7 +6350,7 @@}},{- "id": 352,+ "id": 341,"name": "password","kind": 1024,"kindString": "Property",@@ -6358,7 +6363,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 152,+ "line": 172,"character": 2}],@@ -6368,7 +6373,7 @@}},{- "id": 351,+ "id": 340,"name": "phone","kind": 1024,"kindString": "Property",@@ -6381,7 +6386,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 147,+ "line": 167,"character": 2}],@@ -6396,25 +6401,24 @@"title": "Properties","kind": 1024,"children": [- 354,- 350,- 353,- 352,- 351+ 342,+ 339,+ 341,+ 340]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 138,+ "line": 158,"character": 17}],"extendedBy": [{"type": "reference",- "id": 355,+ "id": 343,"name": "AdminUserAttributes"}]@@ -6427,7 +6431,7 @@"typeArguments": [{"type": "reference",- "id": 291,+ "id": 280,"name": "UserResponse"}],@@ -6439,7 +6443,7 @@]},{- "id": 134,+ "id": 108,"name": "verifyOtp","kind": 2048,"kindString": "Method",@@ -6447,13 +6451,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 313,+ "line": 363,"character": 8}],"signatures": [{- "id": 135,+ "id": 109,"name": "verifyOtp","kind": 4096,"kindString": "Call signature",@@ -6463,17 +6467,17 @@},"parameters": [{- "id": 136,+ "id": 110,"name": "params","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 427,+ "id": 414,"name": "VerifyOtpParams","dereferenced": {- "id": 427,+ "id": 414,"name": "VerifyOtpParams","kind": 4194304,"kindString": "Type alias",@@ -6481,7 +6485,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 305,+ "line": 331,"character": 12}],@@ -6490,94 +6494,18 @@"types": [{"type": "reference",- "id": 428,+ "id": 415,"name": "VerifyMobileOtpParams"},{"type": "reference",- "id": 432,+ "id": 423,"name": "VerifyEmailOtpParams"}]}}}- },- {- "id": 137,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 138,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 140,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on the site.\n"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 317,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 139,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A URL to send the user to after they are confirmed."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 316,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 140,- 139- ]- }- ]- }- },- "defaultValue": "{}"}],"type": {@@ -6585,7 +6513,7 @@"typeArguments": [{"type": "reference",- "id": 265,+ "id": 254,"name": "AuthResponse"}],@@ -6602,52 +6530,53 @@"title": "Constructors","kind": 512,"children": [- 82+ 67]},{"title": "Properties","kind": 1024,"children": [- 102+ 70]},{"title": "Methods","kind": 2048,"children": [- 141,- 158,- 179,- 192,- 164,+ 111,128,+ 92,+ 157,+ 168,+ 134,+ 102,+ 105,+ 99,+ 153,+ 96,131,- 125,- 175,- 122,- 161,- 134+ 108]}],"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 61,+ "line": 63,"character": 21}]},{- "id": 355,+ "id": 343,"name": "AdminUserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 357,+ "id": 345,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -6655,13 +6584,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for app_metadata that.",- "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 187,+ "line": 205,"character": 2}],@@ -6671,7 +6600,7 @@}},{- "id": 364,+ "id": 351,"name": "data","kind": 1024,"kindString": "Property",@@ -6679,12 +6608,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 162,+ "line": 180,"character": 2}],@@ -6694,12 +6624,12 @@},"inheritedFrom": {"type": "reference",- "id": 354,+ "id": 342,"name": "UserAttributes.data"}},{- "id": 360,+ "id": 348,"name": "email","kind": 1024,"kindString": "Property",@@ -6712,7 +6642,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 142,+ "line": 162,"character": 2}],@@ -6722,40 +6652,12 @@},"inheritedFrom": {"type": "reference",- "id": 350,+ "id": 339,"name": "UserAttributes.email"}},{- "id": 363,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 157,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 353,- "name": "UserAttributes.email_change_token"- }- },- {- "id": 358,+ "id": 346,"name": "email_confirm","kind": 1024,"kindString": "Property",@@ -6763,13 +6665,13 @@"isOptional": true},"comment": {- "shortText": "Sets if a user has confirmed their email address.",+ "shortText": "Confirms the user's email address if set to true.","text": "Only a service role can modify.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 194,+ "line": 212,"character": 2}],@@ -6779,7 +6681,7 @@}},{- "id": 362,+ "id": 350,"name": "password","kind": 1024,"kindString": "Property",@@ -6792,7 +6694,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 152,+ "line": 172,"character": 2}],@@ -6802,12 +6704,12 @@},"inheritedFrom": {"type": "reference",- "id": 352,+ "id": 341,"name": "UserAttributes.password"}},{- "id": 361,+ "id": 349,"name": "phone","kind": 1024,"kindString": "Property",@@ -6820,7 +6722,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 147,+ "line": 167,"character": 2}],@@ -6830,12 +6732,12 @@},"inheritedFrom": {"type": "reference",- "id": 351,+ "id": 340,"name": "UserAttributes.phone"}},{- "id": 359,+ "id": 347,"name": "phone_confirm","kind": 1024,"kindString": "Property",@@ -6843,13 +6745,13 @@"isOptional": true},"comment": {- "shortText": "Sets if a user has confirmed their phone number.",+ "shortText": "Confirms the user's phone number if set to true.","text": "Only a service role can modify.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 219,"character": 2}],@@ -6859,7 +6761,7 @@}},{- "id": 356,+ "id": 344,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -6867,13 +6769,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for user_metadata.",- "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 177,+ "line": 195,"character": 2}],@@ -6888,42 +6790,114 @@"title": "Properties","kind": 1024,"children": [- 357,- 364,- 360,- 363,- 358,- 362,- 361,- 359,- 356+ 345,+ 351,+ 348,+ 346,+ 350,+ 349,+ 347,+ 344]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 165,+ "line": 183,"character": 17}],"extendedTypes": [{"type": "reference",- "id": 349,+ "id": 338,"name": "UserAttributes"}]},{- "id": 302,+ "id": 455,+ "name": "GenerateLinkOptions",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 456,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 402,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 457,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The URL which will be appended to the email link generated."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 404,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 456,+ 457+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 396,+ "character": 17+ }+ ]+ },+ {+ "id": 291,"name": "Session","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 304,+ "id": 293,"name": "access_token","kind": 1024,"kindString": "Property",@@ -6934,7 +6908,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 81,+ "line": 101,"character": 2}],@@ -6944,7 +6918,7 @@}},{- "id": 307,+ "id": 296,"name": "expires_at","kind": 1024,"kindString": "Property",@@ -6957,7 +6931,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 93,+ "line": 113,"character": 2}],@@ -6967,7 +6941,7 @@}},{- "id": 306,+ "id": 295,"name": "expires_in","kind": 1024,"kindString": "Property",@@ -6978,7 +6952,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 89,+ "line": 109,"character": 2}],@@ -6988,7 +6962,7 @@}},{- "id": 303,+ "id": 292,"name": "provider_token","kind": 1024,"kindString": "Property",@@ -6998,7 +6972,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 77,+ "line": 97,"character": 2}],@@ -7017,7 +6991,7 @@}},{- "id": 305,+ "id": 294,"name": "refresh_token","kind": 1024,"kindString": "Property",@@ -7028,7 +7002,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 85,+ "line": 105,"character": 2}],@@ -7038,7 +7012,7 @@}},{- "id": 308,+ "id": 297,"name": "token_type","kind": 1024,"kindString": "Property",@@ -7046,7 +7020,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 94,+ "line": 114,"character": 2}],@@ -7056,7 +7030,7 @@}},{- "id": 309,+ "id": 298,"name": "user","kind": 1024,"kindString": "Property",@@ -7064,13 +7038,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 95,+ "line": 115,"character": 2}],"type": {"type": "reference",- "id": 321,+ "id": 310,"name": "User"}}@@ -7080,33 +7054,33 @@"title": "Properties","kind": 1024,"children": [- 304,- 307,- 306,- 303,- 305,- 308,- 309+ 293,+ 296,+ 295,+ 292,+ 294,+ 297,+ 298]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 76,+ "line": 96,"character": 17}]},{- "id": 365,+ "id": 352,"name": "Subscription","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 366,+ "id": 353,"name": "id","kind": 1024,"kindString": "Property",@@ -7117,7 +7091,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 208,+ "line": 226,"character": 2}],@@ -7127,7 +7101,7 @@}},{- "id": 367,+ "id": 354,"name": "callback","kind": 2048,"kindString": "Method",@@ -7135,13 +7109,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 212,+ "line": 230,"character": 2}],"signatures": [{- "id": 368,+ "id": 355,"name": "callback","kind": 4096,"kindString": "Call signature",@@ -7151,17 +7125,17 @@},"parameters": [{- "id": 369,+ "id": 356,"name": "event","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 264,+ "id": 240,"name": "AuthChangeEvent","dereferenced": {- "id": 264,+ "id": 240,"name": "AuthChangeEvent","kind": 4194304,"kindString": "Type alias",@@ -7169,7 +7143,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 22,+ "line": 23,"character": 12}],@@ -7206,7 +7180,7 @@}},{- "id": 370,+ "id": 357,"name": "session","kind": 32768,"kindString": "Parameter",@@ -7220,7 +7194,7 @@},{"type": "reference",- "id": 302,+ "id": 291,"name": "Session"}]@@ -7235,7 +7209,7 @@]},{- "id": 371,+ "id": 358,"name": "unsubscribe","kind": 2048,"kindString": "Method",@@ -7243,13 +7217,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 216,+ "line": 234,"character": 2}],"signatures": [{- "id": 372,+ "id": 359,"name": "unsubscribe","kind": 4096,"kindString": "Call signature",@@ -7270,35 +7244,35 @@"title": "Properties","kind": 1024,"children": [- 366+ 353]},{"title": "Methods","kind": 2048,"children": [- 367,- 371+ 354,+ 358]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 204,+ "line": 222,"character": 17}]},{- "id": 321,+ "id": 310,"name": "User","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 338,+ "id": 327,"name": "action_link","kind": 1024,"kindString": "Property",@@ -7308,7 +7282,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 125,+ "line": 145,"character": 2}],@@ -7318,7 +7292,7 @@}},{- "id": 323,+ "id": 312,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -7326,21 +7300,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 112,+ "line": 132,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 324,+ "id": 313,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 325,+ "id": 314,"name": "provider","kind": 1024,"kindString": "Property",@@ -7350,7 +7324,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 113,+ "line": 133,"character": 4}],@@ -7365,19 +7339,19 @@"title": "Properties","kind": 1024,"children": [- 325+ 314]}],"indexSignature": {- "id": 326,+ "id": 315,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 327,+ "id": 316,"name": "key","kind": 32768,"flags": {},@@ -7396,7 +7370,7 @@}},{- "id": 332,+ "id": 321,"name": "aud","kind": 1024,"kindString": "Property",@@ -7404,7 +7378,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 119,+ "line": 139,"character": 2}],@@ -7414,7 +7388,7 @@}},{- "id": 333,+ "id": 322,"name": "confirmation_sent_at","kind": 1024,"kindString": "Property",@@ -7424,7 +7398,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 140,"character": 2}],@@ -7434,7 +7408,7 @@}},{- "id": 342,+ "id": 331,"name": "confirmed_at","kind": 1024,"kindString": "Property",@@ -7444,7 +7418,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 129,+ "line": 149,"character": 2}],@@ -7454,7 +7428,7 @@}},{- "id": 341,+ "id": 330,"name": "created_at","kind": 1024,"kindString": "Property",@@ -7462,7 +7436,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 128,+ "line": 148,"character": 2}],@@ -7472,7 +7446,7 @@}},{- "id": 339,+ "id": 328,"name": "email","kind": 1024,"kindString": "Property",@@ -7482,7 +7456,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 126,+ "line": 146,"character": 2}],@@ -7492,7 +7466,7 @@}},{- "id": 335,+ "id": 324,"name": "email_change_sent_at","kind": 1024,"kindString": "Property",@@ -7502,7 +7476,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 122,+ "line": 142,"character": 2}],@@ -7512,7 +7486,7 @@}},{- "id": 343,+ "id": 332,"name": "email_confirmed_at","kind": 1024,"kindString": "Property",@@ -7522,7 +7496,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 130,+ "line": 150,"character": 2}],@@ -7532,7 +7506,7 @@}},{- "id": 322,+ "id": 311,"name": "id","kind": 1024,"kindString": "Property",@@ -7540,7 +7514,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 111,+ "line": 131,"character": 2}],@@ -7550,7 +7524,7 @@}},{- "id": 348,+ "id": 337,"name": "identities","kind": 1024,"kindString": "Property",@@ -7560,7 +7534,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 135,+ "line": 155,"character": 2}],@@ -7568,13 +7542,13 @@"type": "array","elementType": {"type": "reference",- "id": 310,+ "id": 299,"name": "UserIdentity"}}},{- "id": 337,+ "id": 326,"name": "invited_at","kind": 1024,"kindString": "Property",@@ -7584,7 +7558,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 124,+ "line": 144,"character": 2}],@@ -7594,7 +7568,7 @@}},{- "id": 345,+ "id": 334,"name": "last_sign_in_at","kind": 1024,"kindString": "Property",@@ -7604,7 +7578,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 132,+ "line": 152,"character": 2}],@@ -7614,7 +7588,7 @@}},{- "id": 336,+ "id": 325,"name": "new_email","kind": 1024,"kindString": "Property",@@ -7624,7 +7598,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 123,+ "line": 143,"character": 2}],@@ -7634,7 +7608,7 @@}},{- "id": 340,+ "id": 329,"name": "phone","kind": 1024,"kindString": "Property",@@ -7644,7 +7618,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 127,+ "line": 147,"character": 2}],@@ -7654,7 +7628,7 @@}},{- "id": 344,+ "id": 333,"name": "phone_confirmed_at","kind": 1024,"kindString": "Property",@@ -7664,7 +7638,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 131,+ "line": 151,"character": 2}],@@ -7674,7 +7648,7 @@}},{- "id": 334,+ "id": 323,"name": "recovery_sent_at","kind": 1024,"kindString": "Property",@@ -7684,7 +7658,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 121,+ "line": 141,"character": 2}],@@ -7694,7 +7668,7 @@}},{- "id": 346,+ "id": 335,"name": "role","kind": 1024,"kindString": "Property",@@ -7704,7 +7678,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 133,+ "line": 153,"character": 2}],@@ -7714,7 +7688,7 @@}},{- "id": 347,+ "id": 336,"name": "updated_at","kind": 1024,"kindString": "Property",@@ -7724,7 +7698,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 134,+ "line": 154,"character": 2}],@@ -7734,7 +7708,7 @@}},{- "id": 328,+ "id": 317,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -7742,27 +7716,27 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 116,+ "line": 136,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 329,+ "id": 318,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 330,+ "id": 319,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 331,+ "id": 320,"name": "key","kind": 32768,"flags": {},@@ -7786,46 +7760,46 @@"title": "Properties","kind": 1024,"children": [- 338,- 323,+ 327,+ 312,+ 321,+ 322,+ 331,+ 330,+ 328,+ 324,332,+ 311,+ 337,+ 326,+ 334,+ 325,+ 329,333,- 342,- 341,- 339,+ 323,335,- 343,- 322,- 348,- 337,- 345,336,- 340,- 344,- 334,- 346,- 347,- 328+ 317]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 110,+ "line": 130,"character": 17}]},{- "id": 349,+ "id": 338,"name": "UserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 354,+ "id": 342,"name": "data","kind": 1024,"kindString": "Property",@@ -7833,12 +7807,13 @@"isOptional": true},"comment": {- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 162,+ "line": 180,"character": 2}],@@ -7848,7 +7823,7 @@}},{- "id": 350,+ "id": 339,"name": "email","kind": 1024,"kindString": "Property",@@ -7861,7 +7836,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 142,+ "line": 162,"character": 2}],@@ -7871,20 +7846,20 @@}},{- "id": 353,- "name": "email_change_token",+ "id": 341,+ "name": "password","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "An email change token."+ "shortText": "The user's password."},"sources": [{"fileName": "src/lib/types.ts",- "line": 157,+ "line": 172,"character": 2}],@@ -7894,20 +7869,20 @@}},{- "id": 352,- "name": "password",+ "id": 340,+ "name": "phone","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "The user's password."+ "shortText": "The user's phone."},"sources": [{"fileName": "src/lib/types.ts",- "line": 152,+ "line": 167,"character": 2}],@@ -7915,439 +7890,1391 @@"type": "intrinsic","name": "string"}- },+ }+ ],+ "groups": [{- "id": 351,- "name": "phone",+ "title": "Properties",+ "kind": 1024,+ "children": [+ 342,+ 339,+ 341,+ 340+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 158,+ "character": 17+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 343,+ "name": "AdminUserAttributes"+ }+ ]+ },+ {+ "id": 299,+ "name": "UserIdentity",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 307,+ "name": "created_at","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 147,+ "line": 125,"character": 2}- ],- "type": {- "type": "intrinsic",- "name": "string"+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 300,+ "name": "id",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 119,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 302,+ "name": "identity_data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 121,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 303,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "indexSignature": {+ "id": 304,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 305,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ }+ }+ },+ {+ "id": 308,+ "name": "last_sign_in_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 126,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 306,+ "name": "provider",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 124,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 309,+ "name": "updated_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 127,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 301,+ "name": "user_id",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 120,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 307,+ 300,+ 302,+ 308,+ 306,+ 309,+ 301+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 118,+ "character": 17+ }+ ]+ },+ {+ "id": 423,+ "name": "VerifyEmailOtpParams",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 424,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's email address."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 348,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 427,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 353,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 428,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 430,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 357,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 429,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A URL to send the user to after they are confirmed."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 355,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 430,+ 429+ ]+ }+ ]+ }+ }+ },+ {+ "id": 425,+ "name": "token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The otp sent to the user's email address."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 350,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 426,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's verification type."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 352,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 432,+ "name": "EmailOtpType"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 424,+ 427,+ 425,+ 426+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 346,+ "character": 17+ }+ ]+ },+ {+ "id": 415,+ "name": "VerifyMobileOtpParams",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 419,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 339,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 420,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 422,+ "name": "captchaToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Verification token received when the user completes the captcha on the site."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 343,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 421,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A URL to send the user to after they are confirmed."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 341,+ "character": 4+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 422,+ 421+ ]+ }+ ]+ }+ }+ },+ {+ "id": 416,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 334,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 417,+ "name": "token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The otp sent to the user's phone number."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 336,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 418,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's verification type."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 338,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 431,+ "name": "MobileOtpType"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 419,+ 416,+ 417,+ 418+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 332,+ "character": 17+ }+ ]+ },+ {+ "id": 240,+ "name": "AuthChangeEvent",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 23,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "PASSWORD_RECOVERY"+ },+ {+ "type": "literal",+ "value": "SIGNED_IN"+ },+ {+ "type": "literal",+ "value": "SIGNED_OUT"+ },+ {+ "type": "literal",+ "value": "TOKEN_REFRESHED"+ },+ {+ "type": "literal",+ "value": "USER_UPDATED"+ },+ {+ "type": "literal",+ "value": "USER_DELETED"+ }+ ]+ }+ },+ {+ "id": 254,+ "name": "AuthResponse",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 50,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 255,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 256,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 52,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 257,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 259,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 54,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 291,+ "name": "Session"+ },+ {+ "type": "literal",+ "value": null+ }+ ]+ }+ },+ {+ "id": 258,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 53,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 310,+ "name": "User"+ },+ {+ "type": "literal",+ "value": null+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 259,+ 258+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 52,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 260,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 56,+ "character": 6+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 256,+ 260+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 51,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 261,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 262,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 59,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 263,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 265,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 61,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ },+ {+ "id": 264,+ "name": "user",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 60,+ "character": 8+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 265,+ 264+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 59,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 266,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 63,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 262,+ 266+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 58,+ "character": 4+ }+ ]+ }}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 354,- 350,- 353,- 352,- 351- ]- }- ],+ ]+ }+ },+ {+ "id": 484,+ "name": "CallRefreshTokenResult",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 138,- "character": 17+ "line": 472,+ "character": 12}],- "extendedBy": [- {- "type": "reference",- "id": 355,- "name": "AdminUserAttributes"- }- ]- },- {- "id": 310,- "name": "UserIdentity",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 318,- "name": "created_at",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 105,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 311,- "name": "id",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 99,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 313,- "name": "identity_data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 101,- "character": 2- }- ],- "type": {+ "type": {+ "type": "union",+ "types": [+ {"type": "reflection","declaration": {- "id": 314,+ "id": 485,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},- "indexSignature": {- "id": 315,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 316,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"+ "children": [+ {+ "id": 487,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 475,+ "character": 6}+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ },+ {+ "id": 486,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 474,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 291,+ "name": "Session"}- ],- "type": {- "type": "intrinsic",- "name": "any"}- }- }- }- },- {- "id": 319,- "name": "last_sign_in_at",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 106,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 317,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 104,- "character": 2+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 487,+ 486+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 473,+ "character": 4+ }+ ]}- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 320,- "name": "updated_at",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 107,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 312,- "name": "user_id",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 100,- "character": 2+ {+ "type": "reflection",+ "declaration": {+ "id": 488,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 490,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 479,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ },+ {+ "id": 489,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 478,+ "character": 6+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 490,+ 489+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 477,+ "character": 4+ }+ ]}- ],- "type": {- "type": "intrinsic",- "name": "string"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 318,- 311,- 313,- 319,- 317,- 320,- 312- ]- }- ],+ ]+ }+ },+ {+ "id": 432,+ "name": "EmailOtpType",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 98,- "character": 17+ "line": 362,+ "character": 12}- ]+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "signup"+ },+ {+ "type": "literal",+ "value": "invite"+ },+ {+ "type": "literal",+ "value": "magiclink"+ },+ {+ "type": "literal",+ "value": "recovery"+ },+ {+ "type": "literal",+ "value": "email_change"+ }+ ]+ }},{- "id": 432,- "name": "VerifyEmailOtpParams",- "kind": 256,- "kindString": "Interface",+ "id": 449,+ "name": "GenerateEmailChangeLinkParams",+ "kind": 4194304,+ "kindString": "Type alias","flags": {},- "children": [+ "sources": [{- "id": 433,- "name": "email",- "kind": 1024,- "kindString": "Property",+ "fileName": "src/lib/types.ts",+ "line": 385,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 450,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "comment": {- "shortText": "The user's email address."- },- "sources": [+ "children": [{- "fileName": "src/lib/types.ts",- "line": 316,- "character": 2+ "id": 452,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's email"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 388,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 453,+ "name": "newEmail",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 392,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 454,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 393,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 451,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 386,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "email_change_current"+ },+ {+ "type": "literal",+ "value": "email_change_new"+ }+ ]+ }}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 434,- "name": "token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The otp sent to the user's email address."- },- "sources": [+ "groups": [{- "fileName": "src/lib/types.ts",- "line": 318,- "character": 2+ "title": "Properties",+ "kind": 1024,+ "children": [+ 452,+ 453,+ 454,+ 451+ ]}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 435,- "name": "type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's verification type."- },"sources": [{"fileName": "src/lib/types.ts",- "line": 320,- "character": 2+ "line": 385,+ "character": 44}- ],- "type": {- "type": "reference",- "id": 437,- "name": "EmailOtpType"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 433,- 434,- 435]}- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 314,- "character": 17- }- ]+ }},{- "id": 428,- "name": "VerifyMobileOtpParams",- "kind": 256,- "kindString": "Interface",+ "id": 439,+ "name": "GenerateInviteOrMagiclinkParams",+ "kind": 4194304,+ "kindString": "Type alias","flags": {},- "children": [+ "sources": [{- "id": 429,- "name": "phone",- "kind": 1024,- "kindString": "Property",+ "fileName": "src/lib/types.ts",+ "line": 371,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 440,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "comment": {- "shortText": "The user's phone number."- },- "sources": [+ "children": [{- "fileName": "src/lib/types.ts",- "line": 308,- "character": 2+ "id": 442,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's email"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 374,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 443,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 375,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "data"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ]+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 441,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 372,+ "character": 2+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "invite"+ },+ {+ "type": "literal",+ "value": "magiclink"+ }+ ]+ }}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 430,- "name": "token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The otp sent to the user's phone number."- },- "sources": [+ "groups": [{- "fileName": "src/lib/types.ts",- "line": 310,- "character": 2+ "title": "Properties",+ "kind": 1024,+ "children": [+ 442,+ 443,+ 441+ ]}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 431,- "name": "type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "The user's verification type."- },"sources": [{"fileName": "src/lib/types.ts",- "line": 312,- "character": 2+ "line": 371,+ "character": 46}- ],- "type": {- "type": "reference",- "id": 436,- "name": "MobileOtpType"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 429,- 430,- 431]}- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 306,- "character": 17- }- ]+ }},{- "id": 264,- "name": "AuthChangeEvent",+ "id": 458,+ "name": "GenerateLinkParams","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 22,+ "line": 407,"character": 12}],@@ -8355,42 +9282,193 @@"type": "union","types": [{- "type": "literal",- "value": "PASSWORD_RECOVERY"- },- {- "type": "literal",- "value": "SIGNED_IN"- },- {- "type": "literal",- "value": "SIGNED_OUT"+ "type": "reference",+ "id": 433,+ "name": "GenerateSignupLinkParams"},{- "type": "literal",- "value": "TOKEN_REFRESHED"+ "type": "reference",+ "id": 439,+ "name": "GenerateInviteOrMagiclinkParams"},{- "type": "literal",- "value": "USER_UPDATED"+ "type": "reference",+ "id": 444,+ "name": "GenerateRecoveryLinkParams"},{- "type": "literal",- "value": "USER_DELETED"+ "type": "reference",+ "id": 449,+ "name": "GenerateEmailChangeLinkParams"}]}},{- "id": 265,- "name": "AuthResponse",+ "id": 472,+ "name": "GenerateLinkProperties",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "comment": {+ "shortText": "The properties related to the email link generated"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 430,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 473,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 474,+ "name": "action_link",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The email link to send to the user.\nThe action_link follows the following format: auth/v1/verify?type={verification_type}&token={hashed_token}&redirect_to={redirect_to}"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 435,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 475,+ "name": "email_otp",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The raw email OTP.\nYou should send this in the email if you want your users to verify using an OTP instead of the action link."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 440,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 476,+ "name": "hashed_token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The hashed token appended to the action link."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 444,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 477,+ "name": "redirect_to",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The URL appended to the action link."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 446,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 478,+ "name": "verification_type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The verification type that the email link is associated to."+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 448,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "id": 479,+ "name": "GenerateLinkType"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 474,+ 475,+ 476,+ 477,+ 478+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 430,+ "character": 37+ }+ ]+ }+ }+ },+ {+ "id": 459,+ "name": "GenerateLinkResponse","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 30,+ "line": 413,"character": 12}],@@ -8400,14 +9478,14 @@{"type": "reflection","declaration": {- "id": 266,+ "id": 460,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 267,+ "id": 461,"name": "data","kind": 1024,"kindString": "Property",@@ -8415,49 +9493,40 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 32,+ "line": 415,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 268,+ "id": 462,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 270,- "name": "session",+ "id": 463,+ "name": "properties","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 34,+ "line": 416,"character": 8}],"type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 302,- "name": "Session"- },- {- "type": "literal",- "value": null- }- ]+ "type": "reference",+ "id": 472,+ "name": "GenerateLinkProperties"}},{- "id": 269,+ "id": 464,"name": "user","kind": 1024,"kindString": "Property",@@ -8465,23 +9534,14 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 33,+ "line": 417,"character": 8}],"type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 321,- "name": "User"- },- {- "type": "literal",- "value": null- }- ]+ "type": "reference",+ "id": 310,+ "name": "User"}}],@@ -8490,15 +9550,15 @@"title": "Properties","kind": 1024,"children": [- 270,- 269+ 463,+ 464]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 32,+ "line": 415,"character": 12}]@@ -8506,7 +9566,7 @@}},{- "id": 271,+ "id": 465,"name": "error","kind": 1024,"kindString": "Property",@@ -8514,7 +9574,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 36,+ "line": 419,"character": 6}],@@ -8529,15 +9589,15 @@"title": "Properties","kind": 1024,"children": [- 267,- 271+ 461,+ 465]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 31,+ "line": 414,"character": 4}]@@ -8546,14 +9606,14 @@{"type": "reflection","declaration": {- "id": 272,+ "id": 466,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 273,+ "id": 467,"name": "data","kind": 1024,"kindString": "Property",@@ -8561,29 +9621,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 39,+ "line": 422,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 274,+ "id": 468,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 276,- "name": "session",+ "id": 469,+ "name": "properties","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 41,+ "line": 423,"character": 8}],@@ -8593,7 +9653,7 @@}},{- "id": 275,+ "id": 470,"name": "user","kind": 1024,"kindString": "Property",@@ -8601,7 +9661,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 40,+ "line": 424,"character": 8}],@@ -8616,15 +9676,15 @@"title": "Properties","kind": 1024,"children": [- 276,- 275+ 469,+ 470]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 39,+ "line": 422,"character": 12}]@@ -8632,285 +9692,665 @@}},{- "id": 277,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 43,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"- }+ "id": 471,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 426,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 467,+ 471+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 421,+ "character": 4+ }+ ]+ }+ }+ ]+ }+ },+ {+ "id": 479,+ "name": "GenerateLinkType",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 451,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "signup"+ },+ {+ "type": "literal",+ "value": "invite"+ },+ {+ "type": "literal",+ "value": "magiclink"+ },+ {+ "type": "literal",+ "value": "recovery"+ },+ {+ "type": "literal",+ "value": "email_change_current"+ },+ {+ "type": "literal",+ "value": "email_change_new"+ }+ ]+ }+ },+ {+ "id": 444,+ "name": "GenerateRecoveryLinkParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 378,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 445,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 447,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "comment": {+ "shortText": "The user's email"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 381,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 448,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 382,+ "character": 2+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 446,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 379,+ "character": 2+ }+ ],+ "type": {+ "type": "literal",+ "value": "recovery"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 447,+ 448,+ 446+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 378,+ "character": 41+ }+ ]+ }+ }+ },+ {+ "id": 433,+ "name": "GenerateSignupLinkParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 364,+ "character": 12+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 434,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 436,+ "name": "email",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 366,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 438,+ "name": "options",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 368,+ "character": 2}],- "groups": [+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 455,+ "name": "GenerateLinkOptions"+ },+ {+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": "data"+ },+ {+ "type": "literal",+ "value": "redirectTo"+ }+ ]+ }+ ],+ "qualifiedName": "Pick",+ "package": "typescript",+ "name": "Pick"+ }+ },+ {+ "id": 437,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 273,- 277- ]+ "fileName": "src/lib/types.ts",+ "line": 367,+ "character": 2}],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 435,+ "name": "type",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 38,- "character": 4+ "line": 365,+ "character": 2}+ ],+ "type": {+ "type": "literal",+ "value": "signup"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 436,+ 438,+ 437,+ 435]}- }- ]+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 364,+ "character": 39+ }+ ]+ }}},{- "id": 440,- "name": "CallRefreshTokenResult",+ "id": 241,+ "name": "GoTrueClientOptions","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 346,+ "line": 31,"character": 12}],"type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 441,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 443,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 349,- "character": 6- }- ],- "type": {- "type": "literal",- "value": null- }- },+ "type": "reflection",+ "declaration": {+ "id": 242,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 250,+ "name": "autoRefreshToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 442,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 348,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 302,- "name": "Session"- }+ "fileName": "src/lib/types.ts",+ "line": 41,+ "character": 2}],- "groups": [+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 249,+ "name": "detectSessionInUrl",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 443,- 442- ]+ "fileName": "src/lib/types.ts",+ "line": 39,+ "character": 2}],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 253,+ "name": "fetch",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 347,- "character": 4+ "line": 47,+ "character": 2}- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 444,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ ],+ "type": {+ "type": "reference",+ "name": "Fetch"+ }+ },+ {+ "id": 244,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 446,- "name": "error",- "kind": 1024,- "kindString": "Property",+ "fileName": "src/lib/types.ts",+ "line": 35,+ "character": 2+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 245,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 353,- "character": 6+ "line": 35,+ "character": 12}],- "type": {- "type": "reference",- "id": 450,- "name": "AuthError"+ "indexSignature": {+ "id": 246,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {},+ "parameters": [+ {+ "id": 247,+ "name": "key",+ "kind": 32768,+ "flags": {},+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}- },+ }+ }+ },+ {+ "id": 251,+ "name": "persistSession",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 43,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 252,+ "name": "storage",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 445,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 352,- "character": 6- }- ],- "type": {- "type": "literal",- "value": null- }+ "fileName": "src/lib/types.ts",+ "line": 45,+ "character": 2}],- "groups": [+ "type": {+ "type": "reference",+ "id": 480,+ "name": "SupportedStorage"+ }+ },+ {+ "id": 248,+ "name": "storageKey",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 446,- 445- ]+ "fileName": "src/lib/types.ts",+ "line": 37,+ "character": 2}],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 243,+ "name": "url",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 351,- "character": 4+ "line": 33,+ "character": 2}+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 250,+ 249,+ 253,+ 244,+ 251,+ 252,+ 248,+ 243]}- }- ]- }- },- {- "id": 437,- "name": "EmailOtpType",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 324,- "character": 12+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 31,+ "character": 34+ }+ ]}- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"- },- {- "type": "literal",- "value": "recovery"- },- {- "type": "literal",- "value": "email_change"- }- ]}},{- "id": 438,- "name": "GenerateLinkType",+ "id": 481,+ "name": "InitializeResult","kind": 4194304,"kindString": "Type alias","flags": {},- "comment": {- "shortText": "The link type"- },"sources": [{"fileName": "src/lib/types.ts",- "line": 327,+ "line": 470,"character": 12}],"type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"- },- {- "type": "literal",- "value": "recovery"- },- {- "type": "literal",- "value": "email_change_current"- },- {- "type": "literal",- "value": "email_change_new"- }- ]+ "type": "reflection",+ "declaration": {+ "id": 482,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 483,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 470,+ "character": 33+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 494,+ "name": "AuthError"+ },+ {+ "type": "literal",+ "value": null+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 483+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 470,+ "character": 31+ }+ ]+ }}},{- "id": 436,+ "id": 431,"name": "MobileOtpType","kind": 4194304,"kindString": "Type alias",@@ -8918,7 +10358,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 323,+ "line": 361,"character": 12}],@@ -8937,7 +10377,7 @@}},{- "id": 278,+ "id": 267,"name": "OAuthResponse","kind": 4194304,"kindString": "Type alias",@@ -8945,7 +10385,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 46,+ "line": 66,"character": 12}],@@ -8955,14 +10395,14 @@{"type": "reflection","declaration": {- "id": 279,+ "id": 268,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 280,+ "id": 269,"name": "data","kind": 1024,"kindString": "Property",@@ -8970,21 +10410,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 48,+ "line": 68,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 281,+ "id": 270,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 282,+ "id": 271,"name": "provider","kind": 1024,"kindString": "Property",@@ -8992,18 +10432,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 49,+ "line": 69,"character": 8}],"type": {"type": "reference",- "id": 263,+ "id": 239,"name": "Provider"}},{- "id": 283,+ "id": 272,"name": "url","kind": 1024,"kindString": "Property",@@ -9011,7 +10451,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 50,+ "line": 70,"character": 8}],@@ -9026,15 +10466,15 @@"title": "Properties","kind": 1024,"children": [- 282,- 283+ 271,+ 272]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 48,+ "line": 68,"character": 12}]@@ -9042,7 +10482,7 @@}},{- "id": 284,+ "id": 273,"name": "error","kind": 1024,"kindString": "Property",@@ -9050,7 +10490,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 52,+ "line": 72,"character": 6}],@@ -9065,15 +10505,15 @@"title": "Properties","kind": 1024,"children": [- 280,- 284+ 269,+ 273]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 47,+ "line": 67,"character": 4}]@@ -9082,14 +10522,14 @@{"type": "reflection","declaration": {- "id": 285,+ "id": 274,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 286,+ "id": 275,"name": "data","kind": 1024,"kindString": "Property",@@ -9097,21 +10537,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 55,+ "line": 75,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 287,+ "id": 276,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 288,+ "id": 277,"name": "provider","kind": 1024,"kindString": "Property",@@ -9119,18 +10559,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 56,+ "line": 76,"character": 8}],"type": {"type": "reference",- "id": 263,+ "id": 239,"name": "Provider"}},{- "id": 289,+ "id": 278,"name": "url","kind": 1024,"kindString": "Property",@@ -9138,7 +10578,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 57,+ "line": 77,"character": 8}],@@ -9153,15 +10593,15 @@"title": "Properties","kind": 1024,"children": [- 288,- 289+ 277,+ 278]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 55,+ "line": 75,"character": 12}]@@ -9169,7 +10609,7 @@}},{- "id": 290,+ "id": 279,"name": "error","kind": 1024,"kindString": "Property",@@ -9177,13 +10617,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 59,+ "line": 79,"character": 6}],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -9193,15 +10633,15 @@"title": "Properties","kind": 1024,"children": [- 286,- 290+ 275,+ 279]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 54,+ "line": 74,"character": 4}]@@ -9211,7 +10651,7 @@}},{- "id": 263,+ "id": 239,"name": "Provider","kind": 4194304,"kindString": "Type alias",@@ -9222,7 +10662,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 4,+ "line": 5,"character": 12}],@@ -9297,7 +10737,7 @@}},{- "id": 416,+ "id": 403,"name": "SignInWithOAuthCredentials","kind": 4194304,"kindString": "Type alias",@@ -9305,21 +10745,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 292,+ "line": 318,"character": 12}],"type": {"type": "reflection","declaration": {- "id": 417,+ "id": 404,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 419,+ "id": 406,"name": "options","kind": 1024,"kindString": "Property",@@ -9329,21 +10769,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 295,+ "line": 321,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 420,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 423,+ "id": 410,"name": "queryParams","kind": 1024,"kindString": "Property",@@ -9356,14 +10796,14 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 301,+ "line": 327,"character": 4}],"type": {"type": "reflection","declaration": {- "id": 424,+ "id": 411,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9371,19 +10811,19 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 301,+ "line": 327,"character": 18}],"indexSignature": {- "id": 425,+ "id": 412,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 426,+ "id": 413,"name": "key","kind": 32768,"flags": {},@@ -9402,7 +10842,7 @@}},{- "id": 421,+ "id": 408,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -9410,12 +10850,12 @@"isOptional": true},"comment": {- "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."+ "shortText": "A URL to send the user to after they are confirmed."},"sources": [{"fileName": "src/lib/types.ts",- "line": 297,+ "line": 323,"character": 4}],@@ -9425,7 +10865,7 @@}},{- "id": 422,+ "id": 409,"name": "scopes","kind": 1024,"kindString": "Property",@@ -9438,7 +10878,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 299,+ "line": 325,"character": 4}],@@ -9453,16 +10893,16 @@"title": "Properties","kind": 1024,"children": [- 423,- 421,- 422+ 410,+ 408,+ 409]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 295,+ "line": 321,"character": 12}]@@ -9470,7 +10910,7 @@}},{- "id": 418,+ "id": 405,"name": "provider","kind": 1024,"kindString": "Property",@@ -9481,13 +10921,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 294,+ "line": 320,"character": 2}],"type": {"type": "reference",- "id": 263,+ "id": 239,"name": "Provider"}}@@ -9497,15 +10937,15 @@"title": "Properties","kind": 1024,"children": [- 419,- 418+ 406,+ 405]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 292,+ "line": 318,"character": 41}]@@ -9513,7 +10953,7 @@}},{- "id": 389,+ "id": 376,"name": "SignInWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -9521,7 +10961,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 246,+ "line": 272,"character": 12}],@@ -9531,14 +10971,14 @@{"type": "reflection","declaration": {- "id": 390,+ "id": 377,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 391,+ "id": 378,"name": "email","kind": 1024,"kindString": "Property",@@ -9549,7 +10989,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 249,+ "line": 275,"character": 6}],@@ -9559,7 +10999,7 @@}},{- "id": 393,+ "id": 380,"name": "options","kind": 1024,"kindString": "Property",@@ -9569,21 +11009,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 278,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 394,+ "id": 381,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 395,+ "id": 382,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -9596,7 +11036,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 254,+ "line": 280,"character": 8}],@@ -9611,14 +11051,14 @@"title": "Properties","kind": 1024,"children": [- 395+ 382]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 278,"character": 16}]@@ -9626,7 +11066,7 @@}},{- "id": 392,+ "id": 379,"name": "password","kind": 1024,"kindString": "Property",@@ -9637,7 +11077,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 251,+ "line": 277,"character": 6}],@@ -9652,16 +11092,16 @@"title": "Properties","kind": 1024,"children": [- 391,- 393,- 392+ 378,+ 380,+ 379]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 247,+ "line": 273,"character": 4}]@@ -9670,14 +11110,14 @@{"type": "reflection","declaration": {- "id": 396,+ "id": 383,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 399,+ "id": 386,"name": "options","kind": 1024,"kindString": "Property",@@ -9687,21 +11127,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 288,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 400,+ "id": 387,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 401,+ "id": 388,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -9714,7 +11154,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 264,+ "line": 290,"character": 8}],@@ -9729,14 +11169,14 @@"title": "Properties","kind": 1024,"children": [- 401+ 388]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 288,"character": 16}]@@ -9744,7 +11184,7 @@}},{- "id": 398,+ "id": 385,"name": "password","kind": 1024,"kindString": "Property",@@ -9755,7 +11195,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 261,+ "line": 287,"character": 6}],@@ -9765,7 +11205,7 @@}},{- "id": 397,+ "id": 384,"name": "phone","kind": 1024,"kindString": "Property",@@ -9776,7 +11216,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 259,+ "line": 285,"character": 6}],@@ -9791,16 +11231,16 @@"title": "Properties","kind": 1024,"children": [- 399,- 398,- 397+ 386,+ 385,+ 384]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 257,+ "line": 283,"character": 4}]@@ -9810,7 +11250,7 @@}},{- "id": 402,+ "id": 389,"name": "SignInWithPasswordlessCredentials","kind": 4194304,"kindString": "Type alias",@@ -9818,7 +11258,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 268,+ "line": 294,"character": 12}],@@ -9828,14 +11268,14 @@{"type": "reflection","declaration": {- "id": 403,+ "id": 390,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 404,+ "id": 391,"name": "email","kind": 1024,"kindString": "Property",@@ -9846,7 +11286,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 271,+ "line": 297,"character": 6}],@@ -9856,7 +11296,7 @@}},{- "id": 405,+ "id": 392,"name": "options","kind": 1024,"kindString": "Property",@@ -9866,21 +11306,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 272,+ "line": 298,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 406,+ "id": 393,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 409,+ "id": 396,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -9893,7 +11333,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 278,+ "line": 304,"character": 8}],@@ -9903,7 +11343,7 @@}},{- "id": 407,+ "id": 394,"name": "emailRedirectTo","kind": 1024,"kindString": "Property",@@ -9916,7 +11356,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 274,+ "line": 300,"character": 8}],@@ -9926,7 +11366,7 @@}},{- "id": 408,+ "id": 395,"name": "shouldCreateUser","kind": 1024,"kindString": "Property",@@ -9939,7 +11379,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 276,+ "line": 302,"character": 8}],@@ -9954,16 +11394,16 @@"title": "Properties","kind": 1024,"children": [- 409,- 407,- 408+ 396,+ 394,+ 395]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 272,+ "line": 298,"character": 16}]@@ -9976,15 +11416,15 @@"title": "Properties","kind": 1024,"children": [- 404,- 405+ 391,+ 392]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 269,+ "line": 295,"character": 4}]@@ -9993,14 +11433,14 @@{"type": "reflection","declaration": {- "id": 410,+ "id": 397,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 412,+ "id": 399,"name": "options","kind": 1024,"kindString": "Property",@@ -10010,21 +11450,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 284,+ "line": 310,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 413,+ "id": 400,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 415,+ "id": 402,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -10037,7 +11477,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 288,+ "line": 314,"character": 8}],@@ -10047,7 +11487,7 @@}},{- "id": 414,+ "id": 401,"name": "shouldCreateUser","kind": 1024,"kindString": "Property",@@ -10060,7 +11500,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 286,+ "line": 312,"character": 8}],@@ -10075,15 +11515,15 @@"title": "Properties","kind": 1024,"children": [- 415,- 414+ 402,+ 401]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 284,+ "line": 310,"character": 16}]@@ -10091,7 +11531,7 @@}},{- "id": 411,+ "id": 398,"name": "phone","kind": 1024,"kindString": "Property",@@ -10102,7 +11542,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 283,+ "line": 309,"character": 6}],@@ -10117,15 +11557,15 @@"title": "Properties","kind": 1024,"children": [- 412,- 411+ 399,+ 398]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 281,+ "line": 307,"character": 4}]@@ -10135,7 +11575,7 @@}},{- "id": 373,+ "id": 360,"name": "SignUpWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -10143,7 +11583,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 219,+ "line": 237,"character": 12}],@@ -10153,14 +11593,14 @@{"type": "reflection","declaration": {- "id": 374,+ "id": 361,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 375,+ "id": 362,"name": "email","kind": 1024,"kindString": "Property",@@ -10171,7 +11611,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 222,+ "line": 240,"character": 6}],@@ -10181,7 +11621,7 @@}},{- "id": 377,+ "id": 364,"name": "options","kind": 1024,"kindString": "Property",@@ -10191,21 +11631,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 243,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 378,+ "id": 365,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 381,+ "id": 368,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -10218,7 +11658,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 231,+ "line": 253,"character": 8}],@@ -10228,7 +11668,7 @@}},{- "id": 380,+ "id": 367,"name": "data","kind": 1024,"kindString": "Property",@@ -10236,12 +11676,13 @@"isOptional": true},"comment": {- "shortText": "The user's metadata."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 229,+ "line": 251,"character": 8}],@@ -10251,7 +11692,7 @@}},{- "id": 379,+ "id": 366,"name": "emailRedirectTo","kind": 1024,"kindString": "Property",@@ -10264,7 +11705,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 227,+ "line": 245,"character": 8}],@@ -10279,16 +11720,16 @@"title": "Properties","kind": 1024,"children": [- 381,- 380,- 379+ 368,+ 367,+ 366]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 243,"character": 16}]@@ -10296,7 +11737,7 @@}},{- "id": 376,+ "id": 363,"name": "password","kind": 1024,"kindString": "Property",@@ -10307,7 +11748,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 224,+ "line": 242,"character": 6}],@@ -10322,16 +11763,16 @@"title": "Properties","kind": 1024,"children": [- 375,- 377,- 376+ 362,+ 364,+ 363]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 220,+ "line": 238,"character": 4}]@@ -10340,14 +11781,14 @@{"type": "reflection","declaration": {- "id": 382,+ "id": 369,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 385,+ "id": 372,"name": "options","kind": 1024,"kindString": "Property",@@ -10357,21 +11798,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 239,+ "line": 261,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 386,+ "id": 373,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 388,+ "id": 375,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -10384,7 +11825,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 243,+ "line": 269,"character": 8}],@@ -10394,7 +11835,7 @@}},{- "id": 387,+ "id": 374,"name": "data","kind": 1024,"kindString": "Property",@@ -10402,12 +11843,13 @@"isOptional": true},"comment": {- "shortText": "The user's metadata."+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"},"sources": [{"fileName": "src/lib/types.ts",- "line": 241,+ "line": 267,"character": 8}],@@ -10422,15 +11864,15 @@"title": "Properties","kind": 1024,"children": [- 388,- 387+ 375,+ 374]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 239,+ "line": 261,"character": 16}]@@ -10438,7 +11880,7 @@}},{- "id": 384,+ "id": 371,"name": "password","kind": 1024,"kindString": "Property",@@ -10449,7 +11891,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 238,+ "line": 260,"character": 6}],@@ -10459,7 +11901,7 @@}},{- "id": 383,+ "id": 370,"name": "phone","kind": 1024,"kindString": "Property",@@ -10470,7 +11912,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 236,+ "line": 258,"character": 6}],@@ -10485,16 +11927,16 @@"title": "Properties","kind": 1024,"children": [- 385,- 384,- 383+ 372,+ 371,+ 370]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 234,+ "line": 256,"character": 4}]@@ -10504,7 +11946,7 @@}},{- "id": 439,+ "id": 480,"name": "SupportedStorage","kind": 4194304,"kindString": "Type alias",@@ -10512,7 +11954,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 344,+ "line": 468,"character": 12}],@@ -10555,7 +11997,7 @@}},{- "id": 291,+ "id": 280,"name": "UserResponse","kind": 4194304,"kindString": "Type alias",@@ -10563,7 +12005,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 62,+ "line": 82,"character": 12}],@@ -10573,14 +12015,14 @@{"type": "reflection","declaration": {- "id": 292,+ "id": 281,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 293,+ "id": 282,"name": "data","kind": 1024,"kindString": "Property",@@ -10588,21 +12030,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 64,+ "line": 84,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 294,+ "id": 283,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 295,+ "id": 284,"name": "user","kind": 1024,"kindString": "Property",@@ -10610,13 +12052,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 65,+ "line": 85,"character": 8}],"type": {"type": "reference",- "id": 321,+ "id": 310,"name": "User"}}@@ -10626,14 +12068,14 @@"title": "Properties","kind": 1024,"children": [- 295+ 284]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 64,+ "line": 84,"character": 12}]@@ -10641,7 +12083,7 @@}},{- "id": 296,+ "id": 285,"name": "error","kind": 1024,"kindString": "Property",@@ -10649,7 +12091,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 67,+ "line": 87,"character": 6}],@@ -10664,15 +12106,15 @@"title": "Properties","kind": 1024,"children": [- 293,- 296+ 282,+ 285]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 63,+ "line": 83,"character": 4}]@@ -10681,14 +12123,14 @@{"type": "reflection","declaration": {- "id": 297,+ "id": 286,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 298,+ "id": 287,"name": "data","kind": 1024,"kindString": "Property",@@ -10696,21 +12138,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 70,+ "line": 90,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 299,+ "id": 288,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 300,+ "id": 289,"name": "user","kind": 1024,"kindString": "Property",@@ -10718,7 +12160,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 71,+ "line": 91,"character": 8}],@@ -10733,14 +12175,14 @@"title": "Properties","kind": 1024,"children": [- 300+ 289]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 70,+ "line": 90,"character": 12}]@@ -10748,7 +12190,7 @@}},{- "id": 301,+ "id": 290,"name": "error","kind": 1024,"kindString": "Property",@@ -10756,13 +12198,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 73,+ "line": 93,"character": 6}],"type": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -10772,15 +12214,15 @@"title": "Properties","kind": 1024,"children": [- 298,- 301+ 287,+ 290]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 69,+ "line": 89,"character": 4}]@@ -10790,7 +12232,7 @@}},{- "id": 427,+ "id": 414,"name": "VerifyOtpParams","kind": 4194304,"kindString": "Type alias",@@ -10798,7 +12240,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 305,+ "line": 331,"character": 12}],@@ -10807,19 +12249,19 @@"types": [{"type": "reference",- "id": 428,+ "id": 415,"name": "VerifyMobileOtpParams"},{"type": "reference",- "id": 432,+ "id": 423,"name": "VerifyEmailOtpParams"}]}},{- "id": 447,+ "id": 491,"name": "isAuthError","kind": 64,"kindString": "Function",@@ -10833,14 +12275,14 @@],"signatures": [{- "id": 448,+ "id": 492,"name": "isAuthError","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 449,+ "id": 493,"name": "error","kind": 32768,"kindString": "Parameter",@@ -10857,7 +12299,7 @@"asserts": false,"targetType": {"type": "reference",- "id": 450,+ "id": 494,"name": "AuthError"}}@@ -10870,57 +12312,68 @@"title": "Classes","kind": 128,"children": [- 455,- 450,- 502,- 515,- 490,- 468,- 475,+ 499,+ 494,+ 559,+ 546,+ 584,+ 534,+ 512,+ 519,1,- 81+ 66]},{"title": "Interfaces","kind": 256,"children": [- 355,- 302,- 365,- 321,- 349,+ 343,+ 455,+ 291,+ 352,310,- 432,- 428+ 338,+ 299,+ 423,+ 415]},{"title": "Type Aliases","kind": 4194304,"children": [- 264,- 265,- 440,- 437,- 438,- 436,- 278,- 263,- 416,- 389,- 402,- 373,+ 240,+ 254,+ 484,+ 432,+ 449,439,- 291,- 427+ 458,+ 472,+ 459,+ 479,+ 444,+ 433,+ 241,+ 481,+ 431,+ 267,+ 239,+ 403,+ 376,+ 389,+ 360,+ 480,+ 280,+ 414]},{"title": "Functions","kind": 64,"children": [- 447+ 491]}],diff --git a/spec/supabase_js_v2_legacy.yml b/spec/supabase_js_v2_legacy.ymlindex 27afe50bd59..0925a05d134 100644--- a/spec/supabase_js_v2_legacy.yml+++ b/spec/supabase_js_v2_legacy.yml@@ -85,14 +85,15 @@ pages:title: 'signUp()'$ref: '@supabase/gotrue-js.GoTrueClient.signUp'notes: |- - By default, the user will need to verify their email address before logging in. If you would like to change this, you can disable "Email Confirmations" by going to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)- - If "Email Confirmations" is turned on, a `user` is returned but `session` will be null- - If "Email Confirmations" is turned off, both a `user` and a `session` will be returned- - When the user confirms their email address, they will be redirected to localhost:3000 by default. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)+ - 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).+ - **Confirm email** determines if users need to confirm their email address after signing up.+ - If **Confirm email** is enabled, a `user` is returned but `session` is null.+ - If **Confirm email** is disabled, both a `user` and a `session` are returned.+ - When the user confirms their email address, they are redirected to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url) by default. You can modify your `SITE_URL` or add additional redirect URLs in [your project](https://app.supabase.com/project/_/auth/settings).- If signUp() is called for an existing confirmed user:- - If "Enable email confirmations" is enabled on the "Authentication" -> "Settings" page, an obfuscated / fake user object will be returned.- - If "Enable email confirmations" is disabled, an error with a message "User already registered" will be returned.- - To check if a user already exists, refer to getUser().+ - If **Confirm email** is enabled in [your project](https://app.supabase.com/project/_/auth/settings), an obfuscated/fake user object is returned.+ - 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/next/auth-getuser).examples:- name: Sign up.isSpotlight: true@@ -103,7 +104,7 @@ pages:password: 'example-password',})```- - name: Sign up with additional user meta data.+ - name: Sign up with additional user metadata.isSpotlight: falsejs: |```js@@ -126,10 +127,8 @@ pages:notes: |- Requires either an email and password or a phone number and password.examples:- - name: Sign in with Email.+ - name: Sign in with email and passwordisSpotlight: true- description: |- Sign in with email and password. After a user has verified their email, they can use the [`signInWithPassword()`](/docs/reference/javascript/auth-signin#sign-in-using-phone) method.js: |```jsconst { data, error } = await supabase.auth.signInWithPassword({@@ -137,10 +136,8 @@ pages:password: 'example-password',})```- - name: Sign in with Phone.+ - name: Sign in with phone and passwordisSpotlight: false- description: |- Supabase supports Phone Auth. After a user has verified their number, they can use the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-phone) method.js: |```jsconst { data, error } = await supabase.auth.signInWithPassword({@@ -148,8 +145,8 @@ pages:password: 'some-password',})- // After receiving an SMS with One Time Password.- let { data, error } = await supabase.auth.verifyOtp({+ // After receiving a SMS with a OTP.+ const { data, error } = await supabase.auth.verifyOtp({phone: '+13334445555',token: '123456',})@@ -158,24 +155,24 @@ pages:title: 'signInWithOtp()'$ref: '@supabase/gotrue-js.GoTrueClient.signInWithOtp'notes: |- - This method is used for passwordless sign-ins where an otp is sent to the user's email or phone number.- Requires either an email or phone number.- - If you're using an email, you can configure whether you want the user to receive a magiclink or an otp.- - If you're using phone, you can configure whether you want the user to receive a magiclink or an otp.- - The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)+ - This method is used for passwordless sign-ins where a OTP is sent to the user's email or phone number.+ - If you're using an email, you can configure whether you want the user to receive a magiclink or a OTP.+ - 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:- name: Sign in with email.isSpotlight: true- description: The user will be sent an otp to their email. By default, a given user can only request an otp once every 60 seconds.+ description: 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.js: |```jsconst { data, error } = await supabase.auth.signInWithOtp({email: '[email protected]',})```- - name: Sign in with sms otp.+ - name: Sign in with SMS OTP.isSpotlight: false- description: The user will be sent an otp to their phone number. By default, a given user can only request an otp once every 60 seconds.+ description: 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.js: |```jsconst { data, error } = await supabase.auth.signInWithPassword({@@ -189,7 +186,7 @@ pages:- This method is used for signing in using a third-party provider.- Supabase supports many different [third-party providers](https://supabase.com/docs/guides/auth#providers).examples:- - name: Sign in using a third-party provider.+ - name: Sign in using a third-party providerisSpotlight: truejs: |```js@@ -197,26 +194,25 @@ pages:provider: 'github'})```- - name: Sign in using a third-party provider with redirect.+ - name: Sign in using a third-party provider with redirectisSpotlight: falsedescription: |- The `redirectTo` param will only applied on the callback made from the third-party provider. It does not redirect the user immediately after invoking this method.- In order for the `redirectTo` param to be allowed, one needs to include it in an allowlist. Supabase supports this for- any URL path on your website (the URL must either be on the same domain as your Site URL [see Auth>Settings in dashboard], or must match one of the Additional Redirect URLs [also in Auth>Settings]).+ When the third-party provider successfully authenticates the user, the provider will redirect the user to the URL specified in the `redirectTo` parameter. This parameter defaults to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). It does not redirect the user immediately after invoking this method.+ You can modify the `SITE_URL` or add additional redirect urls in [your project](https://app.supabase.com/project/_/auth/settings).js: |```js- const { user, session, error } = await supabase.auth.signInWithOAuth({+ const { data, error } = await supabase.auth.signInWithOAuth({provider: 'github'options: {redirectTo: 'https://example.com/welcome'}}```- - name: Sign in with scopes.+ - name: Sign in with scopesisSpotlight: falsedescription: |If you need additional data from an OAuth provider, you can include a space-separated list of scopes in your request to get back an OAuth provider token.- You may also need to specify the scopes in the provider's OAuth app settings, depending on the provider.+ You may also need to specify the scopes in the provider's OAuth app settings, depending on the provider. The list of scopes will be documented by the third-party provider you are using and specifying scopes will enable you to use the OAuth provider token to call additional APIs supported by the third-party provider to get more information.js: |```jsconst { data, error } = await supabase.auth.signInWithOAuth({@@ -230,6 +226,8 @@ pages:auth.signOut():title: 'signOut()'$ref: '@supabase/gotrue-js.GoTrueClient.signOut'+ notes: |+ - In order to use the `signOut()` method, the user needs to be signed in first.examples:- name: Sign outisSpotlight: true@@ -240,6 +238,9 @@ pages:auth.verifyOtp():title: 'verifyOtp()'$ref: '@supabase/gotrue-js.GoTrueClient.verifyOtp'+ notes: |+ - The `verifyOtp` method takes in different verification types. If a phone number is used, the type can either be `sms` or `phone_change`. If an email address is used, the type can be one of the following: `signup`, `magiclink`, `recovery`, `invite` or `email_change`.+ - The verification type used should be determined based on the corresponding auth method called before `verifyOtp` to sign up / sign-in a user.examples:- name: Verify Sms One-Time Password (OTP)isSpotlight: true@@ -267,8 +268,8 @@ pages:title: 'getUser()'$ref: '@supabase/gotrue-js.GoTrueClient.getUser'notes: |- - This method gets the user object using the current session.- - Fetches the user object from the database instead of local storage.+ - This method gets the user object from the current session.+ - Fetches the user object from the database instead of local session.examples:- name: Get the logged in user with the current existing sessionisSpotlight: true@@ -286,49 +287,52 @@ pages:title: 'updateUser()'$ref: '@supabase/gotrue-js.GoTrueClient.updateUser'notes: |- User email: Email updates will send an email to both the user's current and new email with a confirmation link by default.- To toggle this behavior off and only send a single confirmation link to the new email, toggle "Double confirm email changes" under "Authentication" -> "Settings" off.--- User metadata: It's generally better to store user data in a table inside your public schema (i.e. `public.users`).- Use the `update()` method if you have data which rarely changes or is specific only to the logged in user.+ - In order to use the `updateUser()` method, the user needs to be signed in first.+ - Email updates will send an email to both the user's current and new email with a confirmation link by default.+ To only send a single confirmation link to the user's new email, you can toggle the "Secure email change" setting in [your project](https://app.supabase.com/project/_/auth/settings).examples:- - name: Update email for authenticated user.+ - name: Update the email of an authenticated userdescription: Sends a "Confirm Email Change" email to the new email address.isSpotlight: falsejs: |```jsconst { data, error } = await supabase.auth.updateUser({email: '[email protected]'})```- - name: Update password for authenticated user.+ - name: Update the password of an authenticated userisSpotlight: falsejs: |```jsconst { data, error } = await supabase.auth.updateUser({password: 'new password'})```- - name: Update a user's metadata.+ - name: Update the user's metadata.isSpotlight: truejs: |```js- const { user, error } = await supabase.auth.updateUser({+ const { data, error } = await supabase.auth.updateUser({data: { hello: 'world' }})```auth.setSession():title: 'setSession()'$ref: '@supabase/gotrue-js.GoTrueClient.setSession'+ notes: |+ - `setSession()` takes in a refresh token and uses it to get a new session.+ - The refresh token can only be used once to obtain a new session.+ - Refresh token rotation (see [`REFRESH_TOKEN_ROTATION_ENABLED`](https://supabase.com/docs/reference/auth/config#refresh_token_rotation_enabled)) is enabled by default on all projects to guard against replay attacks.+ - You can configure the [`REFRESH_TOKEN_REUSE_INTERVAL`](https://supabase.com/docs/reference/auth/config#refresh_token_reuse_interval) which provides a short window in which the same refresh token can be used multiple times in the event of concurrency or offline issues.examples:- - name: Basic example.+ - name: Refresh the sessiondescription: Sets the session data from refresh_token and returns current session or an error if the refresh_token is invalid.isSpotlight: truejs: |```jsconst { data, error } = supabase.auth.setSession(refresh_token)- }```auth.onAuthStateChange():title: 'onAuthStateChange()'$ref: '@supabase/gotrue-js.GoTrueClient.onAuthStateChange'+ notes: |+ - Types of auth events: `SIGNED_IN`, `SIGNED_OUT`, `TOKEN_REFRESHED`, `USER_UPDATED`, `USER_DELETED`, `PASSWORD_RECOVERY`examples:- name: Listen to auth changesisSpotlight: true@@ -380,43 +384,43 @@ pages:if (event == 'PASSWORD_RECOVERY') console.log('PASSWORD_RECOVERY', session)})```+ Supabase Auth Admin Api:+ title: 'Overview'+ notes: |+ - Any method under the `supabase.auth.admin` namespace requires a `service_role` key.+ - These methods are considered admin methods and should be called on a trusted server. Never expose your `service_role` key in the browser.+auth.admin.getUserById():title: 'getUserById()'$ref: '@supabase/gotrue-js.GoTrueAdminApi.getUserById'notes: |- - Fetches the user object from the database instead of local storage.- - Note that user() fetches the user object from local storage which might not be the most updated.- - Requires the user's access_token.+ - Fetches the user object from the database based on the user's id.+ - The `getUserById()` method requires the user's id which maps to the `auth.users.id` column.examples:- name: Fetch the user object using the access_token jwt.isSpotlight: truejs: |```js- const { user, error } = await supabase.auth.admin.getUserById(1)+ const { data, error } = await supabase.auth.admin.getUserById(1)```auth.admin.listUsers():title: 'listUsers()'$ref: '@supabase/gotrue-js.GoTrueAdminApi.listUsers'- notes: |- - Requires a `service_role` key.- - This function should be called on a server. Never expose your `service_role` key in the browser.examples:- name: Get a full list of users.isSpotlight: truejs: |```js- const { data: user, error } = await supabase.auth.admin.listUsers()+ const { data: { users }, error } = await supabase.auth.admin.listUsers()```auth.admin.createUser():title: 'createUser()'$ref: '@supabase/gotrue-js.GoTrueAdminApi.createUser'notes: |- - Requires a `service_role` key.- - This function should be called on a server. Never expose your `service_role` key in the browser.- - If you do not provide the `email_confirm` and `phone_confirm` options to this function, both will default to false.+ - To confirm the user's email address or phone number, set `email_confirm` or `phone_confirm` to true. Both arguments default to false.examples:- - name: Create a new user.+ - name: Create a new user with custom user metadataisSpotlight: truejs: |```js@@ -426,7 +430,7 @@ pages:user_metadata: { name: 'Yoda' }})```- - name: Auto-confirm email.+ - name: Auto-confirm the user's emailjs: |```jsconst { data, error } = await supabase.auth.admin.createUser({@@ -434,7 +438,7 @@ pages:email_confirm: true})```- - name: Auto-confirm phone.+ - name: Auto-confirm the user's phone numberjs: |```jsconst { data, error } = await supabase.auth.admin.createUser({@@ -446,10 +450,9 @@ pages:title: 'deleteUser()'$ref: '@supabase/gotrue-js.GoTrueAdminApi.deleteUser'notes: |- - Requires a `service_role` key.- - This function should be called on a server. Never expose your `service_role` key in the browser.+ - The `deleteUser()` method requires the user's ID, which maps to the `auth.users.id` column.examples:- - name: Remove a user completely.+ - name: Removes a userisSpotlight: truejs: |```js@@ -462,10 +465,9 @@ pages:title: 'inviteUserByEmail()'$ref: '@supabase/gotrue-js.GoTrueAdminApi.inviteUserByEmail'notes: |- - Requires a `service_role` key.- - This function should only be called on a server. Never expose your `service_role` key in the browser.+ - Sends an invite link to the user's email address.examples:- - name: Basic example.+ - name: Invite a userisSpotlight: truejs: |```js@@ -476,15 +478,15 @@ pages:title: 'resetPasswordForEmail()'$ref: '@supabase/gotrue-js.GoTrueClient.resetPasswordForEmail'notes: |- Sends a reset request to an email address.+ Sends a password reset request to an email address.- When the user clicks the reset link in the email they will be forwarded to the site url or the redirect url specified:+ When the user clicks the password reset link in the email, they are redirected to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url) by default. You can modify your `SITE_URL` or add additional redirect URLs in [your project](https://app.supabase.com/project/_/auth/settings).`<SITE_URL>#access_token=x&refresh_token=y&expires_in=z&token_type=bearer&type=recovery`Your app must detect `type=recovery` in the fragment and display a password reset form to the user.- You should then use the access_token in the url and new password to update the user as follows:+ You should then [update the user](/docs/reference/javascript/next/auth-updateuser) as follows:```jsconst { error, data } = await supabase.auth.updateUser({ password : new_password })@@ -502,9 +504,6 @@ pages:auth.admin.generateLink():title: 'generateLink()'$ref: '@supabase/gotrue-js.GoTrueAdminApi.generateLink'- notes: |- - Requires a `service_role` key.- - This function should only be called on a server. Never expose your `service_role` key in the browser.examples:- name: Generate a signup link.isSpotlight: true@@ -531,9 +530,6 @@ pages:auth.admin.updateUserById():title: 'updateUserById()'$ref: '@supabase/gotrue-js.GoTrueAdminApi.updateUserById'- notes: |- - Requires a `service_role` key.- - This function should only be called on a server. Never expose your `service_role` key in the browser.examples:- name: Updates a user's email.isSpotlight: false@@ -1088,7 +1084,7 @@ pages:notes: |- Removing a channel is a great way to maintain the performance of your project's Realtime service as well as your database if you're listening to Postgres changes. Supabase will automatically handle cleanup 30 seconds after a client is disconnected, but unused channels may cause degradation as more clients are simultaneously subscribed.examples:- - name: Remove a channel+ - name: Removes a channelisSpotlight: truejs: |```js@@ -1101,7 +1097,7 @@ pages:notes: |- Removing channels is a great way to maintain the performance of your project's Realtime service as well as your database if you're listening to Postgres changes. Supabase will automatically handle cleanup 30 seconds after a client is disconnected, but unused channels may cause degradation as more clients are simultaneously subscribed.examples:- - name: Removes all channels+ - name: Remove all channelsisSpotlight: truejs: |```js