The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update auth docs
Inian28bd73c021f4
diff --git a/apps/reference/_supabase_js/generated/auth-getsession.mdx b/apps/reference/_supabase_js/generated/auth-getsession.mdxindex 4e5654e02f9..5d8d38d679f 100644--- a/apps/reference/_supabase_js/generated/auth-getsession.mdx+++ b/apps/reference/_supabase_js/generated/auth-getsession.mdx@@ -9,6 +9,7 @@ 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.```jsconst session = supabase.auth.session()diff --git a/apps/reference/_supabase_js/generated/auth-getuser.mdx b/apps/reference/_supabase_js/generated/auth-getuser.mdxindex 1d5ad12b971..4f3cc0eb488 100644--- a/apps/reference/_supabase_js/generated/auth-getuser.mdx+++ b/apps/reference/_supabase_js/generated/auth-getuser.mdx@@ -8,12 +8,38 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_import Tabs from '@theme/Tabs'import TabItem from '@theme/TabItem'-Returns the user data, refreshing the session if necessary.+Gets the current user details if there is an existing session.```jsconst user = supabase.auth.user()```+## Parameters++<ul className="method-list-group">++<li className="method-list-item">+ <h4 className="method-list-item-label">+ <span className="method-list-item-label-name">+ jwt+ </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">++Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.++ </div>++</li>++</ul>+## NotesThis method gets the user object from memory.diff --git a/apps/reference/_supabase_js/generated/auth-onauthstatechange.mdx b/apps/reference/_supabase_js/generated/auth-onauthstatechange.mdxindex fc7fee5a3c4..f5af3c038ce 100644--- a/apps/reference/_supabase_js/generated/auth-onauthstatechange.mdx+++ b/apps/reference/_supabase_js/generated/auth-onauthstatechange.mdx@@ -34,7 +34,7 @@ supabase.auth.onAuthStateChange((event, session) => {</h4><div class="method-list-item-description">-No description provided.+A callback function to be invoked when an auth event happens.</div>diff --git a/apps/reference/_supabase_js/generated/auth-setsession.mdx b/apps/reference/_supabase_js/generated/auth-setsession.mdxindex 20c7e7fda7a..8620b77dac4 100644--- a/apps/reference/_supabase_js/generated/auth-setsession.mdx+++ b/apps/reference/_supabase_js/generated/auth-setsession.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'-Sets the session data from refresh_token and returns current Session and Error+Sets the session data from refresh_token and returns current session or an error if the refresh_token is invalid.```jsfunction apiFunction(req, res) {@@ -42,7 +42,7 @@ function apiFunction(req, res) {</h4><div class="method-list-item-description">-a JWT token+The refresh token returned by gotrue.</div>diff --git a/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx b/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdxindex 61e9a3e80e1..4b439d55e3c 100644--- a/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx+++ b/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx@@ -56,7 +56,7 @@ No description provided.</h4><div class="method-list-item-description">-No description provided.+One of the providers supported by GoTrue.</div>diff --git a/apps/reference/_supabase_js/generated/auth-signout.mdx b/apps/reference/_supabase_js/generated/auth-signout.mdxindex 9fd6a353104..f32bf014b8f 100644--- a/apps/reference/_supabase_js/generated/auth-signout.mdx+++ b/apps/reference/_supabase_js/generated/auth-signout.mdx@@ -11,7 +11,8 @@ import TabItem from '@theme/TabItem'Inside a browser context, `signOut()` will remove the logged in user from the browser sessionand 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 session JWT before it automatically expires+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.```jsconst { error } = await supabase.auth.signOut()diff --git a/apps/reference/_supabase_js/generated/auth-signup.mdx b/apps/reference/_supabase_js/generated/auth-signup.mdxindex 1b8f3c1843d..e548df2075e 100644--- a/apps/reference/_supabase_js/generated/auth-signup.mdx+++ b/apps/reference/_supabase_js/generated/auth-signup.mdx@@ -56,27 +56,7 @@ No description provided.</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">- oidc- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>OpenIDConnectCredentials</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.+The user's email address.</div>@@ -96,7 +76,7 @@ No description provided.</h4><div class="method-list-item-description">-No description provided.+The user's password.</div>@@ -116,7 +96,7 @@ No description provided.</h4><div class="method-list-item-description">-No description provided.+The user's phone number.</div>@@ -201,7 +181,7 @@ No description provided.</h4><div class="method-list-item-description">-No description provided.+Verification token received when the user completes the captcha on the site.</div>diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.jsonindex 99fffd13c14..f56184be7d7 100644--- a/spec/enrichments/tsdoc_v2/combined.json+++ b/spec/enrichments/tsdoc_v2/combined.json@@ -51599,14 +51599,14 @@"originalName": "","children": [{- "id": 675,+ "id": 447,"name": "AuthApiError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 676,+ "id": 448,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -51620,14 +51620,14 @@],"signatures": [{- "id": 677,+ "id": 449,"name": "new AuthApiError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 678,+ "id": 450,"name": "message","kind": 32768,"kindString": "Parameter",@@ -51638,7 +51638,7 @@}},{- "id": 679,+ "id": 451,"name": "status","kind": 32768,"kindString": "Parameter",@@ -51651,50 +51651,24 @@],"type": {"type": "reference",- "id": 675,+ "id": 447,"name": "AuthApiError"},"overwrites": {"type": "reference",- "id": 672,+ "id": 444,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 671,+ "id": 443,"name": "AuthError.constructor"}},{- "id": 687,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 674,- "name": "AuthError.__isAuthError"- }- },- {- "id": 680,+ "id": 452,"name": "status","kind": 1024,"kindString": "Property",@@ -51712,7 +51686,7 @@}},{- "id": 681,+ "id": 453,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -51726,7 +51700,7 @@],"signatures": [{- "id": 682,+ "id": 454,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -51734,14 +51708,14 @@"type": {"type": "reflection","declaration": {- "id": 683,+ "id": 455,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 685,+ "id": 457,"name": "message","kind": 1024,"kindString": "Property",@@ -51760,7 +51734,7 @@"defaultValue": "..."},{- "id": 684,+ "id": 456,"name": "name","kind": 1024,"kindString": "Property",@@ -51779,7 +51753,7 @@"defaultValue": "..."},{- "id": 686,+ "id": 458,"name": "status","kind": 1024,"kindString": "Property",@@ -51803,9 +51777,9 @@"title": "Properties","kind": 1024,"children": [- 685,- 684,- 686+ 457,+ 456,+ 458]}]@@ -51820,22 +51794,21 @@"title": "Constructors","kind": 512,"children": [- 676+ 448]},{"title": "Properties","kind": 1024,"children": [- 687,- 680+ 452]},{"title": "Methods","kind": 2048,"children": [- 681+ 453]}],@@ -51849,20 +51822,20 @@"extendedTypes": [{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}]},{- "id": 670,+ "id": 442,"name": "AuthError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 671,+ "id": 443,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -51876,14 +51849,14 @@],"signatures": [{- "id": 672,+ "id": 444,"name": "new AuthError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 673,+ "id": 445,"name": "message","kind": 32768,"kindString": "Parameter",@@ -51896,7 +51869,7 @@],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"},"overwrites": {@@ -51909,27 +51882,6 @@"type": "reference","name": "Error.constructor"}- },- {- "id": 674,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true"}],"groups": [@@ -51937,14 +51889,7 @@"title": "Constructors","kind": 512,"children": [- 671- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 674+ 443]}],@@ -51966,30 +51911,30 @@"extendedBy": [{"type": "reference",- "id": 675,+ "id": 447,"name": "AuthApiError"},{"type": "reference",- "id": 688,+ "id": 460,"name": "AuthUnknownError"},{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 722,+ "id": 494,"name": "AuthInvalidCredentialsError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 723,+ "id": 495,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -52003,14 +51948,14 @@],"signatures": [{- "id": 724,+ "id": 496,"name": "new AuthInvalidCredentialsError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 725,+ "id": 497,"name": "message","kind": 32768,"kindString": "Parameter",@@ -52023,50 +51968,24 @@],"type": {"type": "reference",- "id": 722,+ "id": 494,"name": "AuthInvalidCredentialsError"},"overwrites": {"type": "reference",- "id": 697,+ "id": 469,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 696,+ "id": 468,"name": "CustomAuthError.constructor"}},{- "id": 734,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 709,- "name": "CustomAuthError.__isAuthError"- }- },- {- "id": 726,+ "id": 498,"name": "name","kind": 1024,"kindString": "Property",@@ -52084,12 +52003,12 @@},"inheritedFrom": {"type": "reference",- "id": 701,+ "id": 473,"name": "CustomAuthError.name"}},{- "id": 727,+ "id": 499,"name": "status","kind": 1024,"kindString": "Property",@@ -52107,12 +52026,12 @@},"inheritedFrom": {"type": "reference",- "id": 702,+ "id": 474,"name": "CustomAuthError.status"}},{- "id": 728,+ "id": 500,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -52126,7 +52045,7 @@],"signatures": [{- "id": 729,+ "id": 501,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -52134,14 +52053,14 @@"type": {"type": "reflection","declaration": {- "id": 730,+ "id": 502,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 732,+ "id": 504,"name": "message","kind": 1024,"kindString": "Property",@@ -52160,7 +52079,7 @@"defaultValue": "..."},{- "id": 731,+ "id": 503,"name": "name","kind": 1024,"kindString": "Property",@@ -52179,7 +52098,7 @@"defaultValue": "..."},{- "id": 733,+ "id": 505,"name": "status","kind": 1024,"kindString": "Property",@@ -52203,9 +52122,9 @@"title": "Properties","kind": 1024,"children": [- 732,- 731,- 733+ 504,+ 503,+ 505]}]@@ -52213,14 +52132,14 @@},"inheritedFrom": {"type": "reference",- "id": 704,+ "id": 476,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 703,+ "id": 475,"name": "CustomAuthError.toJSON"}}@@ -52230,23 +52149,22 @@"title": "Constructors","kind": 512,"children": [- 723+ 495]},{"title": "Properties","kind": 1024,"children": [- 734,- 726,- 727+ 498,+ 499]},{"title": "Methods","kind": 2048,"children": [- 728+ 500]}],@@ -52260,20 +52178,20 @@"extendedTypes": [{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 735,+ "id": 507,"name": "AuthRetryableFetchError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 736,+ "id": 508,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -52287,14 +52205,14 @@],"signatures": [{- "id": 737,+ "id": 509,"name": "new AuthRetryableFetchError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 738,+ "id": 510,"name": "message","kind": 32768,"kindString": "Parameter",@@ -52305,7 +52223,7 @@}},{- "id": 739,+ "id": 511,"name": "status","kind": 32768,"kindString": "Parameter",@@ -52318,50 +52236,24 @@],"type": {"type": "reference",- "id": 735,+ "id": 507,"name": "AuthRetryableFetchError"},"overwrites": {"type": "reference",- "id": 697,+ "id": 469,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 696,+ "id": 468,"name": "CustomAuthError.constructor"}},{- "id": 748,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 709,- "name": "CustomAuthError.__isAuthError"- }- },- {- "id": 740,+ "id": 512,"name": "name","kind": 1024,"kindString": "Property",@@ -52379,12 +52271,12 @@},"inheritedFrom": {"type": "reference",- "id": 701,+ "id": 473,"name": "CustomAuthError.name"}},{- "id": 741,+ "id": 513,"name": "status","kind": 1024,"kindString": "Property",@@ -52402,12 +52294,12 @@},"inheritedFrom": {"type": "reference",- "id": 702,+ "id": 474,"name": "CustomAuthError.status"}},{- "id": 742,+ "id": 514,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -52421,7 +52313,7 @@],"signatures": [{- "id": 743,+ "id": 515,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -52429,14 +52321,14 @@"type": {"type": "reflection","declaration": {- "id": 744,+ "id": 516,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 746,+ "id": 518,"name": "message","kind": 1024,"kindString": "Property",@@ -52455,7 +52347,7 @@"defaultValue": "..."},{- "id": 745,+ "id": 517,"name": "name","kind": 1024,"kindString": "Property",@@ -52474,7 +52366,7 @@"defaultValue": "..."},{- "id": 747,+ "id": 519,"name": "status","kind": 1024,"kindString": "Property",@@ -52498,9 +52390,9 @@"title": "Properties","kind": 1024,"children": [- 746,- 745,- 747+ 518,+ 517,+ 519]}]@@ -52508,14 +52400,14 @@},"inheritedFrom": {"type": "reference",- "id": 704,+ "id": 476,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 703,+ "id": 475,"name": "CustomAuthError.toJSON"}}@@ -52525,23 +52417,22 @@"title": "Constructors","kind": 512,"children": [- 736+ 508]},{"title": "Properties","kind": 1024,"children": [- 748,- 740,- 741+ 512,+ 513]},{"title": "Methods","kind": 2048,"children": [- 742+ 514]}],@@ -52555,20 +52446,20 @@"extendedTypes": [{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 710,+ "id": 482,"name": "AuthSessionMissingError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 711,+ "id": 483,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -52582,57 +52473,31 @@],"signatures": [{- "id": 712,+ "id": 484,"name": "new AuthSessionMissingError","kind": 16384,"kindString": "Constructor signature","flags": {},"type": {"type": "reference",- "id": 710,+ "id": 482,"name": "AuthSessionMissingError"},"overwrites": {"type": "reference",- "id": 697,+ "id": 469,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 696,+ "id": 468,"name": "CustomAuthError.constructor"}},{- "id": 721,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 709,- "name": "CustomAuthError.__isAuthError"- }- },- {- "id": 713,+ "id": 485,"name": "name","kind": 1024,"kindString": "Property",@@ -52650,12 +52515,12 @@},"inheritedFrom": {"type": "reference",- "id": 701,+ "id": 473,"name": "CustomAuthError.name"}},{- "id": 714,+ "id": 486,"name": "status","kind": 1024,"kindString": "Property",@@ -52673,12 +52538,12 @@},"inheritedFrom": {"type": "reference",- "id": 702,+ "id": 474,"name": "CustomAuthError.status"}},{- "id": 715,+ "id": 487,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -52692,7 +52557,7 @@],"signatures": [{- "id": 716,+ "id": 488,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -52700,14 +52565,14 @@"type": {"type": "reflection","declaration": {- "id": 717,+ "id": 489,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 719,+ "id": 491,"name": "message","kind": 1024,"kindString": "Property",@@ -52726,7 +52591,7 @@"defaultValue": "..."},{- "id": 718,+ "id": 490,"name": "name","kind": 1024,"kindString": "Property",@@ -52745,7 +52610,7 @@"defaultValue": "..."},{- "id": 720,+ "id": 492,"name": "status","kind": 1024,"kindString": "Property",@@ -52769,9 +52634,9 @@"title": "Properties","kind": 1024,"children": [- 719,- 718,- 720+ 491,+ 490,+ 492]}]@@ -52779,14 +52644,14 @@},"inheritedFrom": {"type": "reference",- "id": 704,+ "id": 476,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 703,+ "id": 475,"name": "CustomAuthError.toJSON"}}@@ -52796,23 +52661,22 @@"title": "Constructors","kind": 512,"children": [- 711+ 483]},{"title": "Properties","kind": 1024,"children": [- 721,- 713,- 714+ 485,+ 486]},{"title": "Methods","kind": 2048,"children": [- 715+ 487]}],@@ -52826,20 +52690,20 @@"extendedTypes": [{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 688,+ "id": 460,"name": "AuthUnknownError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 689,+ "id": 461,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -52853,14 +52717,14 @@],"signatures": [{- "id": 690,+ "id": 462,"name": "new AuthUnknownError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 691,+ "id": 463,"name": "message","kind": 32768,"kindString": "Parameter",@@ -52871,7 +52735,7 @@}},{- "id": 692,+ "id": 464,"name": "originalError","kind": 32768,"kindString": "Parameter",@@ -52884,50 +52748,24 @@],"type": {"type": "reference",- "id": 688,+ "id": 460,"name": "AuthUnknownError"},"overwrites": {"type": "reference",- "id": 672,+ "id": 444,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 671,+ "id": 443,"name": "AuthError.constructor"}},{- "id": 694,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 674,- "name": "AuthError.__isAuthError"- }- },- {- "id": 693,+ "id": 465,"name": "originalError","kind": 1024,"kindString": "Property",@@ -52950,15 +52788,14 @@"title": "Constructors","kind": 512,"children": [- 689+ 461]},{"title": "Properties","kind": 1024,"children": [- 694,- 693+ 465]}],@@ -52972,20 +52809,20 @@"extendedTypes": [{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}]},{- "id": 695,+ "id": 467,"name": "CustomAuthError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 696,+ "id": 468,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -52999,14 +52836,14 @@],"signatures": [{- "id": 697,+ "id": 469,"name": "new CustomAuthError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 698,+ "id": 470,"name": "message","kind": 32768,"kindString": "Parameter",@@ -53017,7 +52854,7 @@}},{- "id": 699,+ "id": 471,"name": "name","kind": 32768,"kindString": "Parameter",@@ -53028,7 +52865,7 @@}},{- "id": 700,+ "id": 472,"name": "status","kind": 32768,"kindString": "Parameter",@@ -53041,50 +52878,24 @@],"type": {"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"},"overwrites": {"type": "reference",- "id": 672,+ "id": 444,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 671,+ "id": 443,"name": "AuthError.constructor"}},{- "id": 709,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 674,- "name": "AuthError.__isAuthError"- }- },- {- "id": 701,+ "id": 473,"name": "name","kind": 1024,"kindString": "Property",@@ -53106,7 +52917,7 @@}},{- "id": 702,+ "id": 474,"name": "status","kind": 1024,"kindString": "Property",@@ -53124,7 +52935,7 @@}},{- "id": 703,+ "id": 475,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -53138,7 +52949,7 @@],"signatures": [{- "id": 704,+ "id": 476,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -53146,14 +52957,14 @@"type": {"type": "reflection","declaration": {- "id": 705,+ "id": 477,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 707,+ "id": 479,"name": "message","kind": 1024,"kindString": "Property",@@ -53172,7 +52983,7 @@"defaultValue": "..."},{- "id": 706,+ "id": 478,"name": "name","kind": 1024,"kindString": "Property",@@ -53191,7 +53002,7 @@"defaultValue": "..."},{- "id": 708,+ "id": 480,"name": "status","kind": 1024,"kindString": "Property",@@ -53215,9 +53026,9 @@"title": "Properties","kind": 1024,"children": [- 707,- 706,- 708+ 479,+ 478,+ 480]}]@@ -53232,23 +53043,22 @@"title": "Constructors","kind": 512,"children": [- 696+ 468]},{"title": "Properties","kind": 1024,"children": [- 709,- 701,- 702+ 473,+ 474]},{"title": "Methods","kind": 2048,"children": [- 703+ 475]}],@@ -53262,31 +53072,31 @@"extendedTypes": [{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}],"extendedBy": [{"type": "reference",- "id": 710,+ "id": 482,"name": "AuthSessionMissingError"},{"type": "reference",- "id": 722,+ "id": 494,"name": "AuthInvalidCredentialsError"},{"type": "reference",- "id": 735,+ "id": 507,"name": "AuthRetryableFetchError"}]},{"id": 1,- "name": "GoTrueApi",+ "name": "GoTrueAdminApi","kind": 128,"kindString": "Class","flags": {},@@ -53299,15 +53109,15 @@"flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 21,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 13,"character": 2}],"signatures": [{"id": 3,- "name": "new GoTrueApi",+ "name": "new GoTrueAdminApi","kind": 16384,"kindString": "Constructor signature","flags": {},@@ -53337,8 +53147,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 30,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 22,"character": 4}],@@ -53427,8 +53237,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 27,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 19,"character": 4}],@@ -53474,8 +53284,8 @@"flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 26,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 18,"character": 4}],@@ -53509,265 +53319,48 @@]},{- "id": 21,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },+ "id": 56,+ "name": "createUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 19,- "character": 12+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 128,+ "character": 8}],- "type": {- "type": "reflection",- "declaration": {- "id": 22,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "signatures": [+ {+ "id": 57,+ "name": "createUser",+ "kind": 4096,+ "kindString": "Call signature","flags": {},- "signatures": [+ "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": 23,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",+ "id": 58,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter","flags": {},- "parameters": [- {- "id": 24,- "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": 25,- "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": 17,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 16,- "character": 12- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 18,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 19,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 20,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 16,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 15,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 26,- "name": "_createRequestHeaders",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 42,- "character": 10- }- ],- "signatures": [- {- "id": 27,- "name": "_createRequestHeaders",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods"- },- "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": "reflection",- "declaration": {- "id": 29,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- }- ]- },- {- "id": 230,- "name": "createUser",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 669,- "character": 8- }- ],- "signatures": [- {- "id": 231,- "name": "createUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Creates a new user.",- "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"- },- "parameters": [- {- "id": 232,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The data you want to create the user with.\n"- },"type": {"type": "reference",- "id": 582,+ "id": 360,"name": "AdminUserAttributes","dereferenced": {- "id": 582,+ "id": 360,"name": "AdminUserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 584,+ "id": 362,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -53781,7 +53374,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 165,+ "line": 187,"character": 2}],@@ -53791,7 +53384,7 @@}},{- "id": 591,+ "id": 369,"name": "data","kind": 1024,"kindString": "Property",@@ -53804,7 +53397,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 140,+ "line": 162,"character": 2}],@@ -53814,12 +53407,12 @@},"inheritedFrom": {"type": "reference",- "id": 581,+ "id": 359,"name": "UserAttributes.data"}},{- "id": 587,+ "id": 365,"name": "email","kind": 1024,"kindString": "Property",@@ -53832,7 +53425,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 142,"character": 2}],@@ -53842,12 +53435,12 @@},"inheritedFrom": {"type": "reference",- "id": 577,+ "id": 355,"name": "UserAttributes.email"}},{- "id": 590,+ "id": 368,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -53860,7 +53453,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 135,+ "line": 157,"character": 2}],@@ -53870,12 +53463,12 @@},"inheritedFrom": {"type": "reference",- "id": 580,+ "id": 358,"name": "UserAttributes.email_change_token"}},{- "id": 585,+ "id": 363,"name": "email_confirm","kind": 1024,"kindString": "Property",@@ -53889,7 +53482,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 172,+ "line": 194,"character": 2}],@@ -53899,7 +53492,7 @@}},{- "id": 589,+ "id": 367,"name": "password","kind": 1024,"kindString": "Property",@@ -53912,7 +53505,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 130,+ "line": 152,"character": 2}],@@ -53922,12 +53515,12 @@},"inheritedFrom": {"type": "reference",- "id": 579,+ "id": 357,"name": "UserAttributes.password"}},{- "id": 588,+ "id": 366,"name": "phone","kind": 1024,"kindString": "Property",@@ -53940,7 +53533,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 125,+ "line": 147,"character": 2}],@@ -53950,12 +53543,12 @@},"inheritedFrom": {"type": "reference",- "id": 578,+ "id": 356,"name": "UserAttributes.phone"}},{- "id": 586,+ "id": 364,"name": "phone_confirm","kind": 1024,"kindString": "Property",@@ -53969,7 +53562,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 179,+ "line": 201,"character": 2}],@@ -53979,7 +53572,7 @@}},{- "id": 583,+ "id": 361,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -53993,7 +53586,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 155,+ "line": 177,"character": 2}],@@ -54008,29 +53601,29 @@"title": "Properties","kind": 1024,"children": [- 584,- 591,- 587,- 590,- 585,- 589,- 588,- 586,- 583+ 362,+ 369,+ 365,+ 368,+ 363,+ 367,+ 366,+ 364,+ 361]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 143,+ "line": 165,"character": 17}],"extendedTypes": [{"type": "reference",- "id": 576,+ "id": 354,"name": "UserAttributes"}]@@ -54042,166 +53635,9 @@"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 233,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 235,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 18- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 236,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 30- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 234,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 235,- 236,- 234- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 237,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 239,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 60- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 240,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 72- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 238,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 48- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 239,- 240,- 238- ]- }- ]- }- }- ]+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -54212,38 +53648,37 @@]},{- "id": 268,+ "id": 78,"name": "deleteUser","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 771,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 218,"character": 8}],"signatures": [{- "id": 269,+ "id": 79,"name": "deleteUser","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Delete a user. Requires a `service_role` key.",- "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ "shortText": "Delete a user. Requires a `service_role` key."},"parameters": [{- "id": 270,+ "id": 80,"name": "uid","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "The user uid you want to remove.\n"+ "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"},"type": {"type": "intrinsic",@@ -54255,127 +53690,9 @@"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 271,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 273,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 774,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 272,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 773,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 273,- 272- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 274,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 276,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 776,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 275,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 776,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 276,- 275- ]- }- ]- }- }- ]+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -54386,21 +53703,21 @@]},{- "id": 212,+ "id": 38,"name": "generateLink","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 618,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 85,"character": 8}],"signatures": [{- "id": 213,+ "id": 39,"name": "generateLink","kind": 4096,"kindString": "Call signature",@@ -54410,67 +53727,94 @@},"parameters": [{- "id": 214,+ "id": 40,"name": "type","kind": 32768,"kindString": "Parameter","flags": {},- "comment": {- "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."- },- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"- },- {- "type": "literal",- "value": "recovery"- }- ]- }- },- {- "id": 215,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's email."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 216,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},"type": {- "type": "reflection",- "declaration": {- "id": 217,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "type": "reference",+ "id": 430,+ "name": "GenerateLinkTypes",+ "dereferenced": {+ "id": 430,+ "name": "GenerateLinkTypes",+ "kind": 4194304,+ "kindString": "Type alias","flags": {},- "children": [- {- "id": 219,+ "comment": {+ "shortText": "The link type"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 301,+ "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": 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",@@ -54482,8 +53826,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 623,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 90,"character": 6}],@@ -54493,7 +53837,7 @@}},{- "id": 218,+ "id": 44,"name": "password","kind": 1024,"kindString": "Property",@@ -54505,8 +53849,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 622,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 89,"character": 6}],@@ -54516,7 +53860,7 @@}},{- "id": 220,+ "id": 46,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -54524,12 +53868,12 @@"isOptional": true},"comment": {- "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\").\n"+ "shortText": "The redirect url which should be appended to the generated link\n"},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 624,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 91,"character": 6}],@@ -54544,9 +53888,9 @@"title": "Properties","kind": 1024,"children": [- 219,- 218,- 220+ 45,+ 44,+ 46]}]@@ -54564,41 +53908,41 @@{"type": "reflection","declaration": {- "id": 221,+ "id": 47,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 222,+ "id": 48,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 628,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 95,"character": 8}],"type": {"type": "reference",- "id": 548,+ "id": 326,"name": "User"}},{- "id": 223,+ "id": 49,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 629,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 96,"character": 8}],@@ -54613,8 +53957,8 @@"title": "Properties","kind": 1024,"children": [- 222,- 223+ 48,+ 49]}]@@ -54623,41 +53967,41 @@{"type": "reflection","declaration": {- "id": 224,+ "id": 50,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 225,+ "id": 51,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 632,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 99,"character": 8}],"type": {"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}},{- "id": 226,+ "id": 52,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 633,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 100,"character": 8}],@@ -54672,8 +54016,8 @@"title": "Properties","kind": 1024,"children": [- 225,- 226+ 51,+ 52]}]@@ -54682,22 +54026,22 @@{"type": "reflection","declaration": {- "id": 227,+ "id": 53,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 228,+ "id": 54,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 635,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 102,"character": 8}],@@ -54707,21 +54051,21 @@}},{- "id": 229,+ "id": 55,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 635,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 102,"character": 20}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -54731,8 +54075,8 @@"title": "Properties","kind": 1024,"children": [- 228,- 229+ 54,+ 55]}]@@ -54749,129 +54093,100 @@]},{- "id": 30,- "name": "getUrlForProvider",+ "id": 71,+ "name": "getUserById","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 54,- "character": 2+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 173,+ "character": 8}],"signatures": [{- "id": 31,- "name": "getUrlForProvider",+ "id": 72,+ "name": "getUserById","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Generates the relevant login URL for a third-party provider."+ "shortText": "Get user by id."},"parameters": [{- "id": 32,- "name": "provider",+ "id": 73,+ "name": "uid","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "One of the providers supported by GoTrue."+ "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": 501,- "name": "Provider",- "dereferenced": {- "id": 501,- "name": "Provider",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 3,- "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": 296,+ "name": "UserResponse"}- },+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "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."+ },+ "parameters": [{"id": 33,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "comment": {+ "shortText": "The email address of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 34,"name": "options","kind": 32768,"kindString": "Parameter",@@ -54879,7 +54194,7 @@"type": {"type": "reflection","declaration": {- "id": 34,+ "id": 35,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -54887,90 +54202,41 @@"children": [{"id": 37,- "name": "queryParams",+ "name": "data","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "Optional user metadata\n"+ },"sources": [{- "fileName": "src/GoTrueApi.ts",+ "fileName": "src/GoTrueAdminApi.ts","line": 59,"character": 6}],- "type": {- "type": "reflection",- "declaration": {- "id": 38,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 39,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 40,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 35,- "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/GoTrueApi.ts",- "line": 57,- "character": 6- }- ],"type": {"type": "intrinsic",- "name": "string"+ "name": "object"}},{"id": 36,- "name": "scopes",+ "name": "redirectTo","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A space-separated list of scopes granted to the OAuth application.\n"+ "shortText": "A URL or mobile address to send the user to after they are confirmed."},"sources": [{- "fileName": "src/GoTrueApi.ts",+ "fileName": "src/GoTrueAdminApi.ts","line": 58,"character": 6}@@ -54987,62 +54253,55 @@"kind": 1024,"children": [37,- 35,36]}]}- }+ },+ "defaultValue": "{}"}],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 296,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}}]},{- "id": 277,- "name": "getUser",+ "id": 59,+ "name": "listUsers","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 806,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 149,"character": 8}],"signatures": [{- "id": 278,- "name": "getUser",+ "id": 60,+ "name": "listUsers","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Gets the current user details.",- "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n"+ "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"},- "parameters": [- {- "id": 279,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],"type": {"type": "reference","typeArguments": [@@ -55052,47 +54311,85 @@{"type": "reflection","declaration": {- "id": 280,+ "id": 61,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 282,- "name": "error",+ "id": 62,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 809,- "character": 8+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 6}],"type": {- "type": "literal",- "value": null+ "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": 326,+ "name": "User"+ }+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 64+ ]+ }+ ]+ }}},{- "id": 281,- "name": "user",+ "id": 65,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 808,- "character": 8+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 31}],"type": {- "type": "reference",- "id": 548,- "name": "User"+ "type": "literal",+ "value": null}}],@@ -55101,8 +54398,8 @@"title": "Properties","kind": 1024,"children": [- 282,- 281+ 62,+ 65]}]@@ -55111,47 +54408,81 @@{"type": "reflection","declaration": {- "id": 283,+ "id": 66,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 285,- "name": "error",+ "id": 67,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 811,- "character": 20+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 49}],"type": {- "type": "reference",- "id": 670,- "name": "AuthError"+ "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": 284,- "name": "user",+ "id": 70,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 811,- "character": 8+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 70}],"type": {- "type": "literal",- "value": null+ "type": "reference",+ "id": 442,+ "name": "AuthError"}}],@@ -55160,8 +54491,8 @@"title": "Properties","kind": 1024,"children": [- 285,- 284+ 67,+ 70]}]@@ -55178,37 +54509,37 @@]},{- "id": 249,- "name": "getUserById",+ "id": 26,+ "name": "signOut","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 715,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 33,"character": 8}],"signatures": [{- "id": 250,- "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": 251,- "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",@@ -55220,127 +54551,53 @@"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 252,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "type": "reflection",+ "declaration": {+ "id": 29,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 30,+ "name": "error",+ "kind": 1024,+ "kindString": "Property","flags": {},- "children": [+ "sources": [{- "id": 254,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 27- }- ],- "type": {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 33,+ "character": 40+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {"type": "literal","value": null- }- },- {- "id": 253,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 15- }- ],- "type": {+ },+ {"type": "reference",- "id": 548,- "name": "User"+ "id": 442,+ "name": "AuthError"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 254,- 253- ]- }- ]+ ]+ }}- },- {- "type": "reflection",- "declaration": {- "id": 255,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,"children": [- {- "id": 257,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 57- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 256,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 45- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 257,- 256- ]- }+ 30]}- }- ]+ ]+ }}],"qualifiedName": "Promise",@@ -55351,60 +54608,86 @@]},{- "id": 176,- "name": "inviteUserByEmail",+ "id": 74,+ "name": "updateUserById","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 505,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 195,"character": 8}],"signatures": [{- "id": 177,- "name": "inviteUserByEmail",+ "id": 75,+ "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": 178,- "name": "email",+ "id": 76,+ "name": "uid","kind": 32768,"kindString": "Parameter","flags": {},- "comment": {- "shortText": "The email address of the user."- },"type": {"type": "intrinsic","name": "string"}},{- "id": 179,- "name": "options",+ "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": "reflection",- "declaration": {- "id": 180,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "type": "reference",+ "id": 360,+ "name": "AdminUserAttributes",+ "dereferenced": {+ "id": 360,+ "name": "AdminUserAttributes",+ "kind": 256,+ "kindString": "Interface","flags": {},"children": [{- "id": 182,+ "id": 362,+ "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": 369,"name": "data","kind": 1024,"kindString": "Property",@@ -55412,184 +54695,252 @@"isOptional": true},"comment": {- "shortText": "Optional user metadata\n"+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 509,- "character": 6+ "fileName": "src/lib/types.ts",+ "line": 162,+ "character": 2}],"type": {"type": "intrinsic","name": "object"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 359,+ "name": "UserAttributes.data"}},{- "id": 181,- "name": "redirectTo",+ "id": 365,+ "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/GoTrueApi.ts",- "line": 508,- "character": 6+ "fileName": "src/lib/types.ts",+ "line": 142,+ "character": 2}],"type": {"type": "intrinsic","name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 355,+ "name": "UserAttributes.email"}- }- ],- "groups": [+ },{- "title": "Properties",+ "id": 368,+ "name": "email_change_token","kind": 1024,- "children": [- 182,- 181- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 183,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "An email change token."+ },+ "sources": [{- "id": 185,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 514,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },+ "fileName": "src/lib/types.ts",+ "line": 157,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 358,+ "name": "UserAttributes.email_change_token"+ }+ },+ {+ "id": 363,+ "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": 184,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 513,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }+ "fileName": "src/lib/types.ts",+ "line": 194,+ "character": 2}],- "groups": [+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 367,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 185,- 184- ]+ "fileName": "src/lib/types.ts",+ "line": 152,+ "character": 2}- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 186,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 357,+ "name": "UserAttributes.password"+ }+ },+ {+ "id": 366,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's phone."+ },+ "sources": [{- "id": 188,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 516,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },+ "fileName": "src/lib/types.ts",+ "line": 147,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 356,+ "name": "UserAttributes.phone"+ }+ },+ {+ "id": 364,+ "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": [{- "id": 187,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 516,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }+ "fileName": "src/lib/types.ts",+ "line": 201,+ "character": 2}],- "groups": [+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 361,+ "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": [{- "title": "Properties",- "kind": 1024,- "children": [- 188,- 187- ]+ "fileName": "src/lib/types.ts",+ "line": 177,+ "character": 2}+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 362,+ 369,+ 365,+ 368,+ 363,+ 367,+ 366,+ 364,+ 361]}- }- ]+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 165,+ "character": 17+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 354,+ "name": "UserAttributes"+ }+ ]+ }+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -55598,7422 +54949,495 @@}}]+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 2+ ]},{- "id": 241,- "name": "listUsers",+ "title": "Methods","kind": 2048,- "kindString": "Method",+ "children": [+ 56,+ 78,+ 38,+ 71,+ 31,+ 59,+ 26,+ 74+ ]+ }+ ],+ "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","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 8+ "fileName": "src/GoTrueClient.ts",+ "line": 104,+ "character": 2}],"signatures": [{- "id": 242,- "name": "listUsers",- "kind": 4096,- "kindString": "Call signature",+ "id": 83,+ "name": "new GoTrueClient",+ "kind": 16384,+ "kindString": "Constructor 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"+ "shortText": "Create a new client for use in the browser."},- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 243,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ "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": [{- "id": 245,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 46- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 244,- "name": "users",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 31- }- ],- "type": {- "type": "array",- "elementType": {- "type": "reference",- "id": 548,- "name": "User"- }- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 245,- 244- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 246,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 248,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 77- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 247,- "name": "users",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 64- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 248,- 247- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 203,- "name": "refreshAccessToken",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 584,- "character": 8- }- ],- "signatures": [- {- "id": 204,- "name": "refreshAccessToken",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Generates a new JWT."- },- "parameters": [- {- "id": 205,- "name": "refreshToken",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid refresh token that was returned on login.\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 206,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 208,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 587,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 207,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 586,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 208,- 207- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 209,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 211,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 589,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 210,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 589,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 211,- 210- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 189,- "name": "resetPasswordForEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 545,- "character": 8- }- ],- "signatures": [- {- "id": 190,- "name": "resetPasswordForEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a reset request to an email address."- },- "parameters": [- {- "id": 191,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 192,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 193,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 195,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 549,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 194,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 548,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 195,- 194- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 196,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 197,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 553,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 198,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },- {- "id": 199,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 554,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 197,- 199- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 200,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 201,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 556,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 202,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 556,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 201,- 202- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 111,- "name": "sendMagicLinkEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 307,- "character": 8- }- ],- "signatures": [- {- "id": 112,- "name": "sendMagicLinkEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a magic login link to an email address."- },- "parameters": [- {- "id": 113,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 114,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 115,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 118,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 312,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 117,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 311,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 116,- "name": "shouldCreateUser",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true."- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 310,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 118,- 117,- 116- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 119,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 120,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 316,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 121,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },- {- "id": 122,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 317,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 120,- 122- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 123,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 124,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 319,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 125,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 319,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 124,- 125- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 126,- "name": "sendMobileOTP",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 354,- "character": 8- }- ],- "signatures": [- {- "id": 127,- "name": "sendMobileOTP",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"- },- "parameters": [- {- "id": 128,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's phone number WITH international prefix"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 129,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 130,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 132,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 358,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 131,- "name": "shouldCreateUser",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 357,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 132,- 131- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 133,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 134,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 362,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 135,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },- {- "id": 136,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 363,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 134,- 136- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 137,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 138,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 365,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 139,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 365,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 138,- 139- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 59,- "name": "signInWithEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 140,- "character": 8- }- ],- "signatures": [- {- "id": 60,- "name": "signInWithEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Logs in an existing user using their email address."- },- "parameters": [- {- "id": 61,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 62,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 63,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 64,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 65,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 144,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 65- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "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/GoTrueApi.ts",- "line": 148,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 68,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 149,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 67,- 68- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 69,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 70,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 151,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 71,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 151,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 70,- 71- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 102,- "name": "signInWithOpenIDConnect",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 267,- "character": 8- }- ],- "signatures": [- {- "id": 103,- "name": "signInWithOpenIDConnect",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Logs in an OpenID Connect user using their id_token."- },- "parameters": [- {- "id": 104,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials",- "dereferenced": {- "id": 653,- "name": "OpenIDConnectCredentials",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 657,- "name": "client_id",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 265,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 654,- "name": "id_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 262,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 658,- "name": "issuer",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 266,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 655,- "name": "nonce",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 263,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 656,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 264,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 501,- "name": "Provider"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 657,- 654,- 658,- 655,- 656- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 261,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 105,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 107,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 276,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 106,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 275,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 107,- 106- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 108,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 110,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 278,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 109,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 278,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 110,- 109- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 89,- "name": "signInWithPhone",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 227,- "character": 8- }- ],- "signatures": [- {- "id": 90,- "name": "signInWithPhone",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Logs in an existing user using their phone number and password."- },- "parameters": [- {- "id": 91,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The phone number of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 92,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 93,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 94,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 95,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on your site.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 231,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 95- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 96,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 98,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 236,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 97,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 235,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 98,- 97- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 99,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 101,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 238,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 100,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 238,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 101,- 100- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 140,- "name": "signOut",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 394,- "character": 8- }- ],- "signatures": [- {- "id": 141,- "name": "signOut",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Removes a logged-in session."- },- "parameters": [- {- "id": 142,- "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": 143,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 144,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 394,- "character": 40- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 670,- "name": "AuthError"- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 144- ]- }- ]- }- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 41,- "name": "signUpWithEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 86,- "character": 8- }- ],- "signatures": [- {- "id": 42,- "name": "signUpWithEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Creates a new user using their email address.",- "returns": "A logged-in session if the server has \"autoconfirm\" ON"- },- "parameters": [- {- "id": 43,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 44,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 45,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 46,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 49,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 92,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 48,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional user metadata.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 91,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 47,- "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/GoTrueApi.ts",- "line": 90,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 49,- 48,- 47- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "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/GoTrueApi.ts",- "line": 96,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 52,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 97,- "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/GoTrueApi.ts",- "line": 100,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 55,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 101,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 54,- 55- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 56,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 57,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 103,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 58,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 103,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 57,- 58- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 72,- "name": "signUpWithPhone",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 178,- "character": 8- }- ],- "signatures": [- {- "id": 73,- "name": "signUpWithPhone",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Signs up a new user using their phone number and a password."- },- "parameters": [- {- "id": 74,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The phone number of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 75,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 76,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 77,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 79,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 183,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 78,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional user metadata.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 182,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 79,- 78- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 80,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 81,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 187,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 82,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 188,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 81,- 82- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 83,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 84,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 191,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 85,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 192,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 84,- 85- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 86,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 87,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 194,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 88,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 194,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 87,- 88- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 286,- "name": "updateUser",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 832,- "character": 8- }- ],- "signatures": [- {- "id": 287,- "name": "updateUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates the user data."- },- "parameters": [- {- "id": 288,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid, logged-in JWT."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 289,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The data you want to update.\n"- },- "type": {- "type": "reference",- "id": 576,- "name": "UserAttributes",- "dereferenced": {- "id": 576,- "name": "UserAttributes",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 581,- "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": 140,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 577,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 120,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 580,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 135,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 579,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 130,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 578,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 125,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 581,- 577,- 580,- 579,- 578- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 116,- "character": 17- }- ],- "extendedBy": [- {- "type": "reference",- "id": 582,- "name": "AdminUserAttributes"- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 290,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 292,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 838,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 291,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 837,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 292,- 291- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 293,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 295,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 840,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 294,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 840,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 295,- 294- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 258,- "name": "updateUserById",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 739,- "character": 8- }- ],- "signatures": [- {- "id": 259,- "name": "updateUserById",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates the user data."- },- "parameters": [- {- "id": 260,- "name": "uid",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 261,- "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": 582,- "name": "AdminUserAttributes",- "dereferenced": {- "id": 582,- "name": "AdminUserAttributes",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 584,- "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": 165,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 591,- "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": 140,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- },- "inheritedFrom": {- "type": "reference",- "id": 581,- "name": "UserAttributes.data"- }- },- {- "id": 587,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 120,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 577,- "name": "UserAttributes.email"- }- },- {- "id": 590,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 135,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 580,- "name": "UserAttributes.email_change_token"- }- },- {- "id": 585,- "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": 172,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 589,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 130,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 579,- "name": "UserAttributes.password"- }- },- {- "id": 588,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 125,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 578,- "name": "UserAttributes.phone"- }- },- {- "id": 586,- "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": [- {- "fileName": "src/lib/types.ts",- "line": 179,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 583,- "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": 155,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 584,- 591,- 587,- 590,- 585,- 589,- 588,- 586,- 583- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 143,- "character": 17- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 576,- "name": "UserAttributes"- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 262,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 264,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 745,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 263,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 744,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 264,- 263- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 265,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 267,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 747,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 266,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 747,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 267,- 266- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 145,- "name": "verifyMobileOTP",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 418,- "character": 8- }- ],- "signatures": [- {- "id": 146,- "name": "verifyMobileOTP",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "tags": [- {- "tag": "deprecated",- "text": "Use `verifyOTP` instead!"- }- ]- },- "parameters": [- {- "id": 147,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's phone number WITH international prefix"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 148,- "name": "token",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "token that user was sent to their mobile phone"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 149,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 150,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 151,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 422,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 151- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 152,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 153,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 426,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 154,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 427,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 153,- 154- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 155,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 156,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 430,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 157,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 431,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 156,- 157- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 158,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 159,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 433,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 160,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 433,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 159,- 160- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 161,- "name": "verifyOTP",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 463,- "character": 8- }- ],- "signatures": [- {- "id": 162,- "name": "verifyOTP",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Send User supplied Email / Mobile OTP to be verified"- },- "parameters": [- {- "id": 163,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 640,- "name": "VerifyOTPParams",- "dereferenced": {- "id": 640,- "name": "VerifyOTPParams",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 245,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 641,- "name": "VerifyMobileOTPParams"- },- {- "type": "reference",- "id": 646,- "name": "VerifyEmailOTPParams"- }- ]- }- }- }- },- {- "id": 164,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 165,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 166,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 466,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 166- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 167,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 168,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 470,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 169,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 471,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 168,- 169- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 170,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 171,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 474,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 172,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 475,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 171,- 172- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 173,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 174,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 477,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 175,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 477,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 174,- 175- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 2- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 21,- 17,- 16- ]- },- {- "title": "Methods",- "kind": 2048,- "children": [- 26,- 230,- 268,- 212,- 30,- 277,- 249,- 176,- 241,- 203,- 189,- 111,- 126,- 59,- 102,- 89,- 140,- 41,- 72,- 286,- 258,- 145,- 161- ]- }- ],- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 14,- "character": 21- }- ]- },- {- "id": 296,- "name": "GoTrueClient",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 297,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 98,- "character": 2- }- ],- "signatures": [- {- "id": 298,- "name": "new GoTrueClient",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "comment": {- "shortText": "Create a new client for use in the browser."- },- "parameters": [- {- "id": 299,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 300,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 308,- "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": 103,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 307,- "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": 102,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 312,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 107,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 313,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 314,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "A custom fetch implementation.\n"- },- "parameters": [- {- "id": 315,- "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": 316,- "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": 302,- "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": 100,- "character": 4- }- ],- "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": "string"- }- }- }- }- },- {- "id": 311,- "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": 106,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 309,- "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": 104,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 310,- "name": "storage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 105,- "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": 306,- "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": 101,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 301,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The URL of the GoTrue server."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 99,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 308,- 307,- 312,- 302,- 311,- 309,- 310,- 306,- 301- ]- }- ]- }- }- }- ],- "type": {- "type": "reference",- "id": 296,- "name": "default"- }- }- ]- },- {- "id": 317,- "name": "api",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 65,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 1,- "name": "default"- }- },- {- "id": 320,- "name": "autoRefreshToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 77,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 319,- "name": "inMemorySession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "comment": {- "shortText": "The session object for the currently logged in user or null.\nOnly used if persistSession is false."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 75,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 529,- "name": "Session"- }- ]- }- },- {- "id": 325,- "name": "networkRetries",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 83,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "number"- },- "defaultValue": "0"- },- {- "id": 321,- "name": "persistSession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 78,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 324,- "name": "refreshTokenTimer",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true,- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 81,- "character": 12- }- ],- "type": {- "type": "reference",- "qualifiedName": "global.NodeJS.Timeout",- "package": "@types/node",- "name": "Timeout"- }- },- {- "id": 326,- "name": "refreshingDeferred",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 84,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 660,- "name": "CallRefreshTokenResult"- }- ],- "name": "Deferred"- }- ]- },- "defaultValue": "null"- },- {- "id": 323,- "name": "stateChangeEmitters",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 80,- "character": 12- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "string"- },- {- "type": "reference",- "id": 592,- "name": "Subscription"- }- ],- "qualifiedName": "Map",- "package": "typescript",- "name": "Map"- },- "defaultValue": "..."- },- {- "id": 322,- "name": "storage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 79,- "character": 12- }- ],- "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": 318,- "name": "storageKey",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "comment": {- "shortText": "The storage key used to identity the values saved in localStorage"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 69,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 480,- "name": "_callRefreshToken",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 775,- "character": 16- }- ],- "signatures": [- {- "id": 481,- "name": "_callRefreshToken",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 482,- "name": "refreshToken",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 660,- "name": "CallRefreshTokenResult"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 421,- "name": "_doesSessionExist",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 599,- "character": 10- }- ],- "signatures": [- {- "id": 422,- "name": "_doesSessionExist",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 423,- "name": "maybeSession",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "unknown"- }- }- ],- "type": {- "type": "predicate",- "name": "maybeSession",- "asserts": false,- "targetType": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- }- ]- },- {- "id": 424,- "name": "_handleEmailSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 610,- "character": 16- }- ],- "signatures": [- {- "id": 425,- "name": "_handleEmailSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 426,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 427,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 428,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 429,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 430,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 614,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 430- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 503,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 467,- "name": "_handleOpenIDConnectSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 686,- "character": 16- }- ],- "signatures": [- {- "id": 468,- "name": "_handleOpenIDConnectSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 469,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials",- "dereferenced": {- "id": 653,- "name": "OpenIDConnectCredentials",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 657,- "name": "client_id",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 265,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 654,- "name": "id_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 262,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 658,- "name": "issuer",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 266,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 655,- "name": "nonce",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 263,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 656,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 264,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 501,- "name": "Provider"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 657,- 654,- 658,- 655,- 656- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 261,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 470,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 473,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 696,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 472,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 695,- "character": 8- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 529,- "name": "Session"- }- ]- }- },- {- "id": 471,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 694,- "character": 8- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 548,- "name": "User"- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 473,- 472,- 471- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 474,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 477,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 698,- "character": 35- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 476,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 698,- "character": 20- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 475,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 698,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 477,- 476,- 475- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 431,- "name": "_handlePhoneSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 638,- "character": 16- }- ],- "signatures": [- {- "id": 432,- "name": "_handlePhoneSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 433,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 434,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 435,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 436,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 437,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 642,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 437- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 438,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 439,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 649,- "character": 38- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 440,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 441,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 649,- "character": 46- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- },- {- "id": 442,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 649,- "character": 61- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 441,- 442- ]- }- ]- }- },- "defaultValue": "..."- },- {- "id": 443,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 439,- 443- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 444,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 445,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 656,- "character": 15- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 446,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 447,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 448,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 656,- "character": 32- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- },- "defaultValue": "session.user"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 447,- 448- ]- }- ]- }- },- "defaultValue": "..."- },- {- "id": 449,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 656,- "character": 54- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 445,- 449- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 450,- "name": "_handleProviderSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 666,- "character": 10- }- ],- "signatures": [- {- "id": 451,- "name": "_handleProviderSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 452,- "name": "provider",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 501,- "name": "Provider",- "dereferenced": {- "id": 501,- "name": "Provider",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 3,- "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": 453,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 454,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 457,- "name": "queryParams",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 671,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 458,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 459,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 460,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 455,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 669,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 456,- "name": "scopes",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 670,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 457,- 455,- 456- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 461,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 462,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 683,- "character": 13- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 463,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 464,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "reference",- "id": 501,- "name": "Provider"- }- },- {- "id": 465,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 464,- 465- ]- }- ]- }- },- "defaultValue": "..."- },- {- "id": 466,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 683,- "character": 38- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 462,- 466- ]- }- ]- }- }- }- ]- },- {- "id": 499,- "name": "_handleVisibilityChange",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 883,- "character": 10- }- ],- "signatures": [- {- "id": 500,- "name": "_handleVisibilityChange",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "literal",- "value": false- }- ]- }- }- ]- },- {- "id": 483,- "name": "_notifyAllSubscribers",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 815,- "character": 10- }- ],- "signatures": [- {- "id": 484,- "name": "_notifyAllSubscribers",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 485,- "name": "event",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 502,- "name": "AuthChangeEvent",- "dereferenced": {- "id": 502,- "name": "AuthChangeEvent",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 21,- "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": 486,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 529,- "name": "Session"- }- ]- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 490,- "name": "_persistSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 843,- "character": 10- }- ],- "signatures": [- {- "id": 491,- "name": "_persistSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 492,- "name": "currentSession",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session",- "dereferenced": {- "id": 529,- "name": "Session",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 531,- "name": "access_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 62,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 533,- "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": 70,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 532,- "name": "expires_in",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "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": 66,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 530,- "name": "provider_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 61,- "character": 2- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- },- {- "id": 534,- "name": "refresh_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 71,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 535,- "name": "token_type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 72,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 536,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 73,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 531,- 533,- 532,- 530,- 534,- 535,- 536- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 60,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 478,- "name": "_recoverAndRefresh",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 730,- "character": 16- }- ],- "signatures": [- {- "id": 479,- "name": "_recoverAndRefresh",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."- },- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "literal",- "value": null- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 493,- "name": "_removeSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 847,- "character": 16- }- ],- "signatures": [- {- "id": 494,- "name": "_removeSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "void"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 487,- "name": "_saveSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 823,- "character": 10- }- ],- "signatures": [- {- "id": 488,- "name": "_saveSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"- },- "parameters": [- {- "id": 489,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session",- "dereferenced": {- "id": 529,- "name": "Session",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 531,- "name": "access_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 62,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 533,- "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": 70,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 532,- "name": "expires_in",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "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": 66,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 530,- "name": "provider_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 61,- "character": 2- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- },- {- "id": 534,- "name": "refresh_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 71,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 535,- "name": "token_type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 72,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 536,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 73,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 531,- 533,- 532,- 530,- 534,- 535,- 536- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 60,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 495,- "name": "_startAutoRefreshToken",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 863,- "character": 10- }- ],- "signatures": [- {- "id": 496,- "name": "_startAutoRefreshToken",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Clear and re-create refresh token timer"- },- "parameters": [- {- "id": 497,- "name": "value",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "time intervals in milliseconds\n"- },- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 498,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session",- "dereferenced": {- "id": 529,- "name": "Session",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 531,- "name": "access_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 62,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 533,- "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": 70,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 532,- "name": "expires_in",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "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": 66,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 530,- "name": "provider_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 61,- "character": 2- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- },- {- "id": 534,- "name": "refresh_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 71,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 535,- "name": "token_type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 72,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 536,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 73,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 531,- 533,- 532,- 530,- 534,- 535,- 536- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 60,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 350,- "name": "getSession",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 341,- "character": 8- }- ],- "signatures": [- {- "id": 351,- "name": "getSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Returns the session data, refreshing it if necessary."- },- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 352,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 354,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 344,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 353,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 343,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }+ "fileName": "src/GoTrueClient.ts",+ "line": 109,+ "character": 4}],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 354,- 353- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 355,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 357,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 348,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },+ "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": 356,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 347,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }+ "fileName": "src/GoTrueClient.ts",+ "line": 108,+ "character": 4}],- "groups": [+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 97,+ "name": "fetch",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 357,- 356- ]+ "fileName": "src/GoTrueClient.ts",+ "line": 113,+ "character": 4}- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 358,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 360,- "name": "error",- "kind": 1024,- "kindString": "Property",+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 98,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "sources": [+ "signatures": [{- "fileName": "src/GoTrueClient.ts",- "line": 352,- "character": 8+ "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"+ }}- ],- "type": {- "type": "literal",- "value": null- }- },+ ]+ }+ }+ },+ {+ "id": 87,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Any additional headers to send to the GoTrue server."+ },+ "sources": [{- "id": 359,- "name": "session",- "kind": 1024,- "kindString": "Property",+ "fileName": "src/GoTrueClient.ts",+ "line": 106,+ "character": 4+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 88,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 351,- "character": 8+ "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": {- "type": "literal",- "value": null}}- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 360,- 359- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 393,- "name": "getSessionFromUrl",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 489,- "character": 8- }- ],- "signatures": [- {- "id": 394,- "name": "getSessionFromUrl",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Gets the session data from a URL string"- },- "parameters": [- {- "id": 395,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "reflection",- "declaration": {- "id": 396,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ }+ },{- "id": 397,- "name": "storeSession",+ "id": 96,+ "name": "multiTab","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "Optionally store the session in the browser\n"+ "shortText": "Set to \"false\" if you want to disable multi-tab/window events."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 489,- "character": 38+ "line": 112,+ "character": 4}],"type": {"type": "intrinsic","name": "boolean"}- }- ],- "groups": [+ },{- "title": "Properties",+ "id": 94,+ "name": "persistSession","kind": 1024,- "children": [- 397- ]- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 398,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 400,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 492,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },+ "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": 399,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 491,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }+ "fileName": "src/GoTrueClient.ts",+ "line": 110,+ "character": 4}],- "groups": [+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 95,+ "name": "storage",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 400,- 399- ]+ "fileName": "src/GoTrueClient.ts",+ "line": 111,+ "character": 4}- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 401,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 403,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 494,- "character": 23- }- ],- "type": {+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {"type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 402,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 494,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null+ "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}],- "groups": [+ "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": [{- "title": "Properties",- "kind": 1024,- "children": [- 403,- 402- ]+ "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]}- }- ]+ ]+ }}- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ }+ ],+ "type": {+ "type": "reference",+ "id": 81,+ "name": "default"}}]},{- "id": 361,- "name": "getUser",+ "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": 146,+ "name": "getSession","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 391,+ "line": 368,"character": 8}],"signatures": [{- "id": 362,- "name": "getUser",+ "id": 147,+ "name": "getSession","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Returns the user data, refreshing the session if necessary."+ "shortText": "Returns the session data, refreshing it if necessary.\nIf no session is detected, the session returned will be null."},"type": {"type": "reference",@@ -63024,47 +55448,82 @@{"type": "reflection","declaration": {- "id": 363,+ "id": 148,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 365,- "name": "error",+ "id": 149,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 394,+ "line": 370,"character": 8}],"type": {- "type": "literal",- "value": null+ "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": "reference",+ "id": 307,+ "name": "Session"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 151+ ]+ }+ ]+ }}},{- "id": 364,- "name": "user",+ "id": 152,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 393,+ "line": 373,"character": 8}],"type": {- "type": "reference",- "id": 548,- "name": "User"+ "type": "literal",+ "value": null}}],@@ -63073,8 +55532,8 @@"title": "Properties","kind": 1024,"children": [- 365,- 364+ 149,+ 152]}]@@ -63083,47 +55542,82 @@{"type": "reflection","declaration": {- "id": 366,+ "id": 153,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 368,- "name": "error",+ "id": 154,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 398,+ "line": 376,"character": 8}],"type": {- "type": "reference",- "id": 670,- "name": "AuthError"+ "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": 367,- "name": "user",+ "id": 157,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 397,+ "line": 379,"character": 8}],"type": {- "type": "literal",- "value": null+ "type": "reference",+ "id": 442,+ "name": "AuthError"}}],@@ -63132,8 +55626,8 @@"title": "Properties","kind": 1024,"children": [- 368,- 367+ 154,+ 157]}]@@ -63142,40 +55636,75 @@{"type": "reflection","declaration": {- "id": 369,+ "id": 158,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 371,- "name": "error",+ "id": 159,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 402,+ "line": 382,"character": 8}],"type": {- "type": "literal",- "value": null+ "type": "reflection",+ "declaration": {+ "id": 160,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 161,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 383,+ "character": 10+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 161+ ]+ }+ ]+ }}},{- "id": 370,- "name": "user",+ "id": 162,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 401,+ "line": 385,"character": 8}],@@ -63190,8 +55719,8 @@"title": "Properties","kind": 1024,"children": [- 371,- 370+ 159,+ 162]}]@@ -63208,7 +55737,64 @@]},{- "id": 408,+ "id": 163,+ "name": "getUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 425,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 164,+ "name": "getUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Gets the current user details if there is an existing session."+ },+ "parameters": [+ {+ "id": 165,+ "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": 296,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 184,"name": "onAuthStateChange","kind": 2048,"kindString": "Method",@@ -63216,13 +55802,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 573,+ "line": 599,"character": 2}],"signatures": [{- "id": 409,+ "id": 185,"name": "onAuthStateChange","kind": 4096,"kindString": "Call signature",@@ -63233,41 +55819,44 @@},"parameters": [{- "id": 410,+ "id": 186,"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": 411,+ "id": 187,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"signatures": [{- "id": 412,+ "id": 188,"name": "__type","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 413,+ "id": 189,"name": "event","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 502,+ "id": 269,"name": "AuthChangeEvent"}},{- "id": 414,+ "id": 190,"name": "session","kind": 32768,"kindString": "Parameter",@@ -63281,7 +55870,7 @@},{"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}]@@ -63304,14 +55893,14 @@{"type": "reflection","declaration": {- "id": 415,+ "id": 191,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 417,+ "id": 193,"name": "error","kind": 1024,"kindString": "Property",@@ -63319,7 +55908,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 576,+ "line": 602,"character": 8}],@@ -63329,7 +55918,7 @@}},{- "id": 416,+ "id": 192,"name": "subscription","kind": 1024,"kindString": "Property",@@ -63337,13 +55926,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 575,+ "line": 601,"character": 8}],"type": {"type": "reference",- "id": 592,+ "id": 370,"name": "Subscription"}}@@ -63353,8 +55942,8 @@"title": "Properties","kind": 1024,"children": [- 417,- 416+ 193,+ 192]}]@@ -63363,14 +55952,14 @@{"type": "reflection","declaration": {- "id": 418,+ "id": 194,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 420,+ "id": 196,"name": "error","kind": 1024,"kindString": "Property",@@ -63378,18 +55967,18 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 578,+ "line": 604,"character": 28}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}},{- "id": 419,+ "id": 195,"name": "subscription","kind": 1024,"kindString": "Property",@@ -63397,7 +55986,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 578,+ "line": 604,"character": 8}],@@ -63412,8 +56001,8 @@"title": "Properties","kind": 1024,"children": [- 420,- 419+ 196,+ 195]}]@@ -63425,42 +56014,118 @@]},{- "id": 381,- "name": "setSession",+ "id": 197,+ "name": "resetPasswordForEmail","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 455,+ "line": 631,"character": 8}],"signatures": [{- "id": 382,- "name": "setSession",+ "id": 198,+ "name": "resetPasswordForEmail","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Sets the session data from refresh_token and returns current Session and Error"+ "shortText": "Sends a reset request to an email address."},"parameters": [{- "id": 383,- "name": "refresh_token",+ "id": 199,+ "name": "email","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "a JWT token\n"+ "shortText": "The email address of the user."},"type": {"type": "intrinsic","name": "string"}+ },+ {+ "id": 200,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 201,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 203,+ "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": 635,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 202,+ "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": 634,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 203,+ 202+ ]+ }+ ]+ }+ },+ "defaultValue": "{}"}],"type": {@@ -63472,47 +56137,52 @@{"type": "reflection","declaration": {- "id": 384,+ "id": 204,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 386,- "name": "error",+ "id": 205,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 458,+ "line": 639,"character": 8}],"type": {- "type": "literal",- "value": null+ "type": "reflection",+ "declaration": {+ "id": 206,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {}+ }}},{- "id": 385,- "name": "session",+ "id": 207,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 457,+ "line": 640,"character": 8}],"type": {- "type": "reference",- "id": 529,- "name": "Session"+ "type": "literal",+ "value": null}}],@@ -63521,8 +56191,8 @@"title": "Properties","kind": 1024,"children": [- 386,- 385+ 205,+ 207]}]@@ -63531,40 +56201,22 @@{"type": "reflection","declaration": {- "id": 387,+ "id": 208,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 389,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 460,- "character": 23- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 388,- "name": "session",+ "id": 209,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 460,+ "line": 642,"character": 8}],@@ -63572,31 +56224,9 @@"type": "literal","value": null}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 389,- 388- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 390,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ },{- "id": 392,+ "id": 210,"name": "error","kind": 1024,"kindString": "Property",@@ -63604,33 +56234,15 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 461,- "character": 23+ "line": 642,+ "character": 20}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}- },- {- "id": 391,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 461,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }}],"groups": [@@ -63638,8 +56250,8 @@"title": "Properties","kind": 1024,"children": [- 392,- 391+ 209,+ 210]}]@@ -63656,7 +56268,62 @@]},{- "id": 338,+ "id": 169,+ "name": "setSession",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 488,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 170,+ "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": 171,+ "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": 270,+ "name": "AuthResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 133,"name": "signInWithOAuth","kind": 2048,"kindString": "Method",@@ -63664,13 +56331,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 240,+ "line": 264,"character": 8}],"signatures": [{- "id": 339,+ "id": 134,"name": "signInWithOAuth","kind": 4096,"kindString": "Call signature",@@ -63680,17 +56347,17 @@},"parameters": [{- "id": 340,+ "id": 135,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 629,+ "id": 406,"name": "SignInWithOAuthCredentials","dereferenced": {- "id": 629,+ "id": 406,"name": "SignInWithOAuthCredentials","kind": 4194304,"kindString": "Type alias",@@ -63698,21 +56365,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 12}],"type": {"type": "reflection","declaration": {- "id": 630,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 632,+ "id": 409,"name": "options","kind": 1024,"kindString": "Property",@@ -63722,32 +56389,35 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 237,+ "line": 268,"character": 2}],"type": {"type": "reference",- "id": 633,+ "id": 410,"name": "SignInWithOAuthOptions"}},{- "id": 631,+ "id": 408,"name": "provider","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 236,+ "line": 267,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}}@@ -63757,15 +56427,15 @@"title": "Properties","kind": 1024,"children": [- 632,- 631+ 409,+ 408]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 41}]@@ -63780,7 +56450,7 @@"typeArguments": [{"type": "reference",- "id": 516,+ "id": 283,"name": "OAuthResponse"}],@@ -63792,7 +56462,7 @@]},{- "id": 341,+ "id": 136,"name": "signInWithOtp","kind": 2048,"kindString": "Method",@@ -63800,13 +56470,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 256,+ "line": 276,"character": 8}],"signatures": [{- "id": 342,+ "id": 137,"name": "signInWithOtp","kind": 4096,"kindString": "Call signature",@@ -63816,17 +56486,17 @@},"parameters": [{- "id": 343,+ "id": 138,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 618,+ "id": 395,"name": "SignInWithPasswordlessCredentials","dereferenced": {- "id": 618,+ "id": 395,"name": "SignInWithPasswordlessCredentials","kind": 4194304,"kindString": "Type alias",@@ -63834,7 +56504,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 220,+ "line": 248,"character": 12}],@@ -63844,22 +56514,25 @@{"type": "reflection","declaration": {- "id": 619,+ "id": 396,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 620,+ "id": 397,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 222,+ "line": 251,"character": 6}],@@ -63869,7 +56542,7 @@}},{- "id": 621,+ "id": 398,"name": "options","kind": 1024,"kindString": "Property",@@ -63879,13 +56552,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 223,+ "line": 252,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}}@@ -63895,15 +56568,15 @@"title": "Properties","kind": 1024,"children": [- 620,- 621+ 397,+ 398]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 221,+ "line": 249,"character": 4}]@@ -63912,14 +56585,14 @@{"type": "reflection","declaration": {- "id": 622,+ "id": 399,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 624,+ "id": 401,"name": "options","kind": 1024,"kindString": "Property",@@ -63929,26 +56602,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 227,+ "line": 257,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}},{- "id": 623,+ "id": 400,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 226,+ "line": 256,"character": 6}],@@ -63963,15 +56639,15 @@"title": "Properties","kind": 1024,"children": [- 624,- 623+ 401,+ 400]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 254,"character": 4}]@@ -63988,7 +56664,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -64000,7 +56676,7 @@]},{- "id": 335,+ "id": 130,"name": "signInWithPassword","kind": 2048,"kindString": "Method",@@ -64008,13 +56684,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 203,+ "line": 216,"character": 8}],"signatures": [{- "id": 336,+ "id": 131,"name": "signInWithPassword","kind": 4096,"kindString": "Call signature",@@ -64024,17 +56700,17 @@},"parameters": [{- "id": 337,+ "id": 132,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 607,+ "id": 384,"name": "SignInWithPasswordCredentials","dereferenced": {- "id": 607,+ "id": 384,"name": "SignInWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -64042,7 +56718,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 206,+ "line": 230,"character": 12}],@@ -64052,22 +56728,25 @@{"type": "reflection","declaration": {- "id": 608,+ "id": 385,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 609,+ "id": 386,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 208,+ "line": 233,"character": 6}],@@ -64077,7 +56756,7 @@}},{- "id": 611,+ "id": 388,"name": "options","kind": 1024,"kindString": "Property",@@ -64087,26 +56766,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 210,+ "line": 236,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 610,+ "id": 387,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 209,+ "line": 235,"character": 6}],@@ -64121,16 +56803,16 @@"title": "Properties","kind": 1024,"children": [- 609,- 611,- 610+ 386,+ 388,+ 387]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 207,+ "line": 231,"character": 4}]@@ -64139,14 +56821,14 @@{"type": "reflection","declaration": {- "id": 612,+ "id": 389,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 615,+ "id": 392,"name": "options","kind": 1024,"kindString": "Property",@@ -64156,26 +56838,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 215,+ "line": 243,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 614,+ "id": 391,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 214,+ "line": 242,"character": 6}],@@ -64185,15 +56870,18 @@}},{- "id": 613,+ "id": 390,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 213,+ "line": 240,"character": 6}],@@ -64208,16 +56896,16 @@"title": "Properties","kind": 1024,"children": [- 615,- 614,- 613+ 392,+ 391,+ 390]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 212,+ "line": 238,"character": 4}]@@ -64234,7 +56922,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -64246,7 +56934,7 @@]},{- "id": 404,+ "id": 180,"name": "signOut","kind": 2048,"kindString": "Method",@@ -64254,20 +56942,20 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 554,+ "line": 579,"character": 8}],"signatures": [{- "id": 405,+ "id": 181,"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)`. There is no way to revoke a user's session JWT before it automatically expires\n"+ "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",@@ -64275,14 +56963,14 @@{"type": "reflection","declaration": {- "id": 406,+ "id": 182,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 407,+ "id": 183,"name": "error","kind": 1024,"kindString": "Property",@@ -64290,7 +56978,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 554,+ "line": 579,"character": 29}],@@ -64303,7 +56991,7 @@},{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}]@@ -64315,7 +57003,7 @@"title": "Properties","kind": 1024,"children": [- 407+ 183]}]@@ -64330,7 +57018,7 @@]},{- "id": 327,+ "id": 122,"name": "signUp","kind": 2048,"kindString": "Method",@@ -64338,50 +57026,54 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 142,+ "line": 151,"character": 8}],"signatures": [{- "id": 328,+ "id": 123,"name": "signUp","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Creates a new user."+ "shortText": "Creates a new user.",+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"},"parameters": [{- "id": 329,+ "id": 124,"name": "__namedParameters","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 600,+ "id": 378,"name": "UserCredentials","dereferenced": {- "id": 600,+ "id": 378,"name": "UserCredentials","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 601,+ "id": 379,"name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 198,+ "line": 221,"character": 2}],@@ -64391,38 +57083,20 @@}},{- "id": 606,- "name": "oidc",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 204,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials"- }- },- {- "id": 603,+ "id": 381,"name": "password","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 200,+ "line": 225,"character": 2}],@@ -64432,17 +57106,20 @@}},{- "id": 602,+ "id": 380,"name": "phone","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 199,+ "line": 223,"character": 2}],@@ -64452,7 +57129,7 @@}},{- "id": 605,+ "id": 383,"name": "provider","kind": 1024,"kindString": "Property",@@ -64465,18 +57142,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 203,+ "line": 228,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 604,+ "id": 382,"name": "refreshToken","kind": 1024,"kindString": "Property",@@ -64486,7 +57163,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 226,"character": 2}],@@ -64501,19 +57178,18 @@"title": "Properties","kind": 1024,"children": [- 601,- 606,- 603,- 602,- 605,- 604+ 379,+ 381,+ 380,+ 383,+ 382]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 197,+ "line": 219,"character": 17}]@@ -64521,7 +57197,7 @@}},{- "id": 330,+ "id": 125,"name": "options","kind": 32768,"kindString": "Parameter",@@ -64529,24 +57205,27 @@"type": {"type": "reflection","declaration": {- "id": 331,+ "id": 126,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 334,+ "id": 129,"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/GoTrueClient.ts",- "line": 147,+ "line": 156,"character": 6}],@@ -64556,7 +57235,7 @@}},{- "id": 333,+ "id": 128,"name": "data","kind": 1024,"kindString": "Property",@@ -64564,12 +57243,12 @@"isOptional": true},"comment": {- "shortText": "Optional user metadata.\n"+ "shortText": "Optional user metadata."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 146,+ "line": 155,"character": 6}],@@ -64579,7 +57258,7 @@}},{- "id": 332,+ "id": 127,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -64592,7 +57271,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 145,+ "line": 154,"character": 6}],@@ -64607,9 +57286,9 @@"title": "Properties","kind": 1024,"children": [- 334,- 333,- 332+ 129,+ 128,+ 127]}]@@ -64623,7 +57302,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -64635,22 +57314,22 @@]},{- "id": 372,- "name": "update",+ "id": 166,+ "name": "updateUser","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 420,+ "line": 454,"character": 8}],"signatures": [{- "id": 373,- "name": "update",+ "id": 167,+ "name": "updateUser","kind": 4096,"kindString": "Call signature","flags": {},@@ -64659,24 +57338,24 @@},"parameters": [{- "id": 374,+ "id": 168,"name": "attributes","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 576,+ "id": 354,"name": "UserAttributes","dereferenced": {- "id": 576,+ "id": 354,"name": "UserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 581,+ "id": 359,"name": "data","kind": 1024,"kindString": "Property",@@ -64689,7 +57368,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 140,+ "line": 162,"character": 2}],@@ -64699,7 +57378,7 @@}},{- "id": 577,+ "id": 355,"name": "email","kind": 1024,"kindString": "Property",@@ -64712,7 +57391,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 142,"character": 2}],@@ -64722,7 +57401,7 @@}},{- "id": 580,+ "id": 358,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -64735,7 +57414,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 135,+ "line": 157,"character": 2}],@@ -64745,7 +57424,7 @@}},{- "id": 579,+ "id": 357,"name": "password","kind": 1024,"kindString": "Property",@@ -64758,7 +57437,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 130,+ "line": 152,"character": 2}],@@ -64768,7 +57447,7 @@}},{- "id": 578,+ "id": 356,"name": "phone","kind": 1024,"kindString": "Property",@@ -64781,172 +57460,54 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 125,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 581,- 577,- 580,- 579,- 578- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 116,- "character": 17- }- ],- "extendedBy": [- {- "type": "reference",- "id": 582,- "name": "AdminUserAttributes"- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 375,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 377,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 423,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 376,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 422,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 377,- 376- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 378,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 380,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 425,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 379,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 425,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 380,- 379- ]+ "line": 147,+ "character": 2}+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 359,+ 355,+ 358,+ 357,+ 356]}- }- ]+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 138,+ "character": 17+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 360,+ "name": "AdminUserAttributes"+ }+ ]+ }+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -64957,22 +57518,22 @@]},{- "id": 344,- "name": "verifyOTP",+ "id": 139,+ "name": "verifyOtp","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 295,+ "line": 319,"character": 8}],"signatures": [{- "id": 345,- "name": "verifyOTP",+ "id": 140,+ "name": "verifyOtp","kind": 4096,"kindString": "Call signature","flags": {},@@ -64981,25 +57542,25 @@},"parameters": [{- "id": 346,+ "id": 141,"name": "params","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 640,- "name": "VerifyOTPParams",+ "id": 417,+ "name": "VerifyOtpParams","dereferenced": {- "id": 640,- "name": "VerifyOTPParams",+ "id": 417,+ "name": "VerifyOtpParams","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 245,+ "line": 279,"character": 12}],@@ -65008,13 +57569,13 @@"types": [{"type": "reference",- "id": 641,- "name": "VerifyMobileOTPParams"+ "id": 418,+ "name": "VerifyMobileOtpParams"},{"type": "reference",- "id": 646,- "name": "VerifyEmailOTPParams"+ "id": 423,+ "name": "VerifyEmailOtpParams"}]}@@ -65022,7 +57583,7 @@}},{- "id": 347,+ "id": 142,"name": "options","kind": 32768,"kindString": "Parameter",@@ -65030,14 +57591,37 @@"type": {"type": "reflection","declaration": {- "id": 348,+ "id": 143,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 349,+ "id": 145,+ "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": 323,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 144,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -65045,12 +57629,12 @@"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"+ "shortText": "A URL to send the user to after they are confirmed."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 298,+ "line": 322,"character": 6}],@@ -65065,7 +57649,8 @@"title": "Properties","kind": 1024,"children": [- 349+ 145,+ 144]}]@@ -65079,7 +57664,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -65096,74 +57681,52 @@"title": "Constructors","kind": 512,"children": [- 297+ 82]},{"title": "Properties","kind": 1024,"children": [- 317,- 320,- 319,- 325,- 321,- 324,- 326,- 323,- 322,- 318+ 102]},{"title": "Methods","kind": 2048,"children": [- 480,- 421,- 424,- 467,- 431,- 450,- 499,- 483,- 490,- 478,- 493,- 487,- 495,- 350,- 393,- 361,- 408,- 381,- 338,- 341,- 335,- 404,- 327,- 372,- 344+ 146,+ 163,+ 184,+ 197,+ 169,+ 133,+ 136,+ 130,+ 180,+ 122,+ 166,+ 139]}],"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 60,+ "line": 61,"character": 21}]},{- "id": 582,+ "id": 360,"name": "AdminUserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 584,+ "id": 362,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -65177,7 +57740,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 165,+ "line": 187,"character": 2}],@@ -65187,7 +57750,7 @@}},{- "id": 591,+ "id": 369,"name": "data","kind": 1024,"kindString": "Property",@@ -65200,7 +57763,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 140,+ "line": 162,"character": 2}],@@ -65210,12 +57773,12 @@},"inheritedFrom": {"type": "reference",- "id": 581,+ "id": 359,"name": "UserAttributes.data"}},{- "id": 587,+ "id": 365,"name": "email","kind": 1024,"kindString": "Property",@@ -65228,7 +57791,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 142,"character": 2}],@@ -65238,12 +57801,12 @@},"inheritedFrom": {"type": "reference",- "id": 577,+ "id": 355,"name": "UserAttributes.email"}},{- "id": 590,+ "id": 368,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -65256,7 +57819,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 135,+ "line": 157,"character": 2}],@@ -65266,12 +57829,12 @@},"inheritedFrom": {"type": "reference",- "id": 580,+ "id": 358,"name": "UserAttributes.email_change_token"}},{- "id": 585,+ "id": 363,"name": "email_confirm","kind": 1024,"kindString": "Property",@@ -65285,7 +57848,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 172,+ "line": 194,"character": 2}],@@ -65295,7 +57858,7 @@}},{- "id": 589,+ "id": 367,"name": "password","kind": 1024,"kindString": "Property",@@ -65308,7 +57871,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 130,+ "line": 152,"character": 2}],@@ -65318,12 +57881,12 @@},"inheritedFrom": {"type": "reference",- "id": 579,+ "id": 357,"name": "UserAttributes.password"}},{- "id": 588,+ "id": 366,"name": "phone","kind": 1024,"kindString": "Property",@@ -65336,7 +57899,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 125,+ "line": 147,"character": 2}],@@ -65346,12 +57909,12 @@},"inheritedFrom": {"type": "reference",- "id": 578,+ "id": 356,"name": "UserAttributes.phone"}},{- "id": 586,+ "id": 364,"name": "phone_confirm","kind": 1024,"kindString": "Property",@@ -65365,7 +57928,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 179,+ "line": 201,"character": 2}],@@ -65375,7 +57938,7 @@}},{- "id": 583,+ "id": 361,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -65389,7 +57952,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 155,+ "line": 177,"character": 2}],@@ -65404,176 +57967,53 @@"title": "Properties","kind": 1024,"children": [- 584,- 591,- 587,- 590,- 585,- 589,- 588,- 586,- 583+ 362,+ 369,+ 365,+ 368,+ 363,+ 367,+ 366,+ 364,+ 361]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 143,+ "line": 165,"character": 17}],"extendedTypes": [{"type": "reference",- "id": 576,+ "id": 354,"name": "UserAttributes"}]},{- "id": 653,- "name": "OpenIDConnectCredentials",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 657,- "name": "client_id",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 265,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 654,- "name": "id_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 262,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 658,- "name": "issuer",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 266,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 655,- "name": "nonce",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 263,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 656,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 264,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 501,- "name": "Provider"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 657,- 654,- 658,- 655,- 656- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 261,- "character": 17- }- ]- },- {- "id": 529,+ "id": 307,"name": "Session","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 531,+ "id": 309,"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": 62,+ "line": 81,"character": 2}],@@ -65583,7 +58023,7 @@}},{- "id": 533,+ "id": 312,"name": "expires_at","kind": 1024,"kindString": "Property",@@ -65596,7 +58036,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 70,+ "line": 93,"character": 2}],@@ -65606,20 +58046,18 @@}},{- "id": 532,+ "id": 311,"name": "expires_in","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "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": 66,+ "line": 89,"character": 2}],@@ -65629,7 +58067,7 @@}},{- "id": 530,+ "id": 308,"name": "provider_token","kind": 1024,"kindString": "Property",@@ -65639,7 +58077,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 61,+ "line": 77,"character": 2}],@@ -65658,15 +58096,18 @@}},{- "id": 534,+ "id": 310,"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": 71,+ "line": 85,"character": 2}],@@ -65676,7 +58117,7 @@}},{- "id": 535,+ "id": 313,"name": "token_type","kind": 1024,"kindString": "Property",@@ -65684,7 +58125,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 72,+ "line": 94,"character": 2}],@@ -65694,7 +58135,7 @@}},{- "id": 536,+ "id": 314,"name": "user","kind": 1024,"kindString": "Property",@@ -65702,13 +58143,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 73,+ "line": 95,"character": 2}],"type": {"type": "reference",- "id": 548,+ "id": 326,"name": "User"}}@@ -65718,63 +58159,66 @@"title": "Properties","kind": 1024,"children": [- 531,- 533,- 532,- 530,- 534,- 535,- 536+ 309,+ 312,+ 311,+ 308,+ 310,+ 313,+ 314]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 60,+ "line": 76,"character": 17}]},{- "id": 633,+ "id": 410,"name": "SignInWithOAuthOptions","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 636,+ "id": 413,"name": "queryParams","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "An object of query params"+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 242,+ "line": 276,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 637,+ "id": 414,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 638,+ "id": 415,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 639,+ "id": 416,"name": "key","kind": 32768,"flags": {},@@ -65793,17 +58237,20 @@}},{- "id": 634,+ "id": 411,"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": 240,+ "line": 272,"character": 2}],@@ -65813,17 +58260,20 @@}},{- "id": 635,+ "id": 412,"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": 241,+ "line": 274,"character": 2}],@@ -65838,29 +58288,29 @@"title": "Properties","kind": 1024,"children": [- 636,- 634,- 635+ 413,+ 411,+ 412]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 239,+ "line": 270,"character": 17}]},{- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 617,+ "id": 394,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -65870,7 +58320,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 218,+ "line": 246,"character": 2}],@@ -65885,27 +58335,27 @@"title": "Properties","kind": 1024,"children": [- 617+ 394]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 217,+ "line": 245,"character": 17}]},{- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 628,+ "id": 405,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -65915,7 +58365,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 233,+ "line": 263,"character": 2}],@@ -65925,7 +58375,7 @@}},{- "id": 626,+ "id": 403,"name": "emailRedirectTo","kind": 1024,"kindString": "Property",@@ -65938,7 +58388,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 231,+ "line": 261,"character": 2}],@@ -65948,7 +58398,7 @@}},{- "id": 627,+ "id": 404,"name": "shouldCreateUser","kind": 1024,"kindString": "Property",@@ -65958,7 +58408,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 232,+ "line": 262,"character": 2}],@@ -65973,29 +58423,29 @@"title": "Properties","kind": 1024,"children": [- 628,- 626,- 627+ 405,+ 403,+ 404]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 229,+ "line": 259,"character": 17}]},{- "id": 592,+ "id": 370,"name": "Subscription","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 593,+ "id": 371,"name": "id","kind": 1024,"kindString": "Property",@@ -66006,7 +58456,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 186,+ "line": 208,"character": 2}],@@ -66016,7 +58466,7 @@}},{- "id": 594,+ "id": 372,"name": "callback","kind": 2048,"kindString": "Method",@@ -66024,13 +58474,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 190,+ "line": 212,"character": 2}],"signatures": [{- "id": 595,+ "id": 373,"name": "callback","kind": 4096,"kindString": "Call signature",@@ -66040,17 +58490,17 @@},"parameters": [{- "id": 596,+ "id": 374,"name": "event","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 502,+ "id": 269,"name": "AuthChangeEvent","dereferenced": {- "id": 502,+ "id": 269,"name": "AuthChangeEvent","kind": 4194304,"kindString": "Type alias",@@ -66058,7 +58508,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 21,+ "line": 22,"character": 12}],@@ -66095,7 +58545,7 @@}},{- "id": 597,+ "id": 375,"name": "session","kind": 32768,"kindString": "Parameter",@@ -66109,7 +58559,7 @@},{"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}]@@ -66124,7 +58574,7 @@]},{- "id": 598,+ "id": 376,"name": "unsubscribe","kind": 2048,"kindString": "Method",@@ -66132,13 +58582,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 194,+ "line": 216,"character": 2}],"signatures": [{- "id": 599,+ "id": 377,"name": "unsubscribe","kind": 4096,"kindString": "Call signature",@@ -66159,35 +58609,35 @@"title": "Properties","kind": 1024,"children": [- 593+ 371]},{"title": "Methods","kind": 2048,"children": [- 594,- 598+ 372,+ 376]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 182,+ "line": 204,"character": 17}]},{- "id": 548,+ "id": 326,"name": "User","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 565,+ "id": 343,"name": "action_link","kind": 1024,"kindString": "Property",@@ -66197,7 +58647,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 103,+ "line": 125,"character": 2}],@@ -66207,7 +58657,7 @@}},{- "id": 550,+ "id": 328,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -66215,21 +58665,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 90,+ "line": 112,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 551,+ "id": 329,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 552,+ "id": 330,"name": "provider","kind": 1024,"kindString": "Property",@@ -66239,7 +58689,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 91,+ "line": 113,"character": 4}],@@ -66254,19 +58704,19 @@"title": "Properties","kind": 1024,"children": [- 552+ 330]}],"indexSignature": {- "id": 553,+ "id": 331,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 554,+ "id": 332,"name": "key","kind": 32768,"flags": {},@@ -66285,7 +58735,7 @@}},{- "id": 559,+ "id": 337,"name": "aud","kind": 1024,"kindString": "Property",@@ -66293,7 +58743,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 97,+ "line": 119,"character": 2}],@@ -66303,7 +58753,7 @@}},{- "id": 560,+ "id": 338,"name": "confirmation_sent_at","kind": 1024,"kindString": "Property",@@ -66313,7 +58763,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 98,+ "line": 120,"character": 2}],@@ -66323,7 +58773,7 @@}},{- "id": 569,+ "id": 347,"name": "confirmed_at","kind": 1024,"kindString": "Property",@@ -66333,7 +58783,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 107,+ "line": 129,"character": 2}],@@ -66343,7 +58793,7 @@}},{- "id": 568,+ "id": 346,"name": "created_at","kind": 1024,"kindString": "Property",@@ -66351,7 +58801,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 106,+ "line": 128,"character": 2}],@@ -66361,7 +58811,7 @@}},{- "id": 566,+ "id": 344,"name": "email","kind": 1024,"kindString": "Property",@@ -66371,7 +58821,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 104,+ "line": 126,"character": 2}],@@ -66381,7 +58831,7 @@}},{- "id": 562,+ "id": 340,"name": "email_change_sent_at","kind": 1024,"kindString": "Property",@@ -66391,7 +58841,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 100,+ "line": 122,"character": 2}],@@ -66401,7 +58851,7 @@}},{- "id": 570,+ "id": 348,"name": "email_confirmed_at","kind": 1024,"kindString": "Property",@@ -66411,7 +58861,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 108,+ "line": 130,"character": 2}],@@ -66421,7 +58871,7 @@}},{- "id": 549,+ "id": 327,"name": "id","kind": 1024,"kindString": "Property",@@ -66429,7 +58879,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 89,+ "line": 111,"character": 2}],@@ -66439,7 +58889,7 @@}},{- "id": 575,+ "id": 353,"name": "identities","kind": 1024,"kindString": "Property",@@ -66449,7 +58899,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 113,+ "line": 135,"character": 2}],@@ -66457,13 +58907,13 @@"type": "array","elementType": {"type": "reference",- "id": 537,+ "id": 315,"name": "UserIdentity"}}},{- "id": 564,+ "id": 342,"name": "invited_at","kind": 1024,"kindString": "Property",@@ -66473,7 +58923,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 102,+ "line": 124,"character": 2}],@@ -66483,7 +58933,7 @@}},{- "id": 572,+ "id": 350,"name": "last_sign_in_at","kind": 1024,"kindString": "Property",@@ -66493,7 +58943,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 110,+ "line": 132,"character": 2}],@@ -66503,7 +58953,7 @@}},{- "id": 563,+ "id": 341,"name": "new_email","kind": 1024,"kindString": "Property",@@ -66513,7 +58963,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 101,+ "line": 123,"character": 2}],@@ -66523,7 +58973,7 @@}},{- "id": 567,+ "id": 345,"name": "phone","kind": 1024,"kindString": "Property",@@ -66533,7 +58983,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 105,+ "line": 127,"character": 2}],@@ -66543,7 +58993,7 @@}},{- "id": 571,+ "id": 349,"name": "phone_confirmed_at","kind": 1024,"kindString": "Property",@@ -66553,7 +59003,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 109,+ "line": 131,"character": 2}],@@ -66563,7 +59013,7 @@}},{- "id": 561,+ "id": 339,"name": "recovery_sent_at","kind": 1024,"kindString": "Property",@@ -66573,7 +59023,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 99,+ "line": 121,"character": 2}],@@ -66583,7 +59033,7 @@}},{- "id": 573,+ "id": 351,"name": "role","kind": 1024,"kindString": "Property",@@ -66593,7 +59043,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 111,+ "line": 133,"character": 2}],@@ -66603,7 +59053,7 @@}},{- "id": 574,+ "id": 352,"name": "updated_at","kind": 1024,"kindString": "Property",@@ -66613,7 +59063,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 112,+ "line": 134,"character": 2}],@@ -66623,7 +59073,7 @@}},{- "id": 555,+ "id": 333,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -66631,27 +59081,27 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 94,+ "line": 116,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 556,+ "id": 334,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 557,+ "id": 335,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 558,+ "id": 336,"name": "key","kind": 32768,"flags": {},@@ -66675,46 +59125,46 @@"title": "Properties","kind": 1024,"children": [- 565,- 550,- 559,- 560,- 569,- 568,- 566,- 562,- 570,- 549,- 575,- 564,- 572,- 563,- 567,- 571,- 561,- 573,- 574,- 555+ 343,+ 328,+ 337,+ 338,+ 347,+ 346,+ 344,+ 340,+ 348,+ 327,+ 353,+ 342,+ 350,+ 341,+ 345,+ 349,+ 339,+ 351,+ 352,+ 333]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 88,+ "line": 110,"character": 17}]},{- "id": 576,+ "id": 354,"name": "UserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 581,+ "id": 359,"name": "data","kind": 1024,"kindString": "Property",@@ -66727,7 +59177,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 140,+ "line": 162,"character": 2}],@@ -66737,7 +59187,7 @@}},{- "id": 577,+ "id": 355,"name": "email","kind": 1024,"kindString": "Property",@@ -66750,7 +59200,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 142,"character": 2}],@@ -66760,7 +59210,7 @@}},{- "id": 580,+ "id": 358,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -66773,7 +59223,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 135,+ "line": 157,"character": 2}],@@ -66783,7 +59233,7 @@}},{- "id": 579,+ "id": 357,"name": "password","kind": 1024,"kindString": "Property",@@ -66796,7 +59246,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 130,+ "line": 152,"character": 2}],@@ -66806,7 +59256,7 @@}},{- "id": 578,+ "id": 356,"name": "phone","kind": 1024,"kindString": "Property",@@ -66819,7 +59269,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 125,+ "line": 147,"character": 2}],@@ -66834,48 +59284,51 @@"title": "Properties","kind": 1024,"children": [- 581,- 577,- 580,- 579,- 578+ 359,+ 355,+ 358,+ 357,+ 356]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 116,+ "line": 138,"character": 17}],"extendedBy": [{"type": "reference",- "id": 582,+ "id": 360,"name": "AdminUserAttributes"}]},{- "id": 600,+ "id": 378,"name": "UserCredentials","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 601,+ "id": 379,"name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 198,+ "line": 221,"character": 2}],@@ -66885,38 +59338,20 @@}},{- "id": 606,- "name": "oidc",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 204,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials"- }- },- {- "id": 603,+ "id": 381,"name": "password","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 200,+ "line": 225,"character": 2}],@@ -66926,17 +59361,20 @@}},{- "id": 602,+ "id": 380,"name": "phone","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 199,+ "line": 223,"character": 2}],@@ -66946,7 +59384,7 @@}},{- "id": 605,+ "id": 383,"name": "provider","kind": 1024,"kindString": "Property",@@ -66959,18 +59397,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 203,+ "line": 228,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 604,+ "id": 382,"name": "refreshToken","kind": 1024,"kindString": "Property",@@ -66980,7 +59418,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 226,"character": 2}],@@ -66995,32 +59433,31 @@"title": "Properties","kind": 1024,"children": [- 601,- 606,- 603,- 602,- 605,- 604+ 379,+ 381,+ 380,+ 383,+ 382]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 197,+ "line": 219,"character": 17}]},{- "id": 537,+ "id": 315,"name": "UserIdentity","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 545,+ "id": 323,"name": "created_at","kind": 1024,"kindString": "Property",@@ -67028,7 +59465,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 83,+ "line": 105,"character": 2}],@@ -67038,7 +59475,7 @@}},{- "id": 538,+ "id": 316,"name": "id","kind": 1024,"kindString": "Property",@@ -67046,7 +59483,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 77,+ "line": 99,"character": 2}],@@ -67056,7 +59493,7 @@}},{- "id": 540,+ "id": 318,"name": "identity_data","kind": 1024,"kindString": "Property",@@ -67064,27 +59501,27 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 79,+ "line": 101,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 541,+ "id": 319,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 542,+ "id": 320,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 543,+ "id": 321,"name": "key","kind": 32768,"flags": {},@@ -67103,7 +59540,7 @@}},{- "id": 546,+ "id": 324,"name": "last_sign_in_at","kind": 1024,"kindString": "Property",@@ -67111,7 +59548,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 84,+ "line": 106,"character": 2}],@@ -67121,7 +59558,7 @@}},{- "id": 544,+ "id": 322,"name": "provider","kind": 1024,"kindString": "Property",@@ -67129,7 +59566,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 82,+ "line": 104,"character": 2}],@@ -67139,7 +59576,7 @@}},{- "id": 547,+ "id": 325,"name": "updated_at","kind": 1024,"kindString": "Property",@@ -67149,7 +59586,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 85,+ "line": 107,"character": 2}],@@ -67159,7 +59596,7 @@}},{- "id": 539,+ "id": 317,"name": "user_id","kind": 1024,"kindString": "Property",@@ -67167,7 +59604,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 78,+ "line": 100,"character": 2}],@@ -67182,33 +59619,33 @@"title": "Properties","kind": 1024,"children": [- 545,- 538,- 540,- 546,- 544,- 547,- 539+ 323,+ 316,+ 318,+ 324,+ 322,+ 325,+ 317]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 76,+ "line": 98,"character": 17}]},{- "id": 646,- "name": "VerifyEmailOTPParams",+ "id": 423,+ "name": "VerifyEmailOtpParams","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 647,+ "id": 424,"name": "email","kind": 1024,"kindString": "Property",@@ -67216,7 +59653,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 253,+ "line": 291,"character": 2}],@@ -67226,7 +59663,7 @@}},{- "id": 648,+ "id": 425,"name": "phone","kind": 1024,"kindString": "Property",@@ -67236,7 +59673,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 254,+ "line": 292,"character": 2}],@@ -67246,7 +59683,7 @@}},{- "id": 649,+ "id": 426,"name": "token","kind": 1024,"kindString": "Property",@@ -67254,7 +59691,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 255,+ "line": 293,"character": 2}],@@ -67264,7 +59701,7 @@}},{- "id": 650,+ "id": 427,"name": "type","kind": 1024,"kindString": "Property",@@ -67272,14 +59709,14 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 256,+ "line": 294,"character": 2}],"type": {"type": "reference",- "id": 652,- "name": "EmailOTPType"+ "id": 429,+ "name": "EmailOtpType"}}],@@ -67288,40 +59725,43 @@"title": "Properties","kind": 1024,"children": [- 647,- 648,- 649,- 650+ 424,+ 425,+ 426,+ 427]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 290,"character": 17}]},{- "id": 641,- "name": "VerifyMobileOTPParams",+ "id": 418,+ "name": "VerifyMobileOtpParams","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 642,+ "id": 419,"name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 247,+ "line": 282,"character": 2}],@@ -67331,15 +59771,18 @@}},{- "id": 643,+ "id": 420,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 248,+ "line": 284,"character": 2}],@@ -67349,15 +59792,18 @@}},{- "id": 644,+ "id": 421,"name": "token","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 249,+ "line": 286,"character": 2}],@@ -67367,24 +59813,25 @@}},{- "id": 645,+ "id": 422,"name": "type","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true+ "flags": {},+ "comment": {+ "shortText": "The user's verification type."},"sources": [{"fileName": "src/lib/types.ts",- "line": 250,+ "line": 288,"character": 2}],"type": {"type": "reference",- "id": 651,- "name": "MobileOTPType"+ "id": 428,+ "name": "MobileOtpType"}}],@@ -67393,23 +59840,23 @@"title": "Properties","kind": 1024,"children": [- 642,- 643,- 644,- 645+ 419,+ 420,+ 421,+ 422]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 246,+ "line": 280,"character": 17}]},{- "id": 502,+ "id": 269,"name": "AuthChangeEvent","kind": 4194304,"kindString": "Type alias",@@ -67417,7 +59864,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 21,+ "line": 22,"character": 12}],@@ -67452,7 +59899,7 @@}},{- "id": 503,+ "id": 270,"name": "AuthResponse","kind": 4194304,"kindString": "Type alias",@@ -67460,7 +59907,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 29,+ "line": 30,"character": 12}],@@ -67470,14 +59917,14 @@{"type": "reflection","declaration": {- "id": 504,+ "id": 271,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 505,+ "id": 272,"name": "data","kind": 1024,"kindString": "Property",@@ -67485,21 +59932,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 31,+ "line": 32,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 506,+ "id": 273,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 508,+ "id": 275,"name": "session","kind": 1024,"kindString": "Property",@@ -67507,7 +59954,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 33,+ "line": 34,"character": 8}],@@ -67516,7 +59963,7 @@"types": [{"type": "reference",- "id": 529,+ "id": 307,"name": "Session"},{@@ -67527,7 +59974,7 @@}},{- "id": 507,+ "id": 274,"name": "user","kind": 1024,"kindString": "Property",@@ -67535,7 +59982,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 32,+ "line": 33,"character": 8}],@@ -67544,7 +59991,7 @@"types": [{"type": "reference",- "id": 548,+ "id": 326,"name": "User"},{@@ -67560,15 +60007,15 @@"title": "Properties","kind": 1024,"children": [- 508,- 507+ 275,+ 274]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 31,+ "line": 32,"character": 12}]@@ -67576,7 +60023,7 @@}},{- "id": 509,+ "id": 276,"name": "error","kind": 1024,"kindString": "Property",@@ -67584,7 +60031,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 35,+ "line": 36,"character": 6}],@@ -67599,15 +60046,15 @@"title": "Properties","kind": 1024,"children": [- 505,- 509+ 272,+ 276]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 30,+ "line": 31,"character": 4}]@@ -67616,14 +60063,14 @@{"type": "reflection","declaration": {- "id": 510,+ "id": 277,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 511,+ "id": 278,"name": "data","kind": 1024,"kindString": "Property",@@ -67631,21 +60078,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 38,+ "line": 39,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 512,+ "id": 279,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 514,+ "id": 281,"name": "session","kind": 1024,"kindString": "Property",@@ -67653,7 +60100,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 40,+ "line": 41,"character": 8}],@@ -67663,7 +60110,7 @@}},{- "id": 513,+ "id": 280,"name": "user","kind": 1024,"kindString": "Property",@@ -67671,7 +60118,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 39,+ "line": 40,"character": 8}],@@ -67686,15 +60133,15 @@"title": "Properties","kind": 1024,"children": [- 514,- 513+ 281,+ 280]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 38,+ "line": 39,"character": 12}]@@ -67702,7 +60149,7 @@}},{- "id": 515,+ "id": 282,"name": "error","kind": 1024,"kindString": "Property",@@ -67710,13 +60157,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 42,+ "line": 43,"character": 6}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -67726,15 +60173,15 @@"title": "Properties","kind": 1024,"children": [- 511,- 515+ 278,+ 282]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 37,+ "line": 38,"character": 4}]@@ -67744,7 +60191,7 @@}},{- "id": 660,+ "id": 432,"name": "CallRefreshTokenResult","kind": 4194304,"kindString": "Type alias",@@ -67752,7 +60199,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 280,+ "line": 320,"character": 12}],@@ -67762,14 +60209,14 @@{"type": "reflection","declaration": {- "id": 661,+ "id": 433,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 663,+ "id": 435,"name": "error","kind": 1024,"kindString": "Property",@@ -67777,7 +60224,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 283,+ "line": 323,"character": 6}],@@ -67787,7 +60234,7 @@}},{- "id": 662,+ "id": 434,"name": "session","kind": 1024,"kindString": "Property",@@ -67795,13 +60242,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 282,+ "line": 322,"character": 6}],"type": {"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}}@@ -67811,15 +60258,15 @@"title": "Properties","kind": 1024,"children": [- 663,- 662+ 435,+ 434]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 281,+ "line": 321,"character": 4}]@@ -67828,14 +60275,14 @@{"type": "reflection","declaration": {- "id": 664,+ "id": 436,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 666,+ "id": 438,"name": "error","kind": 1024,"kindString": "Property",@@ -67843,18 +60290,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 287,+ "line": 327,"character": 6}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}},{- "id": 665,+ "id": 437,"name": "session","kind": 1024,"kindString": "Property",@@ -67862,7 +60309,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 286,+ "line": 326,"character": 6}],@@ -67877,15 +60324,15 @@"title": "Properties","kind": 1024,"children": [- 666,- 665+ 438,+ 437]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 285,+ "line": 325,"character": 4}]@@ -67895,15 +60342,15 @@}},{- "id": 652,- "name": "EmailOTPType",+ "id": 429,+ "name": "EmailOtpType","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 259,+ "line": 298,"character": 12}],@@ -67934,15 +60381,61 @@}},{- "id": 651,- "name": "MobileOTPType",+ "id": 430,+ "name": "GenerateLinkTypes",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "comment": {+ "shortText": "The link type"+ },+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 301,+ "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": 428,+ "name": "MobileOtpType","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 258,+ "line": 297,"character": 12}],@@ -67961,7 +60454,7 @@}},{- "id": 516,+ "id": 283,"name": "OAuthResponse","kind": 4194304,"kindString": "Type alias",@@ -67969,7 +60462,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 45,+ "line": 46,"character": 12}],@@ -67979,14 +60472,14 @@{"type": "reflection","declaration": {- "id": 517,+ "id": 284,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 518,+ "id": 285,"name": "data","kind": 1024,"kindString": "Property",@@ -67994,21 +60487,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 47,+ "line": 48,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 519,+ "id": 286,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 520,+ "id": 287,"name": "provider","kind": 1024,"kindString": "Property",@@ -68016,18 +60509,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 48,+ "line": 49,"character": 8}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 521,+ "id": 288,"name": "url","kind": 1024,"kindString": "Property",@@ -68035,7 +60528,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 49,+ "line": 50,"character": 8}],@@ -68050,15 +60543,15 @@"title": "Properties","kind": 1024,"children": [- 520,- 521+ 287,+ 288]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 47,+ "line": 48,"character": 12}]@@ -68066,7 +60559,7 @@}},{- "id": 522,+ "id": 289,"name": "error","kind": 1024,"kindString": "Property",@@ -68074,7 +60567,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 51,+ "line": 52,"character": 6}],@@ -68089,15 +60582,15 @@"title": "Properties","kind": 1024,"children": [- 518,- 522+ 285,+ 289]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 46,+ "line": 47,"character": 4}]@@ -68106,14 +60599,14 @@{"type": "reflection","declaration": {- "id": 523,+ "id": 290,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 524,+ "id": 291,"name": "data","kind": 1024,"kindString": "Property",@@ -68121,21 +60614,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 54,+ "line": 55,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 525,+ "id": 292,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 526,+ "id": 293,"name": "provider","kind": 1024,"kindString": "Property",@@ -68143,18 +60636,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 55,+ "line": 56,"character": 8}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 527,+ "id": 294,"name": "url","kind": 1024,"kindString": "Property",@@ -68162,7 +60655,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 56,+ "line": 57,"character": 8}],@@ -68177,15 +60670,15 @@"title": "Properties","kind": 1024,"children": [- 526,- 527+ 293,+ 294]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 54,+ "line": 55,"character": 12}]@@ -68193,7 +60686,7 @@}},{- "id": 528,+ "id": 295,"name": "error","kind": 1024,"kindString": "Property",@@ -68201,13 +60694,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 58,+ "line": 59,"character": 6}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -68217,15 +60710,15 @@"title": "Properties","kind": 1024,"children": [- 524,- 528+ 291,+ 295]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 53,+ "line": 54,"character": 4}]@@ -68235,15 +60728,18 @@}},{- "id": 501,+ "id": 268,"name": "Provider","kind": 4194304,"kindString": "Type alias","flags": {},+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 3,+ "line": 4,"character": 12}],@@ -68318,7 +60814,7 @@}},{- "id": 629,+ "id": 406,"name": "SignInWithOAuthCredentials","kind": 4194304,"kindString": "Type alias",@@ -68326,21 +60822,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 12}],"type": {"type": "reflection","declaration": {- "id": 630,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 632,+ "id": 409,"name": "options","kind": 1024,"kindString": "Property",@@ -68350,32 +60846,35 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 237,+ "line": 268,"character": 2}],"type": {"type": "reference",- "id": 633,+ "id": 410,"name": "SignInWithOAuthOptions"}},{- "id": 631,+ "id": 408,"name": "provider","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 236,+ "line": 267,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}}@@ -68385,15 +60884,15 @@"title": "Properties","kind": 1024,"children": [- 632,- 631+ 409,+ 408]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 41}]@@ -68401,7 +60900,7 @@}},{- "id": 607,+ "id": 384,"name": "SignInWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -68409,7 +60908,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 206,+ "line": 230,"character": 12}],@@ -68419,22 +60918,25 @@{"type": "reflection","declaration": {- "id": 608,+ "id": 385,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 609,+ "id": 386,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 208,+ "line": 233,"character": 6}],@@ -68444,7 +60946,7 @@}},{- "id": 611,+ "id": 388,"name": "options","kind": 1024,"kindString": "Property",@@ -68454,26 +60956,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 210,+ "line": 236,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 610,+ "id": 387,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 209,+ "line": 235,"character": 6}],@@ -68488,16 +60993,16 @@"title": "Properties","kind": 1024,"children": [- 609,- 611,- 610+ 386,+ 388,+ 387]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 207,+ "line": 231,"character": 4}]@@ -68506,14 +61011,14 @@{"type": "reflection","declaration": {- "id": 612,+ "id": 389,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 615,+ "id": 392,"name": "options","kind": 1024,"kindString": "Property",@@ -68523,26 +61028,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 215,+ "line": 243,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 614,+ "id": 391,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 214,+ "line": 242,"character": 6}],@@ -68552,15 +61060,18 @@}},{- "id": 613,+ "id": 390,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 213,+ "line": 240,"character": 6}],@@ -68575,16 +61086,16 @@"title": "Properties","kind": 1024,"children": [- 615,- 614,- 613+ 392,+ 391,+ 390]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 212,+ "line": 238,"character": 4}]@@ -68594,7 +61105,7 @@}},{- "id": 618,+ "id": 395,"name": "SignInWithPasswordlessCredentials","kind": 4194304,"kindString": "Type alias",@@ -68602,7 +61113,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 220,+ "line": 248,"character": 12}],@@ -68612,22 +61123,25 @@{"type": "reflection","declaration": {- "id": 619,+ "id": 396,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 620,+ "id": 397,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 222,+ "line": 251,"character": 6}],@@ -68637,7 +61151,7 @@}},{- "id": 621,+ "id": 398,"name": "options","kind": 1024,"kindString": "Property",@@ -68647,13 +61161,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 223,+ "line": 252,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}}@@ -68663,15 +61177,15 @@"title": "Properties","kind": 1024,"children": [- 620,- 621+ 397,+ 398]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 221,+ "line": 249,"character": 4}]@@ -68680,14 +61194,14 @@{"type": "reflection","declaration": {- "id": 622,+ "id": 399,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 624,+ "id": 401,"name": "options","kind": 1024,"kindString": "Property",@@ -68697,26 +61211,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 227,+ "line": 257,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}},{- "id": 623,+ "id": 400,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 226,+ "line": 256,"character": 6}],@@ -68731,15 +61248,15 @@"title": "Properties","kind": 1024,"children": [- 624,- 623+ 401,+ 400]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 254,"character": 4}]@@ -68749,7 +61266,7 @@}},{- "id": 659,+ "id": 431,"name": "SupportedStorage","kind": 4194304,"kindString": "Type alias",@@ -68757,7 +61274,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 278,+ "line": 318,"character": 12}],@@ -68800,15 +61317,250 @@}},{- "id": 640,- "name": "VerifyOTPParams",+ "id": 296,+ "name": "UserResponse","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 245,+ "line": 62,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "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": 64,+ "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": 65,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 326,+ "name": "User"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 300+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 64,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 301,+ "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": [+ 298,+ 301+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 63,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 302,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 303,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 70,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 304,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 305,+ "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": [+ 305+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 70,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 306,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 73,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 442,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 303,+ 306+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 69,+ "character": 4+ }+ ]+ }+ }+ ]+ }+ },+ {+ "id": 417,+ "name": "VerifyOtpParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 279,"character": 12}],@@ -68817,19 +61569,19 @@"types": [{"type": "reference",- "id": 641,- "name": "VerifyMobileOTPParams"+ "id": 418,+ "name": "VerifyMobileOtpParams"},{"type": "reference",- "id": 646,- "name": "VerifyEmailOTPParams"+ "id": 423,+ "name": "VerifyEmailOtpParams"}]}},{- "id": 667,+ "id": 439,"name": "isAuthError","kind": 64,"kindString": "Function",@@ -68843,14 +61595,14 @@],"signatures": [{- "id": 668,+ "id": 440,"name": "isAuthError","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 669,+ "id": 441,"name": "error","kind": 32768,"kindString": "Parameter",@@ -68867,7 +61619,7 @@"asserts": false,"targetType": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -68880,59 +61632,60 @@"title": "Classes","kind": 128,"children": [- 675,- 670,- 722,- 735,- 710,- 688,- 695,+ 447,+ 442,+ 494,+ 507,+ 482,+ 460,+ 467,1,- 296+ 81]},{"title": "Interfaces","kind": 256,"children": [- 582,- 653,- 529,- 633,- 616,- 625,- 592,- 548,- 576,- 600,- 537,- 646,- 641+ 360,+ 307,+ 410,+ 393,+ 402,+ 370,+ 326,+ 354,+ 378,+ 315,+ 423,+ 418]},{"title": "Type Aliases","kind": 4194304,"children": [- 502,- 503,- 660,- 652,- 651,- 516,- 501,- 629,- 607,- 618,- 659,- 640+ 269,+ 270,+ 432,+ 429,+ 430,+ 428,+ 283,+ 268,+ 406,+ 384,+ 395,+ 431,+ 296,+ 417]},{"title": "Functions","kind": 64,"children": [- 667+ 439]}],diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.jsonindex 13a06b10d6e..9a55fe2628b 100644--- a/spec/enrichments/tsdoc_v2/gotrue.json+++ b/spec/enrichments/tsdoc_v2/gotrue.json@@ -7,14 +7,14 @@"originalName": "","children": [{- "id": 675,+ "id": 447,"name": "AuthApiError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 676,+ "id": 448,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -28,14 +28,14 @@],"signatures": [{- "id": 677,+ "id": 449,"name": "new AuthApiError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 678,+ "id": 450,"name": "message","kind": 32768,"kindString": "Parameter",@@ -46,7 +46,7 @@}},{- "id": 679,+ "id": 451,"name": "status","kind": 32768,"kindString": "Parameter",@@ -59,50 +59,24 @@],"type": {"type": "reference",- "id": 675,+ "id": 447,"name": "AuthApiError"},"overwrites": {"type": "reference",- "id": 672,+ "id": 444,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 671,+ "id": 443,"name": "AuthError.constructor"}},{- "id": 687,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 674,- "name": "AuthError.__isAuthError"- }- },- {- "id": 680,+ "id": 452,"name": "status","kind": 1024,"kindString": "Property",@@ -120,7 +94,7 @@}},{- "id": 681,+ "id": 453,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -134,7 +108,7 @@],"signatures": [{- "id": 682,+ "id": 454,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -142,14 +116,14 @@"type": {"type": "reflection","declaration": {- "id": 683,+ "id": 455,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 685,+ "id": 457,"name": "message","kind": 1024,"kindString": "Property",@@ -168,7 +142,7 @@"defaultValue": "..."},{- "id": 684,+ "id": 456,"name": "name","kind": 1024,"kindString": "Property",@@ -187,7 +161,7 @@"defaultValue": "..."},{- "id": 686,+ "id": 458,"name": "status","kind": 1024,"kindString": "Property",@@ -211,9 +185,9 @@"title": "Properties","kind": 1024,"children": [- 685,- 684,- 686+ 457,+ 456,+ 458]}]@@ -228,22 +202,21 @@"title": "Constructors","kind": 512,"children": [- 676+ 448]},{"title": "Properties","kind": 1024,"children": [- 687,- 680+ 452]},{"title": "Methods","kind": 2048,"children": [- 681+ 453]}],@@ -257,20 +230,20 @@"extendedTypes": [{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}]},{- "id": 670,+ "id": 442,"name": "AuthError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 671,+ "id": 443,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -284,14 +257,14 @@],"signatures": [{- "id": 672,+ "id": 444,"name": "new AuthError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 673,+ "id": 445,"name": "message","kind": 32768,"kindString": "Parameter",@@ -304,7 +277,7 @@],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"},"overwrites": {@@ -317,27 +290,6 @@"type": "reference","name": "Error.constructor"}- },- {- "id": 674,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true"}],"groups": [@@ -345,14 +297,7 @@"title": "Constructors","kind": 512,"children": [- 671- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 674+ 443]}],@@ -374,30 +319,30 @@"extendedBy": [{"type": "reference",- "id": 675,+ "id": 447,"name": "AuthApiError"},{"type": "reference",- "id": 688,+ "id": 460,"name": "AuthUnknownError"},{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 722,+ "id": 494,"name": "AuthInvalidCredentialsError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 723,+ "id": 495,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -411,14 +356,14 @@],"signatures": [{- "id": 724,+ "id": 496,"name": "new AuthInvalidCredentialsError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 725,+ "id": 497,"name": "message","kind": 32768,"kindString": "Parameter",@@ -431,50 +376,24 @@],"type": {"type": "reference",- "id": 722,+ "id": 494,"name": "AuthInvalidCredentialsError"},"overwrites": {"type": "reference",- "id": 697,+ "id": 469,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 696,+ "id": 468,"name": "CustomAuthError.constructor"}},{- "id": 734,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 709,- "name": "CustomAuthError.__isAuthError"- }- },- {- "id": 726,+ "id": 498,"name": "name","kind": 1024,"kindString": "Property",@@ -492,12 +411,12 @@},"inheritedFrom": {"type": "reference",- "id": 701,+ "id": 473,"name": "CustomAuthError.name"}},{- "id": 727,+ "id": 499,"name": "status","kind": 1024,"kindString": "Property",@@ -515,12 +434,12 @@},"inheritedFrom": {"type": "reference",- "id": 702,+ "id": 474,"name": "CustomAuthError.status"}},{- "id": 728,+ "id": 500,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -534,7 +453,7 @@],"signatures": [{- "id": 729,+ "id": 501,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -542,14 +461,14 @@"type": {"type": "reflection","declaration": {- "id": 730,+ "id": 502,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 732,+ "id": 504,"name": "message","kind": 1024,"kindString": "Property",@@ -568,7 +487,7 @@"defaultValue": "..."},{- "id": 731,+ "id": 503,"name": "name","kind": 1024,"kindString": "Property",@@ -587,7 +506,7 @@"defaultValue": "..."},{- "id": 733,+ "id": 505,"name": "status","kind": 1024,"kindString": "Property",@@ -611,9 +530,9 @@"title": "Properties","kind": 1024,"children": [- 732,- 731,- 733+ 504,+ 503,+ 505]}]@@ -621,14 +540,14 @@},"inheritedFrom": {"type": "reference",- "id": 704,+ "id": 476,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 703,+ "id": 475,"name": "CustomAuthError.toJSON"}}@@ -638,23 +557,22 @@"title": "Constructors","kind": 512,"children": [- 723+ 495]},{"title": "Properties","kind": 1024,"children": [- 734,- 726,- 727+ 498,+ 499]},{"title": "Methods","kind": 2048,"children": [- 728+ 500]}],@@ -668,20 +586,20 @@"extendedTypes": [{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 735,+ "id": 507,"name": "AuthRetryableFetchError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 736,+ "id": 508,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -695,14 +613,14 @@],"signatures": [{- "id": 737,+ "id": 509,"name": "new AuthRetryableFetchError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 738,+ "id": 510,"name": "message","kind": 32768,"kindString": "Parameter",@@ -713,7 +631,7 @@}},{- "id": 739,+ "id": 511,"name": "status","kind": 32768,"kindString": "Parameter",@@ -726,50 +644,24 @@],"type": {"type": "reference",- "id": 735,+ "id": 507,"name": "AuthRetryableFetchError"},"overwrites": {"type": "reference",- "id": 697,+ "id": 469,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 696,+ "id": 468,"name": "CustomAuthError.constructor"}},{- "id": 748,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 709,- "name": "CustomAuthError.__isAuthError"- }- },- {- "id": 740,+ "id": 512,"name": "name","kind": 1024,"kindString": "Property",@@ -787,12 +679,12 @@},"inheritedFrom": {"type": "reference",- "id": 701,+ "id": 473,"name": "CustomAuthError.name"}},{- "id": 741,+ "id": 513,"name": "status","kind": 1024,"kindString": "Property",@@ -810,12 +702,12 @@},"inheritedFrom": {"type": "reference",- "id": 702,+ "id": 474,"name": "CustomAuthError.status"}},{- "id": 742,+ "id": 514,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -829,7 +721,7 @@],"signatures": [{- "id": 743,+ "id": 515,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -837,14 +729,14 @@"type": {"type": "reflection","declaration": {- "id": 744,+ "id": 516,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 746,+ "id": 518,"name": "message","kind": 1024,"kindString": "Property",@@ -863,7 +755,7 @@"defaultValue": "..."},{- "id": 745,+ "id": 517,"name": "name","kind": 1024,"kindString": "Property",@@ -882,7 +774,7 @@"defaultValue": "..."},{- "id": 747,+ "id": 519,"name": "status","kind": 1024,"kindString": "Property",@@ -906,9 +798,9 @@"title": "Properties","kind": 1024,"children": [- 746,- 745,- 747+ 518,+ 517,+ 519]}]@@ -916,14 +808,14 @@},"inheritedFrom": {"type": "reference",- "id": 704,+ "id": 476,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 703,+ "id": 475,"name": "CustomAuthError.toJSON"}}@@ -933,23 +825,22 @@"title": "Constructors","kind": 512,"children": [- 736+ 508]},{"title": "Properties","kind": 1024,"children": [- 748,- 740,- 741+ 512,+ 513]},{"title": "Methods","kind": 2048,"children": [- 742+ 514]}],@@ -963,20 +854,20 @@"extendedTypes": [{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 710,+ "id": 482,"name": "AuthSessionMissingError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 711,+ "id": 483,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -990,57 +881,31 @@],"signatures": [{- "id": 712,+ "id": 484,"name": "new AuthSessionMissingError","kind": 16384,"kindString": "Constructor signature","flags": {},"type": {"type": "reference",- "id": 710,+ "id": 482,"name": "AuthSessionMissingError"},"overwrites": {"type": "reference",- "id": 697,+ "id": 469,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 696,+ "id": 468,"name": "CustomAuthError.constructor"}},{- "id": 721,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 709,- "name": "CustomAuthError.__isAuthError"- }- },- {- "id": 713,+ "id": 485,"name": "name","kind": 1024,"kindString": "Property",@@ -1058,12 +923,12 @@},"inheritedFrom": {"type": "reference",- "id": 701,+ "id": 473,"name": "CustomAuthError.name"}},{- "id": 714,+ "id": 486,"name": "status","kind": 1024,"kindString": "Property",@@ -1081,12 +946,12 @@},"inheritedFrom": {"type": "reference",- "id": 702,+ "id": 474,"name": "CustomAuthError.status"}},{- "id": 715,+ "id": 487,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -1100,7 +965,7 @@],"signatures": [{- "id": 716,+ "id": 488,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -1108,14 +973,14 @@"type": {"type": "reflection","declaration": {- "id": 717,+ "id": 489,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 719,+ "id": 491,"name": "message","kind": 1024,"kindString": "Property",@@ -1134,7 +999,7 @@"defaultValue": "..."},{- "id": 718,+ "id": 490,"name": "name","kind": 1024,"kindString": "Property",@@ -1153,7 +1018,7 @@"defaultValue": "..."},{- "id": 720,+ "id": 492,"name": "status","kind": 1024,"kindString": "Property",@@ -1177,9 +1042,9 @@"title": "Properties","kind": 1024,"children": [- 719,- 718,- 720+ 491,+ 490,+ 492]}]@@ -1187,14 +1052,14 @@},"inheritedFrom": {"type": "reference",- "id": 704,+ "id": 476,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 703,+ "id": 475,"name": "CustomAuthError.toJSON"}}@@ -1204,23 +1069,22 @@"title": "Constructors","kind": 512,"children": [- 711+ 483]},{"title": "Properties","kind": 1024,"children": [- 721,- 713,- 714+ 485,+ 486]},{"title": "Methods","kind": 2048,"children": [- 715+ 487]}],@@ -1234,20 +1098,20 @@"extendedTypes": [{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 688,+ "id": 460,"name": "AuthUnknownError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 689,+ "id": 461,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -1261,14 +1125,14 @@],"signatures": [{- "id": 690,+ "id": 462,"name": "new AuthUnknownError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 691,+ "id": 463,"name": "message","kind": 32768,"kindString": "Parameter",@@ -1279,7 +1143,7 @@}},{- "id": 692,+ "id": 464,"name": "originalError","kind": 32768,"kindString": "Parameter",@@ -1292,50 +1156,24 @@],"type": {"type": "reference",- "id": 688,+ "id": 460,"name": "AuthUnknownError"},"overwrites": {"type": "reference",- "id": 672,+ "id": 444,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 671,+ "id": 443,"name": "AuthError.constructor"}},{- "id": 694,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 674,- "name": "AuthError.__isAuthError"- }- },- {- "id": 693,+ "id": 465,"name": "originalError","kind": 1024,"kindString": "Property",@@ -1358,15 +1196,14 @@"title": "Constructors","kind": 512,"children": [- 689+ 461]},{"title": "Properties","kind": 1024,"children": [- 694,- 693+ 465]}],@@ -1380,20 +1217,20 @@"extendedTypes": [{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}]},{- "id": 695,+ "id": 467,"name": "CustomAuthError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 696,+ "id": 468,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -1407,14 +1244,14 @@],"signatures": [{- "id": 697,+ "id": 469,"name": "new CustomAuthError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 698,+ "id": 470,"name": "message","kind": 32768,"kindString": "Parameter",@@ -1425,7 +1262,7 @@}},{- "id": 699,+ "id": 471,"name": "name","kind": 32768,"kindString": "Parameter",@@ -1436,7 +1273,7 @@}},{- "id": 700,+ "id": 472,"name": "status","kind": 32768,"kindString": "Parameter",@@ -1449,50 +1286,24 @@],"type": {"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"},"overwrites": {"type": "reference",- "id": 672,+ "id": 444,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 671,+ "id": 443,"name": "AuthError.constructor"}},{- "id": 709,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 674,- "name": "AuthError.__isAuthError"- }- },- {- "id": 701,+ "id": 473,"name": "name","kind": 1024,"kindString": "Property",@@ -1514,7 +1325,7 @@}},{- "id": 702,+ "id": 474,"name": "status","kind": 1024,"kindString": "Property",@@ -1532,7 +1343,7 @@}},{- "id": 703,+ "id": 475,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -1546,7 +1357,7 @@],"signatures": [{- "id": 704,+ "id": 476,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -1554,14 +1365,14 @@"type": {"type": "reflection","declaration": {- "id": 705,+ "id": 477,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 707,+ "id": 479,"name": "message","kind": 1024,"kindString": "Property",@@ -1580,7 +1391,7 @@"defaultValue": "..."},{- "id": 706,+ "id": 478,"name": "name","kind": 1024,"kindString": "Property",@@ -1599,7 +1410,7 @@"defaultValue": "..."},{- "id": 708,+ "id": 480,"name": "status","kind": 1024,"kindString": "Property",@@ -1623,9 +1434,9 @@"title": "Properties","kind": 1024,"children": [- 707,- 706,- 708+ 479,+ 478,+ 480]}]@@ -1640,23 +1451,22 @@"title": "Constructors","kind": 512,"children": [- 696+ 468]},{"title": "Properties","kind": 1024,"children": [- 709,- 701,- 702+ 473,+ 474]},{"title": "Methods","kind": 2048,"children": [- 703+ 475]}],@@ -1670,31 +1480,31 @@"extendedTypes": [{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}],"extendedBy": [{"type": "reference",- "id": 710,+ "id": 482,"name": "AuthSessionMissingError"},{"type": "reference",- "id": 722,+ "id": 494,"name": "AuthInvalidCredentialsError"},{"type": "reference",- "id": 735,+ "id": 507,"name": "AuthRetryableFetchError"}]},{"id": 1,- "name": "GoTrueApi",+ "name": "GoTrueAdminApi","kind": 128,"kindString": "Class","flags": {},@@ -1707,15 +1517,15 @@"flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 21,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 13,"character": 2}],"signatures": [{"id": 3,- "name": "new GoTrueApi",+ "name": "new GoTrueAdminApi","kind": 16384,"kindString": "Constructor signature","flags": {},@@ -1745,8 +1555,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 30,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 22,"character": 4}],@@ -1835,8 +1645,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 27,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 19,"character": 4}],@@ -1882,8 +1692,8 @@"flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 26,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 18,"character": 4}],@@ -1917,198 +1727,90 @@]},{- "id": 21,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },+ "id": 56,+ "name": "createUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 19,- "character": 12+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 128,+ "character": 8}],- "type": {- "type": "reflection",- "declaration": {- "id": 22,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "signatures": [+ {+ "id": 57,+ "name": "createUser",+ "kind": 4096,+ "kindString": "Call signature","flags": {},- "signatures": [+ "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": 23,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",+ "id": 58,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter","flags": {},- "parameters": [- {- "id": 24,- "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": 25,- "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": 360,+ "name": "AdminUserAttributes"}}- ]- }- }- },- {- "id": 17,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 16,- "character": 12- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 18,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 19,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [+ ],+ "type": {+ "type": "reference",+ "typeArguments": [{- "id": 20,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],- "type": {- "type": "intrinsic",- "name": "string"- }+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}}- }+ ]},{- "id": 16,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },+ "id": 78,+ "name": "deleteUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 15,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 26,- "name": "_createRequestHeaders",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 42,- "character": 10+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 218,+ "character": 8}],"signatures": [{- "id": 27,- "name": "_createRequestHeaders",+ "id": 79,+ "name": "deleteUser","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods"+ "shortText": "Delete a user. Requires a `service_role` key."},"parameters": [{- "id": 28,- "name": "jwt",+ "id": 80,+ "name": "uid","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "A valid, logged-in JWT.\n"+ "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"},"type": {"type": "intrinsic",@@ -2117,57 +1819,170 @@}],"type": {- "type": "reflection",- "declaration": {- "id": 29,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 296,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}}]},{- "id": 230,- "name": "createUser",+ "id": 38,+ "name": "generateLink","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 669,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 85,"character": 8}],"signatures": [{- "id": 231,- "name": "createUser",+ "id": 39,+ "name": "generateLink","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Creates a new user.",- "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ "shortText": "Generates links to be sent via email or other."},"parameters": [{- "id": 232,- "name": "attributes",+ "id": 40,+ "name": "type",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "id": 430,+ "name": "GenerateLinkTypes"+ }+ },+ {+ "id": 41,+ "name": "email","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "The data you want to create the user with.\n"+ "shortText": "The user's email."},"type": {- "type": "reference",- "id": 582,- "name": "AdminUserAttributes"+ "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": {@@ -2179,66 +1994,106 @@{"type": "reflection","declaration": {- "id": 233,+ "id": 47,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 235,+ "id": 48,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 18+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 95,+ "character": 8}],"type": {"type": "reference",- "id": 548,+ "id": 326,"name": "User"}},{- "id": 236,+ "id": 49,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 30+ "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": 234,- "name": "user",+ "id": 51,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 6+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 99,+ "character": 8}],"type": {"type": "reference",- "id": 548,- "name": "User"+ "id": 307,+ "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}}],@@ -2247,9 +2102,8 @@"title": "Properties","kind": 1024,"children": [- 235,- 236,- 234+ 51,+ 52]}]@@ -2258,23 +2112,23 @@{"type": "reflection","declaration": {- "id": 237,+ "id": 53,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 239,+ "id": 54,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 60+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 102,+ "character": 8}],"type": {@@ -2283,41 +2137,23 @@}},{- "id": 240,+ "id": 55,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 72+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 102,+ "character": 20}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}- },- {- "id": 238,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 48- }- ],- "type": {- "type": "literal",- "value": null- }}],"groups": [@@ -2325,9 +2161,8 @@"title": "Properties","kind": 1024,"children": [- 239,- 240,- 238+ 54,+ 55]}]@@ -2344,38 +2179,37 @@]},{- "id": 268,- "name": "deleteUser",+ "id": 71,+ "name": "getUserById","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 771,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 173,"character": 8}],"signatures": [{- "id": 269,- "name": "deleteUser",+ "id": 72,+ "name": "getUserById","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Delete a user. Requires a `service_role` key.",- "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ "shortText": "Get user by id."},"parameters": [{- "id": 270,+ "id": 73,"name": "uid","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "The user uid you want to remove.\n"+ "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",@@ -2387,127 +2221,9 @@"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 271,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 273,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 774,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 272,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 773,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 273,- 272- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 274,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 276,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 776,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 275,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 776,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 276,- 275- ]- }- ]- }- }- ]+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -2518,68 +2234,37 @@]},{- "id": 212,- "name": "generateLink",+ "id": 31,+ "name": "inviteUserByEmail","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 618,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 55,"character": 8}],"signatures": [{- "id": 213,- "name": "generateLink",+ "id": 32,+ "name": "inviteUserByEmail","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Generates links to be sent via email or other."+ "shortText": "Sends an invite link to an email address."},"parameters": [{- "id": 214,- "name": "type",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."- },- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"- },- {- "type": "literal",- "value": "recovery"- }- ]- }- },- {- "id": 215,+ "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",@@ -2587,7 +2272,7 @@}},{- "id": 216,+ "id": 34,"name": "options","kind": 32768,"kindString": "Parameter",@@ -2595,14 +2280,14 @@"type": {"type": "reflection","declaration": {- "id": 217,+ "id": 35,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 219,+ "id": 37,"name": "data","kind": 1024,"kindString": "Property",@@ -2610,12 +2295,12 @@"isOptional": true},"comment": {- "shortText": "Optional user metadata. For signup only."+ "shortText": "Optional user metadata\n"},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 623,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 59,"character": 6}],@@ -2625,30 +2310,7 @@}},{- "id": 218,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "User password. For signup only."- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 622,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 220,+ "id": 36,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -2656,12 +2318,12 @@"isOptional": true},"comment": {- "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\").\n"+ "shortText": "A URL or mobile address to send the user to after they are confirmed."},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 624,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 58,"character": 6}],@@ -2676,9 +2338,8 @@"title": "Properties","kind": 1024,"children": [- 219,- 218,- 220+ 37,+ 36]}]@@ -2687,6 +2348,46 @@"defaultValue": "{}"}],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 296,+ "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"+ },"type": {"type": "reference","typeArguments": [@@ -2696,42 +2397,80 @@{"type": "reflection","declaration": {- "id": 221,+ "id": 61,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 222,+ "id": 62,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 628,- "character": 8+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 6}],"type": {- "type": "reference",- "id": 548,- "name": "User"+ "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": 326,+ "name": "User"+ }+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 64+ ]+ }+ ]+ }}},{- "id": 223,+ "id": 65,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 629,- "character": 8+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 31}],"type": {@@ -2745,8 +2484,8 @@"title": "Properties","kind": 1024,"children": [- 222,- 223+ 62,+ 65]}]@@ -2755,47 +2494,81 @@{"type": "reflection","declaration": {- "id": 224,+ "id": 66,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 225,+ "id": 67,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 632,- "character": 8+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 49}],"type": {- "type": "reference",- "id": 529,- "name": "Session"+ "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": 226,+ "id": 70,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 633,- "character": 8+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 70}],"type": {- "type": "literal",- "value": null+ "type": "reference",+ "id": 442,+ "name": "AuthError"}}],@@ -2804,67 +2577,8 @@"title": "Properties","kind": 1024,"children": [- 225,- 226- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 227,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 228,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 635,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 229,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 635,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 228,- 229+ 67,+ 70]}]@@ -2881,152 +2595,82 @@]},{- "id": 30,- "name": "getUrlForProvider",+ "id": 26,+ "name": "signOut","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 54,- "character": 2+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 33,+ "character": 8}],"signatures": [{- "id": 31,- "name": "getUrlForProvider",+ "id": 27,+ "name": "signOut","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Generates the relevant login URL for a third-party provider."+ "shortText": "Removes a logged-in session."},"parameters": [{- "id": 32,- "name": "provider",+ "id": 28,+ "name": "jwt","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "One of the providers supported by GoTrue."+ "shortText": "A valid, logged-in JWT.\n"},"type": {- "type": "reference",- "id": 501,- "name": "Provider"+ "type": "intrinsic",+ "name": "string"}- },- {- "id": 33,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {"type": "reflection","declaration": {- "id": 34,+ "id": 29,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 37,- "name": "queryParams",+ "id": 30,+ "name": "error","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 59,- "character": 6+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 33,+ "character": 40}],"type": {- "type": "reflection",- "declaration": {- "id": 38,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 39,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 40,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }+ "type": "union",+ "types": [+ {+ "type": "literal",+ "value": null+ },+ {+ "type": "reference",+ "id": 442,+ "name": "AuthError"}- }- }- },- {- "id": 35,- "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/GoTrueApi.ts",- "line": 57,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 36,- "name": "scopes",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A space-separated list of scopes granted to the OAuth application.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 58,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"+ ]}}],@@ -3035,188 +2679,78 @@"title": "Properties","kind": 1024,"children": [- 37,- 35,- 36+ 30]}]}}- }- ],- "type": {- "type": "intrinsic",- "name": "string"+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}}]},{- "id": 277,- "name": "getUser",+ "id": 74,+ "name": "updateUserById","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 806,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 195,"character": 8}],"signatures": [{- "id": 278,- "name": "getUser",+ "id": 75,+ "name": "updateUserById","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Gets the current user details.",- "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n"+ "shortText": "Updates the user data."},"parameters": [{- "id": 279,- "name": "jwt",+ "id": 76,+ "name": "uid","kind": 32768,"kindString": "Parameter","flags": {},- "comment": {- "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n"- },"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": 360,+ "name": "AdminUserAttributes"+ }}],"type": {"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 280,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 282,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 809,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 281,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 808,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 282,- 281- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 283,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 285,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 811,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 284,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 811,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 285,- 284- ]- }- ]- }- }- ]+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -3225,220 +2759,72 @@}}]- },+ }+ ],+ "groups": [{- "id": 249,- "name": "getUserById",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 715,- "character": 8- }- ],- "signatures": [- {- "id": 250,- "name": "getUserById",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Get user by id."- },- "parameters": [- {- "id": 251,- "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": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 252,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 254,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 27- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 253,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 15- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 254,- 253- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 255,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 257,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 57- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 256,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 45- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 257,- 256- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }+ "title": "Constructors",+ "kind": 512,+ "children": [+ 2]},{- "id": 176,- "name": "inviteUserByEmail",+ "title": "Methods","kind": 2048,- "kindString": "Method",+ "children": [+ 56,+ 78,+ 38,+ 71,+ 31,+ 59,+ 26,+ 74+ ]+ }+ ],+ "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","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 505,- "character": 8+ "fileName": "src/GoTrueClient.ts",+ "line": 104,+ "character": 2}],"signatures": [{- "id": 177,- "name": "inviteUserByEmail",- "kind": 4096,- "kindString": "Call signature",+ "id": 83,+ "name": "new GoTrueClient",+ "kind": 16384,+ "kindString": "Constructor signature","flags": {},"comment": {- "shortText": "Sends an invite link to an email address."+ "shortText": "Create a new client for use in the browser."},"parameters": [{- "id": 178,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 179,+ "id": 84,"name": "options","kind": 32768,"kindString": "Parameter",@@ -3446,6080 +2832,346 @@"type": {"type": "reflection","declaration": {- "id": 180,+ "id": 85,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 182,- "name": "data",+ "id": 93,+ "name": "autoRefreshToken","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "Optional user metadata\n"+ "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring."},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 509,- "character": 6+ "fileName": "src/GoTrueClient.ts",+ "line": 109,+ "character": 4}],"type": {"type": "intrinsic",- "name": "object"+ "name": "boolean"}},{- "id": 181,- "name": "redirectTo",+ "id": 92,+ "name": "detectSessionInUrl","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed."+ "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 508,- "character": 6+ "fileName": "src/GoTrueClient.ts",+ "line": 108,+ "character": 4}],"type": {"type": "intrinsic",- "name": "string"+ "name": "boolean"}- }- ],- "groups": [+ },{- "title": "Properties",+ "id": 97,+ "name": "fetch","kind": 1024,- "children": [- 182,- 181- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 183,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 185,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 514,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 184,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 513,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 185,- 184- ]- }- ]- }- },- {- "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/GoTrueApi.ts",- "line": 516,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 187,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 516,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 188,- 187- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 241,- "name": "listUsers",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 8- }- ],- "signatures": [- {- "id": 242,- "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": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 243,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 245,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 46- }- ],- "type": {- "type": "literal",- "value": null- }- },+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 244,- "name": "users",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 31- }- ],- "type": {- "type": "array",- "elementType": {- "type": "reference",- "id": 548,- "name": "User"- }- }+ "fileName": "src/GoTrueClient.ts",+ "line": 113,+ "character": 4}],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 245,- 244- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 246,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 248,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 77- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 247,- "name": "users",- "kind": 1024,- "kindString": "Property",+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 98,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "sources": [+ "signatures": [{- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 64- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 248,- 247- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 203,- "name": "refreshAccessToken",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 584,- "character": 8- }- ],- "signatures": [- {- "id": 204,- "name": "refreshAccessToken",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Generates a new JWT."- },- "parameters": [- {- "id": 205,- "name": "refreshToken",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid refresh token that was returned on login.\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 206,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 208,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 587,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 207,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 586,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 208,- 207- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 209,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 211,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 589,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 210,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 589,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 211,- 210- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 189,- "name": "resetPasswordForEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 545,- "character": 8- }- ],- "signatures": [- {- "id": 190,- "name": "resetPasswordForEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a reset request to an email address."- },- "parameters": [- {- "id": 191,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 192,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 193,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 195,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 549,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 194,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 548,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 195,- 194- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 196,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 197,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 553,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 198,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },- {- "id": 199,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 554,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 197,- 199- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 200,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 201,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 556,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 202,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 556,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 201,- 202- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 111,- "name": "sendMagicLinkEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 307,- "character": 8- }- ],- "signatures": [- {- "id": 112,- "name": "sendMagicLinkEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a magic login link to an email address."- },- "parameters": [- {- "id": 113,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 114,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 115,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 118,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 312,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 117,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 311,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 116,- "name": "shouldCreateUser",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true."- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 310,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 118,- 117,- 116- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 119,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 120,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 316,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 121,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },- {- "id": 122,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 317,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 120,- 122- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 123,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 124,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 319,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 125,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 319,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 124,- 125- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 126,- "name": "sendMobileOTP",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 354,- "character": 8- }- ],- "signatures": [- {- "id": 127,- "name": "sendMobileOTP",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"- },- "parameters": [- {- "id": 128,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's phone number WITH international prefix"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 129,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 130,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 132,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 358,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 131,- "name": "shouldCreateUser",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 357,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 132,- 131- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 133,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 134,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 362,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 135,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },- {- "id": 136,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 363,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 134,- 136- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 137,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 138,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 365,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 139,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 365,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 138,- 139- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 59,- "name": "signInWithEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 140,- "character": 8- }- ],- "signatures": [- {- "id": 60,- "name": "signInWithEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Logs in an existing user using their email address."- },- "parameters": [- {- "id": 61,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 62,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 63,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 64,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 65,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 144,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 65- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "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/GoTrueApi.ts",- "line": 148,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 68,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 149,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 67,- 68- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 69,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 70,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 151,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 71,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 151,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 70,- 71- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 102,- "name": "signInWithOpenIDConnect",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 267,- "character": 8- }- ],- "signatures": [- {- "id": 103,- "name": "signInWithOpenIDConnect",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Logs in an OpenID Connect user using their id_token."- },- "parameters": [- {- "id": 104,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 105,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 107,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 276,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 106,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 275,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 107,- 106- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 108,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 110,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 278,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 109,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 278,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 110,- 109- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 89,- "name": "signInWithPhone",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 227,- "character": 8- }- ],- "signatures": [- {- "id": 90,- "name": "signInWithPhone",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Logs in an existing user using their phone number and password."- },- "parameters": [- {- "id": 91,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The phone number of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 92,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 93,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 94,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 95,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on your site.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 231,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 95- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 96,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 98,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 236,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 97,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 235,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 98,- 97- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 99,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 101,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 238,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 100,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 238,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 101,- 100- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 140,- "name": "signOut",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 394,- "character": 8- }- ],- "signatures": [- {- "id": 141,- "name": "signOut",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Removes a logged-in session."- },- "parameters": [- {- "id": 142,- "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": 143,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 144,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 394,- "character": 40- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 670,- "name": "AuthError"- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 144- ]- }- ]- }- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 41,- "name": "signUpWithEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 86,- "character": 8- }- ],- "signatures": [- {- "id": 42,- "name": "signUpWithEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Creates a new user using their email address.",- "returns": "A logged-in session if the server has \"autoconfirm\" ON"- },- "parameters": [- {- "id": 43,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 44,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 45,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 46,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 49,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 92,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 48,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional user metadata.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 91,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 47,- "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/GoTrueApi.ts",- "line": 90,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 49,- 48,- 47- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "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/GoTrueApi.ts",- "line": 96,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 52,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 97,- "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/GoTrueApi.ts",- "line": 100,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 55,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 101,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 54,- 55- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 56,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 57,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 103,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 58,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 103,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 57,- 58- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 72,- "name": "signUpWithPhone",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 178,- "character": 8- }- ],- "signatures": [- {- "id": 73,- "name": "signUpWithPhone",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Signs up a new user using their phone number and a password."- },- "parameters": [- {- "id": 74,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The phone number of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 75,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 76,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 77,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 79,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 183,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 78,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional user metadata.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 182,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 79,- 78- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 80,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 81,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 187,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 82,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 188,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 81,- 82- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 83,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 84,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 191,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 85,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 192,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 84,- 85- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 86,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 87,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 194,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 88,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 194,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 87,- 88- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 286,- "name": "updateUser",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 832,- "character": 8- }- ],- "signatures": [- {- "id": 287,- "name": "updateUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates the user data."- },- "parameters": [- {- "id": 288,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid, logged-in JWT."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 289,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The data you want to update.\n"- },- "type": {- "type": "reference",- "id": 576,- "name": "UserAttributes"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 290,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 292,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 838,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 291,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 837,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 292,- 291- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 293,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 295,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 840,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 294,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 840,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 295,- 294- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 258,- "name": "updateUserById",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 739,- "character": 8- }- ],- "signatures": [- {- "id": 259,- "name": "updateUserById",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates the user data."- },- "parameters": [- {- "id": 260,- "name": "uid",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 261,- "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": 582,- "name": "AdminUserAttributes"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 262,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 264,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 745,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 263,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 744,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 264,- 263- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 265,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 267,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 747,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 266,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 747,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 267,- 266- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 145,- "name": "verifyMobileOTP",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 418,- "character": 8- }- ],- "signatures": [- {- "id": 146,- "name": "verifyMobileOTP",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "tags": [- {- "tag": "deprecated",- "text": "Use `verifyOTP` instead!"- }- ]- },- "parameters": [- {- "id": 147,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's phone number WITH international prefix"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 148,- "name": "token",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "token that user was sent to their mobile phone"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 149,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 150,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 151,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 422,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 151- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 152,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 153,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 426,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 154,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 427,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 153,- 154- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 155,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 156,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 430,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 157,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 431,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 156,- 157- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 158,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 159,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 433,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 160,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 433,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 159,- 160- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 161,- "name": "verifyOTP",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 463,- "character": 8- }- ],- "signatures": [- {- "id": 162,- "name": "verifyOTP",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Send User supplied Email / Mobile OTP to be verified"- },- "parameters": [- {- "id": 163,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 640,- "name": "VerifyOTPParams"- }- },- {- "id": 164,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 165,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 166,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 466,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 166- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 167,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 168,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 470,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 169,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 471,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 168,- 169- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 170,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 171,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 474,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 172,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 475,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 171,- 172- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 173,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 174,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 477,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 175,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 477,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 174,- 175- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 2- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 21,- 17,- 16- ]- },- {- "title": "Methods",- "kind": 2048,- "children": [- 26,- 230,- 268,- 212,- 30,- 277,- 249,- 176,- 241,- 203,- 189,- 111,- 126,- 59,- 102,- 89,- 140,- 41,- 72,- 286,- 258,- 145,- 161- ]- }- ],- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 14,- "character": 21- }- ]- },- {- "id": 296,- "name": "GoTrueClient",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 297,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 98,- "character": 2- }- ],- "signatures": [- {- "id": 298,- "name": "new GoTrueClient",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "comment": {- "shortText": "Create a new client for use in the browser."- },- "parameters": [- {- "id": 299,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 300,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 308,- "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": 103,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 307,- "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": 102,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 312,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 107,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 313,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 314,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "A custom fetch implementation.\n"- },- "parameters": [- {- "id": 315,- "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": 316,- "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": 302,- "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": 100,- "character": 4- }- ],- "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": "string"- }- }- }- }- },- {- "id": 311,- "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": 106,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 309,- "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": 104,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 310,- "name": "storage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 105,- "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": 306,- "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": 101,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 301,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The URL of the GoTrue server."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 99,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 308,- 307,- 312,- 302,- 311,- 309,- 310,- 306,- 301- ]- }- ]- }- }- }- ],- "type": {- "type": "reference",- "id": 296,- "name": "default"- }- }- ]- },- {- "id": 317,- "name": "api",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 65,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 1,- "name": "default"- }- },- {- "id": 320,- "name": "autoRefreshToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 77,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 319,- "name": "inMemorySession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "comment": {- "shortText": "The session object for the currently logged in user or null.\nOnly used if persistSession is false."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 75,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 529,- "name": "Session"- }- ]- }- },- {- "id": 325,- "name": "networkRetries",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 83,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "number"- },- "defaultValue": "0"- },- {- "id": 321,- "name": "persistSession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 78,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 324,- "name": "refreshTokenTimer",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true,- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 81,- "character": 12- }- ],- "type": {- "type": "reference",- "qualifiedName": "global.NodeJS.Timeout",- "package": "@types/node",- "name": "Timeout"- }- },- {- "id": 326,- "name": "refreshingDeferred",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 84,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 660,- "name": "CallRefreshTokenResult"- }- ],- "name": "Deferred"- }- ]- },- "defaultValue": "null"- },- {- "id": 323,- "name": "stateChangeEmitters",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 80,- "character": 12- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "string"- },- {- "type": "reference",- "id": 592,- "name": "Subscription"- }- ],- "qualifiedName": "Map",- "package": "typescript",- "name": "Map"- },- "defaultValue": "..."- },- {- "id": 322,- "name": "storage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 79,- "character": 12- }- ],- "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": 318,- "name": "storageKey",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "comment": {- "shortText": "The storage key used to identity the values saved in localStorage"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 69,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 480,- "name": "_callRefreshToken",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 775,- "character": 16- }- ],- "signatures": [- {- "id": 481,- "name": "_callRefreshToken",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 482,- "name": "refreshToken",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 660,- "name": "CallRefreshTokenResult"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 421,- "name": "_doesSessionExist",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 599,- "character": 10- }- ],- "signatures": [- {- "id": 422,- "name": "_doesSessionExist",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 423,- "name": "maybeSession",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "unknown"- }- }- ],- "type": {- "type": "predicate",- "name": "maybeSession",- "asserts": false,- "targetType": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- }- ]- },- {- "id": 424,- "name": "_handleEmailSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 610,- "character": 16- }- ],- "signatures": [- {- "id": 425,- "name": "_handleEmailSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 426,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 427,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 428,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 429,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 430,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 614,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 430- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 503,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 467,- "name": "_handleOpenIDConnectSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 686,- "character": 16- }- ],- "signatures": [- {- "id": 468,- "name": "_handleOpenIDConnectSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 469,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 470,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 473,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 696,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 472,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 695,- "character": 8- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 529,- "name": "Session"- }- ]- }- },- {- "id": 471,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 694,- "character": 8- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 548,- "name": "User"- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 473,- 472,- 471- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 474,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 477,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 698,- "character": 35- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 476,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 698,- "character": 20- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 475,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 698,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 477,- 476,- 475- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 431,- "name": "_handlePhoneSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 638,- "character": 16- }- ],- "signatures": [- {- "id": 432,- "name": "_handlePhoneSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 433,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 434,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 435,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 436,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 437,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 642,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 437- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 438,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 439,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 649,- "character": 38- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 440,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 441,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 649,- "character": 46- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- },- {- "id": 442,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 649,- "character": 61- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 441,- 442- ]- }- ]- }- },- "defaultValue": "..."- },- {- "id": 443,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 439,- 443- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 444,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 445,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 656,- "character": 15- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 446,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 447,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 448,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 656,- "character": 32- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- },- "defaultValue": "session.user"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 447,- 448- ]- }- ]- }- },- "defaultValue": "..."- },- {- "id": 449,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 656,- "character": 54- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 445,- 449- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 450,- "name": "_handleProviderSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 666,- "character": 10- }- ],- "signatures": [- {- "id": 451,- "name": "_handleProviderSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 452,- "name": "provider",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 501,- "name": "Provider"- }- },- {- "id": 453,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 454,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 457,- "name": "queryParams",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 671,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 458,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 459,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 460,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 455,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 669,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 456,- "name": "scopes",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 670,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 457,- 455,- 456- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 461,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 462,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 683,- "character": 13- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 463,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 464,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "reference",- "id": 501,- "name": "Provider"- }- },- {- "id": 465,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 464,- 465- ]- }- ]- }- },- "defaultValue": "..."- },- {- "id": 466,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 683,- "character": 38- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 462,- 466- ]- }- ]- }- }- }- ]- },- {- "id": 499,- "name": "_handleVisibilityChange",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 883,- "character": 10- }- ],- "signatures": [- {- "id": 500,- "name": "_handleVisibilityChange",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "literal",- "value": false- }- ]- }- }- ]- },- {- "id": 483,- "name": "_notifyAllSubscribers",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 815,- "character": 10- }- ],- "signatures": [- {- "id": 484,- "name": "_notifyAllSubscribers",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 485,- "name": "event",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 502,- "name": "AuthChangeEvent"- }- },- {- "id": 486,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 529,- "name": "Session"- }- ]- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 490,- "name": "_persistSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 843,- "character": 10- }- ],- "signatures": [- {- "id": 491,- "name": "_persistSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 492,- "name": "currentSession",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 478,- "name": "_recoverAndRefresh",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 730,- "character": 16- }- ],- "signatures": [- {- "id": 479,- "name": "_recoverAndRefresh",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."- },- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "literal",- "value": null- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 493,- "name": "_removeSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 847,- "character": 16- }- ],- "signatures": [- {- "id": 494,- "name": "_removeSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "void"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 487,- "name": "_saveSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 823,- "character": 10- }- ],- "signatures": [- {- "id": 488,- "name": "_saveSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"- },- "parameters": [- {- "id": 489,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 495,- "name": "_startAutoRefreshToken",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 863,- "character": 10- }- ],- "signatures": [- {- "id": 496,- "name": "_startAutoRefreshToken",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Clear and re-create refresh token timer"- },- "parameters": [- {- "id": 497,- "name": "value",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "time intervals in milliseconds\n"- },- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 498,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 350,- "name": "getSession",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 341,- "character": 8- }- ],- "signatures": [- {- "id": 351,- "name": "getSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Returns the session data, refreshing it if necessary."- },- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 352,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 354,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 344,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 353,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 343,- "character": 8+ "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"+ }}- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 354,- 353]}- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 355,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ }+ },+ {+ "id": 87,+ "name": "headers",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "Any additional headers to send to the GoTrue server."+ },+ "sources": [{- "id": 357,- "name": "error",- "kind": 1024,- "kindString": "Property",+ "fileName": "src/GoTrueClient.ts",+ "line": 106,+ "character": 4+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 88,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 348,- "character": 8+ "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": {- "type": "reference",- "id": 670,- "name": "AuthError"}- },+ }+ }+ },+ {+ "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": [{- "id": 356,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 347,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }+ "fileName": "src/GoTrueClient.ts",+ "line": 112,+ "character": 4}],- "groups": [+ "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": [{- "title": "Properties",- "kind": 1024,- "children": [- 357,- 356- ]+ "fileName": "src/GoTrueClient.ts",+ "line": 110,+ "character": 4}- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 358,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 360,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 352,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 95,+ "name": "storage",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 359,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 351,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }+ "fileName": "src/GoTrueClient.ts",+ "line": 111,+ "character": 4}],- "groups": [+ "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": [{- "title": "Properties",- "kind": 1024,- "children": [- 360,- 359- ]+ "fileName": "src/GoTrueClient.ts",+ "line": 107,+ "character": 4}- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 393,- "name": "getSessionFromUrl",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 489,- "character": 8- }- ],- "signatures": [- {- "id": 394,- "name": "getSessionFromUrl",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Gets the session data from a URL string"- },- "parameters": [- {- "id": 395,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "reflection",- "declaration": {- "id": 396,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },{- "id": 397,- "name": "storeSession",+ "id": 86,+ "name": "url","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "Optionally store the session in the browser\n"+ "shortText": "The URL of the GoTrue server."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 489,- "character": 38+ "line": 105,+ "character": 4}],"type": {"type": "intrinsic",- "name": "boolean"+ "name": "string"}}],@@ -9528,7 +3180,15 @@"title": "Properties","kind": 1024,"children": [- 397+ 93,+ 92,+ 97,+ 87,+ 96,+ 94,+ 95,+ 91,+ 86]}]@@ -9538,160 +3198,56 @@],"type": {"type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 398,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 400,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 492,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 399,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 491,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 400,- 399- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 401,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 403,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 494,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 402,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 494,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 403,- 402- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ "id": 81,+ "name": "default"}}]},{- "id": 361,- "name": "getUser",+ "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": 146,+ "name": "getSession","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 391,+ "line": 368,"character": 8}],"signatures": [{- "id": 362,- "name": "getUser",+ "id": 147,+ "name": "getSession","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Returns the user data, refreshing the session if necessary."+ "shortText": "Returns the session data, refreshing it if necessary.\nIf no session is detected, the session returned will be null."},"type": {"type": "reference",@@ -9702,47 +3258,82 @@{"type": "reflection","declaration": {- "id": 363,+ "id": 148,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 365,- "name": "error",+ "id": 149,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 394,+ "line": 370,"character": 8}],"type": {- "type": "literal",- "value": null+ "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": "reference",+ "id": 307,+ "name": "Session"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 151+ ]+ }+ ]+ }}},{- "id": 364,- "name": "user",+ "id": 152,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 393,+ "line": 373,"character": 8}],"type": {- "type": "reference",- "id": 548,- "name": "User"+ "type": "literal",+ "value": null}}],@@ -9751,8 +3342,8 @@"title": "Properties","kind": 1024,"children": [- 365,- 364+ 149,+ 152]}]@@ -9761,47 +3352,82 @@{"type": "reflection","declaration": {- "id": 366,+ "id": 153,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 368,- "name": "error",+ "id": 154,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 398,+ "line": 376,"character": 8}],"type": {- "type": "reference",- "id": 670,- "name": "AuthError"+ "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": 367,- "name": "user",+ "id": 157,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 397,+ "line": 379,"character": 8}],"type": {- "type": "literal",- "value": null+ "type": "reference",+ "id": 442,+ "name": "AuthError"}}],@@ -9810,8 +3436,8 @@"title": "Properties","kind": 1024,"children": [- 368,- 367+ 154,+ 157]}]@@ -9820,40 +3446,75 @@{"type": "reflection","declaration": {- "id": 369,+ "id": 158,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 371,- "name": "error",+ "id": 159,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 402,+ "line": 382,"character": 8}],"type": {- "type": "literal",- "value": null+ "type": "reflection",+ "declaration": {+ "id": 160,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 161,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 383,+ "character": 10+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 161+ ]+ }+ ]+ }}},{- "id": 370,- "name": "user",+ "id": 162,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 401,+ "line": 385,"character": 8}],@@ -9868,8 +3529,8 @@"title": "Properties","kind": 1024,"children": [- 371,- 370+ 159,+ 162]}]@@ -9886,7 +3547,64 @@]},{- "id": 408,+ "id": 163,+ "name": "getUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 425,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 164,+ "name": "getUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Gets the current user details if there is an existing session."+ },+ "parameters": [+ {+ "id": 165,+ "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": 296,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 184,"name": "onAuthStateChange","kind": 2048,"kindString": "Method",@@ -9894,13 +3612,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 573,+ "line": 599,"character": 2}],"signatures": [{- "id": 409,+ "id": 185,"name": "onAuthStateChange","kind": 4096,"kindString": "Call signature",@@ -9911,41 +3629,44 @@},"parameters": [{- "id": 410,+ "id": 186,"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": 411,+ "id": 187,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"signatures": [{- "id": 412,+ "id": 188,"name": "__type","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 413,+ "id": 189,"name": "event","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 502,+ "id": 269,"name": "AuthChangeEvent"}},{- "id": 414,+ "id": 190,"name": "session","kind": 32768,"kindString": "Parameter",@@ -9959,7 +3680,7 @@},{"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}]@@ -9982,14 +3703,14 @@{"type": "reflection","declaration": {- "id": 415,+ "id": 191,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 417,+ "id": 193,"name": "error","kind": 1024,"kindString": "Property",@@ -9997,7 +3718,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 576,+ "line": 602,"character": 8}],@@ -10007,7 +3728,7 @@}},{- "id": 416,+ "id": 192,"name": "subscription","kind": 1024,"kindString": "Property",@@ -10015,13 +3736,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 575,+ "line": 601,"character": 8}],"type": {"type": "reference",- "id": 592,+ "id": 370,"name": "Subscription"}}@@ -10031,8 +3752,8 @@"title": "Properties","kind": 1024,"children": [- 417,- 416+ 193,+ 192]}]@@ -10041,14 +3762,14 @@{"type": "reflection","declaration": {- "id": 418,+ "id": 194,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 420,+ "id": 196,"name": "error","kind": 1024,"kindString": "Property",@@ -10056,18 +3777,18 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 578,+ "line": 604,"character": 28}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}},{- "id": 419,+ "id": 195,"name": "subscription","kind": 1024,"kindString": "Property",@@ -10075,7 +3796,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 578,+ "line": 604,"character": 8}],@@ -10090,8 +3811,8 @@"title": "Properties","kind": 1024,"children": [- 420,- 419+ 196,+ 195]}]@@ -10103,146 +3824,169 @@]},{- "id": 381,- "name": "setSession",+ "id": 197,+ "name": "resetPasswordForEmail","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 455,+ "line": 631,"character": 8}],"signatures": [{- "id": 382,- "name": "setSession",+ "id": 198,+ "name": "resetPasswordForEmail","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Sets the session data from refresh_token and returns current Session and Error"+ "shortText": "Sends a reset request to an email address."},"parameters": [{- "id": 383,- "name": "refresh_token",+ "id": 199,+ "name": "email","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "a JWT token\n"+ "shortText": "The email address of the user."},"type": {"type": "intrinsic","name": "string"}- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 384,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 386,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 458,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },+ },+ {+ "id": 200,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 201,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 203,+ "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": [{- "id": 385,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 457,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }+ "fileName": "src/GoTrueClient.ts",+ "line": 635,+ "character": 6}],- "groups": [+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 202,+ "name": "redirectTo",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "A URL to send the user to after they are confirmed."+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 386,- 385- ]+ "fileName": "src/GoTrueClient.ts",+ "line": 634,+ "character": 6}+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 203,+ 202]}- },+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [{"type": "reflection","declaration": {- "id": 387,+ "id": 204,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 389,- "name": "error",+ "id": 205,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 460,- "character": 23+ "line": 639,+ "character": 8}],"type": {- "type": "literal",- "value": null+ "type": "reflection",+ "declaration": {+ "id": 206,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {}+ }}},{- "id": 388,- "name": "session",+ "id": 207,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 460,+ "line": 640,"character": 8}],@@ -10257,8 +4001,8 @@"title": "Properties","kind": 1024,"children": [- 389,- 388+ 205,+ 207]}]@@ -10267,47 +4011,47 @@{"type": "reflection","declaration": {- "id": 390,+ "id": 208,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 392,- "name": "error",+ "id": 209,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 461,- "character": 23+ "line": 642,+ "character": 8}],"type": {- "type": "reference",- "id": 670,- "name": "AuthError"+ "type": "literal",+ "value": null}},{- "id": 391,- "name": "session",+ "id": 210,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 461,- "character": 8+ "line": 642,+ "character": 20}],"type": {- "type": "literal",- "value": null+ "type": "reference",+ "id": 442,+ "name": "AuthError"}}],@@ -10316,8 +4060,8 @@"title": "Properties","kind": 1024,"children": [- 392,- 391+ 209,+ 210]}]@@ -10334,7 +4078,62 @@]},{- "id": 338,+ "id": 169,+ "name": "setSession",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 488,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 170,+ "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": 171,+ "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": 270,+ "name": "AuthResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 133,"name": "signInWithOAuth","kind": 2048,"kindString": "Method",@@ -10342,13 +4141,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 240,+ "line": 264,"character": 8}],"signatures": [{- "id": 339,+ "id": 134,"name": "signInWithOAuth","kind": 4096,"kindString": "Call signature",@@ -10358,14 +4157,14 @@},"parameters": [{- "id": 340,+ "id": 135,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 629,+ "id": 406,"name": "SignInWithOAuthCredentials"}}@@ -10375,7 +4174,7 @@"typeArguments": [{"type": "reference",- "id": 516,+ "id": 283,"name": "OAuthResponse"}],@@ -10387,7 +4186,7 @@]},{- "id": 341,+ "id": 136,"name": "signInWithOtp","kind": 2048,"kindString": "Method",@@ -10395,13 +4194,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 256,+ "line": 276,"character": 8}],"signatures": [{- "id": 342,+ "id": 137,"name": "signInWithOtp","kind": 4096,"kindString": "Call signature",@@ -10411,14 +4210,14 @@},"parameters": [{- "id": 343,+ "id": 138,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 618,+ "id": 395,"name": "SignInWithPasswordlessCredentials"}}@@ -10428,7 +4227,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -10440,7 +4239,7 @@]},{- "id": 335,+ "id": 130,"name": "signInWithPassword","kind": 2048,"kindString": "Method",@@ -10448,13 +4247,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 203,+ "line": 216,"character": 8}],"signatures": [{- "id": 336,+ "id": 131,"name": "signInWithPassword","kind": 4096,"kindString": "Call signature",@@ -10464,14 +4263,14 @@},"parameters": [{- "id": 337,+ "id": 132,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 607,+ "id": 384,"name": "SignInWithPasswordCredentials"}}@@ -10481,7 +4280,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -10493,7 +4292,7 @@]},{- "id": 404,+ "id": 180,"name": "signOut","kind": 2048,"kindString": "Method",@@ -10501,20 +4300,20 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 554,+ "line": 579,"character": 8}],"signatures": [{- "id": 405,+ "id": 181,"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)`. There is no way to revoke a user's session JWT before it automatically expires\n"+ "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",@@ -10522,14 +4321,14 @@{"type": "reflection","declaration": {- "id": 406,+ "id": 182,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 407,+ "id": 183,"name": "error","kind": 1024,"kindString": "Property",@@ -10537,7 +4336,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 554,+ "line": 579,"character": 29}],@@ -10550,7 +4349,7 @@},{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}]@@ -10562,7 +4361,7 @@"title": "Properties","kind": 1024,"children": [- 407+ 183]}]@@ -10577,7 +4376,7 @@]},{- "id": 327,+ "id": 122,"name": "signUp","kind": 2048,"kindString": "Method",@@ -10585,35 +4384,36 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 142,+ "line": 151,"character": 8}],"signatures": [{- "id": 328,+ "id": 123,"name": "signUp","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Creates a new user."+ "shortText": "Creates a new user.",+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"},"parameters": [{- "id": 329,+ "id": 124,"name": "__namedParameters","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 600,+ "id": 378,"name": "UserCredentials"}},{- "id": 330,+ "id": 125,"name": "options","kind": 32768,"kindString": "Parameter",@@ -10621,24 +4421,27 @@"type": {"type": "reflection","declaration": {- "id": 331,+ "id": 126,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 334,+ "id": 129,"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/GoTrueClient.ts",- "line": 147,+ "line": 156,"character": 6}],@@ -10648,7 +4451,7 @@}},{- "id": 333,+ "id": 128,"name": "data","kind": 1024,"kindString": "Property",@@ -10656,12 +4459,12 @@"isOptional": true},"comment": {- "shortText": "Optional user metadata.\n"+ "shortText": "Optional user metadata."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 146,+ "line": 155,"character": 6}],@@ -10671,7 +4474,7 @@}},{- "id": 332,+ "id": 127,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -10681,213 +4484,42 @@"comment": {"shortText": "The redirect URL attached to the signup confirmation link. Does not redirect the user if it's a mobile signup."},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 145,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 334,- 333,- 332- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 503,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 372,- "name": "update",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 420,- "character": 8- }- ],- "signatures": [- {- "id": 373,- "name": "update",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates user data, if there is a logged in user."- },- "parameters": [- {- "id": 374,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 576,- "name": "UserAttributes"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 375,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 377,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 423,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 376,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 422,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 377,- 376- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 378,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 380,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 425,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },+ "sources": [{- "id": 379,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 425,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }+ "fileName": "src/GoTrueClient.ts",+ "line": 154,+ "character": 6}],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 380,- 379- ]- }+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 129,+ 128,+ 127]}- }- ]+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 270,+ "name": "AuthResponse"}],"qualifiedName": "Promise",@@ -10898,22 +4530,75 @@]},{- "id": 344,- "name": "verifyOTP",+ "id": 166,+ "name": "updateUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 454,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 167,+ "name": "updateUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Updates user data, if there is a logged in user."+ },+ "parameters": [+ {+ "id": 168,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reference",+ "id": 354,+ "name": "UserAttributes"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 296,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 139,+ "name": "verifyOtp","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 295,+ "line": 319,"character": 8}],"signatures": [{- "id": 345,- "name": "verifyOTP",+ "id": 140,+ "name": "verifyOtp","kind": 4096,"kindString": "Call signature","flags": {},@@ -10922,19 +4607,19 @@},"parameters": [{- "id": 346,+ "id": 141,"name": "params","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 640,- "name": "VerifyOTPParams"+ "id": 417,+ "name": "VerifyOtpParams"}},{- "id": 347,+ "id": 142,"name": "options","kind": 32768,"kindString": "Parameter",@@ -10942,14 +4627,37 @@"type": {"type": "reflection","declaration": {- "id": 348,+ "id": 143,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 349,+ "id": 145,+ "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": 323,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 144,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -10957,12 +4665,12 @@"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"+ "shortText": "A URL to send the user to after they are confirmed."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 298,+ "line": 322,"character": 6}],@@ -10977,7 +4685,8 @@"title": "Properties","kind": 1024,"children": [- 349+ 145,+ 144]}]@@ -10991,7 +4700,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -11008,74 +4717,52 @@"title": "Constructors","kind": 512,"children": [- 297+ 82]},{"title": "Properties","kind": 1024,"children": [- 317,- 320,- 319,- 325,- 321,- 324,- 326,- 323,- 322,- 318+ 102]},{"title": "Methods","kind": 2048,"children": [- 480,- 421,- 424,- 467,- 431,- 450,- 499,- 483,- 490,- 478,- 493,- 487,- 495,- 350,- 393,- 361,- 408,- 381,- 338,- 341,- 335,- 404,- 327,- 372,- 344+ 146,+ 163,+ 184,+ 197,+ 169,+ 133,+ 136,+ 130,+ 180,+ 122,+ 166,+ 139]}],"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 60,+ "line": 61,"character": 21}]},{- "id": 582,+ "id": 360,"name": "AdminUserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 584,+ "id": 362,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -11089,7 +4776,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 165,+ "line": 187,"character": 2}],@@ -11099,7 +4786,7 @@}},{- "id": 591,+ "id": 369,"name": "data","kind": 1024,"kindString": "Property",@@ -11112,7 +4799,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 140,+ "line": 162,"character": 2}],@@ -11122,12 +4809,12 @@},"inheritedFrom": {"type": "reference",- "id": 581,+ "id": 359,"name": "UserAttributes.data"}},{- "id": 587,+ "id": 365,"name": "email","kind": 1024,"kindString": "Property",@@ -11140,7 +4827,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 142,"character": 2}],@@ -11150,301 +4837,164 @@},"inheritedFrom": {"type": "reference",- "id": 577,+ "id": 355,"name": "UserAttributes.email"}},{- "id": 590,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 135,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 580,- "name": "UserAttributes.email_change_token"- }- },- {- "id": 585,- "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": 172,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 589,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 130,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 579,- "name": "UserAttributes.password"- }- },- {- "id": 588,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 125,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 578,- "name": "UserAttributes.phone"- }- },- {- "id": 586,- "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": [- {- "fileName": "src/lib/types.ts",- "line": 179,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 583,- "name": "user_metadata",+ "id": 368,+ "name": "email_change_token","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"+ "shortText": "An email change token."},"sources": [{"fileName": "src/lib/types.ts",- "line": 155,+ "line": 157,"character": 2}],"type": {"type": "intrinsic",- "name": "object"+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 358,+ "name": "UserAttributes.email_change_token"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 584,- 591,- 587,- 590,- 585,- 589,- 588,- 586,- 583- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 143,- "character": 17- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 576,- "name": "UserAttributes"- }- ]- },- {- "id": 653,- "name": "OpenIDConnectCredentials",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [+ },{- "id": 657,- "name": "client_id",+ "id": 363,+ "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": 265,+ "line": 194,"character": 2}],"type": {"type": "intrinsic",- "name": "string"+ "name": "boolean"}},{- "id": 654,- "name": "id_token",+ "id": 367,+ "name": "password","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 152,"character": 2}],"type": {"type": "intrinsic","name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 357,+ "name": "UserAttributes.password"}},{- "id": 658,- "name": "issuer",+ "id": 366,+ "name": "phone","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's phone."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 266,+ "line": 147,"character": 2}],"type": {"type": "intrinsic","name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 356,+ "name": "UserAttributes.phone"}},{- "id": 655,- "name": "nonce",+ "id": 364,+ "name": "phone_confirm","kind": 1024,"kindString": "Property",- "flags": {},+ "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": 263,+ "line": 201,"character": 2}],"type": {"type": "intrinsic",- "name": "string"+ "name": "boolean"}},{- "id": 656,- "name": "provider",+ "id": 361,+ "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": 264,+ "line": 177,"character": 2}],"type": {- "type": "reference",- "id": 501,- "name": "Provider"+ "type": "intrinsic",+ "name": "object"}}],@@ -11453,39 +5003,53 @@"title": "Properties","kind": 1024,"children": [- 657,- 654,- 658,- 655,- 656+ 362,+ 369,+ 365,+ 368,+ 363,+ 367,+ 366,+ 364,+ 361]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 261,+ "line": 165,"character": 17}+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 354,+ "name": "UserAttributes"+ }]},{- "id": 529,+ "id": 307,"name": "Session","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 531,+ "id": 309,"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": 62,+ "line": 81,"character": 2}],@@ -11495,7 +5059,7 @@}},{- "id": 533,+ "id": 312,"name": "expires_at","kind": 1024,"kindString": "Property",@@ -11508,7 +5072,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 70,+ "line": 93,"character": 2}],@@ -11518,20 +5082,18 @@}},{- "id": 532,+ "id": 311,"name": "expires_in","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "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": 66,+ "line": 89,"character": 2}],@@ -11541,7 +5103,7 @@}},{- "id": 530,+ "id": 308,"name": "provider_token","kind": 1024,"kindString": "Property",@@ -11551,7 +5113,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 61,+ "line": 77,"character": 2}],@@ -11570,15 +5132,18 @@}},{- "id": 534,+ "id": 310,"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": 71,+ "line": 85,"character": 2}],@@ -11588,7 +5153,7 @@}},{- "id": 535,+ "id": 313,"name": "token_type","kind": 1024,"kindString": "Property",@@ -11596,7 +5161,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 72,+ "line": 94,"character": 2}],@@ -11606,7 +5171,7 @@}},{- "id": 536,+ "id": 314,"name": "user","kind": 1024,"kindString": "Property",@@ -11614,13 +5179,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 73,+ "line": 95,"character": 2}],"type": {"type": "reference",- "id": 548,+ "id": 326,"name": "User"}}@@ -11630,63 +5195,66 @@"title": "Properties","kind": 1024,"children": [- 531,- 533,- 532,- 530,- 534,- 535,- 536+ 309,+ 312,+ 311,+ 308,+ 310,+ 313,+ 314]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 60,+ "line": 76,"character": 17}]},{- "id": 633,+ "id": 410,"name": "SignInWithOAuthOptions","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 636,+ "id": 413,"name": "queryParams","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "An object of query params"+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 242,+ "line": 276,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 637,+ "id": 414,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 638,+ "id": 415,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 639,+ "id": 416,"name": "key","kind": 32768,"flags": {},@@ -11705,17 +5273,20 @@}},{- "id": 634,+ "id": 411,"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": 240,+ "line": 272,"character": 2}],@@ -11725,17 +5296,20 @@}},{- "id": 635,+ "id": 412,"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": 241,+ "line": 274,"character": 2}],@@ -11750,29 +5324,29 @@"title": "Properties","kind": 1024,"children": [- 636,- 634,- 635+ 413,+ 411,+ 412]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 239,+ "line": 270,"character": 17}]},{- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 617,+ "id": 394,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -11782,7 +5356,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 218,+ "line": 246,"character": 2}],@@ -11797,27 +5371,27 @@"title": "Properties","kind": 1024,"children": [- 617+ 394]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 217,+ "line": 245,"character": 17}]},{- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 628,+ "id": 405,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -11827,7 +5401,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 233,+ "line": 263,"character": 2}],@@ -11837,7 +5411,7 @@}},{- "id": 626,+ "id": 403,"name": "emailRedirectTo","kind": 1024,"kindString": "Property",@@ -11850,7 +5424,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 231,+ "line": 261,"character": 2}],@@ -11860,7 +5434,7 @@}},{- "id": 627,+ "id": 404,"name": "shouldCreateUser","kind": 1024,"kindString": "Property",@@ -11870,7 +5444,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 232,+ "line": 262,"character": 2}],@@ -11885,29 +5459,29 @@"title": "Properties","kind": 1024,"children": [- 628,- 626,- 627+ 405,+ 403,+ 404]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 229,+ "line": 259,"character": 17}]},{- "id": 592,+ "id": 370,"name": "Subscription","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 593,+ "id": 371,"name": "id","kind": 1024,"kindString": "Property",@@ -11918,7 +5492,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 186,+ "line": 208,"character": 2}],@@ -11928,7 +5502,7 @@}},{- "id": 594,+ "id": 372,"name": "callback","kind": 2048,"kindString": "Method",@@ -11936,13 +5510,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 190,+ "line": 212,"character": 2}],"signatures": [{- "id": 595,+ "id": 373,"name": "callback","kind": 4096,"kindString": "Call signature",@@ -11952,19 +5526,19 @@},"parameters": [{- "id": 596,+ "id": 374,"name": "event","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 502,+ "id": 269,"name": "AuthChangeEvent"}},{- "id": 597,+ "id": 375,"name": "session","kind": 32768,"kindString": "Parameter",@@ -11978,7 +5552,7 @@},{"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}]@@ -11993,7 +5567,7 @@]},{- "id": 598,+ "id": 376,"name": "unsubscribe","kind": 2048,"kindString": "Method",@@ -12001,13 +5575,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 194,+ "line": 216,"character": 2}],"signatures": [{- "id": 599,+ "id": 377,"name": "unsubscribe","kind": 4096,"kindString": "Call signature",@@ -12028,35 +5602,35 @@"title": "Properties","kind": 1024,"children": [- 593+ 371]},{"title": "Methods","kind": 2048,"children": [- 594,- 598+ 372,+ 376]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 182,+ "line": 204,"character": 17}]},{- "id": 548,+ "id": 326,"name": "User","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 565,+ "id": 343,"name": "action_link","kind": 1024,"kindString": "Property",@@ -12066,7 +5640,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 103,+ "line": 125,"character": 2}],@@ -12076,7 +5650,7 @@}},{- "id": 550,+ "id": 328,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -12084,21 +5658,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 90,+ "line": 112,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 551,+ "id": 329,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 552,+ "id": 330,"name": "provider","kind": 1024,"kindString": "Property",@@ -12108,7 +5682,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 91,+ "line": 113,"character": 4}],@@ -12123,19 +5697,19 @@"title": "Properties","kind": 1024,"children": [- 552+ 330]}],"indexSignature": {- "id": 553,+ "id": 331,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 554,+ "id": 332,"name": "key","kind": 32768,"flags": {},@@ -12154,7 +5728,7 @@}},{- "id": 559,+ "id": 337,"name": "aud","kind": 1024,"kindString": "Property",@@ -12162,7 +5736,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 97,+ "line": 119,"character": 2}],@@ -12172,7 +5746,7 @@}},{- "id": 560,+ "id": 338,"name": "confirmation_sent_at","kind": 1024,"kindString": "Property",@@ -12182,7 +5756,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 98,+ "line": 120,"character": 2}],@@ -12192,7 +5766,7 @@}},{- "id": 569,+ "id": 347,"name": "confirmed_at","kind": 1024,"kindString": "Property",@@ -12202,7 +5776,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 107,+ "line": 129,"character": 2}],@@ -12212,7 +5786,7 @@}},{- "id": 568,+ "id": 346,"name": "created_at","kind": 1024,"kindString": "Property",@@ -12220,7 +5794,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 106,+ "line": 128,"character": 2}],@@ -12230,7 +5804,7 @@}},{- "id": 566,+ "id": 344,"name": "email","kind": 1024,"kindString": "Property",@@ -12240,7 +5814,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 104,+ "line": 126,"character": 2}],@@ -12250,7 +5824,7 @@}},{- "id": 562,+ "id": 340,"name": "email_change_sent_at","kind": 1024,"kindString": "Property",@@ -12260,7 +5834,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 100,+ "line": 122,"character": 2}],@@ -12270,7 +5844,7 @@}},{- "id": 570,+ "id": 348,"name": "email_confirmed_at","kind": 1024,"kindString": "Property",@@ -12280,7 +5854,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 108,+ "line": 130,"character": 2}],@@ -12290,7 +5864,7 @@}},{- "id": 549,+ "id": 327,"name": "id","kind": 1024,"kindString": "Property",@@ -12298,7 +5872,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 89,+ "line": 111,"character": 2}],@@ -12308,7 +5882,7 @@}},{- "id": 575,+ "id": 353,"name": "identities","kind": 1024,"kindString": "Property",@@ -12318,7 +5892,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 113,+ "line": 135,"character": 2}],@@ -12326,13 +5900,13 @@"type": "array","elementType": {"type": "reference",- "id": 537,+ "id": 315,"name": "UserIdentity"}}},{- "id": 564,+ "id": 342,"name": "invited_at","kind": 1024,"kindString": "Property",@@ -12342,7 +5916,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 102,+ "line": 124,"character": 2}],@@ -12352,7 +5926,7 @@}},{- "id": 572,+ "id": 350,"name": "last_sign_in_at","kind": 1024,"kindString": "Property",@@ -12362,7 +5936,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 110,+ "line": 132,"character": 2}],@@ -12372,7 +5946,7 @@}},{- "id": 563,+ "id": 341,"name": "new_email","kind": 1024,"kindString": "Property",@@ -12382,7 +5956,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 101,+ "line": 123,"character": 2}],@@ -12392,7 +5966,7 @@}},{- "id": 567,+ "id": 345,"name": "phone","kind": 1024,"kindString": "Property",@@ -12402,7 +5976,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 105,+ "line": 127,"character": 2}],@@ -12412,7 +5986,7 @@}},{- "id": 571,+ "id": 349,"name": "phone_confirmed_at","kind": 1024,"kindString": "Property",@@ -12422,7 +5996,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 109,+ "line": 131,"character": 2}],@@ -12432,7 +6006,7 @@}},{- "id": 561,+ "id": 339,"name": "recovery_sent_at","kind": 1024,"kindString": "Property",@@ -12442,7 +6016,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 99,+ "line": 121,"character": 2}],@@ -12452,7 +6026,7 @@}},{- "id": 573,+ "id": 351,"name": "role","kind": 1024,"kindString": "Property",@@ -12462,7 +6036,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 111,+ "line": 133,"character": 2}],@@ -12472,7 +6046,7 @@}},{- "id": 574,+ "id": 352,"name": "updated_at","kind": 1024,"kindString": "Property",@@ -12482,7 +6056,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 112,+ "line": 134,"character": 2}],@@ -12492,7 +6066,7 @@}},{- "id": 555,+ "id": 333,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -12500,27 +6074,27 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 94,+ "line": 116,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 556,+ "id": 334,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 557,+ "id": 335,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 558,+ "id": 336,"name": "key","kind": 32768,"flags": {},@@ -12544,46 +6118,46 @@"title": "Properties","kind": 1024,"children": [- 565,- 550,- 559,- 560,- 569,- 568,- 566,- 562,- 570,- 549,- 575,- 564,- 572,- 563,- 567,- 571,- 561,- 573,- 574,- 555+ 343,+ 328,+ 337,+ 338,+ 347,+ 346,+ 344,+ 340,+ 348,+ 327,+ 353,+ 342,+ 350,+ 341,+ 345,+ 349,+ 339,+ 351,+ 352,+ 333]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 88,+ "line": 110,"character": 17}]},{- "id": 576,+ "id": 354,"name": "UserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 581,+ "id": 359,"name": "data","kind": 1024,"kindString": "Property",@@ -12596,7 +6170,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 140,+ "line": 162,"character": 2}],@@ -12606,7 +6180,7 @@}},{- "id": 577,+ "id": 355,"name": "email","kind": 1024,"kindString": "Property",@@ -12619,7 +6193,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 142,"character": 2}],@@ -12629,7 +6203,7 @@}},{- "id": 580,+ "id": 358,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -12642,7 +6216,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 135,+ "line": 157,"character": 2}],@@ -12652,7 +6226,7 @@}},{- "id": 579,+ "id": 357,"name": "password","kind": 1024,"kindString": "Property",@@ -12665,7 +6239,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 130,+ "line": 152,"character": 2}],@@ -12675,7 +6249,7 @@}},{- "id": 578,+ "id": 356,"name": "phone","kind": 1024,"kindString": "Property",@@ -12688,7 +6262,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 125,+ "line": 147,"character": 2}],@@ -12703,48 +6277,51 @@"title": "Properties","kind": 1024,"children": [- 581,- 577,- 580,- 579,- 578+ 359,+ 355,+ 358,+ 357,+ 356]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 116,+ "line": 138,"character": 17}],"extendedBy": [{"type": "reference",- "id": 582,+ "id": 360,"name": "AdminUserAttributes"}]},{- "id": 600,+ "id": 378,"name": "UserCredentials","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 601,+ "id": 379,"name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 198,+ "line": 221,"character": 2}],@@ -12754,38 +6331,20 @@}},{- "id": 606,- "name": "oidc",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 204,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials"- }- },- {- "id": 603,+ "id": 381,"name": "password","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 200,+ "line": 225,"character": 2}],@@ -12795,17 +6354,20 @@}},{- "id": 602,+ "id": 380,"name": "phone","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 199,+ "line": 223,"character": 2}],@@ -12815,7 +6377,7 @@}},{- "id": 605,+ "id": 383,"name": "provider","kind": 1024,"kindString": "Property",@@ -12828,18 +6390,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 203,+ "line": 228,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 604,+ "id": 382,"name": "refreshToken","kind": 1024,"kindString": "Property",@@ -12849,7 +6411,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 226,"character": 2}],@@ -12864,32 +6426,31 @@"title": "Properties","kind": 1024,"children": [- 601,- 606,- 603,- 602,- 605,- 604+ 379,+ 381,+ 380,+ 383,+ 382]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 197,+ "line": 219,"character": 17}]},{- "id": 537,+ "id": 315,"name": "UserIdentity","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 545,+ "id": 323,"name": "created_at","kind": 1024,"kindString": "Property",@@ -12897,7 +6458,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 83,+ "line": 105,"character": 2}],@@ -12907,7 +6468,7 @@}},{- "id": 538,+ "id": 316,"name": "id","kind": 1024,"kindString": "Property",@@ -12915,7 +6476,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 77,+ "line": 99,"character": 2}],@@ -12925,7 +6486,7 @@}},{- "id": 540,+ "id": 318,"name": "identity_data","kind": 1024,"kindString": "Property",@@ -12933,27 +6494,27 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 79,+ "line": 101,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 541,+ "id": 319,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 542,+ "id": 320,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 543,+ "id": 321,"name": "key","kind": 32768,"flags": {},@@ -12972,7 +6533,7 @@}},{- "id": 546,+ "id": 324,"name": "last_sign_in_at","kind": 1024,"kindString": "Property",@@ -12980,7 +6541,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 84,+ "line": 106,"character": 2}],@@ -12990,7 +6551,7 @@}},{- "id": 544,+ "id": 322,"name": "provider","kind": 1024,"kindString": "Property",@@ -12998,7 +6559,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 82,+ "line": 104,"character": 2}],@@ -13008,7 +6569,7 @@}},{- "id": 547,+ "id": 325,"name": "updated_at","kind": 1024,"kindString": "Property",@@ -13018,7 +6579,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 85,+ "line": 107,"character": 2}],@@ -13028,7 +6589,7 @@}},{- "id": 539,+ "id": 317,"name": "user_id","kind": 1024,"kindString": "Property",@@ -13036,7 +6597,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 78,+ "line": 100,"character": 2}],@@ -13051,33 +6612,33 @@"title": "Properties","kind": 1024,"children": [- 545,- 538,- 540,- 546,- 544,- 547,- 539+ 323,+ 316,+ 318,+ 324,+ 322,+ 325,+ 317]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 76,+ "line": 98,"character": 17}]},{- "id": 646,- "name": "VerifyEmailOTPParams",+ "id": 423,+ "name": "VerifyEmailOtpParams","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 647,+ "id": 424,"name": "email","kind": 1024,"kindString": "Property",@@ -13085,7 +6646,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 253,+ "line": 291,"character": 2}],@@ -13095,7 +6656,7 @@}},{- "id": 648,+ "id": 425,"name": "phone","kind": 1024,"kindString": "Property",@@ -13105,7 +6666,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 254,+ "line": 292,"character": 2}],@@ -13115,7 +6676,7 @@}},{- "id": 649,+ "id": 426,"name": "token","kind": 1024,"kindString": "Property",@@ -13123,7 +6684,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 255,+ "line": 293,"character": 2}],@@ -13133,7 +6694,7 @@}},{- "id": 650,+ "id": 427,"name": "type","kind": 1024,"kindString": "Property",@@ -13141,14 +6702,14 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 256,+ "line": 294,"character": 2}],"type": {"type": "reference",- "id": 652,- "name": "EmailOTPType"+ "id": 429,+ "name": "EmailOtpType"}}],@@ -13157,40 +6718,43 @@"title": "Properties","kind": 1024,"children": [- 647,- 648,- 649,- 650+ 424,+ 425,+ 426,+ 427]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 290,"character": 17}]},{- "id": 641,- "name": "VerifyMobileOTPParams",+ "id": 418,+ "name": "VerifyMobileOtpParams","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 642,+ "id": 419,"name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 247,+ "line": 282,"character": 2}],@@ -13200,15 +6764,18 @@}},{- "id": 643,+ "id": 420,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 248,+ "line": 284,"character": 2}],@@ -13218,15 +6785,18 @@}},{- "id": 644,+ "id": 421,"name": "token","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 249,+ "line": 286,"character": 2}],@@ -13236,24 +6806,25 @@}},{- "id": 645,+ "id": 422,"name": "type","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true+ "flags": {},+ "comment": {+ "shortText": "The user's verification type."},"sources": [{"fileName": "src/lib/types.ts",- "line": 250,+ "line": 288,"character": 2}],"type": {"type": "reference",- "id": 651,- "name": "MobileOTPType"+ "id": 428,+ "name": "MobileOtpType"}}],@@ -13262,23 +6833,23 @@"title": "Properties","kind": 1024,"children": [- 642,- 643,- 644,- 645+ 419,+ 420,+ 421,+ 422]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 246,+ "line": 280,"character": 17}]},{- "id": 502,+ "id": 269,"name": "AuthChangeEvent","kind": 4194304,"kindString": "Type alias",@@ -13286,7 +6857,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 21,+ "line": 22,"character": 12}],@@ -13321,7 +6892,7 @@}},{- "id": 503,+ "id": 270,"name": "AuthResponse","kind": 4194304,"kindString": "Type alias",@@ -13329,7 +6900,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 29,+ "line": 30,"character": 12}],@@ -13339,14 +6910,14 @@{"type": "reflection","declaration": {- "id": 504,+ "id": 271,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 505,+ "id": 272,"name": "data","kind": 1024,"kindString": "Property",@@ -13354,21 +6925,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 31,+ "line": 32,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 506,+ "id": 273,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 508,+ "id": 275,"name": "session","kind": 1024,"kindString": "Property",@@ -13376,7 +6947,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 33,+ "line": 34,"character": 8}],@@ -13385,7 +6956,7 @@"types": [{"type": "reference",- "id": 529,+ "id": 307,"name": "Session"},{@@ -13396,7 +6967,7 @@}},{- "id": 507,+ "id": 274,"name": "user","kind": 1024,"kindString": "Property",@@ -13404,7 +6975,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 32,+ "line": 33,"character": 8}],@@ -13413,7 +6984,7 @@"types": [{"type": "reference",- "id": 548,+ "id": 326,"name": "User"},{@@ -13429,15 +7000,15 @@"title": "Properties","kind": 1024,"children": [- 508,- 507+ 275,+ 274]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 31,+ "line": 32,"character": 12}]@@ -13445,7 +7016,7 @@}},{- "id": 509,+ "id": 276,"name": "error","kind": 1024,"kindString": "Property",@@ -13453,7 +7024,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 35,+ "line": 36,"character": 6}],@@ -13468,15 +7039,15 @@"title": "Properties","kind": 1024,"children": [- 505,- 509+ 272,+ 276]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 30,+ "line": 31,"character": 4}]@@ -13485,14 +7056,14 @@{"type": "reflection","declaration": {- "id": 510,+ "id": 277,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 511,+ "id": 278,"name": "data","kind": 1024,"kindString": "Property",@@ -13500,21 +7071,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 38,+ "line": 39,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 512,+ "id": 279,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 514,+ "id": 281,"name": "session","kind": 1024,"kindString": "Property",@@ -13522,7 +7093,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 40,+ "line": 41,"character": 8}],@@ -13532,7 +7103,7 @@}},{- "id": 513,+ "id": 280,"name": "user","kind": 1024,"kindString": "Property",@@ -13540,7 +7111,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 39,+ "line": 40,"character": 8}],@@ -13555,15 +7126,15 @@"title": "Properties","kind": 1024,"children": [- 514,- 513+ 281,+ 280]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 38,+ "line": 39,"character": 12}]@@ -13571,7 +7142,7 @@}},{- "id": 515,+ "id": 282,"name": "error","kind": 1024,"kindString": "Property",@@ -13579,13 +7150,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 42,+ "line": 43,"character": 6}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -13595,15 +7166,15 @@"title": "Properties","kind": 1024,"children": [- 511,- 515+ 278,+ 282]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 37,+ "line": 38,"character": 4}]@@ -13613,7 +7184,7 @@}},{- "id": 660,+ "id": 432,"name": "CallRefreshTokenResult","kind": 4194304,"kindString": "Type alias",@@ -13621,7 +7192,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 280,+ "line": 320,"character": 12}],@@ -13631,14 +7202,14 @@{"type": "reflection","declaration": {- "id": 661,+ "id": 433,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 663,+ "id": 435,"name": "error","kind": 1024,"kindString": "Property",@@ -13646,7 +7217,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 283,+ "line": 323,"character": 6}],@@ -13656,7 +7227,7 @@}},{- "id": 662,+ "id": 434,"name": "session","kind": 1024,"kindString": "Property",@@ -13664,13 +7235,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 282,+ "line": 322,"character": 6}],"type": {"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}}@@ -13680,15 +7251,15 @@"title": "Properties","kind": 1024,"children": [- 663,- 662+ 435,+ 434]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 281,+ "line": 321,"character": 4}]@@ -13697,14 +7268,14 @@{"type": "reflection","declaration": {- "id": 664,+ "id": 436,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 666,+ "id": 438,"name": "error","kind": 1024,"kindString": "Property",@@ -13712,18 +7283,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 287,+ "line": 327,"character": 6}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}},{- "id": 665,+ "id": 437,"name": "session","kind": 1024,"kindString": "Property",@@ -13731,7 +7302,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 286,+ "line": 326,"character": 6}],@@ -13746,15 +7317,15 @@"title": "Properties","kind": 1024,"children": [- 666,- 665+ 438,+ 437]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 285,+ "line": 325,"character": 4}]@@ -13764,15 +7335,57 @@}},{- "id": 652,- "name": "EmailOTPType",+ "id": 429,+ "name": "EmailOtpType",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 298,+ "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": 430,+ "name": "GenerateLinkTypes","kind": 4194304,"kindString": "Type alias","flags": {},+ "comment": {+ "shortText": "The link type"+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 259,+ "line": 301,"character": 12}],@@ -13797,21 +7410,25 @@},{"type": "literal",- "value": "email_change"+ "value": "email_change_current"+ },+ {+ "type": "literal",+ "value": "email_change_new"}]}},{- "id": 651,- "name": "MobileOTPType",+ "id": 428,+ "name": "MobileOtpType","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 258,+ "line": 297,"character": 12}],@@ -13830,7 +7447,7 @@}},{- "id": 516,+ "id": 283,"name": "OAuthResponse","kind": 4194304,"kindString": "Type alias",@@ -13838,7 +7455,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 45,+ "line": 46,"character": 12}],@@ -13848,14 +7465,14 @@{"type": "reflection","declaration": {- "id": 517,+ "id": 284,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 518,+ "id": 285,"name": "data","kind": 1024,"kindString": "Property",@@ -13863,21 +7480,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 47,+ "line": 48,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 519,+ "id": 286,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 520,+ "id": 287,"name": "provider","kind": 1024,"kindString": "Property",@@ -13885,18 +7502,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 48,+ "line": 49,"character": 8}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 521,+ "id": 288,"name": "url","kind": 1024,"kindString": "Property",@@ -13904,7 +7521,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 49,+ "line": 50,"character": 8}],@@ -13919,15 +7536,15 @@"title": "Properties","kind": 1024,"children": [- 520,- 521+ 287,+ 288]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 47,+ "line": 48,"character": 12}]@@ -13935,7 +7552,7 @@}},{- "id": 522,+ "id": 289,"name": "error","kind": 1024,"kindString": "Property",@@ -13943,7 +7560,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 51,+ "line": 52,"character": 6}],@@ -13958,15 +7575,15 @@"title": "Properties","kind": 1024,"children": [- 518,- 522+ 285,+ 289]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 46,+ "line": 47,"character": 4}]@@ -13975,14 +7592,14 @@{"type": "reflection","declaration": {- "id": 523,+ "id": 290,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 524,+ "id": 291,"name": "data","kind": 1024,"kindString": "Property",@@ -13990,21 +7607,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 54,+ "line": 55,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 525,+ "id": 292,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 526,+ "id": 293,"name": "provider","kind": 1024,"kindString": "Property",@@ -14012,18 +7629,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 55,+ "line": 56,"character": 8}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 527,+ "id": 294,"name": "url","kind": 1024,"kindString": "Property",@@ -14031,7 +7648,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 56,+ "line": 57,"character": 8}],@@ -14046,15 +7663,15 @@"title": "Properties","kind": 1024,"children": [- 526,- 527+ 293,+ 294]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 54,+ "line": 55,"character": 12}]@@ -14062,7 +7679,7 @@}},{- "id": 528,+ "id": 295,"name": "error","kind": 1024,"kindString": "Property",@@ -14070,13 +7687,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 58,+ "line": 59,"character": 6}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -14086,15 +7703,15 @@"title": "Properties","kind": 1024,"children": [- 524,- 528+ 291,+ 295]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 53,+ "line": 54,"character": 4}]@@ -14104,15 +7721,18 @@}},{- "id": 501,+ "id": 268,"name": "Provider","kind": 4194304,"kindString": "Type alias","flags": {},+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 3,+ "line": 4,"character": 12}],@@ -14187,7 +7807,7 @@}},{- "id": 629,+ "id": 406,"name": "SignInWithOAuthCredentials","kind": 4194304,"kindString": "Type alias",@@ -14195,21 +7815,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 12}],"type": {"type": "reflection","declaration": {- "id": 630,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 632,+ "id": 409,"name": "options","kind": 1024,"kindString": "Property",@@ -14219,32 +7839,35 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 237,+ "line": 268,"character": 2}],"type": {"type": "reference",- "id": 633,+ "id": 410,"name": "SignInWithOAuthOptions"}},{- "id": 631,+ "id": 408,"name": "provider","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 236,+ "line": 267,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}}@@ -14254,15 +7877,15 @@"title": "Properties","kind": 1024,"children": [- 632,- 631+ 409,+ 408]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 41}]@@ -14270,7 +7893,7 @@}},{- "id": 607,+ "id": 384,"name": "SignInWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -14278,7 +7901,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 206,+ "line": 230,"character": 12}],@@ -14288,22 +7911,25 @@{"type": "reflection","declaration": {- "id": 608,+ "id": 385,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 609,+ "id": 386,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 208,+ "line": 233,"character": 6}],@@ -14313,7 +7939,7 @@}},{- "id": 611,+ "id": 388,"name": "options","kind": 1024,"kindString": "Property",@@ -14323,26 +7949,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 210,+ "line": 236,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 610,+ "id": 387,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 209,+ "line": 235,"character": 6}],@@ -14357,16 +7986,16 @@"title": "Properties","kind": 1024,"children": [- 609,- 611,- 610+ 386,+ 388,+ 387]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 207,+ "line": 231,"character": 4}]@@ -14375,14 +8004,14 @@{"type": "reflection","declaration": {- "id": 612,+ "id": 389,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 615,+ "id": 392,"name": "options","kind": 1024,"kindString": "Property",@@ -14392,26 +8021,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 215,+ "line": 243,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 614,+ "id": 391,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 214,+ "line": 242,"character": 6}],@@ -14421,15 +8053,18 @@}},{- "id": 613,+ "id": 390,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 213,+ "line": 240,"character": 6}],@@ -14444,16 +8079,16 @@"title": "Properties","kind": 1024,"children": [- 615,- 614,- 613+ 392,+ 391,+ 390]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 212,+ "line": 238,"character": 4}]@@ -14463,7 +8098,7 @@}},{- "id": 618,+ "id": 395,"name": "SignInWithPasswordlessCredentials","kind": 4194304,"kindString": "Type alias",@@ -14471,7 +8106,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 220,+ "line": 248,"character": 12}],@@ -14481,22 +8116,25 @@{"type": "reflection","declaration": {- "id": 619,+ "id": 396,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 620,+ "id": 397,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 222,+ "line": 251,"character": 6}],@@ -14506,7 +8144,7 @@}},{- "id": 621,+ "id": 398,"name": "options","kind": 1024,"kindString": "Property",@@ -14516,13 +8154,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 223,+ "line": 252,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}}@@ -14532,15 +8170,15 @@"title": "Properties","kind": 1024,"children": [- 620,- 621+ 397,+ 398]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 221,+ "line": 249,"character": 4}]@@ -14549,14 +8187,14 @@{"type": "reflection","declaration": {- "id": 622,+ "id": 399,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 624,+ "id": 401,"name": "options","kind": 1024,"kindString": "Property",@@ -14566,26 +8204,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 227,+ "line": 257,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}},{- "id": 623,+ "id": 400,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 226,+ "line": 256,"character": 6}],@@ -14600,15 +8241,15 @@"title": "Properties","kind": 1024,"children": [- 624,- 623+ 401,+ 400]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 254,"character": 4}]@@ -14618,7 +8259,7 @@}},{- "id": 659,+ "id": 431,"name": "SupportedStorage","kind": 4194304,"kindString": "Type alias",@@ -14626,7 +8267,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 278,+ "line": 318,"character": 12}],@@ -14669,15 +8310,250 @@}},{- "id": 640,- "name": "VerifyOTPParams",+ "id": 296,+ "name": "UserResponse","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 245,+ "line": 62,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "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": 64,+ "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": 65,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 326,+ "name": "User"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 300+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 64,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 301,+ "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": [+ 298,+ 301+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 63,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 302,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 303,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 70,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 304,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 305,+ "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": [+ 305+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 70,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 306,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 73,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 442,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 303,+ 306+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 69,+ "character": 4+ }+ ]+ }+ }+ ]+ }+ },+ {+ "id": 417,+ "name": "VerifyOtpParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 279,"character": 12}],@@ -14686,19 +8562,19 @@"types": [{"type": "reference",- "id": 641,- "name": "VerifyMobileOTPParams"+ "id": 418,+ "name": "VerifyMobileOtpParams"},{"type": "reference",- "id": 646,- "name": "VerifyEmailOTPParams"+ "id": 423,+ "name": "VerifyEmailOtpParams"}]}},{- "id": 667,+ "id": 439,"name": "isAuthError","kind": 64,"kindString": "Function",@@ -14712,14 +8588,14 @@],"signatures": [{- "id": 668,+ "id": 440,"name": "isAuthError","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 669,+ "id": 441,"name": "error","kind": 32768,"kindString": "Parameter",@@ -14736,7 +8612,7 @@"asserts": false,"targetType": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -14749,59 +8625,60 @@"title": "Classes","kind": 128,"children": [- 675,- 670,- 722,- 735,- 710,- 688,- 695,+ 447,+ 442,+ 494,+ 507,+ 482,+ 460,+ 467,1,- 296+ 81]},{"title": "Interfaces","kind": 256,"children": [- 582,- 653,- 529,- 633,- 616,- 625,- 592,- 548,- 576,- 600,- 537,- 646,- 641+ 360,+ 307,+ 410,+ 393,+ 402,+ 370,+ 326,+ 354,+ 378,+ 315,+ 423,+ 418]},{"title": "Type Aliases","kind": 4194304,"children": [- 502,- 503,- 660,- 652,- 651,- 516,- 501,- 629,- 607,- 618,- 659,- 640+ 269,+ 270,+ 432,+ 429,+ 430,+ 428,+ 283,+ 268,+ 406,+ 384,+ 395,+ 431,+ 296,+ 417]},{"title": "Functions","kind": 64,"children": [- 667+ 439]}],diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.jsonindex 07985054fc8..f06e90f80a8 100644--- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json+++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json@@ -7,14 +7,14 @@"originalName": "","children": [{- "id": 675,+ "id": 447,"name": "AuthApiError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 676,+ "id": 448,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -28,14 +28,14 @@],"signatures": [{- "id": 677,+ "id": 449,"name": "new AuthApiError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 678,+ "id": 450,"name": "message","kind": 32768,"kindString": "Parameter",@@ -46,7 +46,7 @@}},{- "id": 679,+ "id": 451,"name": "status","kind": 32768,"kindString": "Parameter",@@ -59,50 +59,24 @@],"type": {"type": "reference",- "id": 675,+ "id": 447,"name": "AuthApiError"},"overwrites": {"type": "reference",- "id": 672,+ "id": 444,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 671,+ "id": 443,"name": "AuthError.constructor"}},{- "id": 687,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 674,- "name": "AuthError.__isAuthError"- }- },- {- "id": 680,+ "id": 452,"name": "status","kind": 1024,"kindString": "Property",@@ -120,7 +94,7 @@}},{- "id": 681,+ "id": 453,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -134,7 +108,7 @@],"signatures": [{- "id": 682,+ "id": 454,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -142,14 +116,14 @@"type": {"type": "reflection","declaration": {- "id": 683,+ "id": 455,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 685,+ "id": 457,"name": "message","kind": 1024,"kindString": "Property",@@ -168,7 +142,7 @@"defaultValue": "..."},{- "id": 684,+ "id": 456,"name": "name","kind": 1024,"kindString": "Property",@@ -187,7 +161,7 @@"defaultValue": "..."},{- "id": 686,+ "id": 458,"name": "status","kind": 1024,"kindString": "Property",@@ -211,9 +185,9 @@"title": "Properties","kind": 1024,"children": [- 685,- 684,- 686+ 457,+ 456,+ 458]}]@@ -228,22 +202,21 @@"title": "Constructors","kind": 512,"children": [- 676+ 448]},{"title": "Properties","kind": 1024,"children": [- 687,- 680+ 452]},{"title": "Methods","kind": 2048,"children": [- 681+ 453]}],@@ -257,20 +230,20 @@"extendedTypes": [{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}]},{- "id": 670,+ "id": 442,"name": "AuthError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 671,+ "id": 443,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -284,14 +257,14 @@],"signatures": [{- "id": 672,+ "id": 444,"name": "new AuthError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 673,+ "id": 445,"name": "message","kind": 32768,"kindString": "Parameter",@@ -304,7 +277,7 @@],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"},"overwrites": {@@ -317,27 +290,6 @@"type": "reference","name": "Error.constructor"}- },- {- "id": 674,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true"}],"groups": [@@ -345,14 +297,7 @@"title": "Constructors","kind": 512,"children": [- 671- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 674+ 443]}],@@ -374,30 +319,30 @@"extendedBy": [{"type": "reference",- "id": 675,+ "id": 447,"name": "AuthApiError"},{"type": "reference",- "id": 688,+ "id": 460,"name": "AuthUnknownError"},{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 722,+ "id": 494,"name": "AuthInvalidCredentialsError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 723,+ "id": 495,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -411,14 +356,14 @@],"signatures": [{- "id": 724,+ "id": 496,"name": "new AuthInvalidCredentialsError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 725,+ "id": 497,"name": "message","kind": 32768,"kindString": "Parameter",@@ -431,50 +376,24 @@],"type": {"type": "reference",- "id": 722,+ "id": 494,"name": "AuthInvalidCredentialsError"},"overwrites": {"type": "reference",- "id": 697,+ "id": 469,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 696,+ "id": 468,"name": "CustomAuthError.constructor"}},{- "id": 734,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 709,- "name": "CustomAuthError.__isAuthError"- }- },- {- "id": 726,+ "id": 498,"name": "name","kind": 1024,"kindString": "Property",@@ -492,12 +411,12 @@},"inheritedFrom": {"type": "reference",- "id": 701,+ "id": 473,"name": "CustomAuthError.name"}},{- "id": 727,+ "id": 499,"name": "status","kind": 1024,"kindString": "Property",@@ -515,12 +434,12 @@},"inheritedFrom": {"type": "reference",- "id": 702,+ "id": 474,"name": "CustomAuthError.status"}},{- "id": 728,+ "id": 500,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -534,7 +453,7 @@],"signatures": [{- "id": 729,+ "id": 501,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -542,14 +461,14 @@"type": {"type": "reflection","declaration": {- "id": 730,+ "id": 502,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 732,+ "id": 504,"name": "message","kind": 1024,"kindString": "Property",@@ -568,7 +487,7 @@"defaultValue": "..."},{- "id": 731,+ "id": 503,"name": "name","kind": 1024,"kindString": "Property",@@ -587,7 +506,7 @@"defaultValue": "..."},{- "id": 733,+ "id": 505,"name": "status","kind": 1024,"kindString": "Property",@@ -611,9 +530,9 @@"title": "Properties","kind": 1024,"children": [- 732,- 731,- 733+ 504,+ 503,+ 505]}]@@ -621,14 +540,14 @@},"inheritedFrom": {"type": "reference",- "id": 704,+ "id": 476,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 703,+ "id": 475,"name": "CustomAuthError.toJSON"}}@@ -638,23 +557,22 @@"title": "Constructors","kind": 512,"children": [- 723+ 495]},{"title": "Properties","kind": 1024,"children": [- 734,- 726,- 727+ 498,+ 499]},{"title": "Methods","kind": 2048,"children": [- 728+ 500]}],@@ -668,20 +586,20 @@"extendedTypes": [{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 735,+ "id": 507,"name": "AuthRetryableFetchError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 736,+ "id": 508,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -695,14 +613,14 @@],"signatures": [{- "id": 737,+ "id": 509,"name": "new AuthRetryableFetchError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 738,+ "id": 510,"name": "message","kind": 32768,"kindString": "Parameter",@@ -713,7 +631,7 @@}},{- "id": 739,+ "id": 511,"name": "status","kind": 32768,"kindString": "Parameter",@@ -726,50 +644,24 @@],"type": {"type": "reference",- "id": 735,+ "id": 507,"name": "AuthRetryableFetchError"},"overwrites": {"type": "reference",- "id": 697,+ "id": 469,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 696,+ "id": 468,"name": "CustomAuthError.constructor"}},{- "id": 748,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 709,- "name": "CustomAuthError.__isAuthError"- }- },- {- "id": 740,+ "id": 512,"name": "name","kind": 1024,"kindString": "Property",@@ -787,12 +679,12 @@},"inheritedFrom": {"type": "reference",- "id": 701,+ "id": 473,"name": "CustomAuthError.name"}},{- "id": 741,+ "id": 513,"name": "status","kind": 1024,"kindString": "Property",@@ -810,12 +702,12 @@},"inheritedFrom": {"type": "reference",- "id": 702,+ "id": 474,"name": "CustomAuthError.status"}},{- "id": 742,+ "id": 514,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -829,7 +721,7 @@],"signatures": [{- "id": 743,+ "id": 515,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -837,14 +729,14 @@"type": {"type": "reflection","declaration": {- "id": 744,+ "id": 516,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 746,+ "id": 518,"name": "message","kind": 1024,"kindString": "Property",@@ -863,7 +755,7 @@"defaultValue": "..."},{- "id": 745,+ "id": 517,"name": "name","kind": 1024,"kindString": "Property",@@ -882,7 +774,7 @@"defaultValue": "..."},{- "id": 747,+ "id": 519,"name": "status","kind": 1024,"kindString": "Property",@@ -906,9 +798,9 @@"title": "Properties","kind": 1024,"children": [- 746,- 745,- 747+ 518,+ 517,+ 519]}]@@ -916,14 +808,14 @@},"inheritedFrom": {"type": "reference",- "id": 704,+ "id": 476,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 703,+ "id": 475,"name": "CustomAuthError.toJSON"}}@@ -933,23 +825,22 @@"title": "Constructors","kind": 512,"children": [- 736+ 508]},{"title": "Properties","kind": 1024,"children": [- 748,- 740,- 741+ 512,+ 513]},{"title": "Methods","kind": 2048,"children": [- 742+ 514]}],@@ -963,20 +854,20 @@"extendedTypes": [{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 710,+ "id": 482,"name": "AuthSessionMissingError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 711,+ "id": 483,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -990,57 +881,31 @@],"signatures": [{- "id": 712,+ "id": 484,"name": "new AuthSessionMissingError","kind": 16384,"kindString": "Constructor signature","flags": {},"type": {"type": "reference",- "id": 710,+ "id": 482,"name": "AuthSessionMissingError"},"overwrites": {"type": "reference",- "id": 697,+ "id": 469,"name": "CustomAuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 696,+ "id": 468,"name": "CustomAuthError.constructor"}},{- "id": 721,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 709,- "name": "CustomAuthError.__isAuthError"- }- },- {- "id": 713,+ "id": 485,"name": "name","kind": 1024,"kindString": "Property",@@ -1058,12 +923,12 @@},"inheritedFrom": {"type": "reference",- "id": 701,+ "id": 473,"name": "CustomAuthError.name"}},{- "id": 714,+ "id": 486,"name": "status","kind": 1024,"kindString": "Property",@@ -1081,12 +946,12 @@},"inheritedFrom": {"type": "reference",- "id": 702,+ "id": 474,"name": "CustomAuthError.status"}},{- "id": 715,+ "id": 487,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -1100,7 +965,7 @@],"signatures": [{- "id": 716,+ "id": 488,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -1108,14 +973,14 @@"type": {"type": "reflection","declaration": {- "id": 717,+ "id": 489,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 719,+ "id": 491,"name": "message","kind": 1024,"kindString": "Property",@@ -1134,7 +999,7 @@"defaultValue": "..."},{- "id": 718,+ "id": 490,"name": "name","kind": 1024,"kindString": "Property",@@ -1153,7 +1018,7 @@"defaultValue": "..."},{- "id": 720,+ "id": 492,"name": "status","kind": 1024,"kindString": "Property",@@ -1177,9 +1042,9 @@"title": "Properties","kind": 1024,"children": [- 719,- 718,- 720+ 491,+ 490,+ 492]}]@@ -1187,14 +1052,14 @@},"inheritedFrom": {"type": "reference",- "id": 704,+ "id": 476,"name": "CustomAuthError.toJSON"}}],"inheritedFrom": {"type": "reference",- "id": 703,+ "id": 475,"name": "CustomAuthError.toJSON"}}@@ -1204,23 +1069,22 @@"title": "Constructors","kind": 512,"children": [- 711+ 483]},{"title": "Properties","kind": 1024,"children": [- 721,- 713,- 714+ 485,+ 486]},{"title": "Methods","kind": 2048,"children": [- 715+ 487]}],@@ -1234,20 +1098,20 @@"extendedTypes": [{"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"}]},{- "id": 688,+ "id": 460,"name": "AuthUnknownError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 689,+ "id": 461,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -1261,14 +1125,14 @@],"signatures": [{- "id": 690,+ "id": 462,"name": "new AuthUnknownError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 691,+ "id": 463,"name": "message","kind": 32768,"kindString": "Parameter",@@ -1279,7 +1143,7 @@}},{- "id": 692,+ "id": 464,"name": "originalError","kind": 32768,"kindString": "Parameter",@@ -1292,50 +1156,24 @@],"type": {"type": "reference",- "id": 688,+ "id": 460,"name": "AuthUnknownError"},"overwrites": {"type": "reference",- "id": 672,+ "id": 444,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 671,+ "id": 443,"name": "AuthError.constructor"}},{- "id": 694,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 674,- "name": "AuthError.__isAuthError"- }- },- {- "id": 693,+ "id": 465,"name": "originalError","kind": 1024,"kindString": "Property",@@ -1358,15 +1196,14 @@"title": "Constructors","kind": 512,"children": [- 689+ 461]},{"title": "Properties","kind": 1024,"children": [- 694,- 693+ 465]}],@@ -1380,20 +1217,20 @@"extendedTypes": [{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}]},{- "id": 695,+ "id": 467,"name": "CustomAuthError","kind": 128,"kindString": "Class","flags": {},"children": [{- "id": 696,+ "id": 468,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -1407,14 +1244,14 @@],"signatures": [{- "id": 697,+ "id": 469,"name": "new CustomAuthError","kind": 16384,"kindString": "Constructor signature","flags": {},"parameters": [{- "id": 698,+ "id": 470,"name": "message","kind": 32768,"kindString": "Parameter",@@ -1425,7 +1262,7 @@}},{- "id": 699,+ "id": 471,"name": "name","kind": 32768,"kindString": "Parameter",@@ -1436,7 +1273,7 @@}},{- "id": 700,+ "id": 472,"name": "status","kind": 32768,"kindString": "Parameter",@@ -1449,50 +1286,24 @@],"type": {"type": "reference",- "id": 695,+ "id": 467,"name": "CustomAuthError"},"overwrites": {"type": "reference",- "id": 672,+ "id": 444,"name": "AuthError.constructor"}}],"overwrites": {"type": "reference",- "id": 671,+ "id": 443,"name": "AuthError.constructor"}},{- "id": 709,- "name": "__isAuthError",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/lib/errors.ts",- "line": 2,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- },- "defaultValue": "true",- "inheritedFrom": {- "type": "reference",- "id": 674,- "name": "AuthError.__isAuthError"- }- },- {- "id": 701,+ "id": 473,"name": "name","kind": 1024,"kindString": "Property",@@ -1514,7 +1325,7 @@}},{- "id": 702,+ "id": 474,"name": "status","kind": 1024,"kindString": "Property",@@ -1532,7 +1343,7 @@}},{- "id": 703,+ "id": 475,"name": "toJSON","kind": 2048,"kindString": "Method",@@ -1546,7 +1357,7 @@],"signatures": [{- "id": 704,+ "id": 476,"name": "toJSON","kind": 4096,"kindString": "Call signature",@@ -1554,14 +1365,14 @@"type": {"type": "reflection","declaration": {- "id": 705,+ "id": 477,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 707,+ "id": 479,"name": "message","kind": 1024,"kindString": "Property",@@ -1580,7 +1391,7 @@"defaultValue": "..."},{- "id": 706,+ "id": 478,"name": "name","kind": 1024,"kindString": "Property",@@ -1599,7 +1410,7 @@"defaultValue": "..."},{- "id": 708,+ "id": 480,"name": "status","kind": 1024,"kindString": "Property",@@ -1623,9 +1434,9 @@"title": "Properties","kind": 1024,"children": [- 707,- 706,- 708+ 479,+ 478,+ 480]}]@@ -1640,23 +1451,22 @@"title": "Constructors","kind": 512,"children": [- 696+ 468]},{"title": "Properties","kind": 1024,"children": [- 709,- 701,- 702+ 473,+ 474]},{"title": "Methods","kind": 2048,"children": [- 703+ 475]}],@@ -1670,31 +1480,31 @@"extendedTypes": [{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}],"extendedBy": [{"type": "reference",- "id": 710,+ "id": 482,"name": "AuthSessionMissingError"},{"type": "reference",- "id": 722,+ "id": 494,"name": "AuthInvalidCredentialsError"},{"type": "reference",- "id": 735,+ "id": 507,"name": "AuthRetryableFetchError"}]},{"id": 1,- "name": "GoTrueApi",+ "name": "GoTrueAdminApi","kind": 128,"kindString": "Class","flags": {},@@ -1707,15 +1517,15 @@"flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 21,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 13,"character": 2}],"signatures": [{"id": 3,- "name": "new GoTrueApi",+ "name": "new GoTrueAdminApi","kind": 16384,"kindString": "Constructor signature","flags": {},@@ -1745,8 +1555,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 30,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 22,"character": 4}],@@ -1835,8 +1645,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 27,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 19,"character": 4}],@@ -1882,8 +1692,8 @@"flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 26,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 18,"character": 4}],@@ -1917,345 +1727,128 @@]},{- "id": 21,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },+ "id": 56,+ "name": "createUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 19,- "character": 12+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 128,+ "character": 8}],- "type": {- "type": "reflection",- "declaration": {- "id": 22,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "signatures": [+ {+ "id": 57,+ "name": "createUser",+ "kind": 4096,+ "kindString": "Call signature","flags": {},- "signatures": [+ "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": 23,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",+ "id": 58,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter","flags": {},- "parameters": [- {- "id": 24,- "name": "input",- "kind": 32768,- "kindString": "Parameter",+ "type": {+ "type": "reference",+ "id": 360,+ "name": "AdminUserAttributes",+ "dereferenced": {+ "id": 360,+ "name": "AdminUserAttributes",+ "kind": 256,+ "kindString": "Interface","flags": {},- "type": {- "type": "union",- "types": [- {+ "children": [+ {+ "id": 362,+ "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": 369,+ "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",- "qualifiedName": "RequestInfo",- "package": "typescript",- "name": "RequestInfo"+ "id": 359,+ "name": "UserAttributes.data"+ }+ },+ {+ "id": 365,+ "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",- "qualifiedName": "URL",- "package": "typescript",- "name": "URL"- }- ]- }- },- {- "id": 25,- "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": 17,- "name": "headers",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 16,- "character": 12- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 18,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 19,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 20,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 16,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 15,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 26,- "name": "_createRequestHeaders",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 42,- "character": 10- }- ],- "signatures": [- {- "id": 27,- "name": "_createRequestHeaders",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods"- },- "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": "reflection",- "declaration": {- "id": 29,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- }- ]- },- {- "id": 230,- "name": "createUser",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 669,- "character": 8- }- ],- "signatures": [- {- "id": 231,- "name": "createUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Creates a new user.",- "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"- },- "parameters": [- {- "id": 232,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The data you want to create the user with.\n"- },- "type": {- "type": "reference",- "id": 582,- "name": "AdminUserAttributes",- "dereferenced": {- "id": 582,- "name": "AdminUserAttributes",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 584,- "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": 165,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 591,- "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": 140,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- },- "inheritedFrom": {- "type": "reference",- "id": 581,- "name": "UserAttributes.data"- }- },- {- "id": 587,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 120,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 577,- "name": "UserAttributes.email"+ "id": 355,+ "name": "UserAttributes.email"}},{- "id": 590,+ "id": 368,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -2268,7 +1861,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 135,+ "line": 157,"character": 2}],@@ -2278,12 +1871,12 @@},"inheritedFrom": {"type": "reference",- "id": 580,+ "id": 358,"name": "UserAttributes.email_change_token"}},{- "id": 585,+ "id": 363,"name": "email_confirm","kind": 1024,"kindString": "Property",@@ -2297,7 +1890,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 172,+ "line": 194,"character": 2}],@@ -2307,7 +1900,7 @@}},{- "id": 589,+ "id": 367,"name": "password","kind": 1024,"kindString": "Property",@@ -2320,7 +1913,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 130,+ "line": 152,"character": 2}],@@ -2330,12 +1923,12 @@},"inheritedFrom": {"type": "reference",- "id": 579,+ "id": 357,"name": "UserAttributes.password"}},{- "id": 588,+ "id": 366,"name": "phone","kind": 1024,"kindString": "Property",@@ -2348,7 +1941,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 125,+ "line": 147,"character": 2}],@@ -2358,12 +1951,12 @@},"inheritedFrom": {"type": "reference",- "id": 578,+ "id": 356,"name": "UserAttributes.phone"}},{- "id": 586,+ "id": 364,"name": "phone_confirm","kind": 1024,"kindString": "Property",@@ -2377,7 +1970,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 179,+ "line": 201,"character": 2}],@@ -2387,7 +1980,7 @@}},{- "id": 583,+ "id": 361,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -2401,7 +1994,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 155,+ "line": 177,"character": 2}],@@ -2416,29 +2009,29 @@"title": "Properties","kind": 1024,"children": [- 584,- 591,- 587,- 590,- 585,- 589,- 588,- 586,- 583+ 362,+ 369,+ 365,+ 368,+ 363,+ 367,+ 366,+ 364,+ 361]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 143,+ "line": 165,"character": 17}],"extendedTypes": [{"type": "reference",- "id": 576,+ "id": 354,"name": "UserAttributes"}]@@ -2450,166 +2043,9 @@"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 233,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 235,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 18- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 236,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 30- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 234,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 6- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 235,- 236,- 234- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 237,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 239,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 60- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 240,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 72- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 238,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 672,- "character": 48- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 239,- 240,- 238- ]- }- ]- }- }- ]+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -2620,38 +2056,37 @@]},{- "id": 268,+ "id": 78,"name": "deleteUser","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 771,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 218,"character": 8}],"signatures": [{- "id": 269,+ "id": 79,"name": "deleteUser","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Delete a user. Requires a `service_role` key.",- "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"+ "shortText": "Delete a user. Requires a `service_role` key."},"parameters": [{- "id": 270,+ "id": 80,"name": "uid","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "The user uid you want to remove.\n"+ "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"},"type": {"type": "intrinsic",@@ -2663,127 +2098,9 @@"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 271,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 273,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 774,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 272,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 773,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 273,- 272- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 274,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 276,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 776,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 275,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 776,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 276,- 275- ]- }- ]- }- }- ]+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -2794,21 +2111,21 @@]},{- "id": 212,+ "id": 38,"name": "generateLink","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 618,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 85,"character": 8}],"signatures": [{- "id": 213,+ "id": 39,"name": "generateLink","kind": 4096,"kindString": "Call signature",@@ -2818,38 +2135,65 @@},"parameters": [{- "id": 214,+ "id": 40,"name": "type","kind": 32768,"kindString": "Parameter","flags": {},- "comment": {- "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."- },"type": {- "type": "union",- "types": [- {- "type": "literal",- "value": "signup"- },- {- "type": "literal",- "value": "invite"- },- {- "type": "literal",- "value": "magiclink"+ "type": "reference",+ "id": 430,+ "name": "GenerateLinkTypes",+ "dereferenced": {+ "id": 430,+ "name": "GenerateLinkTypes",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "comment": {+ "shortText": "The link type"},- {- "type": "literal",- "value": "recovery"+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 301,+ "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": 215,+ "id": 41,"name": "email","kind": 32768,"kindString": "Parameter",@@ -2863,7 +2207,7 @@}},{- "id": 216,+ "id": 42,"name": "options","kind": 32768,"kindString": "Parameter",@@ -2871,14 +2215,14 @@"type": {"type": "reflection","declaration": {- "id": 217,+ "id": 43,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 219,+ "id": 45,"name": "data","kind": 1024,"kindString": "Property",@@ -2890,8 +2234,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 623,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 90,"character": 6}],@@ -2901,7 +2245,7 @@}},{- "id": 218,+ "id": 44,"name": "password","kind": 1024,"kindString": "Property",@@ -2913,8 +2257,8 @@},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 622,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 89,"character": 6}],@@ -2924,7 +2268,7 @@}},{- "id": 220,+ "id": 46,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -2932,12 +2276,12 @@"isOptional": true},"comment": {- "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\").\n"+ "shortText": "The redirect url which should be appended to the generated link\n"},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 624,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 91,"character": 6}],@@ -2952,9 +2296,9 @@"title": "Properties","kind": 1024,"children": [- 219,- 218,- 220+ 45,+ 44,+ 46]}]@@ -2972,41 +2316,41 @@{"type": "reflection","declaration": {- "id": 221,+ "id": 47,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 222,+ "id": 48,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 628,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 95,"character": 8}],"type": {"type": "reference",- "id": 548,+ "id": 326,"name": "User"}},{- "id": 223,+ "id": 49,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 629,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 96,"character": 8}],@@ -3021,8 +2365,8 @@"title": "Properties","kind": 1024,"children": [- 222,- 223+ 48,+ 49]}]@@ -3031,41 +2375,41 @@{"type": "reflection","declaration": {- "id": 224,+ "id": 50,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 225,+ "id": 51,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 632,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 99,"character": 8}],"type": {"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}},{- "id": 226,+ "id": 52,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 633,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 100,"character": 8}],@@ -3080,8 +2424,8 @@"title": "Properties","kind": 1024,"children": [- 225,- 226+ 51,+ 52]}]@@ -3090,22 +2434,22 @@{"type": "reflection","declaration": {- "id": 227,+ "id": 53,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 228,+ "id": 54,"name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 635,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 102,"character": 8}],@@ -3115,21 +2459,21 @@}},{- "id": 229,+ "id": 55,"name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 635,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 102,"character": 20}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -3139,8 +2483,8 @@"title": "Properties","kind": 1024,"children": [- 228,- 229+ 54,+ 55]}]@@ -3157,129 +2501,100 @@]},{- "id": 30,- "name": "getUrlForProvider",+ "id": 71,+ "name": "getUserById","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 54,- "character": 2+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 173,+ "character": 8}],"signatures": [{- "id": 31,- "name": "getUrlForProvider",+ "id": 72,+ "name": "getUserById","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Generates the relevant login URL for a third-party provider."+ "shortText": "Get user by id."},"parameters": [{- "id": 32,- "name": "provider",+ "id": 73,+ "name": "uid","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "One of the providers supported by GoTrue."+ "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": 501,- "name": "Provider",- "dereferenced": {- "id": 501,- "name": "Provider",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 3,- "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": 296,+ "name": "UserResponse"}- },+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "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."+ },+ "parameters": [{"id": 33,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "comment": {+ "shortText": "The email address of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 34,"name": "options","kind": 32768,"kindString": "Parameter",@@ -3287,7 +2602,7 @@"type": {"type": "reflection","declaration": {- "id": 34,+ "id": 35,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3295,90 +2610,41 @@"children": [{"id": 37,- "name": "queryParams",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 59,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 38,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 39,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 40,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 35,- "name": "redirectTo",+ "name": "data","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed."+ "shortText": "Optional user metadata\n"},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 57,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 59,"character": 6}],"type": {"type": "intrinsic",- "name": "string"+ "name": "object"}},{"id": 36,- "name": "scopes",+ "name": "redirectTo","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A space-separated list of scopes granted to the OAuth application.\n"+ "shortText": "A URL or mobile address to send the user to after they are confirmed."},"sources": [{- "fileName": "src/GoTrueApi.ts",+ "fileName": "src/GoTrueAdminApi.ts","line": 58,"character": 6}@@ -3395,62 +2661,55 @@"kind": 1024,"children": [37,- 35,36]}]}- }+ },+ "defaultValue": "{}"}],"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 296,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"}}]},{- "id": 277,- "name": "getUser",+ "id": 59,+ "name": "listUsers","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 806,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 149,"character": 8}],"signatures": [{- "id": 278,- "name": "getUser",+ "id": 60,+ "name": "listUsers","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Gets the current user details.",- "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n"+ "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"},- "parameters": [- {- "id": 279,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],"type": {"type": "reference","typeArguments": [@@ -3460,106 +2719,178 @@{"type": "reflection","declaration": {- "id": 280,+ "id": 61,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 282,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 809,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 281,- "name": "user",+ "id": 62,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 808,- "character": 8+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 6}],"type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 282,- 281- ]- }- ]+ "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": 326,+ "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": 283,+ "id": 66,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 285,- "name": "error",+ "id": 67,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 811,- "character": 20+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 49}],"type": {- "type": "reference",- "id": 670,- "name": "AuthError"+ "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": 284,- "name": "user",+ "id": 70,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 811,- "character": 8+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 150,+ "character": 70}],"type": {- "type": "literal",- "value": null+ "type": "reference",+ "id": 442,+ "name": "AuthError"}}],@@ -3568,8 +2899,8 @@"title": "Properties","kind": 1024,"children": [- 285,- 284+ 67,+ 70]}]@@ -3586,37 +2917,37 @@]},{- "id": 249,- "name": "getUserById",+ "id": 26,+ "name": "signOut","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 715,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 33,"character": 8}],"signatures": [{- "id": 250,- "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": 251,- "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",@@ -3628,127 +2959,53 @@"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 252,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "type": "reflection",+ "declaration": {+ "id": 29,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 30,+ "name": "error",+ "kind": 1024,+ "kindString": "Property","flags": {},- "children": [+ "sources": [{- "id": 254,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 27- }- ],- "type": {+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 33,+ "character": 40+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {"type": "literal","value": null- }- },- {- "id": 253,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 15- }- ],- "type": {+ },+ {"type": "reference",- "id": 548,- "name": "User"+ "id": 442,+ "name": "AuthError"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 254,- 253- ]- }- ]+ ]+ }}- },- {- "type": "reflection",- "declaration": {- "id": 255,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,"children": [- {- "id": 257,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 57- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 256,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 717,- "character": 45- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 257,- 256- ]- }+ 30]}- }- ]+ ]+ }}],"qualifiedName": "Promise",@@ -3759,74 +3016,77 @@]},{- "id": 176,- "name": "inviteUserByEmail",+ "id": 74,+ "name": "updateUserById","kind": 2048,"kindString": "Method","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 505,+ "fileName": "src/GoTrueAdminApi.ts",+ "line": 195,"character": 8}],"signatures": [{- "id": 177,- "name": "inviteUserByEmail",+ "id": 75,+ "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": 178,- "name": "email",+ "id": 76,+ "name": "uid","kind": 32768,"kindString": "Parameter","flags": {},- "comment": {- "shortText": "The email address of the user."- },"type": {"type": "intrinsic","name": "string"}},{- "id": 179,- "name": "options",+ "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": "reflection",- "declaration": {- "id": 180,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 182,- "name": "data",- "kind": 1024,+ "type": "reference",+ "id": 360,+ "name": "AdminUserAttributes",+ "dereferenced": {+ "id": 360,+ "name": "AdminUserAttributes",+ "kind": 256,+ "kindString": "Interface",+ "flags": {},+ "children": [+ {+ "id": 362,+ "name": "app_metadata",+ "kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "Optional user metadata\n"+ "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/GoTrueApi.ts",- "line": 509,- "character": 6+ "fileName": "src/lib/types.ts",+ "line": 187,+ "character": 2}],"type": {@@ -3835,26 +3095,215 @@}},{- "id": 181,- "name": "redirectTo",+ "id": 369,+ "name": "data","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed."+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 508,- "character": 6+ "fileName": "src/lib/types.ts",+ "line": 162,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 359,+ "name": "UserAttributes.data"+ }+ },+ {+ "id": 365,+ "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": 355,+ "name": "UserAttributes.email"+ }+ },+ {+ "id": 368,+ "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": 358,+ "name": "UserAttributes.email_change_token"+ }+ },+ {+ "id": 363,+ "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": 367,+ "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": 357,+ "name": "UserAttributes.password"+ }+ },+ {+ "id": 366,+ "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": 356,+ "name": "UserAttributes.phone"+ }+ },+ {+ "id": 364,+ "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": [+ {+ "fileName": "src/lib/types.ts",+ "line": 201,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 361,+ "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"}}],@@ -3863,141 +3312,43 @@"title": "Properties","kind": 1024,"children": [- 182,- 181+ 362,+ 369,+ 365,+ 368,+ 363,+ 367,+ 366,+ 364,+ 361]}+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 165,+ "character": 17+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 354,+ "name": "UserAttributes"+ }]}- },- "defaultValue": "{}"+ }}],"type": {"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 183,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 185,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 514,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 184,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 513,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 185,- 184- ]- }- ]- }- },- {- "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/GoTrueApi.ts",- "line": 516,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 187,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 516,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 188,- 187- ]- }- ]- }- }- ]+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -4006,7250 +3357,419 @@}}]- },+ }+ ],+ "groups": [{- "id": 241,- "name": "listUsers",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 8- }- ],- "signatures": [- {- "id": 242,- "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": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 243,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 245,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 46- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 244,- "name": "users",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 31- }- ],- "type": {- "type": "array",- "elementType": {- "type": "reference",- "id": 548,- "name": "User"- }- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 245,- 244- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 246,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 248,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 77- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 247,- "name": "users",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 693,- "character": 64- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 248,- 247- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }+ "title": "Constructors",+ "kind": 512,+ "children": [+ 2]},{- "id": 203,- "name": "refreshAccessToken",+ "title": "Methods","kind": 2048,- "kindString": "Method",+ "children": [+ 56,+ 78,+ 38,+ 71,+ 31,+ 59,+ 26,+ 74+ ]+ }+ ],+ "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","flags": {},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 584,- "character": 8+ "fileName": "src/GoTrueClient.ts",+ "line": 104,+ "character": 2}],"signatures": [{- "id": 204,- "name": "refreshAccessToken",- "kind": 4096,- "kindString": "Call signature",+ "id": 83,+ "name": "new GoTrueClient",+ "kind": 16384,+ "kindString": "Constructor signature","flags": {},"comment": {- "shortText": "Generates a new JWT."+ "shortText": "Create a new client for use in the browser."},"parameters": [{- "id": 205,- "name": "refreshToken",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid refresh token that was returned on login.\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 206,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 208,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 587,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 207,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 586,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 208,- 207- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 209,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 211,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 589,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 210,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 589,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 211,- 210- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 189,- "name": "resetPasswordForEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 545,- "character": 8- }- ],- "signatures": [- {- "id": 190,- "name": "resetPasswordForEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a reset request to an email address."- },- "parameters": [- {- "id": 191,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 192,- "name": "options",+ "id": 84,+ "name": "options","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reflection","declaration": {- "id": 193,+ "id": 85,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 195,- "name": "captchaToken",+ "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/GoTrueApi.ts",- "line": 549,- "character": 6+ "fileName": "src/GoTrueClient.ts",+ "line": 109,+ "character": 4}],"type": {"type": "intrinsic",- "name": "string"+ "name": "boolean"}},{- "id": 194,- "name": "redirectTo",+ "id": 92,+ "name": "detectSessionInUrl","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"+ "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 548,- "character": 6+ "fileName": "src/GoTrueClient.ts",+ "line": 108,+ "character": 4}],"type": {"type": "intrinsic",- "name": "string"+ "name": "boolean"}- }- ],- "groups": [+ },{- "title": "Properties",+ "id": 97,+ "name": "fetch","kind": 1024,- "children": [- 195,- 194- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 196,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 197,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 553,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 198,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 199,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 554,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }+ "fileName": "src/GoTrueClient.ts",+ "line": 113,+ "character": 4}],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 197,- 199- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 200,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 201,- "name": "data",- "kind": 1024,- "kindString": "Property",+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 98,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {},- "sources": [+ "signatures": [{- "fileName": "src/GoTrueApi.ts",- "line": 556,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 202,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 556,- "character": 20+ "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"+ }}- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 201,- 202]}- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 111,- "name": "sendMagicLinkEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 307,- "character": 8- }- ],- "signatures": [- {- "id": 112,- "name": "sendMagicLinkEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a magic login link to an email address."- },- "parameters": [- {- "id": 113,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 114,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 115,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ }+ },{- "id": 118,- "name": "captchaToken",+ "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/GoTrueApi.ts",- "line": 312,- "character": 6+ "fileName": "src/GoTrueClient.ts",+ "line": 106,+ "character": 4}],"type": {- "type": "intrinsic",- "name": "string"+ "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": 117,- "name": "redirectTo",+ "id": 96,+ "name": "multiTab","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"+ "shortText": "Set to \"false\" if you want to disable multi-tab/window events."},"sources": [{- "fileName": "src/GoTrueApi.ts",- "line": 311,- "character": 6+ "fileName": "src/GoTrueClient.ts",+ "line": 112,+ "character": 4}],"type": {"type": "intrinsic",- "name": "string"+ "name": "boolean"}},{- "id": 116,- "name": "shouldCreateUser",+ "id": 94,+ "name": "persistSession","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true."+ "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/GoTrueApi.ts",- "line": 310,- "character": 6+ "fileName": "src/GoTrueClient.ts",+ "line": 110,+ "character": 4}],"type": {"type": "intrinsic","name": "boolean"}- }- ],- "groups": [+ },{- "title": "Properties",+ "id": 95,+ "name": "storage","kind": 1024,- "children": [- 118,- 117,- 116- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 119,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 120,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 316,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 121,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "sources": [{- "id": 122,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 317,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }+ "fileName": "src/GoTrueClient.ts",+ "line": 111,+ "character": 4}],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 120,- 122- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 123,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 124,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 319,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 125,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 319,- "character": 20- }- ],- "type": {+ "type": {+ "type": "reference",+ "typeArguments": [+ {"type": "reference",- "id": 670,- "name": "AuthError"+ "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"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 124,- 125- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 126,- "name": "sendMobileOTP",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 354,- "character": 8- }- ],- "signatures": [- {- "id": 127,- "name": "sendMobileOTP",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"- },- "parameters": [- {- "id": 128,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's phone number WITH international prefix"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 129,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 130,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 132,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 358,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"+ ],+ "name": "PromisifyMethods"}},{- "id": 131,- "name": "shouldCreateUser",+ "id": 91,+ "name": "storageKey","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 357,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 132,- 131- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 133,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 134,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 362,- "character": 8- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 135,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {}- }- }- },- {- "id": 136,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 363,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 134,- 136- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 137,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 138,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 365,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 139,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 365,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 138,- 139- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 59,- "name": "signInWithEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 140,- "character": 8- }- ],- "signatures": [- {- "id": 60,- "name": "signInWithEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Logs in an existing user using their email address."- },- "parameters": [- {- "id": 61,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 62,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 63,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 64,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 65,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 144,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 65- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "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/GoTrueApi.ts",- "line": 148,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 68,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 149,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 67,- 68- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 69,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 70,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 151,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 71,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 151,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 70,- 71- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 102,- "name": "signInWithOpenIDConnect",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 267,- "character": 8- }- ],- "signatures": [- {- "id": 103,- "name": "signInWithOpenIDConnect",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Logs in an OpenID Connect user using their id_token."- },- "parameters": [- {- "id": 104,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials",- "dereferenced": {- "id": 653,- "name": "OpenIDConnectCredentials",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 657,- "name": "client_id",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 265,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 654,- "name": "id_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 262,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 658,- "name": "issuer",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 266,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 655,- "name": "nonce",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 263,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 656,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 264,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 501,- "name": "Provider"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 657,- 654,- 658,- 655,- 656- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 261,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 105,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 107,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 276,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 106,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 275,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 107,- 106- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 108,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 110,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 278,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 109,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 278,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 110,- 109- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 89,- "name": "signInWithPhone",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 227,- "character": 8- }- ],- "signatures": [- {- "id": 90,- "name": "signInWithPhone",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Logs in an existing user using their phone number and password."- },- "parameters": [- {- "id": 91,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The phone number of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 92,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 93,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 94,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 95,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Verification token received when the user completes the captcha on your site.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 231,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 95- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 96,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 98,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 236,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 97,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 235,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 98,- 97- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 99,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 101,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 238,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 100,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 238,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 101,- 100- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 140,- "name": "signOut",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 394,- "character": 8- }- ],- "signatures": [- {- "id": 141,- "name": "signOut",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Removes a logged-in session."- },- "parameters": [- {- "id": 142,- "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": 143,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 144,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 394,- "character": 40- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 670,- "name": "AuthError"- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 144- ]- }- ]- }- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 41,- "name": "signUpWithEmail",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 86,- "character": 8- }- ],- "signatures": [- {- "id": 42,- "name": "signUpWithEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Creates a new user using their email address.",- "returns": "A logged-in session if the server has \"autoconfirm\" ON"- },- "parameters": [- {- "id": 43,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 44,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 45,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 46,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 49,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 92,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 48,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional user metadata.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 91,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 47,- "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/GoTrueApi.ts",- "line": 90,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 49,- 48,- 47- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "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/GoTrueApi.ts",- "line": 96,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 52,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 97,- "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/GoTrueApi.ts",- "line": 100,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 55,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 101,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 54,- 55- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 56,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 57,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 103,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 58,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 103,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 57,- 58- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 72,- "name": "signUpWithPhone",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 178,- "character": 8- }- ],- "signatures": [- {- "id": 73,- "name": "signUpWithPhone",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Signs up a new user using their phone number and a password."- },- "parameters": [- {- "id": 74,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The phone number of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 75,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 76,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 77,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 79,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 183,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 78,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "Optional user metadata.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 182,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 79,- 78- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 80,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 81,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 187,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 82,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 188,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 81,- 82- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 83,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 84,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 191,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 85,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 192,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 84,- 85- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 86,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 87,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 194,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 88,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 194,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 87,- 88- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 286,- "name": "updateUser",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 832,- "character": 8- }- ],- "signatures": [- {- "id": 287,- "name": "updateUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates the user data."- },- "parameters": [- {- "id": 288,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "A valid, logged-in JWT."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 289,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The data you want to update.\n"- },- "type": {- "type": "reference",- "id": 576,- "name": "UserAttributes",- "dereferenced": {- "id": 576,- "name": "UserAttributes",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 581,- "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": 140,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 577,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 120,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 580,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 135,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 579,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 130,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 578,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 125,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 581,- 577,- 580,- 579,- 578- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 116,- "character": 17- }- ],- "extendedBy": [- {- "type": "reference",- "id": 582,- "name": "AdminUserAttributes"- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 290,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 292,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 838,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 291,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 837,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 292,- 291- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 293,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 295,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 840,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 294,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 840,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 295,- 294- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 258,- "name": "updateUserById",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 739,- "character": 8- }- ],- "signatures": [- {- "id": 259,- "name": "updateUserById",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Updates the user data."- },- "parameters": [- {- "id": 260,- "name": "uid",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 261,- "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": 582,- "name": "AdminUserAttributes",- "dereferenced": {- "id": 582,- "name": "AdminUserAttributes",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 584,- "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": 165,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- },- {- "id": 591,- "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": 140,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- },- "inheritedFrom": {- "type": "reference",- "id": 581,- "name": "UserAttributes.data"- }- },- {- "id": 587,- "name": "email",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's email."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 120,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 577,- "name": "UserAttributes.email"- }- },- {- "id": 590,- "name": "email_change_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 135,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 580,- "name": "UserAttributes.email_change_token"- }- },- {- "id": 585,- "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": 172,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 589,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 130,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 579,- "name": "UserAttributes.password"- }- },- {- "id": 588,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 125,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 578,- "name": "UserAttributes.phone"- }- },- {- "id": 586,- "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": [- {- "fileName": "src/lib/types.ts",- "line": 179,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 583,- "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": 155,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "object"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 584,- 591,- 587,- 590,- 585,- 589,- 588,- 586,- 583- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 143,- "character": 17- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 576,- "name": "UserAttributes"- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 262,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 264,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 745,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 263,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 744,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 264,- 263- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 265,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 267,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 747,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 266,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 747,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 267,- 266- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 145,- "name": "verifyMobileOTP",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 418,- "character": 8- }- ],- "signatures": [- {- "id": 146,- "name": "verifyMobileOTP",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "tags": [- {- "tag": "deprecated",- "text": "Use `verifyOTP` instead!"- }- ]- },- "parameters": [- {- "id": 147,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "The user's phone number WITH international prefix"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 148,- "name": "token",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "token that user was sent to their mobile phone"- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 149,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 150,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 151,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 422,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 151- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 152,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 153,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 426,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 154,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 427,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 153,- 154- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 155,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 156,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 430,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 157,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 431,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 156,- 157- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 158,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 159,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 433,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 160,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 433,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 159,- 160- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 161,- "name": "verifyOTP",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 463,- "character": 8- }- ],- "signatures": [- {- "id": 162,- "name": "verifyOTP",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Send User supplied Email / Mobile OTP to be verified"- },- "parameters": [- {- "id": 163,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 640,- "name": "VerifyOTPParams",- "dereferenced": {- "id": 640,- "name": "VerifyOTPParams",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 245,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 641,- "name": "VerifyMobileOTPParams"- },- {- "type": "reference",- "id": 646,- "name": "VerifyEmailOTPParams"- }- ]- }- }- }- },- {- "id": 164,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 165,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 166,- "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.\n"- },- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 466,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 166- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 167,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 168,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 470,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- },- {- "id": 169,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 471,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 168,- 169- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 170,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 171,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 474,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 172,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 475,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 171,- 172- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 173,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 174,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 477,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 175,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 477,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 174,- 175- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 2- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 21,- 17,- 16- ]- },- {- "title": "Methods",- "kind": 2048,- "children": [- 26,- 230,- 268,- 212,- 30,- 277,- 249,- 176,- 241,- 203,- 189,- 111,- 126,- 59,- 102,- 89,- 140,- 41,- 72,- 286,- 258,- 145,- 161- ]- }- ],- "sources": [- {- "fileName": "src/GoTrueApi.ts",- "line": 14,- "character": 21- }- ]- },- {- "id": 296,- "name": "GoTrueClient",- "kind": 128,- "kindString": "Class",- "flags": {},- "children": [- {- "id": 297,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 98,- "character": 2- }- ],- "signatures": [- {- "id": 298,- "name": "new GoTrueClient",- "kind": 16384,- "kindString": "Constructor signature",- "flags": {},- "comment": {- "shortText": "Create a new client for use in the browser."- },- "parameters": [- {- "id": 299,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 300,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 308,- "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": 103,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 307,- "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": 102,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 312,- "name": "fetch",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 107,- "character": 4- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 313,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "signatures": [- {- "id": 314,- "name": "__type",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "A custom fetch implementation.\n"- },- "parameters": [- {- "id": 315,- "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": 316,- "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": 302,- "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": 100,- "character": 4- }- ],- "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": "string"- }- }- }- }- },- {- "id": 311,- "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": 106,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 309,- "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": 104,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 310,- "name": "storage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 105,- "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": 306,- "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": 101,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 301,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The URL of the GoTrue server."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 99,- "character": 4- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 308,- 307,- 312,- 302,- 311,- 309,- 310,- 306,- 301- ]- }- ]- }- }- }- ],- "type": {- "type": "reference",- "id": 296,- "name": "default"- }- }- ]- },- {- "id": 317,- "name": "api",- "kind": 1024,- "kindString": "Property",- "flags": {},- "comment": {- "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 65,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 1,- "name": "default"- }- },- {- "id": 320,- "name": "autoRefreshToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 77,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 319,- "name": "inMemorySession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "comment": {- "shortText": "The session object for the currently logged in user or null.\nOnly used if persistSession is false."- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 75,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 529,- "name": "Session"- }- ]- }- },- {- "id": 325,- "name": "networkRetries",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 83,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "number"- },- "defaultValue": "0"- },- {- "id": 321,- "name": "persistSession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 78,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 324,- "name": "refreshTokenTimer",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true,- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 81,- "character": 12- }- ],- "type": {- "type": "reference",- "qualifiedName": "global.NodeJS.Timeout",- "package": "@types/node",- "name": "Timeout"- }- },- {- "id": 326,- "name": "refreshingDeferred",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 84,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 660,- "name": "CallRefreshTokenResult"- }- ],- "name": "Deferred"- }- ]- },- "defaultValue": "null"- },- {- "id": 323,- "name": "stateChangeEmitters",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 80,- "character": 12- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "string"- },- {- "type": "reference",- "id": 592,- "name": "Subscription"- }- ],- "qualifiedName": "Map",- "package": "typescript",- "name": "Map"- },- "defaultValue": "..."- },- {- "id": 322,- "name": "storage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 79,- "character": 12- }- ],- "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": 318,- "name": "storageKey",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true- },- "comment": {- "shortText": "The storage key used to identity the values saved in localStorage"- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 69,- "character": 12- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 480,- "name": "_callRefreshToken",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 775,- "character": 16- }- ],- "signatures": [- {- "id": 481,- "name": "_callRefreshToken",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 482,- "name": "refreshToken",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 660,- "name": "CallRefreshTokenResult"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 421,- "name": "_doesSessionExist",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 599,- "character": 10- }- ],- "signatures": [- {- "id": 422,- "name": "_doesSessionExist",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 423,- "name": "maybeSession",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "unknown"- }- }- ],- "type": {- "type": "predicate",- "name": "maybeSession",- "asserts": false,- "targetType": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- }- ]- },- {- "id": 424,- "name": "_handleEmailSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 610,- "character": 16- }- ],- "signatures": [- {- "id": 425,- "name": "_handleEmailSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 426,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 427,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 428,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 429,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 430,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 614,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 430- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reference",- "id": 503,- "name": "AuthResponse"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 467,- "name": "_handleOpenIDConnectSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 686,- "character": 16- }- ],- "signatures": [- {- "id": 468,- "name": "_handleOpenIDConnectSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 469,- "name": "__namedParameters",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials",- "dereferenced": {- "id": 653,- "name": "OpenIDConnectCredentials",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 657,- "name": "client_id",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 265,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 654,- "name": "id_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 262,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 658,- "name": "issuer",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 266,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 655,- "name": "nonce",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 263,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 656,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 264,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 501,- "name": "Provider"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 657,- 654,- 658,- 655,- 656- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 261,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 470,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 473,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 696,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 472,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 695,- "character": 8- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 529,- "name": "Session"- }- ]- }- },- {- "id": 471,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 694,- "character": 8- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 548,- "name": "User"- }- ]- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 473,- 472,- 471- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 474,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 477,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 698,- "character": 35- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 476,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 698,- "character": 20- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 475,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 698,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 477,- 476,- 475- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 431,- "name": "_handlePhoneSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 638,- "character": 16- }- ],- "signatures": [- {- "id": 432,- "name": "_handlePhoneSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 433,- "name": "phone",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 434,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 435,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 436,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 437,- "name": "captchaToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 642,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 437- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 438,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 439,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 649,- "character": 38- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 440,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 441,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 649,- "character": 46- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- },- {- "id": 442,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 649,- "character": 61- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 441,- 442- ]- }- ]- }- },- "defaultValue": "..."- },- {- "id": 443,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 439,- 443- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 444,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 445,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 656,- "character": 15- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 446,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 447,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- },- {- "id": 448,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 656,- "character": 32- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- },- "defaultValue": "session.user"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 447,- 448- ]- }- ]- }- },- "defaultValue": "..."- },- {- "id": 449,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 656,- "character": 54- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 445,- 449- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 450,- "name": "_handleProviderSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 666,- "character": 10- }- ],- "signatures": [- {- "id": 451,- "name": "_handleProviderSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 452,- "name": "provider",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 501,- "name": "Provider",- "dereferenced": {- "id": 501,- "name": "Provider",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 3,- "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": 453,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reflection",- "declaration": {- "id": 454,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 457,- "name": "queryParams",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 671,- "character": 6- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 458,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "indexSignature": {- "id": 459,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {},- "parameters": [- {- "id": 460,- "name": "key",- "kind": 32768,- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- }- }- },- {- "id": 455,- "name": "redirectTo",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 669,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 456,- "name": "scopes",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 670,- "character": 6- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 457,- 455,- 456- ]- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 461,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 462,- "name": "data",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 683,- "character": 13- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 463,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 464,- "name": "provider",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "reference",- "id": 501,- "name": "Provider"- }- },- {- "id": 465,- "name": "url",- "kind": 1024,- "kindString": "Property",- "flags": {},- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 464,- 465- ]- }- ]- }- },- "defaultValue": "..."- },- {- "id": 466,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 683,- "character": 38- }- ],- "type": {- "type": "literal",- "value": null- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 462,- 466- ]- }- ]- }- }- }- ]- },- {- "id": 499,- "name": "_handleVisibilityChange",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 883,- "character": 10- }- ],- "signatures": [- {- "id": 500,- "name": "_handleVisibilityChange",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "literal",- "value": false- }- ]- }- }- ]- },- {- "id": 483,- "name": "_notifyAllSubscribers",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 815,- "character": 10- }- ],- "signatures": [- {- "id": 484,- "name": "_notifyAllSubscribers",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 485,- "name": "event",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 502,- "name": "AuthChangeEvent",- "dereferenced": {- "id": 502,- "name": "AuthChangeEvent",- "kind": 4194304,- "kindString": "Type alias",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 21,- "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": 486,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "reference",- "id": 529,- "name": "Session"- }- ]- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 490,- "name": "_persistSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 843,- "character": 10- }- ],- "signatures": [- {- "id": 491,- "name": "_persistSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "parameters": [- {- "id": 492,- "name": "currentSession",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session",- "dereferenced": {- "id": 529,- "name": "Session",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 531,- "name": "access_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 62,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 533,- "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": 70,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 532,- "name": "expires_in",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "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": 66,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 530,- "name": "provider_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 61,- "character": 2- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- },- {- "id": 534,- "name": "refresh_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 71,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 535,- "name": "token_type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 72,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 536,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 73,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 531,- 533,- 532,- 530,- 534,- 535,- 536- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 60,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 478,- "name": "_recoverAndRefresh",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 730,- "character": 16- }- ],- "signatures": [- {- "id": 479,- "name": "_recoverAndRefresh",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."- },- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "literal",- "value": null- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 493,- "name": "_removeSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 847,- "character": 16- }- ],- "signatures": [- {- "id": 494,- "name": "_removeSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "type": {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "void"- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 487,- "name": "_saveSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 823,- "character": 10- }- ],- "signatures": [- {- "id": 488,- "name": "_saveSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"- },- "parameters": [- {- "id": 489,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session",- "dereferenced": {- "id": 529,- "name": "Session",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 531,- "name": "access_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 62,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 533,- "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": 70,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 532,- "name": "expires_in",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "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": 66,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 530,- "name": "provider_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 61,- "character": 2- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- },- {- "id": 534,- "name": "refresh_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 71,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 535,- "name": "token_type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 72,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 536,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 73,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 531,- 533,- 532,- 530,- 534,- 535,- 536- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 60,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 495,- "name": "_startAutoRefreshToken",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true- },- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 863,- "character": 10- }- ],- "signatures": [- {- "id": 496,- "name": "_startAutoRefreshToken",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Clear and re-create refresh token timer"- },- "parameters": [- {- "id": 497,- "name": "value",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "comment": {- "shortText": "time intervals in milliseconds\n"- },- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 498,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {},- "type": {- "type": "reference",- "id": 529,- "name": "Session",- "dereferenced": {- "id": 529,- "name": "Session",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [- {- "id": 531,- "name": "access_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 62,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 533,- "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": 70,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 532,- "name": "expires_in",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "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": 66,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "number"- }- },- {- "id": 530,- "name": "provider_token",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 61,- "character": 2- }- ],- "type": {- "type": "union",- "types": [- {- "type": "literal",- "value": null- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- },- {- "id": 534,- "name": "refresh_token",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 71,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 535,- "name": "token_type",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 72,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 536,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 73,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 531,- 533,- 532,- 530,- 534,- 535,- 536- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 60,- "character": 17- }- ]- }- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ]- },- {- "id": 350,- "name": "getSession",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 341,- "character": 8- }- ],- "signatures": [- {- "id": 351,- "name": "getSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Returns the session data, refreshing it if necessary."- },- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 352,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 354,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 344,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 353,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 343,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 354,- 353- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 355,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 357,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 348,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 356,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 347,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 357,- 356- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 358,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 360,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 352,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 359,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 351,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 360,- 359- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"- }- }- ]- },- {- "id": 393,- "name": "getSessionFromUrl",- "kind": 2048,- "kindString": "Method",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 489,- "character": 8- }- ],- "signatures": [- {- "id": 394,- "name": "getSessionFromUrl",- "kind": 4096,- "kindString": "Call signature",- "flags": {},- "comment": {- "shortText": "Gets the session data from a URL string"- },- "parameters": [- {- "id": 395,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isOptional": true- },- "type": {- "type": "reflection",- "declaration": {- "id": 396,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ "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": 397,- "name": "storeSession",+ "id": 86,+ "name": "url","kind": 1024,"kindString": "Property","flags": {"isOptional": true},"comment": {- "shortText": "Optionally store the session in the browser\n"+ "shortText": "The URL of the GoTrue server."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 489,- "character": 38+ "line": 105,+ "character": 4}],"type": {"type": "intrinsic",- "name": "boolean"+ "name": "string"}}],@@ -11258,7 +3778,15 @@"title": "Properties","kind": 1024,"children": [- 397+ 93,+ 92,+ 97,+ 87,+ 96,+ 94,+ 95,+ 91,+ 86]}]@@ -11268,160 +3796,56 @@],"type": {"type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 398,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 400,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 492,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 399,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 491,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 529,- "name": "Session"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 400,- 399- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 401,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 403,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 494,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },- {- "id": 402,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 494,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 403,- 402- ]- }- ]- }- }- ]- }- ],- "qualifiedName": "Promise",- "package": "typescript",- "name": "Promise"+ "id": 81,+ "name": "default"}}]},{- "id": 361,- "name": "getUser",+ "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": 146,+ "name": "getSession","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 391,+ "line": 368,"character": 8}],"signatures": [{- "id": 362,- "name": "getUser",+ "id": 147,+ "name": "getSession","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Returns the user data, refreshing the session if necessary."+ "shortText": "Returns the session data, refreshing it if necessary.\nIf no session is detected, the session returned will be null."},"type": {"type": "reference",@@ -11432,47 +3856,82 @@{"type": "reflection","declaration": {- "id": 363,+ "id": 148,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 365,- "name": "error",+ "id": 149,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 394,+ "line": 370,"character": 8}],"type": {- "type": "literal",- "value": null+ "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": "reference",+ "id": 307,+ "name": "Session"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 151+ ]+ }+ ]+ }}},{- "id": 364,- "name": "user",+ "id": 152,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 393,+ "line": 373,"character": 8}],"type": {- "type": "reference",- "id": 548,- "name": "User"+ "type": "literal",+ "value": null}}],@@ -11481,8 +3940,8 @@"title": "Properties","kind": 1024,"children": [- 365,- 364+ 149,+ 152]}]@@ -11491,47 +3950,82 @@{"type": "reflection","declaration": {- "id": 366,+ "id": 153,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 368,- "name": "error",+ "id": 154,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 398,+ "line": 376,"character": 8}],"type": {- "type": "reference",- "id": 670,- "name": "AuthError"+ "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": 367,- "name": "user",+ "id": 157,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 397,+ "line": 379,"character": 8}],"type": {- "type": "literal",- "value": null+ "type": "reference",+ "id": 442,+ "name": "AuthError"}}],@@ -11540,8 +4034,8 @@"title": "Properties","kind": 1024,"children": [- 368,- 367+ 154,+ 157]}]@@ -11550,40 +4044,75 @@{"type": "reflection","declaration": {- "id": 369,+ "id": 158,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 371,- "name": "error",+ "id": 159,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 402,+ "line": 382,"character": 8}- ],- "type": {- "type": "literal",- "value": null+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 160,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 161,+ "name": "session",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 383,+ "character": 10+ }+ ],+ "type": {+ "type": "literal",+ "value": null+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 161+ ]+ }+ ]+ }}},{- "id": 370,- "name": "user",+ "id": 162,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 401,+ "line": 385,"character": 8}],@@ -11598,8 +4127,8 @@"title": "Properties","kind": 1024,"children": [- 371,- 370+ 159,+ 162]}]@@ -11616,7 +4145,64 @@]},{- "id": 408,+ "id": 163,+ "name": "getUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 425,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 164,+ "name": "getUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {},+ "comment": {+ "shortText": "Gets the current user details if there is an existing session."+ },+ "parameters": [+ {+ "id": 165,+ "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": 296,+ "name": "UserResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 184,"name": "onAuthStateChange","kind": 2048,"kindString": "Method",@@ -11624,13 +4210,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 573,+ "line": 599,"character": 2}],"signatures": [{- "id": 409,+ "id": 185,"name": "onAuthStateChange","kind": 4096,"kindString": "Call signature",@@ -11641,41 +4227,44 @@},"parameters": [{- "id": 410,+ "id": 186,"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": 411,+ "id": 187,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"signatures": [{- "id": 412,+ "id": 188,"name": "__type","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 413,+ "id": 189,"name": "event","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 502,+ "id": 269,"name": "AuthChangeEvent"}},{- "id": 414,+ "id": 190,"name": "session","kind": 32768,"kindString": "Parameter",@@ -11689,7 +4278,7 @@},{"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}]@@ -11712,14 +4301,14 @@{"type": "reflection","declaration": {- "id": 415,+ "id": 191,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 417,+ "id": 193,"name": "error","kind": 1024,"kindString": "Property",@@ -11727,7 +4316,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 576,+ "line": 602,"character": 8}],@@ -11737,7 +4326,7 @@}},{- "id": 416,+ "id": 192,"name": "subscription","kind": 1024,"kindString": "Property",@@ -11745,13 +4334,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 575,+ "line": 601,"character": 8}],"type": {"type": "reference",- "id": 592,+ "id": 370,"name": "Subscription"}}@@ -11761,8 +4350,8 @@"title": "Properties","kind": 1024,"children": [- 417,- 416+ 193,+ 192]}]@@ -11771,14 +4360,14 @@{"type": "reflection","declaration": {- "id": 418,+ "id": 194,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 420,+ "id": 196,"name": "error","kind": 1024,"kindString": "Property",@@ -11786,18 +4375,18 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 578,+ "line": 604,"character": 28}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}},{- "id": 419,+ "id": 195,"name": "subscription","kind": 1024,"kindString": "Property",@@ -11805,7 +4394,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 578,+ "line": 604,"character": 8}],@@ -11820,8 +4409,8 @@"title": "Properties","kind": 1024,"children": [- 420,- 419+ 196,+ 195]}]@@ -11833,42 +4422,118 @@]},{- "id": 381,- "name": "setSession",+ "id": 197,+ "name": "resetPasswordForEmail","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 455,+ "line": 631,"character": 8}],"signatures": [{- "id": 382,- "name": "setSession",+ "id": 198,+ "name": "resetPasswordForEmail","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Sets the session data from refresh_token and returns current Session and Error"+ "shortText": "Sends a reset request to an email address."},"parameters": [{- "id": 383,- "name": "refresh_token",+ "id": 199,+ "name": "email","kind": 32768,"kindString": "Parameter","flags": {},"comment": {- "shortText": "a JWT token\n"+ "shortText": "The email address of the user."},"type": {"type": "intrinsic","name": "string"}+ },+ {+ "id": 200,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {},+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 201,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 203,+ "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": 635,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 202,+ "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": 634,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 203,+ 202+ ]+ }+ ]+ }+ },+ "defaultValue": "{}"}],"type": {@@ -11880,47 +4545,52 @@{"type": "reflection","declaration": {- "id": 384,+ "id": 204,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 386,- "name": "error",+ "id": 205,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 458,+ "line": 639,"character": 8}],"type": {- "type": "literal",- "value": null+ "type": "reflection",+ "declaration": {+ "id": 206,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {}+ }}},{- "id": 385,- "name": "session",+ "id": 207,+ "name": "error","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 457,+ "line": 640,"character": 8}],"type": {- "type": "reference",- "id": 529,- "name": "Session"+ "type": "literal",+ "value": null}}],@@ -11929,8 +4599,8 @@"title": "Properties","kind": 1024,"children": [- 386,- 385+ 205,+ 207]}]@@ -11939,40 +4609,22 @@{"type": "reflection","declaration": {- "id": 387,+ "id": 208,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 389,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 460,- "character": 23- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 388,- "name": "session",+ "id": 209,+ "name": "data","kind": 1024,"kindString": "Property","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 460,+ "line": 642,"character": 8}],@@ -11980,31 +4632,9 @@"type": "literal","value": null}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 389,- 388- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 390,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [+ },{- "id": 392,+ "id": 210,"name": "error","kind": 1024,"kindString": "Property",@@ -12012,33 +4642,15 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 461,- "character": 23+ "line": 642,+ "character": 20}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}- },- {- "id": 391,- "name": "session",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 461,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }}],"groups": [@@ -12046,8 +4658,8 @@"title": "Properties","kind": 1024,"children": [- 392,- 391+ 209,+ 210]}]@@ -12064,7 +4676,62 @@]},{- "id": 338,+ "id": 169,+ "name": "setSession",+ "kind": 2048,+ "kindString": "Method",+ "flags": {},+ "sources": [+ {+ "fileName": "src/GoTrueClient.ts",+ "line": 488,+ "character": 8+ }+ ],+ "signatures": [+ {+ "id": 170,+ "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": 171,+ "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": 270,+ "name": "AuthResponse"+ }+ ],+ "qualifiedName": "Promise",+ "package": "typescript",+ "name": "Promise"+ }+ }+ ]+ },+ {+ "id": 133,"name": "signInWithOAuth","kind": 2048,"kindString": "Method",@@ -12072,13 +4739,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 240,+ "line": 264,"character": 8}],"signatures": [{- "id": 339,+ "id": 134,"name": "signInWithOAuth","kind": 4096,"kindString": "Call signature",@@ -12088,17 +4755,17 @@},"parameters": [{- "id": 340,+ "id": 135,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 629,+ "id": 406,"name": "SignInWithOAuthCredentials","dereferenced": {- "id": 629,+ "id": 406,"name": "SignInWithOAuthCredentials","kind": 4194304,"kindString": "Type alias",@@ -12106,21 +4773,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 12}],"type": {"type": "reflection","declaration": {- "id": 630,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 632,+ "id": 409,"name": "options","kind": 1024,"kindString": "Property",@@ -12130,32 +4797,35 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 237,+ "line": 268,"character": 2}],"type": {"type": "reference",- "id": 633,+ "id": 410,"name": "SignInWithOAuthOptions"}},{- "id": 631,+ "id": 408,"name": "provider","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 236,+ "line": 267,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}}@@ -12165,15 +4835,15 @@"title": "Properties","kind": 1024,"children": [- 632,- 631+ 409,+ 408]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 41}]@@ -12188,7 +4858,7 @@"typeArguments": [{"type": "reference",- "id": 516,+ "id": 283,"name": "OAuthResponse"}],@@ -12200,7 +4870,7 @@]},{- "id": 341,+ "id": 136,"name": "signInWithOtp","kind": 2048,"kindString": "Method",@@ -12208,13 +4878,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 256,+ "line": 276,"character": 8}],"signatures": [{- "id": 342,+ "id": 137,"name": "signInWithOtp","kind": 4096,"kindString": "Call signature",@@ -12224,17 +4894,17 @@},"parameters": [{- "id": 343,+ "id": 138,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 618,+ "id": 395,"name": "SignInWithPasswordlessCredentials","dereferenced": {- "id": 618,+ "id": 395,"name": "SignInWithPasswordlessCredentials","kind": 4194304,"kindString": "Type alias",@@ -12242,7 +4912,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 220,+ "line": 248,"character": 12}],@@ -12252,22 +4922,25 @@{"type": "reflection","declaration": {- "id": 619,+ "id": 396,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 620,+ "id": 397,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 222,+ "line": 251,"character": 6}],@@ -12277,7 +4950,7 @@}},{- "id": 621,+ "id": 398,"name": "options","kind": 1024,"kindString": "Property",@@ -12287,13 +4960,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 223,+ "line": 252,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}}@@ -12303,15 +4976,15 @@"title": "Properties","kind": 1024,"children": [- 620,- 621+ 397,+ 398]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 221,+ "line": 249,"character": 4}]@@ -12320,14 +4993,14 @@{"type": "reflection","declaration": {- "id": 622,+ "id": 399,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 624,+ "id": 401,"name": "options","kind": 1024,"kindString": "Property",@@ -12337,26 +5010,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 227,+ "line": 257,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}},{- "id": 623,+ "id": 400,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 226,+ "line": 256,"character": 6}],@@ -12371,15 +5047,15 @@"title": "Properties","kind": 1024,"children": [- 624,- 623+ 401,+ 400]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 254,"character": 4}]@@ -12396,7 +5072,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -12408,7 +5084,7 @@]},{- "id": 335,+ "id": 130,"name": "signInWithPassword","kind": 2048,"kindString": "Method",@@ -12416,13 +5092,13 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 203,+ "line": 216,"character": 8}],"signatures": [{- "id": 336,+ "id": 131,"name": "signInWithPassword","kind": 4096,"kindString": "Call signature",@@ -12432,17 +5108,17 @@},"parameters": [{- "id": 337,+ "id": 132,"name": "credentials","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 607,+ "id": 384,"name": "SignInWithPasswordCredentials","dereferenced": {- "id": 607,+ "id": 384,"name": "SignInWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -12450,7 +5126,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 206,+ "line": 230,"character": 12}],@@ -12460,22 +5136,25 @@{"type": "reflection","declaration": {- "id": 608,+ "id": 385,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 609,+ "id": 386,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 208,+ "line": 233,"character": 6}],@@ -12485,7 +5164,7 @@}},{- "id": 611,+ "id": 388,"name": "options","kind": 1024,"kindString": "Property",@@ -12495,26 +5174,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 210,+ "line": 236,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 610,+ "id": 387,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 209,+ "line": 235,"character": 6}],@@ -12529,16 +5211,16 @@"title": "Properties","kind": 1024,"children": [- 609,- 611,- 610+ 386,+ 388,+ 387]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 207,+ "line": 231,"character": 4}]@@ -12547,14 +5229,14 @@{"type": "reflection","declaration": {- "id": 612,+ "id": 389,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 615,+ "id": 392,"name": "options","kind": 1024,"kindString": "Property",@@ -12564,26 +5246,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 215,+ "line": 243,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 614,+ "id": 391,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 214,+ "line": 242,"character": 6}],@@ -12593,15 +5278,18 @@}},{- "id": 613,+ "id": 390,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 213,+ "line": 240,"character": 6}],@@ -12616,16 +5304,16 @@"title": "Properties","kind": 1024,"children": [- 615,- 614,- 613+ 392,+ 391,+ 390]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 212,+ "line": 238,"character": 4}]@@ -12642,7 +5330,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -12654,7 +5342,7 @@]},{- "id": 404,+ "id": 180,"name": "signOut","kind": 2048,"kindString": "Method",@@ -12662,20 +5350,20 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 554,+ "line": 579,"character": 8}],"signatures": [{- "id": 405,+ "id": 181,"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)`. There is no way to revoke a user's session JWT before it automatically expires\n"+ "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",@@ -12683,14 +5371,14 @@{"type": "reflection","declaration": {- "id": 406,+ "id": 182,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 407,+ "id": 183,"name": "error","kind": 1024,"kindString": "Property",@@ -12698,7 +5386,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 554,+ "line": 579,"character": 29}],@@ -12711,7 +5399,7 @@},{"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}]@@ -12723,7 +5411,7 @@"title": "Properties","kind": 1024,"children": [- 407+ 183]}]@@ -12738,7 +5426,7 @@]},{- "id": 327,+ "id": 122,"name": "signUp","kind": 2048,"kindString": "Method",@@ -12746,50 +5434,54 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 142,+ "line": 151,"character": 8}],"signatures": [{- "id": 328,+ "id": 123,"name": "signUp","kind": 4096,"kindString": "Call signature","flags": {},"comment": {- "shortText": "Creates a new user."+ "shortText": "Creates a new user.",+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"},"parameters": [{- "id": 329,+ "id": 124,"name": "__namedParameters","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 600,+ "id": 378,"name": "UserCredentials","dereferenced": {- "id": 600,+ "id": 378,"name": "UserCredentials","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 601,+ "id": 379,"name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 198,+ "line": 221,"character": 2}],@@ -12799,38 +5491,20 @@}},{- "id": 606,- "name": "oidc",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 204,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials"- }- },- {- "id": 603,+ "id": 381,"name": "password","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 200,+ "line": 225,"character": 2}],@@ -12840,17 +5514,20 @@}},{- "id": 602,+ "id": 380,"name": "phone","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 199,+ "line": 223,"character": 2}],@@ -12860,7 +5537,7 @@}},{- "id": 605,+ "id": 383,"name": "provider","kind": 1024,"kindString": "Property",@@ -12873,18 +5550,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 203,+ "line": 228,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 604,+ "id": 382,"name": "refreshToken","kind": 1024,"kindString": "Property",@@ -12894,7 +5571,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 226,"character": 2}],@@ -12909,19 +5586,18 @@"title": "Properties","kind": 1024,"children": [- 601,- 606,- 603,- 602,- 605,- 604+ 379,+ 381,+ 380,+ 383,+ 382]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 197,+ "line": 219,"character": 17}]@@ -12929,7 +5605,7 @@}},{- "id": 330,+ "id": 125,"name": "options","kind": 32768,"kindString": "Parameter",@@ -12937,24 +5613,27 @@"type": {"type": "reflection","declaration": {- "id": 331,+ "id": 126,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 334,+ "id": 129,"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/GoTrueClient.ts",- "line": 147,+ "line": 156,"character": 6}],@@ -12964,7 +5643,7 @@}},{- "id": 333,+ "id": 128,"name": "data","kind": 1024,"kindString": "Property",@@ -12972,12 +5651,12 @@"isOptional": true},"comment": {- "shortText": "Optional user metadata.\n"+ "shortText": "Optional user metadata."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 146,+ "line": 155,"character": 6}],@@ -12987,7 +5666,7 @@}},{- "id": 332,+ "id": 127,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -13000,7 +5679,7 @@"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 145,+ "line": 154,"character": 6}],@@ -13015,9 +5694,9 @@"title": "Properties","kind": 1024,"children": [- 334,- 333,- 332+ 129,+ 128,+ 127]}]@@ -13031,7 +5710,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -13043,22 +5722,22 @@]},{- "id": 372,- "name": "update",+ "id": 166,+ "name": "updateUser","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 420,+ "line": 454,"character": 8}],"signatures": [{- "id": 373,- "name": "update",+ "id": 167,+ "name": "updateUser","kind": 4096,"kindString": "Call signature","flags": {},@@ -13067,24 +5746,24 @@},"parameters": [{- "id": 374,+ "id": 168,"name": "attributes","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 576,+ "id": 354,"name": "UserAttributes","dereferenced": {- "id": 576,+ "id": 354,"name": "UserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 581,+ "id": 359,"name": "data","kind": 1024,"kindString": "Property",@@ -13097,7 +5776,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 140,+ "line": 162,"character": 2}],@@ -13107,7 +5786,7 @@}},{- "id": 577,+ "id": 355,"name": "email","kind": 1024,"kindString": "Property",@@ -13120,7 +5799,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 142,"character": 2}],@@ -13130,7 +5809,7 @@}},{- "id": 580,+ "id": 358,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -13143,218 +5822,100 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 135,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 579,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 130,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 578,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 125,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 581,- 577,- 580,- 579,- 578- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 116,- "character": 17- }- ],- "extendedBy": [- {- "type": "reference",- "id": 582,- "name": "AdminUserAttributes"- }- ]- }- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 375,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 377,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 423,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }- },- {- "id": 376,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 422,- "character": 8- }- ],- "type": {- "type": "reference",- "id": 548,- "name": "User"- }- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 377,- 376- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 378,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {},- "children": [- {- "id": 380,- "name": "error",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 425,- "character": 20- }- ],- "type": {- "type": "reference",- "id": 670,- "name": "AuthError"- }- },+ "line": 157,+ "character": 2+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 357,+ "name": "password",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },+ "sources": [{- "id": 379,- "name": "user",- "kind": 1024,- "kindString": "Property",- "flags": {},- "sources": [- {- "fileName": "src/GoTrueClient.ts",- "line": 425,- "character": 8- }- ],- "type": {- "type": "literal",- "value": null- }+ "fileName": "src/lib/types.ts",+ "line": 152,+ "character": 2}],- "groups": [+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 356,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's phone."+ },+ "sources": [{- "title": "Properties",- "kind": 1024,- "children": [- 380,- 379- ]+ "fileName": "src/lib/types.ts",+ "line": 147,+ "character": 2}+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 359,+ 355,+ 358,+ 357,+ 356]}- }- ]+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 138,+ "character": 17+ }+ ],+ "extendedBy": [+ {+ "type": "reference",+ "id": 360,+ "name": "AdminUserAttributes"+ }+ ]+ }+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reference",+ "id": 296,+ "name": "UserResponse"}],"qualifiedName": "Promise",@@ -13365,22 +5926,22 @@]},{- "id": 344,- "name": "verifyOTP",+ "id": 139,+ "name": "verifyOtp","kind": 2048,"kindString": "Method","flags": {},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 295,+ "line": 319,"character": 8}],"signatures": [{- "id": 345,- "name": "verifyOTP",+ "id": 140,+ "name": "verifyOtp","kind": 4096,"kindString": "Call signature","flags": {},@@ -13389,25 +5950,25 @@},"parameters": [{- "id": 346,+ "id": 141,"name": "params","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 640,- "name": "VerifyOTPParams",+ "id": 417,+ "name": "VerifyOtpParams","dereferenced": {- "id": 640,- "name": "VerifyOTPParams",+ "id": 417,+ "name": "VerifyOtpParams","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 245,+ "line": 279,"character": 12}],@@ -13416,13 +5977,13 @@"types": [{"type": "reference",- "id": 641,- "name": "VerifyMobileOTPParams"+ "id": 418,+ "name": "VerifyMobileOtpParams"},{"type": "reference",- "id": 646,- "name": "VerifyEmailOTPParams"+ "id": 423,+ "name": "VerifyEmailOtpParams"}]}@@ -13430,7 +5991,7 @@}},{- "id": 347,+ "id": 142,"name": "options","kind": 32768,"kindString": "Parameter",@@ -13438,14 +5999,37 @@"type": {"type": "reflection","declaration": {- "id": 348,+ "id": 143,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 349,+ "id": 145,+ "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": 323,+ "character": 6+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 144,"name": "redirectTo","kind": 1024,"kindString": "Property",@@ -13453,12 +6037,12 @@"isOptional": true},"comment": {- "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"+ "shortText": "A URL to send the user to after they are confirmed."},"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 298,+ "line": 322,"character": 6}],@@ -13473,7 +6057,8 @@"title": "Properties","kind": 1024,"children": [- 349+ 145,+ 144]}]@@ -13487,7 +6072,7 @@"typeArguments": [{"type": "reference",- "id": 503,+ "id": 270,"name": "AuthResponse"}],@@ -13504,74 +6089,52 @@"title": "Constructors","kind": 512,"children": [- 297+ 82]},{"title": "Properties","kind": 1024,"children": [- 317,- 320,- 319,- 325,- 321,- 324,- 326,- 323,- 322,- 318+ 102]},{"title": "Methods","kind": 2048,"children": [- 480,- 421,- 424,- 467,- 431,- 450,- 499,- 483,- 490,- 478,- 493,- 487,- 495,- 350,- 393,- 361,- 408,- 381,- 338,- 341,- 335,- 404,- 327,- 372,- 344+ 146,+ 163,+ 184,+ 197,+ 169,+ 133,+ 136,+ 130,+ 180,+ 122,+ 166,+ 139]}],"sources": [{"fileName": "src/GoTrueClient.ts",- "line": 60,+ "line": 61,"character": 21}]},{- "id": 582,+ "id": 360,"name": "AdminUserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 584,+ "id": 362,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -13585,7 +6148,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 165,+ "line": 187,"character": 2}],@@ -13595,7 +6158,7 @@}},{- "id": 591,+ "id": 369,"name": "data","kind": 1024,"kindString": "Property",@@ -13608,7 +6171,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 140,+ "line": 162,"character": 2}],@@ -13618,12 +6181,12 @@},"inheritedFrom": {"type": "reference",- "id": 581,+ "id": 359,"name": "UserAttributes.data"}},{- "id": 587,+ "id": 365,"name": "email","kind": 1024,"kindString": "Property",@@ -13636,7 +6199,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 142,"character": 2}],@@ -13646,12 +6209,12 @@},"inheritedFrom": {"type": "reference",- "id": 577,+ "id": 355,"name": "UserAttributes.email"}},{- "id": 590,+ "id": 368,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -13659,288 +6222,151 @@"isOptional": true},"comment": {- "shortText": "An email change token."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 135,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 580,- "name": "UserAttributes.email_change_token"- }- },- {- "id": 585,- "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": 172,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 589,- "name": "password",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's password."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 130,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 579,- "name": "UserAttributes.password"- }- },- {- "id": 588,- "name": "phone",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "comment": {- "shortText": "The user's phone."- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 125,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "string"- },- "inheritedFrom": {- "type": "reference",- "id": 578,- "name": "UserAttributes.phone"- }- },- {- "id": 586,- "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": [- {- "fileName": "src/lib/types.ts",- "line": 179,- "character": 2- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 583,- "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"+ "shortText": "An email change token."},"sources": [{"fileName": "src/lib/types.ts",- "line": 155,+ "line": 157,"character": 2}],"type": {"type": "intrinsic",- "name": "object"+ "name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 358,+ "name": "UserAttributes.email_change_token"}- }- ],- "groups": [- {- "title": "Properties",- "kind": 1024,- "children": [- 584,- 591,- 587,- 590,- 585,- 589,- 588,- 586,- 583- ]- }- ],- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 143,- "character": 17- }- ],- "extendedTypes": [- {- "type": "reference",- "id": 576,- "name": "UserAttributes"- }- ]- },- {- "id": 653,- "name": "OpenIDConnectCredentials",- "kind": 256,- "kindString": "Interface",- "flags": {},- "children": [+ },{- "id": 657,- "name": "client_id",+ "id": 363,+ "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": 265,+ "line": 194,"character": 2}],"type": {"type": "intrinsic",- "name": "string"+ "name": "boolean"}},{- "id": 654,- "name": "id_token",+ "id": 367,+ "name": "password","kind": 1024,"kindString": "Property",- "flags": {},+ "flags": {+ "isOptional": true+ },+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 262,+ "line": 152,"character": 2}],"type": {"type": "intrinsic","name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 357,+ "name": "UserAttributes.password"}},{- "id": 658,- "name": "issuer",+ "id": 366,+ "name": "phone","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's phone."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 266,+ "line": 147,"character": 2}],"type": {"type": "intrinsic","name": "string"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 356,+ "name": "UserAttributes.phone"}},{- "id": 655,- "name": "nonce",+ "id": 364,+ "name": "phone_confirm","kind": 1024,"kindString": "Property",- "flags": {},+ "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": 263,+ "line": 201,"character": 2}],"type": {"type": "intrinsic",- "name": "string"+ "name": "boolean"}},{- "id": 656,- "name": "provider",+ "id": 361,+ "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": 264,+ "line": 177,"character": 2}],"type": {- "type": "reference",- "id": 501,- "name": "Provider"+ "type": "intrinsic",+ "name": "object"}}],@@ -13949,39 +6375,53 @@"title": "Properties","kind": 1024,"children": [- 657,- 654,- 658,- 655,- 656+ 362,+ 369,+ 365,+ 368,+ 363,+ 367,+ 366,+ 364,+ 361]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 261,+ "line": 165,"character": 17}+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "id": 354,+ "name": "UserAttributes"+ }]},{- "id": 529,+ "id": 307,"name": "Session","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 531,+ "id": 309,"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": 62,+ "line": 81,"character": 2}],@@ -13991,7 +6431,7 @@}},{- "id": 533,+ "id": 312,"name": "expires_at","kind": 1024,"kindString": "Property",@@ -14004,7 +6444,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 70,+ "line": 93,"character": 2}],@@ -14014,20 +6454,18 @@}},{- "id": 532,+ "id": 311,"name": "expires_in","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true- },+ "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": 66,+ "line": 89,"character": 2}],@@ -14037,7 +6475,7 @@}},{- "id": 530,+ "id": 308,"name": "provider_token","kind": 1024,"kindString": "Property",@@ -14047,7 +6485,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 61,+ "line": 77,"character": 2}],@@ -14066,15 +6504,18 @@}},{- "id": 534,+ "id": 310,"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": 71,+ "line": 85,"character": 2}],@@ -14084,7 +6525,7 @@}},{- "id": 535,+ "id": 313,"name": "token_type","kind": 1024,"kindString": "Property",@@ -14092,7 +6533,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 72,+ "line": 94,"character": 2}],@@ -14102,7 +6543,7 @@}},{- "id": 536,+ "id": 314,"name": "user","kind": 1024,"kindString": "Property",@@ -14110,13 +6551,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 73,+ "line": 95,"character": 2}],"type": {"type": "reference",- "id": 548,+ "id": 326,"name": "User"}}@@ -14126,63 +6567,66 @@"title": "Properties","kind": 1024,"children": [- 531,- 533,- 532,- 530,- 534,- 535,- 536+ 309,+ 312,+ 311,+ 308,+ 310,+ 313,+ 314]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 60,+ "line": 76,"character": 17}]},{- "id": 633,+ "id": 410,"name": "SignInWithOAuthOptions","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 636,+ "id": 413,"name": "queryParams","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "An object of query params"+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 242,+ "line": 276,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 637,+ "id": 414,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 638,+ "id": 415,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 639,+ "id": 416,"name": "key","kind": 32768,"flags": {},@@ -14201,17 +6645,20 @@}},{- "id": 634,+ "id": 411,"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": 240,+ "line": 272,"character": 2}],@@ -14221,17 +6668,20 @@}},{- "id": 635,+ "id": 412,"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": 241,+ "line": 274,"character": 2}],@@ -14246,29 +6696,29 @@"title": "Properties","kind": 1024,"children": [- 636,- 634,- 635+ 413,+ 411,+ 412]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 239,+ "line": 270,"character": 17}]},{- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 617,+ "id": 394,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -14278,7 +6728,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 218,+ "line": 246,"character": 2}],@@ -14293,27 +6743,27 @@"title": "Properties","kind": 1024,"children": [- 617+ 394]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 217,+ "line": 245,"character": 17}]},{- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 628,+ "id": 405,"name": "captchaToken","kind": 1024,"kindString": "Property",@@ -14323,7 +6773,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 233,+ "line": 263,"character": 2}],@@ -14333,7 +6783,7 @@}},{- "id": 626,+ "id": 403,"name": "emailRedirectTo","kind": 1024,"kindString": "Property",@@ -14346,7 +6796,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 231,+ "line": 261,"character": 2}],@@ -14356,7 +6806,7 @@}},{- "id": 627,+ "id": 404,"name": "shouldCreateUser","kind": 1024,"kindString": "Property",@@ -14366,7 +6816,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 232,+ "line": 262,"character": 2}],@@ -14381,29 +6831,29 @@"title": "Properties","kind": 1024,"children": [- 628,- 626,- 627+ 405,+ 403,+ 404]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 229,+ "line": 259,"character": 17}]},{- "id": 592,+ "id": 370,"name": "Subscription","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 593,+ "id": 371,"name": "id","kind": 1024,"kindString": "Property",@@ -14414,7 +6864,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 186,+ "line": 208,"character": 2}],@@ -14424,7 +6874,7 @@}},{- "id": 594,+ "id": 372,"name": "callback","kind": 2048,"kindString": "Method",@@ -14432,13 +6882,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 190,+ "line": 212,"character": 2}],"signatures": [{- "id": 595,+ "id": 373,"name": "callback","kind": 4096,"kindString": "Call signature",@@ -14448,17 +6898,17 @@},"parameters": [{- "id": 596,+ "id": 374,"name": "event","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 502,+ "id": 269,"name": "AuthChangeEvent","dereferenced": {- "id": 502,+ "id": 269,"name": "AuthChangeEvent","kind": 4194304,"kindString": "Type alias",@@ -14466,7 +6916,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 21,+ "line": 22,"character": 12}],@@ -14503,7 +6953,7 @@}},{- "id": 597,+ "id": 375,"name": "session","kind": 32768,"kindString": "Parameter",@@ -14517,7 +6967,7 @@},{"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}]@@ -14532,7 +6982,7 @@]},{- "id": 598,+ "id": 376,"name": "unsubscribe","kind": 2048,"kindString": "Method",@@ -14540,13 +6990,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 194,+ "line": 216,"character": 2}],"signatures": [{- "id": 599,+ "id": 377,"name": "unsubscribe","kind": 4096,"kindString": "Call signature",@@ -14567,35 +7017,35 @@"title": "Properties","kind": 1024,"children": [- 593+ 371]},{"title": "Methods","kind": 2048,"children": [- 594,- 598+ 372,+ 376]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 182,+ "line": 204,"character": 17}]},{- "id": 548,+ "id": 326,"name": "User","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 565,+ "id": 343,"name": "action_link","kind": 1024,"kindString": "Property",@@ -14605,7 +7055,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 103,+ "line": 125,"character": 2}],@@ -14615,7 +7065,7 @@}},{- "id": 550,+ "id": 328,"name": "app_metadata","kind": 1024,"kindString": "Property",@@ -14623,21 +7073,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 90,+ "line": 112,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 551,+ "id": 329,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 552,+ "id": 330,"name": "provider","kind": 1024,"kindString": "Property",@@ -14647,7 +7097,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 91,+ "line": 113,"character": 4}],@@ -14662,19 +7112,19 @@"title": "Properties","kind": 1024,"children": [- 552+ 330]}],"indexSignature": {- "id": 553,+ "id": 331,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 554,+ "id": 332,"name": "key","kind": 32768,"flags": {},@@ -14693,7 +7143,7 @@}},{- "id": 559,+ "id": 337,"name": "aud","kind": 1024,"kindString": "Property",@@ -14701,7 +7151,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 97,+ "line": 119,"character": 2}],@@ -14711,7 +7161,7 @@}},{- "id": 560,+ "id": 338,"name": "confirmation_sent_at","kind": 1024,"kindString": "Property",@@ -14721,7 +7171,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 98,+ "line": 120,"character": 2}],@@ -14731,7 +7181,7 @@}},{- "id": 569,+ "id": 347,"name": "confirmed_at","kind": 1024,"kindString": "Property",@@ -14741,7 +7191,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 107,+ "line": 129,"character": 2}],@@ -14751,7 +7201,7 @@}},{- "id": 568,+ "id": 346,"name": "created_at","kind": 1024,"kindString": "Property",@@ -14759,7 +7209,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 106,+ "line": 128,"character": 2}],@@ -14769,7 +7219,7 @@}},{- "id": 566,+ "id": 344,"name": "email","kind": 1024,"kindString": "Property",@@ -14779,7 +7229,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 104,+ "line": 126,"character": 2}],@@ -14789,7 +7239,7 @@}},{- "id": 562,+ "id": 340,"name": "email_change_sent_at","kind": 1024,"kindString": "Property",@@ -14799,7 +7249,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 100,+ "line": 122,"character": 2}],@@ -14809,7 +7259,7 @@}},{- "id": 570,+ "id": 348,"name": "email_confirmed_at","kind": 1024,"kindString": "Property",@@ -14819,7 +7269,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 108,+ "line": 130,"character": 2}],@@ -14829,7 +7279,7 @@}},{- "id": 549,+ "id": 327,"name": "id","kind": 1024,"kindString": "Property",@@ -14837,7 +7287,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 89,+ "line": 111,"character": 2}],@@ -14847,7 +7297,7 @@}},{- "id": 575,+ "id": 353,"name": "identities","kind": 1024,"kindString": "Property",@@ -14857,7 +7307,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 113,+ "line": 135,"character": 2}],@@ -14865,13 +7315,13 @@"type": "array","elementType": {"type": "reference",- "id": 537,+ "id": 315,"name": "UserIdentity"}}},{- "id": 564,+ "id": 342,"name": "invited_at","kind": 1024,"kindString": "Property",@@ -14881,7 +7331,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 102,+ "line": 124,"character": 2}],@@ -14891,7 +7341,7 @@}},{- "id": 572,+ "id": 350,"name": "last_sign_in_at","kind": 1024,"kindString": "Property",@@ -14901,7 +7351,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 110,+ "line": 132,"character": 2}],@@ -14911,7 +7361,7 @@}},{- "id": 563,+ "id": 341,"name": "new_email","kind": 1024,"kindString": "Property",@@ -14921,7 +7371,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 101,+ "line": 123,"character": 2}],@@ -14931,7 +7381,7 @@}},{- "id": 567,+ "id": 345,"name": "phone","kind": 1024,"kindString": "Property",@@ -14941,7 +7391,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 105,+ "line": 127,"character": 2}],@@ -14951,7 +7401,7 @@}},{- "id": 571,+ "id": 349,"name": "phone_confirmed_at","kind": 1024,"kindString": "Property",@@ -14961,7 +7411,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 109,+ "line": 131,"character": 2}],@@ -14971,7 +7421,7 @@}},{- "id": 561,+ "id": 339,"name": "recovery_sent_at","kind": 1024,"kindString": "Property",@@ -14981,7 +7431,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 99,+ "line": 121,"character": 2}],@@ -14991,7 +7441,7 @@}},{- "id": 573,+ "id": 351,"name": "role","kind": 1024,"kindString": "Property",@@ -15001,7 +7451,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 111,+ "line": 133,"character": 2}],@@ -15011,7 +7461,7 @@}},{- "id": 574,+ "id": 352,"name": "updated_at","kind": 1024,"kindString": "Property",@@ -15021,7 +7471,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 112,+ "line": 134,"character": 2}],@@ -15031,7 +7481,7 @@}},{- "id": 555,+ "id": 333,"name": "user_metadata","kind": 1024,"kindString": "Property",@@ -15039,27 +7489,27 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 94,+ "line": 116,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 556,+ "id": 334,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 557,+ "id": 335,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 558,+ "id": 336,"name": "key","kind": 32768,"flags": {},@@ -15083,46 +7533,46 @@"title": "Properties","kind": 1024,"children": [- 565,- 550,- 559,- 560,- 569,- 568,- 566,- 562,- 570,- 549,- 575,- 564,- 572,- 563,- 567,- 571,- 561,- 573,- 574,- 555+ 343,+ 328,+ 337,+ 338,+ 347,+ 346,+ 344,+ 340,+ 348,+ 327,+ 353,+ 342,+ 350,+ 341,+ 345,+ 349,+ 339,+ 351,+ 352,+ 333]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 88,+ "line": 110,"character": 17}]},{- "id": 576,+ "id": 354,"name": "UserAttributes","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 581,+ "id": 359,"name": "data","kind": 1024,"kindString": "Property",@@ -15135,7 +7585,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 140,+ "line": 162,"character": 2}],@@ -15145,7 +7595,7 @@}},{- "id": 577,+ "id": 355,"name": "email","kind": 1024,"kindString": "Property",@@ -15158,7 +7608,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 120,+ "line": 142,"character": 2}],@@ -15168,7 +7618,7 @@}},{- "id": 580,+ "id": 358,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -15181,7 +7631,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 135,+ "line": 157,"character": 2}],@@ -15191,7 +7641,7 @@}},{- "id": 579,+ "id": 357,"name": "password","kind": 1024,"kindString": "Property",@@ -15204,7 +7654,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 130,+ "line": 152,"character": 2}],@@ -15214,7 +7664,7 @@}},{- "id": 578,+ "id": 356,"name": "phone","kind": 1024,"kindString": "Property",@@ -15227,7 +7677,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 125,+ "line": 147,"character": 2}],@@ -15242,48 +7692,51 @@"title": "Properties","kind": 1024,"children": [- 581,- 577,- 580,- 579,- 578+ 359,+ 355,+ 358,+ 357,+ 356]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 116,+ "line": 138,"character": 17}],"extendedBy": [{"type": "reference",- "id": 582,+ "id": 360,"name": "AdminUserAttributes"}]},{- "id": 600,+ "id": 378,"name": "UserCredentials","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 601,+ "id": 379,"name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 198,+ "line": 221,"character": 2}],@@ -15293,38 +7746,20 @@}},{- "id": 606,- "name": "oidc",- "kind": 1024,- "kindString": "Property",- "flags": {- "isOptional": true- },- "sources": [- {- "fileName": "src/lib/types.ts",- "line": 204,- "character": 2- }- ],- "type": {- "type": "reference",- "id": 653,- "name": "OpenIDConnectCredentials"- }- },- {- "id": 603,+ "id": 381,"name": "password","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 200,+ "line": 225,"character": 2}],@@ -15334,17 +7769,20 @@}},{- "id": 602,+ "id": 380,"name": "phone","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 199,+ "line": 223,"character": 2}],@@ -15354,7 +7792,7 @@}},{- "id": 605,+ "id": 383,"name": "provider","kind": 1024,"kindString": "Property",@@ -15367,18 +7805,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 203,+ "line": 228,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 604,+ "id": 382,"name": "refreshToken","kind": 1024,"kindString": "Property",@@ -15388,7 +7826,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 201,+ "line": 226,"character": 2}],@@ -15403,32 +7841,31 @@"title": "Properties","kind": 1024,"children": [- 601,- 606,- 603,- 602,- 605,- 604+ 379,+ 381,+ 380,+ 383,+ 382]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 197,+ "line": 219,"character": 17}]},{- "id": 537,+ "id": 315,"name": "UserIdentity","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 545,+ "id": 323,"name": "created_at","kind": 1024,"kindString": "Property",@@ -15436,7 +7873,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 83,+ "line": 105,"character": 2}],@@ -15446,7 +7883,7 @@}},{- "id": 538,+ "id": 316,"name": "id","kind": 1024,"kindString": "Property",@@ -15454,7 +7891,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 77,+ "line": 99,"character": 2}],@@ -15464,7 +7901,7 @@}},{- "id": 540,+ "id": 318,"name": "identity_data","kind": 1024,"kindString": "Property",@@ -15472,27 +7909,27 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 79,+ "line": 101,"character": 2}],"type": {"type": "reflection","declaration": {- "id": 541,+ "id": 319,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": {- "id": 542,+ "id": 320,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 543,+ "id": 321,"name": "key","kind": 32768,"flags": {},@@ -15511,7 +7948,7 @@}},{- "id": 546,+ "id": 324,"name": "last_sign_in_at","kind": 1024,"kindString": "Property",@@ -15519,7 +7956,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 84,+ "line": 106,"character": 2}],@@ -15529,7 +7966,7 @@}},{- "id": 544,+ "id": 322,"name": "provider","kind": 1024,"kindString": "Property",@@ -15537,7 +7974,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 82,+ "line": 104,"character": 2}],@@ -15547,7 +7984,7 @@}},{- "id": 547,+ "id": 325,"name": "updated_at","kind": 1024,"kindString": "Property",@@ -15557,7 +7994,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 85,+ "line": 107,"character": 2}],@@ -15567,7 +8004,7 @@}},{- "id": 539,+ "id": 317,"name": "user_id","kind": 1024,"kindString": "Property",@@ -15575,7 +8012,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 78,+ "line": 100,"character": 2}],@@ -15590,33 +8027,33 @@"title": "Properties","kind": 1024,"children": [- 545,- 538,- 540,- 546,- 544,- 547,- 539+ 323,+ 316,+ 318,+ 324,+ 322,+ 325,+ 317]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 76,+ "line": 98,"character": 17}]},{- "id": 646,- "name": "VerifyEmailOTPParams",+ "id": 423,+ "name": "VerifyEmailOtpParams","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 647,+ "id": 424,"name": "email","kind": 1024,"kindString": "Property",@@ -15624,7 +8061,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 253,+ "line": 291,"character": 2}],@@ -15634,7 +8071,7 @@}},{- "id": 648,+ "id": 425,"name": "phone","kind": 1024,"kindString": "Property",@@ -15644,7 +8081,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 254,+ "line": 292,"character": 2}],@@ -15654,7 +8091,7 @@}},{- "id": 649,+ "id": 426,"name": "token","kind": 1024,"kindString": "Property",@@ -15662,7 +8099,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 255,+ "line": 293,"character": 2}],@@ -15672,7 +8109,7 @@}},{- "id": 650,+ "id": 427,"name": "type","kind": 1024,"kindString": "Property",@@ -15680,14 +8117,14 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 256,+ "line": 294,"character": 2}],"type": {"type": "reference",- "id": 652,- "name": "EmailOTPType"+ "id": 429,+ "name": "EmailOtpType"}}],@@ -15696,40 +8133,43 @@"title": "Properties","kind": 1024,"children": [- 647,- 648,- 649,- 650+ 424,+ 425,+ 426,+ 427]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 252,+ "line": 290,"character": 17}]},{- "id": 641,- "name": "VerifyMobileOTPParams",+ "id": 418,+ "name": "VerifyMobileOtpParams","kind": 256,"kindString": "Interface","flags": {},"children": [{- "id": 642,+ "id": 419,"name": "email","kind": 1024,"kindString": "Property","flags": {"isOptional": true},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 247,+ "line": 282,"character": 2}],@@ -15739,15 +8179,18 @@}},{- "id": 643,+ "id": 420,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 248,+ "line": 284,"character": 2}],@@ -15757,15 +8200,18 @@}},{- "id": 644,+ "id": 421,"name": "token","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 249,+ "line": 286,"character": 2}],@@ -15775,24 +8221,25 @@}},{- "id": 645,+ "id": 422,"name": "type","kind": 1024,"kindString": "Property",- "flags": {- "isOptional": true+ "flags": {},+ "comment": {+ "shortText": "The user's verification type."},"sources": [{"fileName": "src/lib/types.ts",- "line": 250,+ "line": 288,"character": 2}],"type": {"type": "reference",- "id": 651,- "name": "MobileOTPType"+ "id": 428,+ "name": "MobileOtpType"}}],@@ -15801,23 +8248,23 @@"title": "Properties","kind": 1024,"children": [- 642,- 643,- 644,- 645+ 419,+ 420,+ 421,+ 422]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 246,+ "line": 280,"character": 17}]},{- "id": 502,+ "id": 269,"name": "AuthChangeEvent","kind": 4194304,"kindString": "Type alias",@@ -15825,7 +8272,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 21,+ "line": 22,"character": 12}],@@ -15860,7 +8307,7 @@}},{- "id": 503,+ "id": 270,"name": "AuthResponse","kind": 4194304,"kindString": "Type alias",@@ -15868,7 +8315,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 29,+ "line": 30,"character": 12}],@@ -15878,14 +8325,14 @@{"type": "reflection","declaration": {- "id": 504,+ "id": 271,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 505,+ "id": 272,"name": "data","kind": 1024,"kindString": "Property",@@ -15893,21 +8340,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 31,+ "line": 32,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 506,+ "id": 273,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 508,+ "id": 275,"name": "session","kind": 1024,"kindString": "Property",@@ -15915,7 +8362,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 33,+ "line": 34,"character": 8}],@@ -15924,7 +8371,7 @@"types": [{"type": "reference",- "id": 529,+ "id": 307,"name": "Session"},{@@ -15935,7 +8382,7 @@}},{- "id": 507,+ "id": 274,"name": "user","kind": 1024,"kindString": "Property",@@ -15943,7 +8390,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 32,+ "line": 33,"character": 8}],@@ -15952,7 +8399,7 @@"types": [{"type": "reference",- "id": 548,+ "id": 326,"name": "User"},{@@ -15968,15 +8415,15 @@"title": "Properties","kind": 1024,"children": [- 508,- 507+ 275,+ 274]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 31,+ "line": 32,"character": 12}]@@ -15984,7 +8431,7 @@}},{- "id": 509,+ "id": 276,"name": "error","kind": 1024,"kindString": "Property",@@ -15992,7 +8439,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 35,+ "line": 36,"character": 6}],@@ -16007,15 +8454,15 @@"title": "Properties","kind": 1024,"children": [- 505,- 509+ 272,+ 276]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 30,+ "line": 31,"character": 4}]@@ -16024,14 +8471,14 @@{"type": "reflection","declaration": {- "id": 510,+ "id": 277,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 511,+ "id": 278,"name": "data","kind": 1024,"kindString": "Property",@@ -16039,21 +8486,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 38,+ "line": 39,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 512,+ "id": 279,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 514,+ "id": 281,"name": "session","kind": 1024,"kindString": "Property",@@ -16061,7 +8508,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 40,+ "line": 41,"character": 8}],@@ -16071,7 +8518,7 @@}},{- "id": 513,+ "id": 280,"name": "user","kind": 1024,"kindString": "Property",@@ -16079,7 +8526,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 39,+ "line": 40,"character": 8}],@@ -16094,15 +8541,15 @@"title": "Properties","kind": 1024,"children": [- 514,- 513+ 281,+ 280]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 38,+ "line": 39,"character": 12}]@@ -16110,7 +8557,7 @@}},{- "id": 515,+ "id": 282,"name": "error","kind": 1024,"kindString": "Property",@@ -16118,13 +8565,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 42,+ "line": 43,"character": 6}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -16134,15 +8581,15 @@"title": "Properties","kind": 1024,"children": [- 511,- 515+ 278,+ 282]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 37,+ "line": 38,"character": 4}]@@ -16152,7 +8599,7 @@}},{- "id": 660,+ "id": 432,"name": "CallRefreshTokenResult","kind": 4194304,"kindString": "Type alias",@@ -16160,7 +8607,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 280,+ "line": 320,"character": 12}],@@ -16170,14 +8617,14 @@{"type": "reflection","declaration": {- "id": 661,+ "id": 433,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 663,+ "id": 435,"name": "error","kind": 1024,"kindString": "Property",@@ -16185,7 +8632,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 283,+ "line": 323,"character": 6}],@@ -16195,7 +8642,7 @@}},{- "id": 662,+ "id": 434,"name": "session","kind": 1024,"kindString": "Property",@@ -16203,13 +8650,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 282,+ "line": 322,"character": 6}],"type": {"type": "reference",- "id": 529,+ "id": 307,"name": "Session"}}@@ -16219,15 +8666,15 @@"title": "Properties","kind": 1024,"children": [- 663,- 662+ 435,+ 434]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 281,+ "line": 321,"character": 4}]@@ -16236,14 +8683,14 @@{"type": "reflection","declaration": {- "id": 664,+ "id": 436,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 666,+ "id": 438,"name": "error","kind": 1024,"kindString": "Property",@@ -16251,18 +8698,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 287,+ "line": 327,"character": 6}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}},{- "id": 665,+ "id": 437,"name": "session","kind": 1024,"kindString": "Property",@@ -16270,7 +8717,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 286,+ "line": 326,"character": 6}],@@ -16285,15 +8732,15 @@"title": "Properties","kind": 1024,"children": [- 666,- 665+ 438,+ 437]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 285,+ "line": 325,"character": 4}]@@ -16303,15 +8750,57 @@}},{- "id": 652,- "name": "EmailOTPType",+ "id": 429,+ "name": "EmailOtpType",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 298,+ "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": 430,+ "name": "GenerateLinkTypes","kind": 4194304,"kindString": "Type alias","flags": {},+ "comment": {+ "shortText": "The link type"+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 259,+ "line": 301,"character": 12}],@@ -16336,21 +8825,25 @@},{"type": "literal",- "value": "email_change"+ "value": "email_change_current"+ },+ {+ "type": "literal",+ "value": "email_change_new"}]}},{- "id": 651,- "name": "MobileOTPType",+ "id": 428,+ "name": "MobileOtpType","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 258,+ "line": 297,"character": 12}],@@ -16369,7 +8862,7 @@}},{- "id": 516,+ "id": 283,"name": "OAuthResponse","kind": 4194304,"kindString": "Type alias",@@ -16377,7 +8870,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 45,+ "line": 46,"character": 12}],@@ -16387,14 +8880,14 @@{"type": "reflection","declaration": {- "id": 517,+ "id": 284,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 518,+ "id": 285,"name": "data","kind": 1024,"kindString": "Property",@@ -16402,21 +8895,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 47,+ "line": 48,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 519,+ "id": 286,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 520,+ "id": 287,"name": "provider","kind": 1024,"kindString": "Property",@@ -16424,18 +8917,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 48,+ "line": 49,"character": 8}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 521,+ "id": 288,"name": "url","kind": 1024,"kindString": "Property",@@ -16443,7 +8936,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 49,+ "line": 50,"character": 8}],@@ -16458,15 +8951,15 @@"title": "Properties","kind": 1024,"children": [- 520,- 521+ 287,+ 288]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 47,+ "line": 48,"character": 12}]@@ -16474,7 +8967,7 @@}},{- "id": 522,+ "id": 289,"name": "error","kind": 1024,"kindString": "Property",@@ -16482,7 +8975,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 51,+ "line": 52,"character": 6}],@@ -16497,15 +8990,15 @@"title": "Properties","kind": 1024,"children": [- 518,- 522+ 285,+ 289]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 46,+ "line": 47,"character": 4}]@@ -16514,14 +9007,14 @@{"type": "reflection","declaration": {- "id": 523,+ "id": 290,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 524,+ "id": 291,"name": "data","kind": 1024,"kindString": "Property",@@ -16529,21 +9022,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 54,+ "line": 55,"character": 6}],"type": {"type": "reflection","declaration": {- "id": 525,+ "id": 292,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 526,+ "id": 293,"name": "provider","kind": 1024,"kindString": "Property",@@ -16551,18 +9044,18 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 55,+ "line": 56,"character": 8}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}},{- "id": 527,+ "id": 294,"name": "url","kind": 1024,"kindString": "Property",@@ -16570,7 +9063,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 56,+ "line": 57,"character": 8}],@@ -16585,15 +9078,15 @@"title": "Properties","kind": 1024,"children": [- 526,- 527+ 293,+ 294]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 54,+ "line": 55,"character": 12}]@@ -16601,7 +9094,7 @@}},{- "id": 528,+ "id": 295,"name": "error","kind": 1024,"kindString": "Property",@@ -16609,13 +9102,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 58,+ "line": 59,"character": 6}],"type": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -16625,15 +9118,15 @@"title": "Properties","kind": 1024,"children": [- 524,- 528+ 291,+ 295]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 53,+ "line": 54,"character": 4}]@@ -16643,15 +9136,18 @@}},{- "id": 501,+ "id": 268,"name": "Provider","kind": 4194304,"kindString": "Type alias","flags": {},+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 3,+ "line": 4,"character": 12}],@@ -16726,7 +9222,7 @@}},{- "id": 629,+ "id": 406,"name": "SignInWithOAuthCredentials","kind": 4194304,"kindString": "Type alias",@@ -16734,21 +9230,21 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 12}],"type": {"type": "reflection","declaration": {- "id": 630,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 632,+ "id": 409,"name": "options","kind": 1024,"kindString": "Property",@@ -16758,32 +9254,35 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 237,+ "line": 268,"character": 2}],"type": {"type": "reference",- "id": 633,+ "id": 410,"name": "SignInWithOAuthOptions"}},{- "id": 631,+ "id": 408,"name": "provider","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "One of the providers supported by GoTrue."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 236,+ "line": 267,"character": 2}],"type": {"type": "reference",- "id": 501,+ "id": 268,"name": "Provider"}}@@ -16793,15 +9292,15 @@"title": "Properties","kind": 1024,"children": [- 632,- 631+ 409,+ 408]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 235,+ "line": 265,"character": 41}]@@ -16809,7 +9308,7 @@}},{- "id": 607,+ "id": 384,"name": "SignInWithPasswordCredentials","kind": 4194304,"kindString": "Type alias",@@ -16817,7 +9316,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 206,+ "line": 230,"character": 12}],@@ -16827,22 +9326,25 @@{"type": "reflection","declaration": {- "id": 608,+ "id": 385,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 609,+ "id": 386,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 208,+ "line": 233,"character": 6}],@@ -16852,7 +9354,7 @@}},{- "id": 611,+ "id": 388,"name": "options","kind": 1024,"kindString": "Property",@@ -16862,26 +9364,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 210,+ "line": 236,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 610,+ "id": 387,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 209,+ "line": 235,"character": 6}],@@ -16896,16 +9401,16 @@"title": "Properties","kind": 1024,"children": [- 609,- 611,- 610+ 386,+ 388,+ 387]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 207,+ "line": 231,"character": 4}]@@ -16914,14 +9419,14 @@{"type": "reflection","declaration": {- "id": 612,+ "id": 389,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 615,+ "id": 392,"name": "options","kind": 1024,"kindString": "Property",@@ -16931,26 +9436,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 215,+ "line": 243,"character": 6}],"type": {"type": "reference",- "id": 616,+ "id": 393,"name": "SignInWithPasswordOptions"}},{- "id": 614,+ "id": 391,"name": "password","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's password."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 214,+ "line": 242,"character": 6}],@@ -16960,15 +9468,18 @@}},{- "id": 613,+ "id": 390,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 213,+ "line": 240,"character": 6}],@@ -16983,16 +9494,16 @@"title": "Properties","kind": 1024,"children": [- 615,- 614,- 613+ 392,+ 391,+ 390]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 212,+ "line": 238,"character": 4}]@@ -17002,7 +9513,7 @@}},{- "id": 618,+ "id": 395,"name": "SignInWithPasswordlessCredentials","kind": 4194304,"kindString": "Type alias",@@ -17010,7 +9521,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 220,+ "line": 248,"character": 12}],@@ -17020,22 +9531,25 @@{"type": "reflection","declaration": {- "id": 619,+ "id": 396,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 620,+ "id": 397,"name": "email","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's email address."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 222,+ "line": 251,"character": 6}],@@ -17045,7 +9559,7 @@}},{- "id": 621,+ "id": 398,"name": "options","kind": 1024,"kindString": "Property",@@ -17055,13 +9569,13 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 223,+ "line": 252,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}}@@ -17071,15 +9585,15 @@"title": "Properties","kind": 1024,"children": [- 620,- 621+ 397,+ 398]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 221,+ "line": 249,"character": 4}]@@ -17088,14 +9602,14 @@{"type": "reflection","declaration": {- "id": 622,+ "id": 399,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 624,+ "id": 401,"name": "options","kind": 1024,"kindString": "Property",@@ -17105,26 +9619,29 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 227,+ "line": 257,"character": 6}],"type": {"type": "reference",- "id": 625,+ "id": 402,"name": "SignInWithPasswordlessOptions"}},{- "id": 623,+ "id": 400,"name": "phone","kind": 1024,"kindString": "Property","flags": {},+ "comment": {+ "shortText": "The user's phone number."+ },"sources": [{"fileName": "src/lib/types.ts",- "line": 226,+ "line": 256,"character": 6}],@@ -17139,15 +9656,15 @@"title": "Properties","kind": 1024,"children": [- 624,- 623+ 401,+ 400]}],"sources": [{"fileName": "src/lib/types.ts",- "line": 225,+ "line": 254,"character": 4}]@@ -17157,7 +9674,7 @@}},{- "id": 659,+ "id": 431,"name": "SupportedStorage","kind": 4194304,"kindString": "Type alias",@@ -17165,7 +9682,7 @@"sources": [{"fileName": "src/lib/types.ts",- "line": 278,+ "line": 318,"character": 12}],@@ -17208,15 +9725,250 @@}},{- "id": 640,- "name": "VerifyOTPParams",+ "id": 296,+ "name": "UserResponse","kind": 4194304,"kindString": "Type alias","flags": {},"sources": [{"fileName": "src/lib/types.ts",- "line": 245,+ "line": 62,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "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": 64,+ "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": 65,+ "character": 8+ }+ ],+ "type": {+ "type": "reference",+ "id": 326,+ "name": "User"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 300+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 64,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 301,+ "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": [+ 298,+ 301+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 63,+ "character": 4+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 302,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 303,+ "name": "data",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 70,+ "character": 6+ }+ ],+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 304,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {},+ "children": [+ {+ "id": 305,+ "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": [+ 305+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 70,+ "character": 12+ }+ ]+ }+ }+ },+ {+ "id": 306,+ "name": "error",+ "kind": 1024,+ "kindString": "Property",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 73,+ "character": 6+ }+ ],+ "type": {+ "type": "reference",+ "id": 442,+ "name": "AuthError"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 303,+ 306+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 69,+ "character": 4+ }+ ]+ }+ }+ ]+ }+ },+ {+ "id": 417,+ "name": "VerifyOtpParams",+ "kind": 4194304,+ "kindString": "Type alias",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/types.ts",+ "line": 279,"character": 12}],@@ -17225,19 +9977,19 @@"types": [{"type": "reference",- "id": 641,- "name": "VerifyMobileOTPParams"+ "id": 418,+ "name": "VerifyMobileOtpParams"},{"type": "reference",- "id": 646,- "name": "VerifyEmailOTPParams"+ "id": 423,+ "name": "VerifyEmailOtpParams"}]}},{- "id": 667,+ "id": 439,"name": "isAuthError","kind": 64,"kindString": "Function",@@ -17251,14 +10003,14 @@],"signatures": [{- "id": 668,+ "id": 440,"name": "isAuthError","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 669,+ "id": 441,"name": "error","kind": 32768,"kindString": "Parameter",@@ -17275,7 +10027,7 @@"asserts": false,"targetType": {"type": "reference",- "id": 670,+ "id": 442,"name": "AuthError"}}@@ -17288,59 +10040,60 @@"title": "Classes","kind": 128,"children": [- 675,- 670,- 722,- 735,- 710,- 688,- 695,+ 447,+ 442,+ 494,+ 507,+ 482,+ 460,+ 467,1,- 296+ 81]},{"title": "Interfaces","kind": 256,"children": [- 582,- 653,- 529,- 633,- 616,- 625,- 592,- 548,- 576,- 600,- 537,- 646,- 641+ 360,+ 307,+ 410,+ 393,+ 402,+ 370,+ 326,+ 354,+ 378,+ 315,+ 423,+ 418]},{"title": "Type Aliases","kind": 4194304,"children": [- 502,- 503,- 660,- 652,- 651,- 516,- 501,- 629,- 607,- 618,- 659,- 640+ 269,+ 270,+ 432,+ 429,+ 430,+ 428,+ 283,+ 268,+ 406,+ 384,+ 395,+ 431,+ 296,+ 417]},{"title": "Functions","kind": 64,"children": [- 667+ 439]}],