Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

update auth docs

Inianf18fd49b889b
diff --git a/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx b/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx
index 4b439d55e3c..3f836b61d57 100644
--- a/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx
+++ b/apps/reference/_supabase_js/generated/auth-signinwithoauth.mdx
@@ -71,7 +71,7 @@ One of the providers supported by GoTrue.
optional
</span>
<span className="method-list-item-validation">
- <code>SignInWithOAuthOptions</code>
+ <code>object</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -80,6 +80,71 @@ No description provided.
</div>
+<ul className="method-list-group">
+ <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>
+
+<li className="method-list-item">
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ queryParams
+ </span>
+ <span className="method-list-item-label-badge false">
+ optional
+ </span>
+ <span className="method-list-item-validation">
+ <code>object</code>
+ </span>
+ </h4>
+ <div class="method-list-item-description">
+
+An object of query params
+
+ </div>
+
+</li>
+
+<li className="method-list-item">
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ redirectTo
+ </span>
+ <span className="method-list-item-label-badge false">
+ optional
+ </span>
+ <span className="method-list-item-validation">
+ <code>string</code>
+ </span>
+ </h4>
+ <div class="method-list-item-description">
+
+A URL to send the user to after they are confirmed (OAuth logins only).
+
+ </div>
+
+</li>
+
+<li className="method-list-item">
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ scopes
+ </span>
+ <span className="method-list-item-label-badge false">
+ optional
+ </span>
+ <span className="method-list-item-validation">
+ <code>string</code>
+ </span>
+ </h4>
+ <div class="method-list-item-description">
+
+A space-separated list of scopes granted to the OAuth application.
+
+ </div>
+
+</li>
+
+</ul>
+
</li>
</ul>
diff --git a/apps/reference/_supabase_js/generated/auth-signup.mdx b/apps/reference/_supabase_js/generated/auth-signup.mdx
index e548df2075e..b123927a664 100644
--- a/apps/reference/_supabase_js/generated/auth-signup.mdx
+++ b/apps/reference/_supabase_js/generated/auth-signup.mdx
@@ -24,13 +24,13 @@ const { user, session, error } = await supabase.auth.signUp({
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
- UserCredentials
+ SignUpWithPasswordCredentials
</span>
<span className="method-list-item-label-badge required">
required
</span>
<span className="method-list-item-validation">
- <code>object</code>
+ <code>reflection</code> | <code>reflection</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -39,196 +39,6 @@ No description provided.
</div>
-<ul className="method-list-group">
- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>
-
-<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- email
- </span>
- <span className="method-list-item-label-badge false">
- optional
- </span>
- <span className="method-list-item-validation">
- <code>string</code>
- </span>
- </h4>
- <div class="method-list-item-description">
-
-The user's email address.
-
- </div>
-
-</li>
-
-<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- password
- </span>
- <span className="method-list-item-label-badge false">
- optional
- </span>
- <span className="method-list-item-validation">
- <code>string</code>
- </span>
- </h4>
- <div class="method-list-item-description">
-
-The user's password.
-
- </div>
-
-</li>
-
-<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- phone
- </span>
- <span className="method-list-item-label-badge false">
- optional
- </span>
- <span className="method-list-item-validation">
- <code>string</code>
- </span>
- </h4>
- <div class="method-list-item-description">
-
-The user's phone number.
-
- </div>
-
-</li>
-
-<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- provider
- </span>
- <span className="method-list-item-label-badge false">
- optional
- </span>
- <span className="method-list-item-validation">
- <code>Provider</code>
- </span>
- </h4>
- <div class="method-list-item-description">
-
-The name of the provider.
-
- </div>
-
-</li>
-
-<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- refreshToken
- </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">
-
-No description provided.
-
- </div>
-
-</li>
-
-</ul>
-
-</li>
-
-<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- options
- </span>
- <span className="method-list-item-label-badge required">
- required
- </span>
- <span className="method-list-item-validation">
- <code>object</code>
- </span>
- </h4>
- <div class="method-list-item-description">
-
-No description provided.
-
- </div>
-
-<ul className="method-list-group">
- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>
-
-<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- captchaToken
- </span>
- <span className="method-list-item-label-badge false">
- optional
- </span>
- <span className="method-list-item-validation">
- <code>string</code>
- </span>
- </h4>
- <div class="method-list-item-description">
-
-Verification token received when the user completes the captcha on the site.
-
- </div>
-
-</li>
-
-<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- data
- </span>
- <span className="method-list-item-label-badge false">
- optional
- </span>
- <span className="method-list-item-validation">
- <code>object</code>
- </span>
- </h4>
- <div class="method-list-item-description">
-
-Optional user metadata.
-
- </div>
-
-</li>
-
-<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- redirectTo
- </span>
- <span className="method-list-item-label-badge false">
- optional
- </span>
- <span className="method-list-item-validation">
- <code>string</code>
- </span>
- </h4>
- <div class="method-list-item-description">
-
-The redirect URL attached to the signup confirmation link. Does not redirect the user if it's a mobile signup.
-
- </div>
-
-</li>
-
-</ul>
-
</li>
</ul>
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index f56184be7d7..e77cbefaa0f 100644
--- a/spec/enrichments/tsdoc_v2/combined.json
+++ b/spec/enrichments/tsdoc_v2/combined.json
@@ -51599,14 +51599,14 @@
"originalName": "",
"children": [
{
- "id": 447,
+ "id": 455,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 448,
+ "id": 456,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -51620,14 +51620,14 @@
],
"signatures": [
{
- "id": 449,
+ "id": 457,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 450,
+ "id": 458,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -51638,7 +51638,7 @@
}
},
{
- "id": 451,
+ "id": 459,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -51651,24 +51651,24 @@
],
"type": {
"type": "reference",
- "id": 447,
+ "id": 455,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "AuthError.constructor"
}
},
{
- "id": 452,
+ "id": 460,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -51686,7 +51686,7 @@
}
},
{
- "id": 453,
+ "id": 461,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -51700,7 +51700,7 @@
],
"signatures": [
{
- "id": 454,
+ "id": 462,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -51708,14 +51708,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 455,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 457,
+ "id": 465,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -51734,7 +51734,7 @@
"defaultValue": "..."
},
{
- "id": 456,
+ "id": 464,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -51753,7 +51753,7 @@
"defaultValue": "..."
},
{
- "id": 458,
+ "id": 466,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -51777,9 +51777,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 457,
- 456,
- 458
+ 465,
+ 464,
+ 466
]
}
]
@@ -51794,21 +51794,21 @@
"title": "Constructors",
"kind": 512,
"children": [
- 448
+ 456
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 452
+ 460
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 453
+ 461
]
}
],
@@ -51822,20 +51822,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
},
{
- "id": 442,
+ "id": 450,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 443,
+ "id": 451,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -51849,14 +51849,14 @@
],
"signatures": [
{
- "id": 444,
+ "id": 452,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 445,
+ "id": 453,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -51869,7 +51869,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
},
"overwrites": {
@@ -51889,7 +51889,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 443
+ 451
]
}
],
@@ -51911,30 +51911,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 447,
+ "id": 455,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 460,
+ "id": 468,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 494,
+ "id": 502,
"name": "AuthInvalidCredentialsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 495,
+ "id": 503,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -51948,14 +51948,14 @@
],
"signatures": [
{
- "id": 496,
+ "id": 504,
"name": "new AuthInvalidCredentialsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 497,
+ "id": 505,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -51968,24 +51968,24 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 502,
"name": "AuthInvalidCredentialsError"
},
"overwrites": {
"type": "reference",
- "id": 469,
+ "id": 477,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 476,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 498,
+ "id": 506,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -52003,12 +52003,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 481,
"name": "CustomAuthError.name"
}
},
{
- "id": 499,
+ "id": 507,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -52026,12 +52026,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 482,
"name": "CustomAuthError.status"
}
},
{
- "id": 500,
+ "id": 508,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -52045,7 +52045,7 @@
],
"signatures": [
{
- "id": 501,
+ "id": 509,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -52053,14 +52053,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 502,
+ "id": 510,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 504,
+ "id": 512,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -52079,7 +52079,7 @@
"defaultValue": "..."
},
{
- "id": 503,
+ "id": 511,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -52098,7 +52098,7 @@
"defaultValue": "..."
},
{
- "id": 505,
+ "id": 513,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -52122,9 +52122,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 504,
- 503,
- 505
+ 512,
+ 511,
+ 513
]
}
]
@@ -52132,14 +52132,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 476,
+ "id": 484,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 483,
"name": "CustomAuthError.toJSON"
}
}
@@ -52149,22 +52149,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 495
+ 503
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 498,
- 499
+ 506,
+ 507
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 500
+ 508
]
}
],
@@ -52178,20 +52178,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 507,
+ "id": 515,
"name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 508,
+ "id": 516,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -52205,14 +52205,14 @@
],
"signatures": [
{
- "id": 509,
+ "id": 517,
"name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 510,
+ "id": 518,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52223,7 +52223,7 @@
}
},
{
- "id": 511,
+ "id": 519,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -52236,24 +52236,24 @@
],
"type": {
"type": "reference",
- "id": 507,
+ "id": 515,
"name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 469,
+ "id": 477,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 476,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 512,
+ "id": 520,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -52271,12 +52271,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 481,
"name": "CustomAuthError.name"
}
},
{
- "id": 513,
+ "id": 521,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -52294,12 +52294,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 482,
"name": "CustomAuthError.status"
}
},
{
- "id": 514,
+ "id": 522,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -52313,7 +52313,7 @@
],
"signatures": [
{
- "id": 515,
+ "id": 523,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -52321,14 +52321,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 516,
+ "id": 524,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 518,
+ "id": 526,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -52347,7 +52347,7 @@
"defaultValue": "..."
},
{
- "id": 517,
+ "id": 525,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -52366,7 +52366,7 @@
"defaultValue": "..."
},
{
- "id": 519,
+ "id": 527,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -52390,9 +52390,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 518,
- 517,
- 519
+ 526,
+ 525,
+ 527
]
}
]
@@ -52400,14 +52400,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 476,
+ "id": 484,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 483,
"name": "CustomAuthError.toJSON"
}
}
@@ -52417,22 +52417,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 508
+ 516
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 512,
- 513
+ 520,
+ 521
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 514
+ 522
]
}
],
@@ -52446,20 +52446,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 482,
+ "id": 490,
"name": "AuthSessionMissingError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 483,
+ "id": 491,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -52473,31 +52473,31 @@
],
"signatures": [
{
- "id": 484,
+ "id": 492,
"name": "new AuthSessionMissingError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 482,
+ "id": 490,
"name": "AuthSessionMissingError"
},
"overwrites": {
"type": "reference",
- "id": 469,
+ "id": 477,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 476,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 485,
+ "id": 493,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -52515,12 +52515,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 481,
"name": "CustomAuthError.name"
}
},
{
- "id": 486,
+ "id": 494,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -52538,12 +52538,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 482,
"name": "CustomAuthError.status"
}
},
{
- "id": 487,
+ "id": 495,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -52557,7 +52557,7 @@
],
"signatures": [
{
- "id": 488,
+ "id": 496,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -52565,14 +52565,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 489,
+ "id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 491,
+ "id": 499,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -52591,7 +52591,7 @@
"defaultValue": "..."
},
{
- "id": 490,
+ "id": 498,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -52610,7 +52610,7 @@
"defaultValue": "..."
},
{
- "id": 492,
+ "id": 500,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -52634,9 +52634,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 491,
- 490,
- 492
+ 499,
+ 498,
+ 500
]
}
]
@@ -52644,14 +52644,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 476,
+ "id": 484,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 483,
"name": "CustomAuthError.toJSON"
}
}
@@ -52661,22 +52661,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 483
+ 491
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 485,
- 486
+ 493,
+ 494
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 487
+ 495
]
}
],
@@ -52690,20 +52690,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 460,
+ "id": 468,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 461,
+ "id": 469,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -52717,14 +52717,14 @@
],
"signatures": [
{
- "id": 462,
+ "id": 470,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 463,
+ "id": 471,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52735,7 +52735,7 @@
}
},
{
- "id": 464,
+ "id": 472,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -52748,24 +52748,24 @@
],
"type": {
"type": "reference",
- "id": 460,
+ "id": 468,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "AuthError.constructor"
}
},
{
- "id": 465,
+ "id": 473,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -52788,14 +52788,14 @@
"title": "Constructors",
"kind": 512,
"children": [
- 461
+ 469
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 465
+ 473
]
}
],
@@ -52809,20 +52809,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
},
{
- "id": 467,
+ "id": 475,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 468,
+ "id": 476,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -52836,14 +52836,14 @@
],
"signatures": [
{
- "id": 469,
+ "id": 477,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 470,
+ "id": 478,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52854,7 +52854,7 @@
}
},
{
- "id": 471,
+ "id": 479,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -52865,7 +52865,7 @@
}
},
{
- "id": 472,
+ "id": 480,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -52878,24 +52878,24 @@
],
"type": {
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "AuthError.constructor"
}
},
{
- "id": 473,
+ "id": 481,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -52917,7 +52917,7 @@
}
},
{
- "id": 474,
+ "id": 482,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -52935,7 +52935,7 @@
}
},
{
- "id": 475,
+ "id": 483,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -52949,7 +52949,7 @@
],
"signatures": [
{
- "id": 476,
+ "id": 484,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -52957,14 +52957,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 485,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 479,
+ "id": 487,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -52983,7 +52983,7 @@
"defaultValue": "..."
},
{
- "id": 478,
+ "id": 486,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -53002,7 +53002,7 @@
"defaultValue": "..."
},
{
- "id": 480,
+ "id": 488,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -53026,9 +53026,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 479,
- 478,
- 480
+ 487,
+ 486,
+ 488
]
}
]
@@ -53043,22 +53043,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 468
+ 476
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 473,
- 474
+ 481,
+ 482
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 475
+ 483
]
}
],
@@ -53072,24 +53072,24 @@
"extendedTypes": [
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 482,
+ "id": 490,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 494,
+ "id": 502,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 507,
+ "id": 515,
"name": "AuthRetryableFetchError"
}
]
@@ -53350,17 +53350,17 @@
"flags": {},
"type": {
"type": "reference",
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 357,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -53384,7 +53384,7 @@
}
},
{
- "id": 369,
+ "id": 364,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -53407,12 +53407,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 359,
+ "id": 354,
"name": "UserAttributes.data"
}
},
{
- "id": 365,
+ "id": 360,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -53435,12 +53435,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 355,
+ "id": 350,
"name": "UserAttributes.email"
}
},
{
- "id": 368,
+ "id": 363,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -53463,12 +53463,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 358,
+ "id": 353,
"name": "UserAttributes.email_change_token"
}
},
{
- "id": 363,
+ "id": 358,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -53492,7 +53492,7 @@
}
},
{
- "id": 367,
+ "id": 362,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -53515,12 +53515,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 357,
+ "id": 352,
"name": "UserAttributes.password"
}
},
{
- "id": 366,
+ "id": 361,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -53543,12 +53543,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 356,
+ "id": 351,
"name": "UserAttributes.phone"
}
},
{
- "id": 364,
+ "id": 359,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -53572,7 +53572,7 @@
}
},
{
- "id": 361,
+ "id": 356,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -53601,15 +53601,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 362,
- 369,
- 365,
- 368,
- 363,
- 367,
- 366,
+ 357,
364,
- 361
+ 360,
+ 363,
+ 358,
+ 362,
+ 361,
+ 359,
+ 356
]
}
],
@@ -53623,7 +53623,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 354,
+ "id": 349,
"name": "UserAttributes"
}
]
@@ -53636,7 +53636,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -53691,7 +53691,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -53734,11 +53734,11 @@
"flags": {},
"type": {
"type": "reference",
- "id": 430,
- "name": "GenerateLinkTypes",
+ "id": 438,
+ "name": "GenerateLinkType",
"dereferenced": {
- "id": 430,
- "name": "GenerateLinkTypes",
+ "id": 438,
+ "name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
@@ -53748,7 +53748,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 301,
+ "line": 327,
"character": 12
}
],
@@ -53929,7 +53929,7 @@
],
"type": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
},
@@ -53988,7 +53988,7 @@
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
},
@@ -54065,7 +54065,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -54136,7 +54136,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -54267,7 +54267,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -54356,7 +54356,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
}
@@ -54481,7 +54481,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -54581,7 +54581,7 @@
},
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
@@ -54653,17 +54653,17 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 357,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -54687,7 +54687,7 @@
}
},
{
- "id": 369,
+ "id": 364,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -54710,12 +54710,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 359,
+ "id": 354,
"name": "UserAttributes.data"
}
},
{
- "id": 365,
+ "id": 360,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -54738,12 +54738,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 355,
+ "id": 350,
"name": "UserAttributes.email"
}
},
{
- "id": 368,
+ "id": 363,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -54766,12 +54766,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 358,
+ "id": 353,
"name": "UserAttributes.email_change_token"
}
},
{
- "id": 363,
+ "id": 358,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -54795,7 +54795,7 @@
}
},
{
- "id": 367,
+ "id": 362,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -54818,12 +54818,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 357,
+ "id": 352,
"name": "UserAttributes.password"
}
},
{
- "id": 366,
+ "id": 361,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -54846,12 +54846,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 356,
+ "id": 351,
"name": "UserAttributes.phone"
}
},
{
- "id": 364,
+ "id": 359,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -54875,7 +54875,7 @@
}
},
{
- "id": 361,
+ "id": 356,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -54904,15 +54904,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 362,
- 369,
- 365,
- 368,
- 363,
- 367,
- 366,
+ 357,
364,
- 361
+ 360,
+ 363,
+ 358,
+ 362,
+ 361,
+ 359,
+ 356
]
}
],
@@ -54926,7 +54926,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 354,
+ "id": 349,
"name": "UserAttributes"
}
]
@@ -54939,7 +54939,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -55417,7 +55417,7 @@
}
},
{
- "id": 146,
+ "id": 141,
"name": "getSession",
"kind": 2048,
"kindString": "Method",
@@ -55425,13 +55425,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 368,
+ "line": 362,
"character": 8
}
],
"signatures": [
{
- "id": 147,
+ "id": 142,
"name": "getSession",
"kind": 4096,
"kindString": "Call signature",
@@ -55448,14 +55448,14 @@
{
"type": "reflection",
"declaration": {
- "id": 148,
+ "id": 143,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 149,
+ "id": 144,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -55463,21 +55463,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 370,
+ "line": 364,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 150,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 151,
+ "id": 146,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -55485,13 +55485,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 371,
+ "line": 365,
"character": 10
}
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
}
@@ -55501,7 +55501,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 151
+ 146
]
}
]
@@ -55509,7 +55509,7 @@
}
},
{
- "id": 152,
+ "id": 147,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -55517,7 +55517,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 373,
+ "line": 367,
"character": 8
}
],
@@ -55532,8 +55532,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 149,
- 152
+ 144,
+ 147
]
}
]
@@ -55542,14 +55542,14 @@
{
"type": "reflection",
"declaration": {
- "id": 153,
+ "id": 148,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 154,
+ "id": 149,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -55557,21 +55557,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 376,
+ "line": 370,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 155,
+ "id": 150,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 156,
+ "id": 151,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -55579,7 +55579,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 377,
+ "line": 371,
"character": 10
}
],
@@ -55594,7 +55594,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 156
+ 151
]
}
]
@@ -55602,7 +55602,7 @@
}
},
{
- "id": 157,
+ "id": 152,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -55610,13 +55610,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 379,
+ "line": 373,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -55626,8 +55626,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 154,
- 157
+ 149,
+ 152
]
}
]
@@ -55636,14 +55636,14 @@
{
"type": "reflection",
"declaration": {
- "id": 158,
+ "id": 153,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 159,
+ "id": 154,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -55651,21 +55651,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 382,
+ "line": 376,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 160,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 161,
+ "id": 156,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -55673,7 +55673,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 383,
+ "line": 377,
"character": 10
}
],
@@ -55688,7 +55688,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 161
+ 156
]
}
]
@@ -55696,7 +55696,7 @@
}
},
{
- "id": 162,
+ "id": 157,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -55704,7 +55704,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 385,
+ "line": 379,
"character": 8
}
],
@@ -55719,8 +55719,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 159,
- 162
+ 154,
+ 157
]
}
]
@@ -55737,7 +55737,7 @@
]
},
{
- "id": 163,
+ "id": 158,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -55745,13 +55745,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 425,
+ "line": 419,
"character": 8
}
],
"signatures": [
{
- "id": 164,
+ "id": 159,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -55761,7 +55761,7 @@
},
"parameters": [
{
- "id": 165,
+ "id": 160,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -55782,7 +55782,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -55794,7 +55794,7 @@
]
},
{
- "id": 184,
+ "id": 179,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -55802,13 +55802,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 599,
+ "line": 593,
"character": 2
}
],
"signatures": [
{
- "id": 185,
+ "id": 180,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -55819,7 +55819,7 @@
},
"parameters": [
{
- "id": 186,
+ "id": 181,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -55830,33 +55830,33 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 187,
+ "id": 182,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 188,
+ "id": 183,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 189,
+ "id": 184,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent"
}
},
{
- "id": 190,
+ "id": 185,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -55870,7 +55870,7 @@
},
{
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
]
@@ -55893,14 +55893,14 @@
{
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 186,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 193,
+ "id": 188,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -55908,7 +55908,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 602,
+ "line": 596,
"character": 8
}
],
@@ -55918,7 +55918,7 @@
}
},
{
- "id": 192,
+ "id": 187,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -55926,13 +55926,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 601,
+ "line": 595,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 365,
"name": "Subscription"
}
}
@@ -55942,8 +55942,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 193,
- 192
+ 188,
+ 187
]
}
]
@@ -55952,14 +55952,14 @@
{
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 189,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 196,
+ "id": 191,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -55967,18 +55967,18 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 604,
+ "line": 598,
"character": 28
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
},
{
- "id": 195,
+ "id": 190,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -55986,7 +55986,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 604,
+ "line": 598,
"character": 8
}
],
@@ -56001,8 +56001,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 196,
- 195
+ 191,
+ 190
]
}
]
@@ -56014,7 +56014,7 @@
]
},
{
- "id": 197,
+ "id": 192,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -56022,13 +56022,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 631,
+ "line": 625,
"character": 8
}
],
"signatures": [
{
- "id": 198,
+ "id": 193,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -56038,7 +56038,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 194,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -56052,7 +56052,7 @@
}
},
{
- "id": 200,
+ "id": 195,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -56060,14 +56060,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 196,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 203,
+ "id": 198,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -56080,7 +56080,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 635,
+ "line": 629,
"character": 6
}
],
@@ -56090,7 +56090,7 @@
}
},
{
- "id": 202,
+ "id": 197,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -56103,7 +56103,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 634,
+ "line": 628,
"character": 6
}
],
@@ -56118,8 +56118,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 203,
- 202
+ 198,
+ 197
]
}
]
@@ -56137,14 +56137,14 @@
{
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 199,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 205,
+ "id": 200,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -56152,14 +56152,14 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 639,
+ "line": 633,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 201,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -56168,7 +56168,7 @@
}
},
{
- "id": 207,
+ "id": 202,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -56176,7 +56176,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 640,
+ "line": 634,
"character": 8
}
],
@@ -56191,8 +56191,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 205,
- 207
+ 200,
+ 202
]
}
]
@@ -56201,14 +56201,14 @@
{
"type": "reflection",
"declaration": {
- "id": 208,
+ "id": 203,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 209,
+ "id": 204,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -56216,7 +56216,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 642,
+ "line": 636,
"character": 8
}
],
@@ -56226,7 +56226,7 @@
}
},
{
- "id": 210,
+ "id": 205,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -56234,13 +56234,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 642,
+ "line": 636,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -56250,8 +56250,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 209,
- 210
+ 204,
+ 205
]
}
]
@@ -56268,7 +56268,7 @@
]
},
{
- "id": 169,
+ "id": 164,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -56276,13 +56276,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 488,
+ "line": 482,
"character": 8
}
],
"signatures": [
{
- "id": 170,
+ "id": 165,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -56292,7 +56292,7 @@
},
"parameters": [
{
- "id": 171,
+ "id": 166,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -56311,7 +56311,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -56323,7 +56323,7 @@
]
},
{
- "id": 133,
+ "id": 128,
"name": "signInWithOAuth",
"kind": 2048,
"kindString": "Method",
@@ -56331,13 +56331,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 264,
+ "line": 258,
"character": 8
}
],
"signatures": [
{
- "id": 134,
+ "id": 129,
"name": "signInWithOAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -56347,17 +56347,17 @@
},
"parameters": [
{
- "id": 135,
+ "id": 130,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 406,
+ "id": 416,
"name": "SignInWithOAuthCredentials",
"dereferenced": {
- "id": 406,
+ "id": 416,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -56365,21 +56365,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 265,
+ "line": 292,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 417,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 409,
+ "id": 419,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -56389,35 +56389,165 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 268,
+ "line": 295,
"character": 2
}
],
"type": {
- "type": "reference",
- "id": 410,
- "name": "SignInWithOAuthOptions"
- }
- },
- {
- "id": 408,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
+ "type": "reflection",
+ "declaration": {
+ "id": 420,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 423,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object of query params"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 18
+ }
+ ],
+ "indexSignature": {
+ "id": 425,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 426,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 421,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 297,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 299,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 423,
+ 421,
+ 422
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 295,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 418,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
"shortText": "One of the providers supported by GoTrue."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 267,
+ "line": 294,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 268,
+ "id": 263,
"name": "Provider"
}
}
@@ -56427,15 +56557,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 409,
- 408
+ 419,
+ 418
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 265,
+ "line": 292,
"character": 41
}
]
@@ -56450,7 +56580,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 283,
+ "id": 278,
"name": "OAuthResponse"
}
],
@@ -56462,7 +56592,7 @@
]
},
{
- "id": 136,
+ "id": 131,
"name": "signInWithOtp",
"kind": 2048,
"kindString": "Method",
@@ -56470,13 +56600,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 276,
+ "line": 270,
"character": 8
}
],
"signatures": [
{
- "id": 137,
+ "id": 132,
"name": "signInWithOtp",
"kind": 4096,
"kindString": "Call signature",
@@ -56486,17 +56616,17 @@
},
"parameters": [
{
- "id": 138,
+ "id": 133,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 395,
+ "id": 402,
"name": "SignInWithPasswordlessCredentials",
"dereferenced": {
- "id": 395,
+ "id": 402,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -56504,7 +56634,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 248,
+ "line": 268,
"character": 12
}
],
@@ -56514,14 +56644,14 @@
{
"type": "reflection",
"declaration": {
- "id": 396,
+ "id": 403,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 397,
+ "id": 404,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -56532,7 +56662,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 271,
"character": 6
}
],
@@ -56542,7 +56672,7 @@
}
},
{
- "id": 398,
+ "id": 405,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -56552,14 +56682,108 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 272,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 409,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 407,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 274,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 276,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 409,
+ 407,
+ 408
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 16
+ }
+ ]
+ }
}
}
],
@@ -56568,15 +56792,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 397,
- 398
+ 404,
+ 405
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 249,
+ "line": 269,
"character": 4
}
]
@@ -56585,14 +56809,14 @@
{
"type": "reflection",
"declaration": {
- "id": 399,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 401,
+ "id": 412,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -56602,69 +56826,139 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
- }
- },
- {
- "id": 400,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 284,
"character": 6
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 401,
- 400
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 254,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
+ "type": "reflection",
+ "declaration": {
+ "id": 413,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 415,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 414,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 286,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 415,
+ 414
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 411,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 283,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 412,
+ 411
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 281,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -56676,7 +56970,7 @@
]
},
{
- "id": 130,
+ "id": 125,
"name": "signInWithPassword",
"kind": 2048,
"kindString": "Method",
@@ -56684,13 +56978,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 216,
+ "line": 210,
"character": 8
}
],
"signatures": [
{
- "id": 131,
+ "id": 126,
"name": "signInWithPassword",
"kind": 4096,
"kindString": "Call signature",
@@ -56700,17 +56994,17 @@
},
"parameters": [
{
- "id": 132,
+ "id": 127,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 384,
+ "id": 389,
"name": "SignInWithPasswordCredentials",
"dereferenced": {
- "id": 384,
+ "id": 389,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -56718,7 +57012,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 246,
"character": 12
}
],
@@ -56728,14 +57022,14 @@
{
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 386,
+ "id": 391,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -56746,7 +57040,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 249,
"character": 6
}
],
@@ -56756,7 +57050,7 @@
}
},
{
- "id": 388,
+ "id": 393,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -56766,18 +57060,64 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 236,
+ "line": 252,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 394,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 395,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 254,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 395
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 252,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 387,
+ "id": 392,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -56788,7 +57128,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 235,
+ "line": 251,
"character": 6
}
],
@@ -56803,16 +57143,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 386,
- 388,
- 387
+ 391,
+ 393,
+ 392
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 231,
+ "line": 247,
"character": 4
}
]
@@ -56821,14 +57161,14 @@
{
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 392,
+ "id": 399,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -56838,18 +57178,64 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 262,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 400,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 264,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 401
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 262,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 391,
+ "id": 398,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -56860,7 +57246,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 261,
"character": 6
}
],
@@ -56870,7 +57256,7 @@
}
},
{
- "id": 390,
+ "id": 397,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -56881,7 +57267,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 259,
"character": 6
}
],
@@ -56896,16 +57282,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 392,
- 391,
- 390
+ 399,
+ 398,
+ 397
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 257,
"character": 4
}
]
@@ -56922,7 +57308,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -56934,7 +57320,7 @@
]
},
{
- "id": 180,
+ "id": 175,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -56942,13 +57328,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 579,
+ "line": 573,
"character": 8
}
],
"signatures": [
{
- "id": 181,
+ "id": 176,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -56963,14 +57349,14 @@
{
"type": "reflection",
"declaration": {
- "id": 182,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 183,
+ "id": 178,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -56978,7 +57364,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 579,
+ "line": 573,
"character": 29
}
],
@@ -56991,7 +57377,7 @@
},
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
@@ -57003,7 +57389,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 183
+ 178
]
}
]
@@ -57026,7 +57412,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 151,
+ "line": 147,
"character": 8
}
],
@@ -57044,614 +57430,741 @@
"parameters": [
{
"id": 124,
- "name": "__namedParameters",
+ "name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 378,
- "name": "UserCredentials",
+ "id": 373,
+ "name": "SignUpWithPasswordCredentials",
"dereferenced": {
- "id": 378,
- "name": "UserCredentials",
- "kind": 256,
- "kindString": "Interface",
+ "id": 373,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
"flags": {},
- "children": [
- {
- "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": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 381,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "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": 223,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 383,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The name of the provider."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 228,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 268,
- "name": "Provider"
- }
- },
- {
- "id": 382,
- "name": "refreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 226,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 379,
- 381,
- 380,
- 383,
- 382
- ]
- }
- ],
- "sources": [
+ "sources": [
{
"fileName": "src/lib/types.ts",
"line": 219,
- "character": 17
- }
- ]
- }
- }
- },
- {
- "id": 125,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 126,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "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": 156,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 128,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional user metadata."
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 155,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 127,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "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": 154,
- "character": 6
- }
- ],
- "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",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "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",
- "dereferenced": {
- "id": 354,
- "name": "UserAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 359,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 162,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 355,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 142,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 358,
- "name": "email_change_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "An email change token."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 157,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 357,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 152,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 356,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 147,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 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",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 139,
- "name": "verifyOtp",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 319,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 140,
- "name": "verifyOtp",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in a user given a User supplied OTP received via mobile."
- },
- "parameters": [
- {
- "id": 141,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 417,
- "name": "VerifyOtpParams",
- "dereferenced": {
- "id": 417,
- "name": "VerifyOtpParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 279,
- "character": 12
+ "character": 12
}
],
"type": {
"type": "union",
"types": [
{
- "type": "reference",
- "id": 418,
- "name": "VerifyMobileOtpParams"
- },
- {
- "type": "reference",
- "id": 423,
- "name": "VerifyEmailOtpParams"
- }
- ]
- }
- }
- }
- },
- {
- "id": 142,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 143,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "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",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to send the user to after they are confirmed."
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 322,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 145,
- 144
- ]
+ "type": "reflection",
+ "declaration": {
+ "id": 374,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 375,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 222,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 377,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 381,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 380,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 379,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 381,
+ 380,
+ 379
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 376,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 375,
+ 377,
+ 376
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 220,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 382,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 385,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 239,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 386,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 388,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 387,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 241,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 388,
+ 387
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 239,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 384,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 238,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 383,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 236,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 385,
+ 384,
+ 383
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 234,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 265,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 161,
+ "name": "updateUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 448,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 162,
+ "name": "updateUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 163,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 349,
+ "name": "UserAttributes",
+ "dereferenced": {
+ "id": 349,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 354,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 350,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 142,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 353,
+ "name": "email_change_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An email change token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 157,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 152,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 351,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 354,
+ 350,
+ 353,
+ 352,
+ 351
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 138,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 355,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 291,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 134,
+ "name": "verifyOtp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 313,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 135,
+ "name": "verifyOtp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in a user given a User supplied OTP received via mobile."
+ },
+ "parameters": [
+ {
+ "id": 136,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 427,
+ "name": "VerifyOtpParams",
+ "dereferenced": {
+ "id": 427,
+ "name": "VerifyOtpParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 305,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 428,
+ "name": "VerifyMobileOtpParams"
+ },
+ {
+ "type": "reference",
+ "id": 432,
+ "name": "VerifyEmailOtpParams"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 137,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 138,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 140,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 317,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 139,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 316,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 140,
+ 139
+ ]
}
]
}
@@ -57664,7 +58177,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -57695,18 +58208,18 @@
"title": "Methods",
"kind": 2048,
"children": [
- 146,
- 163,
- 184,
- 197,
- 169,
- 133,
- 136,
- 130,
- 180,
+ 141,
+ 158,
+ 179,
+ 192,
+ 164,
+ 128,
+ 131,
+ 125,
+ 175,
122,
- 166,
- 139
+ 161,
+ 134
]
}
],
@@ -57719,14 +58232,14 @@
]
},
{
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 357,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -57750,7 +58263,7 @@
}
},
{
- "id": 369,
+ "id": 364,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -57773,12 +58286,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 359,
+ "id": 354,
"name": "UserAttributes.data"
}
},
{
- "id": 365,
+ "id": 360,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -57801,12 +58314,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 355,
+ "id": 350,
"name": "UserAttributes.email"
}
},
{
- "id": 368,
+ "id": 363,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -57829,12 +58342,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 358,
+ "id": 353,
"name": "UserAttributes.email_change_token"
}
},
{
- "id": 363,
+ "id": 358,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -57858,7 +58371,7 @@
}
},
{
- "id": 367,
+ "id": 362,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -57881,12 +58394,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 357,
+ "id": 352,
"name": "UserAttributes.password"
}
},
{
- "id": 366,
+ "id": 361,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -57909,12 +58422,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 356,
+ "id": 351,
"name": "UserAttributes.phone"
}
},
{
- "id": 364,
+ "id": 359,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -57938,7 +58451,7 @@
}
},
{
- "id": 361,
+ "id": 356,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -57967,15 +58480,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 362,
- 369,
- 365,
- 368,
- 363,
- 367,
- 366,
+ 357,
364,
- 361
+ 360,
+ 363,
+ 358,
+ 362,
+ 361,
+ 359,
+ 356
]
}
],
@@ -57989,20 +58502,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 354,
+ "id": 349,
"name": "UserAttributes"
}
]
},
{
- "id": 307,
+ "id": 302,
"name": "Session",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 304,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -58023,7 +58536,7 @@
}
},
{
- "id": 312,
+ "id": 307,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -58046,7 +58559,7 @@
}
},
{
- "id": 311,
+ "id": 306,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -58067,7 +58580,7 @@
}
},
{
- "id": 308,
+ "id": 303,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -58096,276 +58609,18 @@
}
},
{
- "id": 310,
+ "id": 305,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "A one-time used refresh token that never expires."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 85,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 313,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 94,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 314,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 95,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 326,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 309,
- 312,
- 311,
- 308,
- 310,
- 313,
- 314
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 76,
- "character": 17
- }
- ]
- },
- {
- "id": 410,
- "name": "SignInWithOAuthOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "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": 276,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 414,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 415,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 416,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "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": 272,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "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": 274,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 413,
- 411,
- 412
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 270,
- "character": 17
- }
- ]
- },
- {
- "id": 393,
- "name": "SignInWithPasswordOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 394,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 246,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 394
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 245,
- "character": 17
- }
- ]
- },
- {
- "id": 402,
- "name": "SignInWithPasswordlessOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 405,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
+ "flags": {},
+ "comment": {
+ "shortText": "A one-time used refresh token that never expires."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 263,
+ "line": 85,
"character": 2
}
],
@@ -58375,20 +58630,15 @@
}
},
{
- "id": 403,
- "name": "emailRedirectTo",
+ "id": 308,
+ "name": "token_type",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The redirect url embedded in the email link"
- },
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 94,
"character": 2
}
],
@@ -58398,23 +58648,22 @@
}
},
{
- "id": 404,
- "name": "shouldCreateUser",
+ "id": 309,
+ "name": "user",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 262,
+ "line": 95,
"character": 2
}
],
"type": {
- "type": "intrinsic",
- "name": "boolean"
+ "type": "reference",
+ "id": 321,
+ "name": "User"
}
}
],
@@ -58423,29 +58672,33 @@
"title": "Properties",
"kind": 1024,
"children": [
- 405,
- 403,
- 404
+ 304,
+ 307,
+ 306,
+ 303,
+ 305,
+ 308,
+ 309
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 259,
+ "line": 76,
"character": 17
}
]
},
{
- "id": 370,
+ "id": 365,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 371,
+ "id": 366,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -58466,7 +58719,7 @@
}
},
{
- "id": 372,
+ "id": 367,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -58480,7 +58733,7 @@
],
"signatures": [
{
- "id": 373,
+ "id": 368,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -58490,17 +58743,17 @@
},
"parameters": [
{
- "id": 374,
+ "id": 369,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent",
"dereferenced": {
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -58545,7 +58798,7 @@
}
},
{
- "id": 375,
+ "id": 370,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -58559,7 +58812,7 @@
},
{
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
]
@@ -58574,7 +58827,7 @@
]
},
{
- "id": 376,
+ "id": 371,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -58588,7 +58841,7 @@
],
"signatures": [
{
- "id": 377,
+ "id": 372,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -58609,15 +58862,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 371
+ 366
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 372,
- 376
+ 367,
+ 371
]
}
],
@@ -58630,14 +58883,14 @@
]
},
{
- "id": 326,
+ "id": 321,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 343,
+ "id": 338,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -58647,7 +58900,221 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 125,
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 323,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 324,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 325,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 113,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 325
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 326,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 327,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 332,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 119,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 333,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 120,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 342,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 129,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 341,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 128,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 339,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 126,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 335,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 122,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 343,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 130,
"character": 2
}
],
@@ -58657,93 +59124,59 @@
}
},
{
- "id": 328,
- "name": "app_metadata",
+ "id": 322,
+ "name": "id",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 112,
+ "line": 111,
"character": 2
}
],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 329,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 330,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 113,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 330
- ]
- }
- ],
- "indexSignature": {
- "id": 331,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 332,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 348,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 135,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 310,
+ "name": "UserIdentity"
}
}
},
{
"id": 337,
- "name": "aud",
+ "name": "invited_at",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 119,
+ "line": 124,
"character": 2
}
],
@@ -58753,8 +59186,8 @@
}
},
{
- "id": 338,
- "name": "confirmation_sent_at",
+ "id": 345,
+ "name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -58763,7 +59196,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 120,
+ "line": 132,
"character": 2
}
],
@@ -58773,8 +59206,8 @@
}
},
{
- "id": 347,
- "name": "confirmed_at",
+ "id": 336,
+ "name": "new_email",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -58783,7 +59216,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 129,
+ "line": 123,
"character": 2
}
],
@@ -58793,15 +59226,17 @@
}
},
{
- "id": 346,
- "name": "created_at",
+ "id": 340,
+ "name": "phone",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 128,
+ "line": 127,
"character": 2
}
],
@@ -58812,7 +59247,7 @@
},
{
"id": 344,
- "name": "email",
+ "name": "phone_confirmed_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -58821,7 +59256,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 126,
+ "line": 131,
"character": 2
}
],
@@ -58831,8 +59266,8 @@
}
},
{
- "id": 340,
- "name": "email_change_sent_at",
+ "id": 334,
+ "name": "recovery_sent_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -58841,7 +59276,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 122,
+ "line": 121,
"character": 2
}
],
@@ -58851,35 +59286,174 @@
}
},
{
- "id": 348,
- "name": "email_confirmed_at",
+ "id": 346,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 133,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 347,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 134,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 328,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 116,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 329,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 330,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 331,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 338,
+ 323,
+ 332,
+ 333,
+ 342,
+ 341,
+ 339,
+ 335,
+ 343,
+ 322,
+ 348,
+ 337,
+ 345,
+ 336,
+ 340,
+ 344,
+ 334,
+ 346,
+ 347,
+ 328
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 349,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 354,
+ "name": "data",
"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": 130,
+ "line": 162,
"character": 2
}
],
"type": {
"type": "intrinsic",
- "name": "string"
+ "name": "object"
}
},
{
- "id": 327,
- "name": "id",
+ "id": 350,
+ "name": "email",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 111,
+ "line": 142,
"character": 2
}
],
@@ -58890,40 +59464,42 @@
},
{
"id": 353,
- "name": "identities",
+ "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,
+ "line": 157,
"character": 2
}
],
"type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 315,
- "name": "UserIdentity"
- }
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 342,
- "name": "invited_at",
+ "id": 352,
+ "name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "The user's password."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 124,
+ "line": 152,
"character": 2
}
],
@@ -58933,17 +59509,20 @@
}
},
{
- "id": 350,
- "name": "last_sign_in_at",
+ "id": 351,
+ "name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "The user's phone."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 132,
+ "line": 147,
"character": 2
}
],
@@ -58951,19 +59530,53 @@
"type": "intrinsic",
"name": "string"
}
- },
+ }
+ ],
+ "groups": [
{
- "id": 341,
- "name": "new_email",
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 354,
+ 350,
+ 353,
+ 352,
+ 351
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 138,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 355,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ },
+ {
+ "id": 310,
+ "name": "UserIdentity",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 318,
+ "name": "created_at",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 123,
+ "line": 105,
"character": 2
}
],
@@ -58973,17 +59586,15 @@
}
},
{
- "id": 345,
- "name": "phone",
+ "id": 311,
+ "name": "id",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 127,
+ "line": 99,
"character": 2
}
],
@@ -58993,37 +59604,62 @@
}
},
{
- "id": 349,
- "name": "phone_confirmed_at",
+ "id": 313,
+ "name": "identity_data",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 131,
+ "line": 101,
"character": 2
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reflection",
+ "declaration": {
+ "id": 314,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 315,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 316,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
}
},
{
- "id": 339,
- "name": "recovery_sent_at",
+ "id": 319,
+ "name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 121,
+ "line": 106,
"character": 2
}
],
@@ -59033,17 +59669,15 @@
}
},
{
- "id": 351,
- "name": "role",
+ "id": 317,
+ "name": "provider",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 133,
+ "line": 104,
"character": 2
}
],
@@ -59053,7 +59687,7 @@
}
},
{
- "id": 352,
+ "id": 320,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -59063,7 +59697,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 134,
+ "line": 107,
"character": 2
}
],
@@ -59073,50 +59707,21 @@
}
},
{
- "id": 333,
- "name": "user_metadata",
+ "id": 312,
+ "name": "user_id",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 116,
+ "line": 100,
"character": 2
}
],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 334,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 335,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 336,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
+ "type": "intrinsic",
+ "name": "string"
}
}
],
@@ -59125,105 +59730,44 @@
"title": "Properties",
"kind": 1024,
"children": [
- 343,
- 328,
- 337,
- 338,
- 347,
- 346,
- 344,
- 340,
- 348,
- 327,
- 353,
- 342,
- 350,
- 341,
- 345,
- 349,
- 339,
- 351,
- 352,
- 333
+ 318,
+ 311,
+ 313,
+ 319,
+ 317,
+ 320,
+ 312
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 110,
+ "line": 98,
"character": 17
}
]
},
{
- "id": 354,
- "name": "UserAttributes",
+ "id": 432,
+ "name": "VerifyEmailOtpParams",
"kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 359,
- "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"
- }
- },
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
{
- "id": 355,
+ "id": 433,
"name": "email",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 142,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 358,
- "name": "email_change_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"comment": {
- "shortText": "An email change token."
+ "shortText": "The user's email address."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 157,
+ "line": 316,
"character": 2
}
],
@@ -59233,20 +59777,18 @@
}
},
{
- "id": 357,
- "name": "password",
+ "id": 434,
+ "name": "token",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"comment": {
- "shortText": "The user's password."
+ "shortText": "The otp sent to the user's email address."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 152,
+ "line": 318,
"character": 2
}
],
@@ -59256,26 +59798,25 @@
}
},
{
- "id": 356,
- "name": "phone",
+ "id": 435,
+ "name": "type",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"comment": {
- "shortText": "The user's phone."
+ "shortText": "The user's verification type."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 147,
+ "line": 320,
"character": 2
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 437,
+ "name": "EmailOtpType"
}
}
],
@@ -59284,51 +59825,40 @@
"title": "Properties",
"kind": 1024,
"children": [
- 359,
- 355,
- 358,
- 357,
- 356
+ 433,
+ 434,
+ 435
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 138,
+ "line": 314,
"character": 17
}
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 360,
- "name": "AdminUserAttributes"
- }
]
},
{
- "id": 378,
- "name": "UserCredentials",
+ "id": 428,
+ "name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 379,
- "name": "email",
+ "id": 429,
+ "name": "phone",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"comment": {
- "shortText": "The user's email address."
+ "shortText": "The user's phone number."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 221,
+ "line": 308,
"character": 2
}
],
@@ -59338,20 +59868,18 @@
}
},
{
- "id": 381,
- "name": "password",
+ "id": 430,
+ "name": "token",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"comment": {
- "shortText": "The user's password."
+ "shortText": "The otp sent to the user's phone number."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 225,
+ "line": 310,
"character": 2
}
],
@@ -59361,510 +59889,585 @@
}
},
{
- "id": 380,
- "name": "phone",
+ "id": 431,
+ "name": "type",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"comment": {
- "shortText": "The user's phone number."
+ "shortText": "The user's verification type."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 223,
+ "line": 312,
"character": 2
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 436,
+ "name": "MobileOtpType"
}
- },
+ }
+ ],
+ "groups": [
{
- "id": 383,
- "name": "provider",
+ "title": "Properties",
"kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
+ "children": [
+ 429,
+ 430,
+ 431
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 306,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 264,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 22,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "PASSWORD_RECOVERY"
},
- "comment": {
- "shortText": "The name of the provider."
+ {
+ "type": "literal",
+ "value": "SIGNED_IN"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 228,
- "character": 2
+ {
+ "type": "literal",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "TOKEN_REFRESHED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_UPDATED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_DELETED"
+ }
+ ]
+ }
+ },
+ {
+ "id": 265,
+ "name": "AuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 30,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 266,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 267,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 268,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 270,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 302,
+ "name": "Session"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 269,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 33,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 321,
+ "name": "User"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 270,
+ 269
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 271,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 36,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 267,
+ 271
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 31,
+ "character": 4
+ }
+ ]
}
- ],
- "type": {
- "type": "reference",
- "id": 268,
- "name": "Provider"
- }
- },
- {
- "id": 382,
- "name": "refreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 226,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 379,
- 381,
- 380,
- 383,
- 382
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 219,
- "character": 17
- }
- ]
- },
- {
- "id": 315,
- "name": "UserIdentity",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 323,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 105,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 316,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 99,
- "character": 2
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 272,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 273,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 39,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 274,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 276,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 41,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 275,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 40,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 276,
+ 275
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 39,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 277,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 43,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 450,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 273,
+ 277
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 38,
+ "character": 4
+ }
+ ]
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
}
- },
+ ]
+ }
+ },
+ {
+ "id": 440,
+ "name": "CallRefreshTokenResult",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
{
- "id": 318,
- "name": "identity_data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 101,
- "character": 2
- }
- ],
- "type": {
+ "fileName": "src/lib/types.ts",
+ "line": 346,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 441,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "indexSignature": {
- "id": 320,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 321,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
+ "children": [
+ {
+ "id": 443,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 349,
+ "character": 6
}
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 442,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 348,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 302,
+ "name": "Session"
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
}
- }
- }
- }
- },
- {
- "id": 324,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 106,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 322,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 104,
- "character": 2
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 443,
+ 442
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 347,
+ "character": 4
+ }
+ ]
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 325,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 107,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 317,
- "name": "user_id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 100,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 323,
- 316,
- 318,
- 324,
- 322,
- 325,
- 317
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 98,
- "character": 17
- }
- ]
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 444,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 446,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 353,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 450,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 445,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 352,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 446,
+ 445
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 351,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
},
{
- "id": 423,
- "name": "VerifyEmailOtpParams",
- "kind": 256,
- "kindString": "Interface",
+ "id": 437,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
"flags": {},
- "children": [
- {
- "id": 424,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 291,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 425,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 292,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 426,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 293,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 427,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 294,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 429,
- "name": "EmailOtpType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 424,
- 425,
- 426,
- 427
- ]
- }
- ],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 290,
- "character": 17
+ "line": 324,
+ "character": 12
}
- ]
- },
- {
- "id": 418,
- "name": "VerifyMobileOtpParams",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 419,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email address."
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 282,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 420,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
+ {
+ "type": "literal",
+ "value": "invite"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 284,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 421,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
+ {
+ "type": "literal",
+ "value": "magiclink"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 286,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 422,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's verification type."
+ {
+ "type": "literal",
+ "value": "recovery"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 288,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 428,
- "name": "MobileOtpType"
+ {
+ "type": "literal",
+ "value": "email_change"
}
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 419,
- 420,
- 421,
- 422
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 280,
- "character": 17
- }
- ]
+ ]
+ }
},
{
- "id": 269,
- "name": "AuthChangeEvent",
+ "id": 438,
+ "name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
+ "comment": {
+ "shortText": "The link type"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 22,
+ "line": 327,
"character": 12
}
],
@@ -59873,41 +60476,68 @@
"types": [
{
"type": "literal",
- "value": "PASSWORD_RECOVERY"
+ "value": "signup"
},
{
"type": "literal",
- "value": "SIGNED_IN"
+ "value": "invite"
},
{
"type": "literal",
- "value": "SIGNED_OUT"
+ "value": "magiclink"
},
{
"type": "literal",
- "value": "TOKEN_REFRESHED"
+ "value": "recovery"
},
{
"type": "literal",
- "value": "USER_UPDATED"
+ "value": "email_change_current"
},
{
"type": "literal",
- "value": "USER_DELETED"
+ "value": "email_change_new"
}
]
}
},
{
- "id": 270,
- "name": "AuthResponse",
+ "id": 436,
+ "name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 323,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ },
+ {
+ "id": 278,
+ "name": "OAuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
"character": 12
}
],
@@ -59917,14 +60547,14 @@
{
"type": "reflection",
"declaration": {
- "id": 271,
+ "id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 272,
+ "id": 280,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -59932,73 +60562,54 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 32,
+ "line": 48,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 281,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 275,
- "name": "session",
+ "id": 282,
+ "name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 34,
+ "line": 49,
"character": 8
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 307,
- "name": "Session"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
+ "type": "reference",
+ "id": 263,
+ "name": "Provider"
}
},
{
- "id": 274,
- "name": "user",
+ "id": 283,
+ "name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 33,
+ "line": 50,
"character": 8
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 326,
- "name": "User"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
+ "type": "intrinsic",
+ "name": "string"
}
}
],
@@ -60007,15 +60618,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 275,
- 274
+ 282,
+ 283
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 32,
+ "line": 48,
"character": 12
}
]
@@ -60023,7 +60634,7 @@
}
},
{
- "id": 276,
+ "id": 284,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -60031,7 +60642,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 36,
+ "line": 52,
"character": 6
}
],
@@ -60046,15 +60657,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 272,
- 276
+ 280,
+ 284
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 47,
"character": 4
}
]
@@ -60063,14 +60674,14 @@
{
"type": "reflection",
"declaration": {
- "id": 277,
+ "id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 278,
+ "id": 286,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -60078,47 +60689,48 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 55,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 279,
+ "id": 287,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 281,
- "name": "session",
+ "id": 288,
+ "name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 56,
"character": 8
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 263,
+ "name": "Provider"
}
},
{
- "id": 280,
- "name": "user",
+ "id": 289,
+ "name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 40,
+ "line": 57,
"character": 8
}
],
@@ -60133,15 +60745,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 281,
- 280
+ 288,
+ 289
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 55,
"character": 12
}
]
@@ -60149,140 +60761,7 @@
}
},
{
- "id": 282,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 43,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 442,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 278,
- 282
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 38,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 432,
- "name": "CallRefreshTokenResult",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 320,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 433,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 435,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 323,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 434,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 322,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 307,
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 435,
- 434
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 321,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 436,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 438,
+ "id": 290,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -60290,33 +60769,15 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 59,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
- },
- {
- "id": 437,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 326,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
}
],
"groups": [
@@ -60324,75 +60785,36 @@
"title": "Properties",
"kind": 1024,
"children": [
- 438,
- 437
+ 286,
+ 290
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 54,
"character": 4
}
]
- }
- }
- ]
- }
- },
- {
- "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",
+ "id": 263,
+ "name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"comment": {
- "shortText": "The link type"
+ "shortText": "One of the providers supported by GoTrue."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 301,
+ "line": 4,
"character": 12
}
],
@@ -60401,68 +60823,297 @@
"types": [
{
"type": "literal",
- "value": "signup"
+ "value": "apple"
},
{
"type": "literal",
- "value": "invite"
+ "value": "azure"
},
{
"type": "literal",
- "value": "magiclink"
+ "value": "bitbucket"
},
{
"type": "literal",
- "value": "recovery"
+ "value": "discord"
},
{
"type": "literal",
- "value": "email_change_current"
+ "value": "facebook"
},
{
"type": "literal",
- "value": "email_change_new"
+ "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": 428,
- "name": "MobileOtpType",
+ "id": 416,
+ "name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 297,
+ "line": 292,
"character": 12
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "phone_change"
- }
- ]
+ "type": "reflection",
+ "declaration": {
+ "id": 417,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 419,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 295,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 420,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 423,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object of query params"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 18
+ }
+ ],
+ "indexSignature": {
+ "id": 425,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 426,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 421,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 297,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 299,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 423,
+ 421,
+ 422
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 295,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 418,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 263,
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 419,
+ 418
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 292,
+ "character": 41
+ }
+ ]
+ }
}
},
{
- "id": 283,
- "name": "OAuthResponse",
+ "id": 389,
+ "name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 246,
"character": 12
}
],
@@ -60472,63 +61123,72 @@
{
"type": "reflection",
"declaration": {
- "id": 284,
+ "id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 285,
- "name": "data",
+ "id": 391,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 249,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 393,
+ "name": "options",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 252,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 286,
+ "id": 394,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 287,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 49,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 268,
- "name": "Provider"
- }
- },
- {
- "id": 288,
- "name": "url",
+ "id": 395,
+ "name": "captchaToken",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 50,
+ "line": 254,
"character": 8
}
],
@@ -60543,37 +61203,39 @@
"title": "Properties",
"kind": 1024,
"children": [
- 287,
- 288
+ 395
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
- "character": 12
+ "line": 252,
+ "character": 16
}
]
}
}
},
{
- "id": 289,
- "name": "error",
+ "id": 392,
+ "name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 251,
"character": 6
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "intrinsic",
+ "name": "string"
}
}
],
@@ -60582,15 +61244,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 285,
- 289
+ 391,
+ 393,
+ 392
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 247,
"character": 4
}
]
@@ -60599,69 +61262,57 @@
{
"type": "reflection",
"declaration": {
- "id": 290,
+ "id": 396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 291,
- "name": "data",
+ "id": 399,
+ "name": "options",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 55,
+ "line": 262,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 400,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 293,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 268,
- "name": "Provider"
- }
- },
- {
- "id": 294,
- "name": "url",
+ "id": 401,
+ "name": "captchaToken",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 57,
+ "line": 264,
"character": 8
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "intrinsic",
+ "name": "string"
}
}
],
@@ -60670,245 +61321,96 @@
"title": "Properties",
"kind": 1024,
"children": [
- 293,
- 294
+ 401
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 55,
- "character": 12
+ "line": 262,
+ "character": 16
}
]
}
}
},
{
- "id": 295,
- "name": "error",
+ "id": 398,
+ "name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 59,
+ "line": 261,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 442,
- "name": "AuthError"
+ "type": "intrinsic",
+ "name": "string"
}
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 291,
- 295
- ]
- }
- ],
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 54,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "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": 4,
- "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": 406,
- "name": "SignInWithOAuthCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 265,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 407,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 409,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
+ "id": 397,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 259,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
{
- "fileName": "src/lib/types.ts",
- "line": 268,
- "character": 2
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 399,
+ 398,
+ 397
+ ]
}
],
- "type": {
- "type": "reference",
- "id": 410,
- "name": "SignInWithOAuthOptions"
- }
- },
- {
- "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": 267,
- "character": 2
+ "line": 257,
+ "character": 4
}
- ],
- "type": {
- "type": "reference",
- "id": 268,
- "name": "Provider"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 409,
- 408
]
}
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 265,
- "character": 41
- }
- ]
- }
+ }
+ ]
}
},
{
- "id": 384,
- "name": "SignInWithPasswordCredentials",
+ "id": 402,
+ "name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 268,
"character": 12
}
],
@@ -60918,14 +61420,14 @@
{
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 403,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 386,
+ "id": 404,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -60936,7 +61438,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 271,
"character": 6
}
],
@@ -60946,7 +61448,7 @@
}
},
{
- "id": 388,
+ "id": 405,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -60956,35 +61458,108 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 236,
+ "line": 272,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
- }
- },
- {
- "id": 387,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 235,
- "character": 6
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 409,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 407,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 274,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 276,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 409,
+ 407,
+ 408
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 16
+ }
+ ]
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
}
}
],
@@ -60993,16 +61568,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 386,
- 388,
- 387
+ 404,
+ 405
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 231,
+ "line": 269,
"character": 4
}
]
@@ -61011,14 +61585,14 @@
{
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 392,
+ "id": 412,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -61028,39 +61602,88 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 284,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
- }
- },
- {
- "id": 391,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 6
+ "type": "reflection",
+ "declaration": {
+ "id": 413,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 415,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 414,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 286,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 415,
+ 414
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 16
+ }
+ ]
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
}
},
{
- "id": 390,
+ "id": 411,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -61071,7 +61694,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 283,
"character": 6
}
],
@@ -61086,16 +61709,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 392,
- 391,
- 390
+ 412,
+ 411
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 281,
"character": 4
}
]
@@ -61105,15 +61727,15 @@
}
},
{
- "id": 395,
- "name": "SignInWithPasswordlessCredentials",
+ "id": 373,
+ "name": "SignUpWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 248,
+ "line": 219,
"character": 12
}
],
@@ -61123,14 +61745,14 @@
{
"type": "reflection",
"declaration": {
- "id": 396,
+ "id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 397,
+ "id": 375,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -61141,7 +61763,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 222,
"character": 6
}
],
@@ -61151,7 +61773,7 @@
}
},
{
- "id": 398,
+ "id": 377,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -61161,14 +61783,129 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 225,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 381,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 380,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 379,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 381,
+ 380,
+ 379
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 376,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
}
],
@@ -61177,15 +61914,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 397,
- 398
+ 375,
+ 377,
+ 376
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 249,
+ "line": 220,
"character": 4
}
]
@@ -61194,14 +61932,14 @@
{
"type": "reflection",
"declaration": {
- "id": 399,
+ "id": 382,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 401,
+ "id": 385,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -61211,18 +61949,109 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 239,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 386,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 388,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 387,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 241,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 388,
+ 387
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 239,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 400,
+ "id": 384,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 238,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 383,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -61233,7 +62062,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 236,
"character": 6
}
],
@@ -61248,15 +62077,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 401,
- 400
+ 385,
+ 384,
+ 383
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 254,
+ "line": 234,
"character": 4
}
]
@@ -61266,7 +62096,7 @@
}
},
{
- "id": 431,
+ "id": 439,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -61274,7 +62104,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 344,
"character": 12
}
],
@@ -61317,7 +62147,7 @@
}
},
{
- "id": 296,
+ "id": 291,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -61335,14 +62165,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 292,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 293,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -61357,14 +62187,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 299,
+ "id": 294,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 300,
+ "id": 295,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -61378,7 +62208,7 @@
],
"type": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
}
@@ -61388,7 +62218,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 300
+ 295
]
}
],
@@ -61403,7 +62233,7 @@
}
},
{
- "id": 301,
+ "id": 296,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -61426,8 +62256,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 298,
- 301
+ 293,
+ 296
]
}
],
@@ -61443,14 +62273,14 @@
{
"type": "reflection",
"declaration": {
- "id": 302,
+ "id": 297,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 303,
+ "id": 298,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -61465,14 +62295,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 299,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 305,
+ "id": 300,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -61495,7 +62325,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 305
+ 300
]
}
],
@@ -61510,7 +62340,7 @@
}
},
{
- "id": 306,
+ "id": 301,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -61524,7 +62354,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -61534,8 +62364,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 303,
- 306
+ 298,
+ 301
]
}
],
@@ -61552,7 +62382,7 @@
}
},
{
- "id": 417,
+ "id": 427,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -61560,7 +62390,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 279,
+ "line": 305,
"character": 12
}
],
@@ -61569,19 +62399,19 @@
"types": [
{
"type": "reference",
- "id": 418,
+ "id": 428,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 423,
+ "id": 432,
"name": "VerifyEmailOtpParams"
}
]
}
},
{
- "id": 439,
+ "id": 447,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -61595,14 +62425,14 @@
],
"signatures": [
{
- "id": 440,
+ "id": 448,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 441,
+ "id": 449,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -61619,7 +62449,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -61632,13 +62462,13 @@
"title": "Classes",
"kind": 128,
"children": [
- 447,
- 442,
- 494,
- 507,
- 482,
- 460,
- 467,
+ 455,
+ 450,
+ 502,
+ 515,
+ 490,
+ 468,
+ 475,
1,
81
]
@@ -61647,45 +62477,42 @@
"title": "Interfaces",
"kind": 256,
"children": [
- 360,
- 307,
- 410,
- 393,
- 402,
- 370,
- 326,
- 354,
- 378,
- 315,
- 423,
- 418
+ 355,
+ 302,
+ 365,
+ 321,
+ 349,
+ 310,
+ 432,
+ 428
]
},
{
"title": "Type Aliases",
"kind": 4194304,
"children": [
- 269,
- 270,
- 432,
- 429,
- 430,
- 428,
- 283,
- 268,
- 406,
- 384,
- 395,
- 431,
- 296,
- 417
+ 264,
+ 265,
+ 440,
+ 437,
+ 438,
+ 436,
+ 278,
+ 263,
+ 416,
+ 389,
+ 402,
+ 373,
+ 439,
+ 291,
+ 427
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 439
+ 447
]
}
],
diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.json
index 9a55fe2628b..81b5b0c0bbb 100644
--- a/spec/enrichments/tsdoc_v2/gotrue.json
+++ b/spec/enrichments/tsdoc_v2/gotrue.json
@@ -7,14 +7,14 @@
"originalName": "",
"children": [
{
- "id": 447,
+ "id": 455,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 448,
+ "id": 456,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -28,14 +28,14 @@
],
"signatures": [
{
- "id": 449,
+ "id": 457,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 450,
+ "id": 458,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -46,7 +46,7 @@
}
},
{
- "id": 451,
+ "id": 459,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -59,24 +59,24 @@
],
"type": {
"type": "reference",
- "id": 447,
+ "id": 455,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "AuthError.constructor"
}
},
{
- "id": 452,
+ "id": 460,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -94,7 +94,7 @@
}
},
{
- "id": 453,
+ "id": 461,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -108,7 +108,7 @@
],
"signatures": [
{
- "id": 454,
+ "id": 462,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -116,14 +116,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 455,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 457,
+ "id": 465,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -142,7 +142,7 @@
"defaultValue": "..."
},
{
- "id": 456,
+ "id": 464,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -161,7 +161,7 @@
"defaultValue": "..."
},
{
- "id": 458,
+ "id": 466,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -185,9 +185,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 457,
- 456,
- 458
+ 465,
+ 464,
+ 466
]
}
]
@@ -202,21 +202,21 @@
"title": "Constructors",
"kind": 512,
"children": [
- 448
+ 456
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 452
+ 460
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 453
+ 461
]
}
],
@@ -230,20 +230,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
},
{
- "id": 442,
+ "id": 450,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 443,
+ "id": 451,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -257,14 +257,14 @@
],
"signatures": [
{
- "id": 444,
+ "id": 452,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 445,
+ "id": 453,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -277,7 +277,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
},
"overwrites": {
@@ -297,7 +297,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 443
+ 451
]
}
],
@@ -319,30 +319,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 447,
+ "id": 455,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 460,
+ "id": 468,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 494,
+ "id": 502,
"name": "AuthInvalidCredentialsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 495,
+ "id": 503,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -356,14 +356,14 @@
],
"signatures": [
{
- "id": 496,
+ "id": 504,
"name": "new AuthInvalidCredentialsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 497,
+ "id": 505,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -376,24 +376,24 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 502,
"name": "AuthInvalidCredentialsError"
},
"overwrites": {
"type": "reference",
- "id": 469,
+ "id": 477,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 476,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 498,
+ "id": 506,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -411,12 +411,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 481,
"name": "CustomAuthError.name"
}
},
{
- "id": 499,
+ "id": 507,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -434,12 +434,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 482,
"name": "CustomAuthError.status"
}
},
{
- "id": 500,
+ "id": 508,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -453,7 +453,7 @@
],
"signatures": [
{
- "id": 501,
+ "id": 509,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -461,14 +461,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 502,
+ "id": 510,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 504,
+ "id": 512,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -487,7 +487,7 @@
"defaultValue": "..."
},
{
- "id": 503,
+ "id": 511,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -506,7 +506,7 @@
"defaultValue": "..."
},
{
- "id": 505,
+ "id": 513,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -530,9 +530,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 504,
- 503,
- 505
+ 512,
+ 511,
+ 513
]
}
]
@@ -540,14 +540,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 476,
+ "id": 484,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 483,
"name": "CustomAuthError.toJSON"
}
}
@@ -557,22 +557,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 495
+ 503
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 498,
- 499
+ 506,
+ 507
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 500
+ 508
]
}
],
@@ -586,20 +586,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 507,
+ "id": 515,
"name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 508,
+ "id": 516,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -613,14 +613,14 @@
],
"signatures": [
{
- "id": 509,
+ "id": 517,
"name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 510,
+ "id": 518,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -631,7 +631,7 @@
}
},
{
- "id": 511,
+ "id": 519,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -644,24 +644,24 @@
],
"type": {
"type": "reference",
- "id": 507,
+ "id": 515,
"name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 469,
+ "id": 477,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 476,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 512,
+ "id": 520,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -679,12 +679,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 481,
"name": "CustomAuthError.name"
}
},
{
- "id": 513,
+ "id": 521,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -702,12 +702,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 482,
"name": "CustomAuthError.status"
}
},
{
- "id": 514,
+ "id": 522,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -721,7 +721,7 @@
],
"signatures": [
{
- "id": 515,
+ "id": 523,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -729,14 +729,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 516,
+ "id": 524,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 518,
+ "id": 526,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -755,7 +755,7 @@
"defaultValue": "..."
},
{
- "id": 517,
+ "id": 525,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -774,7 +774,7 @@
"defaultValue": "..."
},
{
- "id": 519,
+ "id": 527,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -798,9 +798,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 518,
- 517,
- 519
+ 526,
+ 525,
+ 527
]
}
]
@@ -808,14 +808,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 476,
+ "id": 484,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 483,
"name": "CustomAuthError.toJSON"
}
}
@@ -825,22 +825,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 508
+ 516
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 512,
- 513
+ 520,
+ 521
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 514
+ 522
]
}
],
@@ -854,20 +854,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 482,
+ "id": 490,
"name": "AuthSessionMissingError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 483,
+ "id": 491,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -881,31 +881,31 @@
],
"signatures": [
{
- "id": 484,
+ "id": 492,
"name": "new AuthSessionMissingError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 482,
+ "id": 490,
"name": "AuthSessionMissingError"
},
"overwrites": {
"type": "reference",
- "id": 469,
+ "id": 477,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 476,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 485,
+ "id": 493,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -923,12 +923,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 481,
"name": "CustomAuthError.name"
}
},
{
- "id": 486,
+ "id": 494,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -946,12 +946,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 482,
"name": "CustomAuthError.status"
}
},
{
- "id": 487,
+ "id": 495,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -965,7 +965,7 @@
],
"signatures": [
{
- "id": 488,
+ "id": 496,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -973,14 +973,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 489,
+ "id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 491,
+ "id": 499,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -999,7 +999,7 @@
"defaultValue": "..."
},
{
- "id": 490,
+ "id": 498,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1018,7 +1018,7 @@
"defaultValue": "..."
},
{
- "id": 492,
+ "id": 500,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1042,9 +1042,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 491,
- 490,
- 492
+ 499,
+ 498,
+ 500
]
}
]
@@ -1052,14 +1052,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 476,
+ "id": 484,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 483,
"name": "CustomAuthError.toJSON"
}
}
@@ -1069,22 +1069,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 483
+ 491
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 485,
- 486
+ 493,
+ 494
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 487
+ 495
]
}
],
@@ -1098,20 +1098,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 460,
+ "id": 468,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 461,
+ "id": 469,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1125,14 +1125,14 @@
],
"signatures": [
{
- "id": 462,
+ "id": 470,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 463,
+ "id": 471,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1143,7 +1143,7 @@
}
},
{
- "id": 464,
+ "id": 472,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1156,24 +1156,24 @@
],
"type": {
"type": "reference",
- "id": 460,
+ "id": 468,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "AuthError.constructor"
}
},
{
- "id": 465,
+ "id": 473,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1196,14 +1196,14 @@
"title": "Constructors",
"kind": 512,
"children": [
- 461
+ 469
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 465
+ 473
]
}
],
@@ -1217,20 +1217,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
},
{
- "id": 467,
+ "id": 475,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 468,
+ "id": 476,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1244,14 +1244,14 @@
],
"signatures": [
{
- "id": 469,
+ "id": 477,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 470,
+ "id": 478,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1262,7 +1262,7 @@
}
},
{
- "id": 471,
+ "id": 479,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -1273,7 +1273,7 @@
}
},
{
- "id": 472,
+ "id": 480,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -1286,24 +1286,24 @@
],
"type": {
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "AuthError.constructor"
}
},
{
- "id": 473,
+ "id": 481,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1325,7 +1325,7 @@
}
},
{
- "id": 474,
+ "id": 482,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1343,7 +1343,7 @@
}
},
{
- "id": 475,
+ "id": 483,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1357,7 +1357,7 @@
],
"signatures": [
{
- "id": 476,
+ "id": 484,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1365,14 +1365,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 485,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 479,
+ "id": 487,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1391,7 +1391,7 @@
"defaultValue": "..."
},
{
- "id": 478,
+ "id": 486,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1410,7 +1410,7 @@
"defaultValue": "..."
},
{
- "id": 480,
+ "id": 488,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1434,9 +1434,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 479,
- 478,
- 480
+ 487,
+ 486,
+ 488
]
}
]
@@ -1451,22 +1451,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 468
+ 476
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 473,
- 474
+ 481,
+ 482
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 475
+ 483
]
}
],
@@ -1480,24 +1480,24 @@
"extendedTypes": [
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 482,
+ "id": 490,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 494,
+ "id": 502,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 507,
+ "id": 515,
"name": "AuthRetryableFetchError"
}
]
@@ -1758,7 +1758,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes"
}
}
@@ -1768,7 +1768,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -1823,7 +1823,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -1866,8 +1866,8 @@
"flags": {},
"type": {
"type": "reference",
- "id": 430,
- "name": "GenerateLinkTypes"
+ "id": 438,
+ "name": "GenerateLinkType"
}
},
{
@@ -2015,7 +2015,7 @@
],
"type": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
},
@@ -2074,7 +2074,7 @@
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
},
@@ -2151,7 +2151,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -2222,7 +2222,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -2353,7 +2353,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -2442,7 +2442,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
}
@@ -2567,7 +2567,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -2667,7 +2667,7 @@
},
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
@@ -2739,7 +2739,7 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes"
}
}
@@ -2749,7 +2749,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -3227,7 +3227,7 @@
}
},
{
- "id": 146,
+ "id": 141,
"name": "getSession",
"kind": 2048,
"kindString": "Method",
@@ -3235,13 +3235,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 368,
+ "line": 362,
"character": 8
}
],
"signatures": [
{
- "id": 147,
+ "id": 142,
"name": "getSession",
"kind": 4096,
"kindString": "Call signature",
@@ -3258,14 +3258,14 @@
{
"type": "reflection",
"declaration": {
- "id": 148,
+ "id": 143,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 149,
+ "id": 144,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3273,21 +3273,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 370,
+ "line": 364,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 150,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 151,
+ "id": 146,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -3295,13 +3295,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 371,
+ "line": 365,
"character": 10
}
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
}
@@ -3311,7 +3311,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 151
+ 146
]
}
]
@@ -3319,7 +3319,7 @@
}
},
{
- "id": 152,
+ "id": 147,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3327,7 +3327,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 373,
+ "line": 367,
"character": 8
}
],
@@ -3342,8 +3342,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 149,
- 152
+ 144,
+ 147
]
}
]
@@ -3352,14 +3352,14 @@
{
"type": "reflection",
"declaration": {
- "id": 153,
+ "id": 148,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 154,
+ "id": 149,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3367,21 +3367,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 376,
+ "line": 370,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 155,
+ "id": 150,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 156,
+ "id": 151,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -3389,7 +3389,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 377,
+ "line": 371,
"character": 10
}
],
@@ -3404,7 +3404,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 156
+ 151
]
}
]
@@ -3412,7 +3412,7 @@
}
},
{
- "id": 157,
+ "id": 152,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3420,13 +3420,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 379,
+ "line": 373,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -3436,8 +3436,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 154,
- 157
+ 149,
+ 152
]
}
]
@@ -3446,14 +3446,14 @@
{
"type": "reflection",
"declaration": {
- "id": 158,
+ "id": 153,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 159,
+ "id": 154,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3461,21 +3461,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 382,
+ "line": 376,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 160,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 161,
+ "id": 156,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -3483,7 +3483,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 383,
+ "line": 377,
"character": 10
}
],
@@ -3498,7 +3498,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 161
+ 156
]
}
]
@@ -3506,7 +3506,7 @@
}
},
{
- "id": 162,
+ "id": 157,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3514,7 +3514,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 385,
+ "line": 379,
"character": 8
}
],
@@ -3529,8 +3529,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 159,
- 162
+ 154,
+ 157
]
}
]
@@ -3547,7 +3547,7 @@
]
},
{
- "id": 163,
+ "id": 158,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -3555,13 +3555,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 425,
+ "line": 419,
"character": 8
}
],
"signatures": [
{
- "id": 164,
+ "id": 159,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -3571,7 +3571,7 @@
},
"parameters": [
{
- "id": 165,
+ "id": 160,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -3592,7 +3592,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -3604,7 +3604,7 @@
]
},
{
- "id": 184,
+ "id": 179,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -3612,13 +3612,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 599,
+ "line": 593,
"character": 2
}
],
"signatures": [
{
- "id": 185,
+ "id": 180,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -3629,7 +3629,7 @@
},
"parameters": [
{
- "id": 186,
+ "id": 181,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -3640,33 +3640,33 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 187,
+ "id": 182,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 188,
+ "id": 183,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 189,
+ "id": 184,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent"
}
},
{
- "id": 190,
+ "id": 185,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -3680,7 +3680,7 @@
},
{
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
]
@@ -3703,14 +3703,14 @@
{
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 186,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 193,
+ "id": 188,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3718,7 +3718,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 602,
+ "line": 596,
"character": 8
}
],
@@ -3728,7 +3728,7 @@
}
},
{
- "id": 192,
+ "id": 187,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -3736,13 +3736,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 601,
+ "line": 595,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 365,
"name": "Subscription"
}
}
@@ -3752,8 +3752,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 193,
- 192
+ 188,
+ 187
]
}
]
@@ -3762,14 +3762,14 @@
{
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 189,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 196,
+ "id": 191,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3777,18 +3777,18 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 604,
+ "line": 598,
"character": 28
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
},
{
- "id": 195,
+ "id": 190,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -3796,7 +3796,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 604,
+ "line": 598,
"character": 8
}
],
@@ -3811,8 +3811,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 196,
- 195
+ 191,
+ 190
]
}
]
@@ -3824,7 +3824,7 @@
]
},
{
- "id": 197,
+ "id": 192,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -3832,13 +3832,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 631,
+ "line": 625,
"character": 8
}
],
"signatures": [
{
- "id": 198,
+ "id": 193,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -3848,7 +3848,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 194,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -3862,7 +3862,7 @@
}
},
{
- "id": 200,
+ "id": 195,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3870,14 +3870,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 196,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 203,
+ "id": 198,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -3890,7 +3890,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 635,
+ "line": 629,
"character": 6
}
],
@@ -3900,7 +3900,7 @@
}
},
{
- "id": 202,
+ "id": 197,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -3913,7 +3913,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 634,
+ "line": 628,
"character": 6
}
],
@@ -3928,8 +3928,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 203,
- 202
+ 198,
+ 197
]
}
]
@@ -3947,14 +3947,14 @@
{
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 199,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 205,
+ "id": 200,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3962,14 +3962,14 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 639,
+ "line": 633,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 201,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3978,7 +3978,7 @@
}
},
{
- "id": 207,
+ "id": 202,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3986,7 +3986,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 640,
+ "line": 634,
"character": 8
}
],
@@ -4001,8 +4001,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 205,
- 207
+ 200,
+ 202
]
}
]
@@ -4011,14 +4011,14 @@
{
"type": "reflection",
"declaration": {
- "id": 208,
+ "id": 203,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 209,
+ "id": 204,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4026,7 +4026,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 642,
+ "line": 636,
"character": 8
}
],
@@ -4036,7 +4036,7 @@
}
},
{
- "id": 210,
+ "id": 205,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4044,13 +4044,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 642,
+ "line": 636,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -4060,8 +4060,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 209,
- 210
+ 204,
+ 205
]
}
]
@@ -4078,7 +4078,7 @@
]
},
{
- "id": 169,
+ "id": 164,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -4086,13 +4086,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 488,
+ "line": 482,
"character": 8
}
],
"signatures": [
{
- "id": 170,
+ "id": 165,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4102,7 +4102,7 @@
},
"parameters": [
{
- "id": 171,
+ "id": 166,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -4121,7 +4121,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -4133,7 +4133,7 @@
]
},
{
- "id": 133,
+ "id": 128,
"name": "signInWithOAuth",
"kind": 2048,
"kindString": "Method",
@@ -4141,13 +4141,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 264,
+ "line": 258,
"character": 8
}
],
"signatures": [
{
- "id": 134,
+ "id": 129,
"name": "signInWithOAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -4157,14 +4157,14 @@
},
"parameters": [
{
- "id": 135,
+ "id": 130,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 406,
+ "id": 416,
"name": "SignInWithOAuthCredentials"
}
}
@@ -4174,7 +4174,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 283,
+ "id": 278,
"name": "OAuthResponse"
}
],
@@ -4186,7 +4186,7 @@
]
},
{
- "id": 136,
+ "id": 131,
"name": "signInWithOtp",
"kind": 2048,
"kindString": "Method",
@@ -4194,13 +4194,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 276,
+ "line": 270,
"character": 8
}
],
"signatures": [
{
- "id": 137,
+ "id": 132,
"name": "signInWithOtp",
"kind": 4096,
"kindString": "Call signature",
@@ -4210,14 +4210,14 @@
},
"parameters": [
{
- "id": 138,
+ "id": 133,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 395,
+ "id": 402,
"name": "SignInWithPasswordlessCredentials"
}
}
@@ -4227,7 +4227,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -4239,7 +4239,7 @@
]
},
{
- "id": 130,
+ "id": 125,
"name": "signInWithPassword",
"kind": 2048,
"kindString": "Method",
@@ -4247,13 +4247,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 216,
+ "line": 210,
"character": 8
}
],
"signatures": [
{
- "id": 131,
+ "id": 126,
"name": "signInWithPassword",
"kind": 4096,
"kindString": "Call signature",
@@ -4263,14 +4263,14 @@
},
"parameters": [
{
- "id": 132,
+ "id": 127,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 384,
+ "id": 389,
"name": "SignInWithPasswordCredentials"
}
}
@@ -4280,7 +4280,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -4292,7 +4292,7 @@
]
},
{
- "id": 180,
+ "id": 175,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -4300,13 +4300,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 579,
+ "line": 573,
"character": 8
}
],
"signatures": [
{
- "id": 181,
+ "id": 176,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -4321,14 +4321,14 @@
{
"type": "reflection",
"declaration": {
- "id": 182,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 183,
+ "id": 178,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4336,7 +4336,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 579,
+ "line": 573,
"character": 29
}
],
@@ -4349,7 +4349,7 @@
},
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
@@ -4361,7 +4361,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 183
+ 178
]
}
]
@@ -4384,7 +4384,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 151,
+ "line": 147,
"character": 8
}
],
@@ -4402,115 +4402,15 @@
"parameters": [
{
"id": 124,
- "name": "__namedParameters",
+ "name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 378,
- "name": "UserCredentials"
+ "id": 373,
+ "name": "SignUpWithPasswordCredentials"
}
- },
- {
- "id": 125,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 126,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "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": 156,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 128,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional user metadata."
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 155,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 127,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "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": 154,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 129,
- 128,
- 127
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
}
],
"type": {
@@ -4518,7 +4418,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -4530,7 +4430,7 @@
]
},
{
- "id": 166,
+ "id": 161,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -4538,13 +4438,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 454,
+ "line": 448,
"character": 8
}
],
"signatures": [
{
- "id": 167,
+ "id": 162,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -4554,14 +4454,14 @@
},
"parameters": [
{
- "id": 168,
+ "id": 163,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 354,
+ "id": 349,
"name": "UserAttributes"
}
}
@@ -4571,7 +4471,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -4583,7 +4483,7 @@
]
},
{
- "id": 139,
+ "id": 134,
"name": "verifyOtp",
"kind": 2048,
"kindString": "Method",
@@ -4591,13 +4491,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 319,
+ "line": 313,
"character": 8
}
],
"signatures": [
{
- "id": 140,
+ "id": 135,
"name": "verifyOtp",
"kind": 4096,
"kindString": "Call signature",
@@ -4607,19 +4507,19 @@
},
"parameters": [
{
- "id": 141,
+ "id": 136,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 417,
+ "id": 427,
"name": "VerifyOtpParams"
}
},
{
- "id": 142,
+ "id": 137,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4627,14 +4527,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 143,
+ "id": 138,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 145,
+ "id": 140,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -4647,7 +4547,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 323,
+ "line": 317,
"character": 6
}
],
@@ -4657,7 +4557,7 @@
}
},
{
- "id": 144,
+ "id": 139,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -4670,7 +4570,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 322,
+ "line": 316,
"character": 6
}
],
@@ -4685,8 +4585,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 145,
- 144
+ 140,
+ 139
]
}
]
@@ -4700,7 +4600,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -4731,18 +4631,18 @@
"title": "Methods",
"kind": 2048,
"children": [
- 146,
- 163,
- 184,
- 197,
- 169,
- 133,
- 136,
- 130,
- 180,
+ 141,
+ 158,
+ 179,
+ 192,
+ 164,
+ 128,
+ 131,
+ 125,
+ 175,
122,
- 166,
- 139
+ 161,
+ 134
]
}
],
@@ -4755,14 +4655,14 @@
]
},
{
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 357,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -4786,7 +4686,7 @@
}
},
{
- "id": 369,
+ "id": 364,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4809,12 +4709,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 359,
+ "id": 354,
"name": "UserAttributes.data"
}
},
{
- "id": 365,
+ "id": 360,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -4837,12 +4737,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 355,
+ "id": 350,
"name": "UserAttributes.email"
}
},
{
- "id": 368,
+ "id": 363,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -4865,12 +4765,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 358,
+ "id": 353,
"name": "UserAttributes.email_change_token"
}
},
{
- "id": 363,
+ "id": 358,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -4894,7 +4794,7 @@
}
},
{
- "id": 367,
+ "id": 362,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -4917,12 +4817,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 357,
+ "id": 352,
"name": "UserAttributes.password"
}
},
{
- "id": 366,
+ "id": 361,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -4945,12 +4845,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 356,
+ "id": 351,
"name": "UserAttributes.phone"
}
},
{
- "id": 364,
+ "id": 359,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -4974,7 +4874,7 @@
}
},
{
- "id": 361,
+ "id": 356,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -5003,15 +4903,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 362,
- 369,
- 365,
- 368,
- 363,
- 367,
- 366,
+ 357,
364,
- 361
+ 360,
+ 363,
+ 358,
+ 362,
+ 361,
+ 359,
+ 356
]
}
],
@@ -5025,20 +4925,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 354,
+ "id": 349,
"name": "UserAttributes"
}
]
},
{
- "id": 307,
+ "id": 302,
"name": "Session",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 304,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -5059,7 +4959,7 @@
}
},
{
- "id": 312,
+ "id": 307,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -5082,7 +4982,7 @@
}
},
{
- "id": 311,
+ "id": 306,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -5103,7 +5003,7 @@
}
},
{
- "id": 308,
+ "id": 303,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -5132,7 +5032,7 @@
}
},
{
- "id": 310,
+ "id": 305,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -5153,7 +5053,7 @@
}
},
{
- "id": 313,
+ "id": 308,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -5171,7 +5071,7 @@
}
},
{
- "id": 314,
+ "id": 309,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -5185,7 +5085,7 @@
],
"type": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
}
@@ -5195,13 +5095,13 @@
"title": "Properties",
"kind": 1024,
"children": [
- 309,
- 312,
- 311,
+ 304,
+ 307,
+ 306,
+ 303,
+ 305,
308,
- 310,
- 313,
- 314
+ 309
]
}
],
@@ -5214,285 +5114,25 @@
]
},
{
- "id": 410,
- "name": "SignInWithOAuthOptions",
+ "id": 365,
+ "name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 413,
- "name": "queryParams",
+ "id": 366,
+ "name": "id",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"comment": {
- "shortText": "An object of query params"
+ "shortText": "The subscriber UUID. This will be set by the client."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 276,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 414,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 415,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 416,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "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": 272,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "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": 274,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 413,
- 411,
- 412
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 270,
- "character": 17
- }
- ]
- },
- {
- "id": 393,
- "name": "SignInWithPasswordOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 394,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 246,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 394
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 245,
- "character": 17
- }
- ]
- },
- {
- "id": 402,
- "name": "SignInWithPasswordlessOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 405,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 263,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 403,
- "name": "emailRedirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The redirect url embedded in the email link"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 261,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 404,
- "name": "shouldCreateUser",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 262,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 405,
- 403,
- 404
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 259,
- "character": 17
- }
- ]
- },
- {
- "id": 370,
- "name": "Subscription",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 371,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The subscriber UUID. This will be set by the client."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 208,
+ "line": 208,
"character": 2
}
],
@@ -5502,7 +5142,7 @@
}
},
{
- "id": 372,
+ "id": 367,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -5516,7 +5156,7 @@
],
"signatures": [
{
- "id": 373,
+ "id": 368,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -5526,19 +5166,19 @@
},
"parameters": [
{
- "id": 374,
+ "id": 369,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent"
}
},
{
- "id": 375,
+ "id": 370,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -5552,7 +5192,7 @@
},
{
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
]
@@ -5567,7 +5207,7 @@
]
},
{
- "id": 376,
+ "id": 371,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -5581,7 +5221,7 @@
],
"signatures": [
{
- "id": 377,
+ "id": 372,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -5602,15 +5242,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 371
+ 366
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 372,
- 376
+ 367,
+ 371
]
}
],
@@ -5623,14 +5263,14 @@
]
},
{
- "id": 326,
+ "id": 321,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 343,
+ "id": 338,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -5650,7 +5290,7 @@
}
},
{
- "id": 328,
+ "id": 323,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -5665,14 +5305,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 329,
+ "id": 324,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 330,
+ "id": 325,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -5697,19 +5337,19 @@
"title": "Properties",
"kind": 1024,
"children": [
- 330
+ 325
]
}
],
"indexSignature": {
- "id": 331,
+ "id": 326,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 332,
+ "id": 327,
"name": "key",
"kind": 32768,
"flags": {},
@@ -5728,7 +5368,7 @@
}
},
{
- "id": 337,
+ "id": 332,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -5746,7 +5386,7 @@
}
},
{
- "id": 338,
+ "id": 333,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -5766,7 +5406,7 @@
}
},
{
- "id": 347,
+ "id": 342,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -5786,7 +5426,7 @@
}
},
{
- "id": 346,
+ "id": 341,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -5804,7 +5444,7 @@
}
},
{
- "id": 344,
+ "id": 339,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -5824,7 +5464,7 @@
}
},
{
- "id": 340,
+ "id": 335,
"name": "email_change_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -5844,7 +5484,7 @@
}
},
{
- "id": 348,
+ "id": 343,
"name": "email_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -5864,7 +5504,7 @@
}
},
{
- "id": 327,
+ "id": 322,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -5882,7 +5522,7 @@
}
},
{
- "id": 353,
+ "id": 348,
"name": "identities",
"kind": 1024,
"kindString": "Property",
@@ -5900,13 +5540,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 315,
+ "id": 310,
"name": "UserIdentity"
}
}
},
{
- "id": 342,
+ "id": 337,
"name": "invited_at",
"kind": 1024,
"kindString": "Property",
@@ -5926,7 +5566,7 @@
}
},
{
- "id": 350,
+ "id": 345,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -5946,7 +5586,7 @@
}
},
{
- "id": 341,
+ "id": 336,
"name": "new_email",
"kind": 1024,
"kindString": "Property",
@@ -5966,7 +5606,7 @@
}
},
{
- "id": 345,
+ "id": 340,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -5986,7 +5626,7 @@
}
},
{
- "id": 349,
+ "id": 344,
"name": "phone_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -6006,7 +5646,7 @@
}
},
{
- "id": 339,
+ "id": 334,
"name": "recovery_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -6026,7 +5666,7 @@
}
},
{
- "id": 351,
+ "id": 346,
"name": "role",
"kind": 1024,
"kindString": "Property",
@@ -6046,7 +5686,7 @@
}
},
{
- "id": 352,
+ "id": 347,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -6066,7 +5706,7 @@
}
},
{
- "id": 333,
+ "id": 328,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -6081,20 +5721,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 334,
+ "id": 329,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 335,
+ "id": 330,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 336,
+ "id": 331,
"name": "key",
"kind": 32768,
"flags": {},
@@ -6118,26 +5758,26 @@
"title": "Properties",
"kind": 1024,
"children": [
- 343,
- 328,
- 337,
338,
- 347,
- 346,
- 344,
- 340,
- 348,
- 327,
- 353,
+ 323,
+ 332,
+ 333,
342,
- 350,
341,
- 345,
- 349,
339,
- 351,
- 352,
- 333
+ 335,
+ 343,
+ 322,
+ 348,
+ 337,
+ 345,
+ 336,
+ 340,
+ 344,
+ 334,
+ 346,
+ 347,
+ 328
]
}
],
@@ -6150,14 +5790,14 @@
]
},
{
- "id": 354,
+ "id": 349,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 359,
+ "id": 354,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6180,7 +5820,7 @@
}
},
{
- "id": 355,
+ "id": 350,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6203,7 +5843,7 @@
}
},
{
- "id": 358,
+ "id": 353,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -6226,7 +5866,7 @@
}
},
{
- "id": 357,
+ "id": 352,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -6249,7 +5889,7 @@
}
},
{
- "id": 356,
+ "id": 351,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -6277,11 +5917,11 @@
"title": "Properties",
"kind": 1024,
"children": [
- 359,
- 355,
- 358,
- 357,
- 356
+ 354,
+ 350,
+ 353,
+ 352,
+ 351
]
}
],
@@ -6295,162 +5935,20 @@
"extendedBy": [
{
"type": "reference",
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes"
}
]
},
{
- "id": 378,
- "name": "UserCredentials",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "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": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 381,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "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": 223,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 383,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The name of the provider."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 228,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 268,
- "name": "Provider"
- }
- },
- {
- "id": 382,
- "name": "refreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 226,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 379,
- 381,
- 380,
- 383,
- 382
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 219,
- "character": 17
- }
- ]
- },
- {
- "id": 315,
+ "id": 310,
"name": "UserIdentity",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 323,
+ "id": 318,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -6468,7 +5966,7 @@
}
},
{
- "id": 316,
+ "id": 311,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -6486,7 +5984,7 @@
}
},
{
- "id": 318,
+ "id": 313,
"name": "identity_data",
"kind": 1024,
"kindString": "Property",
@@ -6501,20 +5999,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 314,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 320,
+ "id": 315,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 321,
+ "id": 316,
"name": "key",
"kind": 32768,
"flags": {},
@@ -6533,7 +6031,7 @@
}
},
{
- "id": 324,
+ "id": 319,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -6551,7 +6049,7 @@
}
},
{
- "id": 322,
+ "id": 317,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -6569,7 +6067,7 @@
}
},
{
- "id": 325,
+ "id": 320,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -6589,7 +6087,7 @@
}
},
{
- "id": 317,
+ "id": 312,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -6612,13 +6110,13 @@
"title": "Properties",
"kind": 1024,
"children": [
- 323,
- 316,
318,
- 324,
- 322,
- 325,
- 317
+ 311,
+ 313,
+ 319,
+ 317,
+ 320,
+ 312
]
}
],
@@ -6631,60 +6129,46 @@
]
},
{
- "id": 423,
+ "id": 432,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 424,
+ "id": 433,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 291,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 425,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
+ "comment": {
+ "shortText": "The user's email address."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 292,
+ "line": 316,
"character": 2
}
],
"type": {
"type": "intrinsic",
- "name": "undefined"
+ "name": "string"
}
},
{
- "id": 426,
+ "id": 434,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The otp sent to the user's email address."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 293,
+ "line": 318,
"character": 2
}
],
@@ -6694,21 +6178,24 @@
}
},
{
- "id": 427,
+ "id": 435,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 294,
+ "line": 320,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 429,
+ "id": 437,
"name": "EmailOtpType"
}
}
@@ -6718,53 +6205,29 @@
"title": "Properties",
"kind": 1024,
"children": [
- 424,
- 425,
- 426,
- 427
+ 433,
+ 434,
+ 435
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 290,
+ "line": 314,
"character": 17
}
]
},
{
- "id": 418,
+ "id": 428,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "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": 282,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 420,
+ "id": 429,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -6775,7 +6238,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 284,
+ "line": 308,
"character": 2
}
],
@@ -6785,18 +6248,18 @@
}
},
{
- "id": 421,
+ "id": 430,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The user's password."
+ "shortText": "The otp sent to the user's phone number."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 310,
"character": 2
}
],
@@ -6806,7 +6269,7 @@
}
},
{
- "id": 422,
+ "id": 431,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6817,13 +6280,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 288,
+ "line": 312,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 428,
+ "id": 436,
"name": "MobileOtpType"
}
}
@@ -6833,23 +6296,22 @@
"title": "Properties",
"kind": 1024,
"children": [
- 419,
- 420,
- 421,
- 422
+ 429,
+ 430,
+ 431
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 280,
+ "line": 306,
"character": 17
}
]
},
{
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -6892,7 +6354,7 @@
}
},
{
- "id": 270,
+ "id": 265,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -6910,14 +6372,14 @@
{
"type": "reflection",
"declaration": {
- "id": 271,
+ "id": 266,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 272,
+ "id": 267,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6932,14 +6394,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 275,
+ "id": 270,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -6956,7 +6418,7 @@
"types": [
{
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
},
{
@@ -6967,7 +6429,7 @@
}
},
{
- "id": 274,
+ "id": 269,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -6984,7 +6446,7 @@
"types": [
{
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
},
{
@@ -7000,8 +6462,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 275,
- 274
+ 270,
+ 269
]
}
],
@@ -7016,7 +6478,7 @@
}
},
{
- "id": 276,
+ "id": 271,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7039,8 +6501,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 272,
- 276
+ 267,
+ 271
]
}
],
@@ -7056,14 +6518,14 @@
{
"type": "reflection",
"declaration": {
- "id": 277,
+ "id": 272,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 278,
+ "id": 273,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7078,14 +6540,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 279,
+ "id": 274,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 281,
+ "id": 276,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -7103,7 +6565,7 @@
}
},
{
- "id": 280,
+ "id": 275,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -7126,8 +6588,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 281,
- 280
+ 276,
+ 275
]
}
],
@@ -7142,7 +6604,7 @@
}
},
{
- "id": 282,
+ "id": 277,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7156,7 +6618,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -7166,8 +6628,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 278,
- 282
+ 273,
+ 277
]
}
],
@@ -7184,7 +6646,7 @@
}
},
{
- "id": 432,
+ "id": 440,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -7192,7 +6654,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 320,
+ "line": 346,
"character": 12
}
],
@@ -7202,14 +6664,14 @@
{
"type": "reflection",
"declaration": {
- "id": 433,
+ "id": 441,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 435,
+ "id": 443,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7217,7 +6679,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 323,
+ "line": 349,
"character": 6
}
],
@@ -7227,7 +6689,7 @@
}
},
{
- "id": 434,
+ "id": 442,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -7235,13 +6697,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 348,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
}
@@ -7251,15 +6713,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 435,
- 434
+ 443,
+ 442
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 347,
"character": 4
}
]
@@ -7268,14 +6730,14 @@
{
"type": "reflection",
"declaration": {
- "id": 436,
+ "id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 438,
+ "id": 446,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7283,18 +6745,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 353,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
},
{
- "id": 437,
+ "id": 445,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -7302,7 +6764,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 326,
+ "line": 352,
"character": 6
}
],
@@ -7317,15 +6779,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 438,
- 437
+ 446,
+ 445
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 351,
"character": 4
}
]
@@ -7335,7 +6797,7 @@
}
},
{
- "id": 429,
+ "id": 437,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -7343,7 +6805,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 324,
"character": 12
}
],
@@ -7374,8 +6836,8 @@
}
},
{
- "id": 430,
- "name": "GenerateLinkTypes",
+ "id": 438,
+ "name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
@@ -7385,7 +6847,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 301,
+ "line": 327,
"character": 12
}
],
@@ -7420,7 +6882,7 @@
}
},
{
- "id": 428,
+ "id": 436,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -7428,7 +6890,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 297,
+ "line": 323,
"character": 12
}
],
@@ -7447,7 +6909,7 @@
}
},
{
- "id": 283,
+ "id": 278,
"name": "OAuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -7465,14 +6927,14 @@
{
"type": "reflection",
"declaration": {
- "id": 284,
+ "id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 285,
+ "id": 280,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7487,14 +6949,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 286,
+ "id": 281,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 287,
+ "id": 282,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -7508,12 +6970,12 @@
],
"type": {
"type": "reference",
- "id": 268,
+ "id": 263,
"name": "Provider"
}
},
{
- "id": 288,
+ "id": 283,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -7536,8 +6998,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 287,
- 288
+ 282,
+ 283
]
}
],
@@ -7552,7 +7014,7 @@
}
},
{
- "id": 289,
+ "id": 284,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7575,8 +7037,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 285,
- 289
+ 280,
+ 284
]
}
],
@@ -7592,14 +7054,14 @@
{
"type": "reflection",
"declaration": {
- "id": 290,
+ "id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 291,
+ "id": 286,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7614,14 +7076,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 287,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 293,
+ "id": 288,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -7635,12 +7097,12 @@
],
"type": {
"type": "reference",
- "id": 268,
+ "id": 263,
"name": "Provider"
}
},
{
- "id": 294,
+ "id": 289,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -7663,8 +7125,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 293,
- 294
+ 288,
+ 289
]
}
],
@@ -7679,7 +7141,7 @@
}
},
{
- "id": 295,
+ "id": 290,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7693,7 +7155,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -7703,8 +7165,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 291,
- 295
+ 286,
+ 290
]
}
],
@@ -7721,7 +7183,7 @@
}
},
{
- "id": 268,
+ "id": 263,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -7807,7 +7269,7 @@
}
},
{
- "id": 406,
+ "id": 416,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -7815,21 +7277,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 265,
+ "line": 292,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 417,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 409,
+ "id": 419,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -7839,53 +7301,183 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 268,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 410,
- "name": "SignInWithOAuthOptions"
- }
- },
- {
- "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": 267,
+ "line": 295,
"character": 2
}
],
"type": {
- "type": "reference",
- "id": 268,
- "name": "Provider"
- }
- }
- ],
- "groups": [
- {
+ "type": "reflection",
+ "declaration": {
+ "id": 420,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 423,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object of query params"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 18
+ }
+ ],
+ "indexSignature": {
+ "id": 425,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 426,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 421,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 297,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 299,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 423,
+ 421,
+ 422
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 295,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 418,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 263,
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
"title": "Properties",
"kind": 1024,
"children": [
- 409,
- 408
+ 419,
+ 418
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 265,
+ "line": 292,
"character": 41
}
]
@@ -7893,7 +7485,7 @@
}
},
{
- "id": 384,
+ "id": 389,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -7901,7 +7493,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 246,
"character": 12
}
],
@@ -7911,14 +7503,14 @@
{
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 386,
+ "id": 391,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -7929,7 +7521,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 249,
"character": 6
}
],
@@ -7939,7 +7531,7 @@
}
},
{
- "id": 388,
+ "id": 393,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -7949,18 +7541,64 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 236,
+ "line": 252,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 394,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 395,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 254,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 395
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 252,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 387,
+ "id": 392,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -7971,7 +7609,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 235,
+ "line": 251,
"character": 6
}
],
@@ -7986,16 +7624,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 386,
- 388,
- 387
+ 391,
+ 393,
+ 392
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 231,
+ "line": 247,
"character": 4
}
]
@@ -8004,14 +7642,14 @@
{
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 392,
+ "id": 399,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -8021,18 +7659,64 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 262,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 400,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 264,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 401
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 262,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 391,
+ "id": 398,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -8043,17 +7727,343 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 261,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 397,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 259,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 399,
+ 398,
+ 397
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 257,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 402,
+ "name": "SignInWithPasswordlessCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 268,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 403,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 404,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 271,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 405,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 409,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 407,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 274,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 276,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 409,
+ 407,
+ 408
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 404,
+ 405
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 269,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 410,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 412,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
"character": 6
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 413,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 415,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 414,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 286,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 415,
+ 414
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 390,
+ "id": 411,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -8064,7 +8074,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 283,
"character": 6
}
],
@@ -8079,16 +8089,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 392,
- 391,
- 390
+ 412,
+ 411
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 281,
"character": 4
}
]
@@ -8098,15 +8107,15 @@
}
},
{
- "id": 395,
- "name": "SignInWithPasswordlessCredentials",
+ "id": 373,
+ "name": "SignUpWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 248,
+ "line": 219,
"character": 12
}
],
@@ -8116,14 +8125,14 @@
{
"type": "reflection",
"declaration": {
- "id": 396,
+ "id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 397,
+ "id": 375,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -8134,7 +8143,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 222,
"character": 6
}
],
@@ -8144,7 +8153,7 @@
}
},
{
- "id": 398,
+ "id": 377,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -8154,14 +8163,129 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 225,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 381,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 380,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 379,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 381,
+ 380,
+ 379
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 376,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
}
],
@@ -8170,15 +8294,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 397,
- 398
+ 375,
+ 377,
+ 376
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 249,
+ "line": 220,
"character": 4
}
]
@@ -8187,14 +8312,14 @@
{
"type": "reflection",
"declaration": {
- "id": 399,
+ "id": 382,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 401,
+ "id": 385,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -8204,18 +8329,109 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 239,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 386,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 388,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 387,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 241,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 388,
+ 387
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 239,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 384,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 238,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 400,
+ "id": 383,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -8226,7 +8442,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 236,
"character": 6
}
],
@@ -8241,15 +8457,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 401,
- 400
+ 385,
+ 384,
+ 383
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 254,
+ "line": 234,
"character": 4
}
]
@@ -8259,7 +8476,7 @@
}
},
{
- "id": 431,
+ "id": 439,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -8267,7 +8484,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 344,
"character": 12
}
],
@@ -8310,7 +8527,7 @@
}
},
{
- "id": 296,
+ "id": 291,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8328,14 +8545,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 292,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 293,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8350,14 +8567,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 299,
+ "id": 294,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 300,
+ "id": 295,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -8371,7 +8588,7 @@
],
"type": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
}
@@ -8381,7 +8598,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 300
+ 295
]
}
],
@@ -8396,7 +8613,7 @@
}
},
{
- "id": 301,
+ "id": 296,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8419,8 +8636,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 298,
- 301
+ 293,
+ 296
]
}
],
@@ -8436,14 +8653,14 @@
{
"type": "reflection",
"declaration": {
- "id": 302,
+ "id": 297,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 303,
+ "id": 298,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8458,14 +8675,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 299,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 305,
+ "id": 300,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -8488,7 +8705,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 305
+ 300
]
}
],
@@ -8503,7 +8720,7 @@
}
},
{
- "id": 306,
+ "id": 301,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8517,7 +8734,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -8527,8 +8744,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 303,
- 306
+ 298,
+ 301
]
}
],
@@ -8545,7 +8762,7 @@
}
},
{
- "id": 417,
+ "id": 427,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8553,7 +8770,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 279,
+ "line": 305,
"character": 12
}
],
@@ -8562,19 +8779,19 @@
"types": [
{
"type": "reference",
- "id": 418,
+ "id": 428,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 423,
+ "id": 432,
"name": "VerifyEmailOtpParams"
}
]
}
},
{
- "id": 439,
+ "id": 447,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -8588,14 +8805,14 @@
],
"signatures": [
{
- "id": 440,
+ "id": 448,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 441,
+ "id": 449,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -8612,7 +8829,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -8625,13 +8842,13 @@
"title": "Classes",
"kind": 128,
"children": [
- 447,
- 442,
- 494,
- 507,
- 482,
- 460,
- 467,
+ 455,
+ 450,
+ 502,
+ 515,
+ 490,
+ 468,
+ 475,
1,
81
]
@@ -8640,45 +8857,42 @@
"title": "Interfaces",
"kind": 256,
"children": [
- 360,
- 307,
- 410,
- 393,
- 402,
- 370,
- 326,
- 354,
- 378,
- 315,
- 423,
- 418
+ 355,
+ 302,
+ 365,
+ 321,
+ 349,
+ 310,
+ 432,
+ 428
]
},
{
"title": "Type Aliases",
"kind": 4194304,
"children": [
- 269,
- 270,
- 432,
- 429,
- 430,
- 428,
- 283,
- 268,
- 406,
- 384,
- 395,
- 431,
- 296,
- 417
+ 264,
+ 265,
+ 440,
+ 437,
+ 438,
+ 436,
+ 278,
+ 263,
+ 416,
+ 389,
+ 402,
+ 373,
+ 439,
+ 291,
+ 427
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 439
+ 447
]
}
],
diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
index f06e90f80a8..a874ab0aa38 100644
--- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
@@ -7,14 +7,14 @@
"originalName": "",
"children": [
{
- "id": 447,
+ "id": 455,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 448,
+ "id": 456,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -28,14 +28,14 @@
],
"signatures": [
{
- "id": 449,
+ "id": 457,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 450,
+ "id": 458,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -46,7 +46,7 @@
}
},
{
- "id": 451,
+ "id": 459,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -59,24 +59,24 @@
],
"type": {
"type": "reference",
- "id": 447,
+ "id": 455,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "AuthError.constructor"
}
},
{
- "id": 452,
+ "id": 460,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -94,7 +94,7 @@
}
},
{
- "id": 453,
+ "id": 461,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -108,7 +108,7 @@
],
"signatures": [
{
- "id": 454,
+ "id": 462,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -116,14 +116,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 455,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 457,
+ "id": 465,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -142,7 +142,7 @@
"defaultValue": "..."
},
{
- "id": 456,
+ "id": 464,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -161,7 +161,7 @@
"defaultValue": "..."
},
{
- "id": 458,
+ "id": 466,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -185,9 +185,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 457,
- 456,
- 458
+ 465,
+ 464,
+ 466
]
}
]
@@ -202,21 +202,21 @@
"title": "Constructors",
"kind": 512,
"children": [
- 448
+ 456
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 452
+ 460
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 453
+ 461
]
}
],
@@ -230,20 +230,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
},
{
- "id": 442,
+ "id": 450,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 443,
+ "id": 451,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -257,14 +257,14 @@
],
"signatures": [
{
- "id": 444,
+ "id": 452,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 445,
+ "id": 453,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -277,7 +277,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
},
"overwrites": {
@@ -297,7 +297,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 443
+ 451
]
}
],
@@ -319,30 +319,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 447,
+ "id": 455,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 460,
+ "id": 468,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 494,
+ "id": 502,
"name": "AuthInvalidCredentialsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 495,
+ "id": 503,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -356,14 +356,14 @@
],
"signatures": [
{
- "id": 496,
+ "id": 504,
"name": "new AuthInvalidCredentialsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 497,
+ "id": 505,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -376,24 +376,24 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 502,
"name": "AuthInvalidCredentialsError"
},
"overwrites": {
"type": "reference",
- "id": 469,
+ "id": 477,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 476,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 498,
+ "id": 506,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -411,12 +411,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 481,
"name": "CustomAuthError.name"
}
},
{
- "id": 499,
+ "id": 507,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -434,12 +434,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 482,
"name": "CustomAuthError.status"
}
},
{
- "id": 500,
+ "id": 508,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -453,7 +453,7 @@
],
"signatures": [
{
- "id": 501,
+ "id": 509,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -461,14 +461,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 502,
+ "id": 510,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 504,
+ "id": 512,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -487,7 +487,7 @@
"defaultValue": "..."
},
{
- "id": 503,
+ "id": 511,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -506,7 +506,7 @@
"defaultValue": "..."
},
{
- "id": 505,
+ "id": 513,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -530,9 +530,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 504,
- 503,
- 505
+ 512,
+ 511,
+ 513
]
}
]
@@ -540,14 +540,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 476,
+ "id": 484,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 483,
"name": "CustomAuthError.toJSON"
}
}
@@ -557,22 +557,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 495
+ 503
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 498,
- 499
+ 506,
+ 507
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 500
+ 508
]
}
],
@@ -586,20 +586,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 507,
+ "id": 515,
"name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 508,
+ "id": 516,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -613,14 +613,14 @@
],
"signatures": [
{
- "id": 509,
+ "id": 517,
"name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 510,
+ "id": 518,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -631,7 +631,7 @@
}
},
{
- "id": 511,
+ "id": 519,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -644,24 +644,24 @@
],
"type": {
"type": "reference",
- "id": 507,
+ "id": 515,
"name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 469,
+ "id": 477,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 476,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 512,
+ "id": 520,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -679,12 +679,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 481,
"name": "CustomAuthError.name"
}
},
{
- "id": 513,
+ "id": 521,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -702,12 +702,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 482,
"name": "CustomAuthError.status"
}
},
{
- "id": 514,
+ "id": 522,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -721,7 +721,7 @@
],
"signatures": [
{
- "id": 515,
+ "id": 523,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -729,14 +729,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 516,
+ "id": 524,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 518,
+ "id": 526,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -755,7 +755,7 @@
"defaultValue": "..."
},
{
- "id": 517,
+ "id": 525,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -774,7 +774,7 @@
"defaultValue": "..."
},
{
- "id": 519,
+ "id": 527,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -798,9 +798,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 518,
- 517,
- 519
+ 526,
+ 525,
+ 527
]
}
]
@@ -808,14 +808,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 476,
+ "id": 484,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 483,
"name": "CustomAuthError.toJSON"
}
}
@@ -825,22 +825,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 508
+ 516
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 512,
- 513
+ 520,
+ 521
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 514
+ 522
]
}
],
@@ -854,20 +854,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 482,
+ "id": 490,
"name": "AuthSessionMissingError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 483,
+ "id": 491,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -881,31 +881,31 @@
],
"signatures": [
{
- "id": 484,
+ "id": 492,
"name": "new AuthSessionMissingError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 482,
+ "id": 490,
"name": "AuthSessionMissingError"
},
"overwrites": {
"type": "reference",
- "id": 469,
+ "id": 477,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 476,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 485,
+ "id": 493,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -923,12 +923,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 481,
"name": "CustomAuthError.name"
}
},
{
- "id": 486,
+ "id": 494,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -946,12 +946,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 482,
"name": "CustomAuthError.status"
}
},
{
- "id": 487,
+ "id": 495,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -965,7 +965,7 @@
],
"signatures": [
{
- "id": 488,
+ "id": 496,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -973,14 +973,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 489,
+ "id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 491,
+ "id": 499,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -999,7 +999,7 @@
"defaultValue": "..."
},
{
- "id": 490,
+ "id": 498,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1018,7 +1018,7 @@
"defaultValue": "..."
},
{
- "id": 492,
+ "id": 500,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1042,9 +1042,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 491,
- 490,
- 492
+ 499,
+ 498,
+ 500
]
}
]
@@ -1052,14 +1052,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 476,
+ "id": 484,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 483,
"name": "CustomAuthError.toJSON"
}
}
@@ -1069,22 +1069,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 483
+ 491
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 485,
- 486
+ 493,
+ 494
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 487
+ 495
]
}
],
@@ -1098,20 +1098,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
}
]
},
{
- "id": 460,
+ "id": 468,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 461,
+ "id": 469,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1125,14 +1125,14 @@
],
"signatures": [
{
- "id": 462,
+ "id": 470,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 463,
+ "id": 471,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1143,7 +1143,7 @@
}
},
{
- "id": 464,
+ "id": 472,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1156,24 +1156,24 @@
],
"type": {
"type": "reference",
- "id": 460,
+ "id": 468,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "AuthError.constructor"
}
},
{
- "id": 465,
+ "id": 473,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1196,14 +1196,14 @@
"title": "Constructors",
"kind": 512,
"children": [
- 461
+ 469
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 465
+ 473
]
}
],
@@ -1217,20 +1217,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
},
{
- "id": 467,
+ "id": 475,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 468,
+ "id": 476,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1244,14 +1244,14 @@
],
"signatures": [
{
- "id": 469,
+ "id": 477,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 470,
+ "id": 478,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1262,7 +1262,7 @@
}
},
{
- "id": 471,
+ "id": 479,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -1273,7 +1273,7 @@
}
},
{
- "id": 472,
+ "id": 480,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -1286,24 +1286,24 @@
],
"type": {
"type": "reference",
- "id": 467,
+ "id": 475,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "AuthError.constructor"
}
},
{
- "id": 473,
+ "id": 481,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1325,7 +1325,7 @@
}
},
{
- "id": 474,
+ "id": 482,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1343,7 +1343,7 @@
}
},
{
- "id": 475,
+ "id": 483,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1357,7 +1357,7 @@
],
"signatures": [
{
- "id": 476,
+ "id": 484,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1365,14 +1365,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 485,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 479,
+ "id": 487,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1391,7 +1391,7 @@
"defaultValue": "..."
},
{
- "id": 478,
+ "id": 486,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1410,7 +1410,7 @@
"defaultValue": "..."
},
{
- "id": 480,
+ "id": 488,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1434,9 +1434,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 479,
- 478,
- 480
+ 487,
+ 486,
+ 488
]
}
]
@@ -1451,22 +1451,22 @@
"title": "Constructors",
"kind": 512,
"children": [
- 468
+ 476
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 473,
- 474
+ 481,
+ 482
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 475
+ 483
]
}
],
@@ -1480,24 +1480,24 @@
"extendedTypes": [
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 482,
+ "id": 490,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 494,
+ "id": 502,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 507,
+ "id": 515,
"name": "AuthRetryableFetchError"
}
]
@@ -1758,17 +1758,17 @@
"flags": {},
"type": {
"type": "reference",
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 357,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -1792,7 +1792,7 @@
}
},
{
- "id": 369,
+ "id": 364,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1815,12 +1815,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 359,
+ "id": 354,
"name": "UserAttributes.data"
}
},
{
- "id": 365,
+ "id": 360,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -1843,12 +1843,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 355,
+ "id": 350,
"name": "UserAttributes.email"
}
},
{
- "id": 368,
+ "id": 363,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -1871,12 +1871,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 358,
+ "id": 353,
"name": "UserAttributes.email_change_token"
}
},
{
- "id": 363,
+ "id": 358,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -1900,7 +1900,7 @@
}
},
{
- "id": 367,
+ "id": 362,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -1923,12 +1923,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 357,
+ "id": 352,
"name": "UserAttributes.password"
}
},
{
- "id": 366,
+ "id": 361,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -1951,12 +1951,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 356,
+ "id": 351,
"name": "UserAttributes.phone"
}
},
{
- "id": 364,
+ "id": 359,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -1980,7 +1980,7 @@
}
},
{
- "id": 361,
+ "id": 356,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -2009,15 +2009,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 362,
- 369,
- 365,
- 368,
- 363,
- 367,
- 366,
+ 357,
364,
- 361
+ 360,
+ 363,
+ 358,
+ 362,
+ 361,
+ 359,
+ 356
]
}
],
@@ -2031,7 +2031,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 354,
+ "id": 349,
"name": "UserAttributes"
}
]
@@ -2044,7 +2044,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -2099,7 +2099,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -2142,11 +2142,11 @@
"flags": {},
"type": {
"type": "reference",
- "id": 430,
- "name": "GenerateLinkTypes",
+ "id": 438,
+ "name": "GenerateLinkType",
"dereferenced": {
- "id": 430,
- "name": "GenerateLinkTypes",
+ "id": 438,
+ "name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
@@ -2156,7 +2156,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 301,
+ "line": 327,
"character": 12
}
],
@@ -2337,7 +2337,7 @@
],
"type": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
},
@@ -2396,7 +2396,7 @@
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
},
@@ -2473,7 +2473,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -2544,7 +2544,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -2675,7 +2675,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -2764,7 +2764,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
}
@@ -2889,7 +2889,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -2989,7 +2989,7 @@
},
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
@@ -3061,17 +3061,17 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 357,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -3095,7 +3095,7 @@
}
},
{
- "id": 369,
+ "id": 364,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3118,12 +3118,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 359,
+ "id": 354,
"name": "UserAttributes.data"
}
},
{
- "id": 365,
+ "id": 360,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3146,12 +3146,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 355,
+ "id": 350,
"name": "UserAttributes.email"
}
},
{
- "id": 368,
+ "id": 363,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -3174,12 +3174,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 358,
+ "id": 353,
"name": "UserAttributes.email_change_token"
}
},
{
- "id": 363,
+ "id": 358,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -3203,7 +3203,7 @@
}
},
{
- "id": 367,
+ "id": 362,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -3226,12 +3226,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 357,
+ "id": 352,
"name": "UserAttributes.password"
}
},
{
- "id": 366,
+ "id": 361,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -3254,12 +3254,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 356,
+ "id": 351,
"name": "UserAttributes.phone"
}
},
{
- "id": 364,
+ "id": 359,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -3283,7 +3283,7 @@
}
},
{
- "id": 361,
+ "id": 356,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -3312,15 +3312,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 362,
- 369,
- 365,
- 368,
- 363,
- 367,
- 366,
+ 357,
364,
- 361
+ 360,
+ 363,
+ 358,
+ 362,
+ 361,
+ 359,
+ 356
]
}
],
@@ -3334,7 +3334,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 354,
+ "id": 349,
"name": "UserAttributes"
}
]
@@ -3347,7 +3347,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -3825,7 +3825,7 @@
}
},
{
- "id": 146,
+ "id": 141,
"name": "getSession",
"kind": 2048,
"kindString": "Method",
@@ -3833,13 +3833,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 368,
+ "line": 362,
"character": 8
}
],
"signatures": [
{
- "id": 147,
+ "id": 142,
"name": "getSession",
"kind": 4096,
"kindString": "Call signature",
@@ -3856,14 +3856,14 @@
{
"type": "reflection",
"declaration": {
- "id": 148,
+ "id": 143,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 149,
+ "id": 144,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3871,21 +3871,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 370,
+ "line": 364,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 150,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 151,
+ "id": 146,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -3893,13 +3893,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 371,
+ "line": 365,
"character": 10
}
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
}
@@ -3909,7 +3909,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 151
+ 146
]
}
]
@@ -3917,7 +3917,7 @@
}
},
{
- "id": 152,
+ "id": 147,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3925,7 +3925,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 373,
+ "line": 367,
"character": 8
}
],
@@ -3940,8 +3940,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 149,
- 152
+ 144,
+ 147
]
}
]
@@ -3950,14 +3950,14 @@
{
"type": "reflection",
"declaration": {
- "id": 153,
+ "id": 148,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 154,
+ "id": 149,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3965,21 +3965,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 376,
+ "line": 370,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 155,
+ "id": 150,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 156,
+ "id": 151,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -3987,7 +3987,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 377,
+ "line": 371,
"character": 10
}
],
@@ -4002,7 +4002,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 156
+ 151
]
}
]
@@ -4010,7 +4010,7 @@
}
},
{
- "id": 157,
+ "id": 152,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4018,13 +4018,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 379,
+ "line": 373,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -4034,8 +4034,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 154,
- 157
+ 149,
+ 152
]
}
]
@@ -4044,14 +4044,14 @@
{
"type": "reflection",
"declaration": {
- "id": 158,
+ "id": 153,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 159,
+ "id": 154,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4059,21 +4059,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 382,
+ "line": 376,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 160,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 161,
+ "id": 156,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -4081,7 +4081,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 383,
+ "line": 377,
"character": 10
}
],
@@ -4096,7 +4096,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 161
+ 156
]
}
]
@@ -4104,7 +4104,7 @@
}
},
{
- "id": 162,
+ "id": 157,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4112,7 +4112,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 385,
+ "line": 379,
"character": 8
}
],
@@ -4127,8 +4127,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 159,
- 162
+ 154,
+ 157
]
}
]
@@ -4145,7 +4145,7 @@
]
},
{
- "id": 163,
+ "id": 158,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -4153,13 +4153,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 425,
+ "line": 419,
"character": 8
}
],
"signatures": [
{
- "id": 164,
+ "id": 159,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -4169,7 +4169,7 @@
},
"parameters": [
{
- "id": 165,
+ "id": 160,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -4190,7 +4190,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -4202,7 +4202,7 @@
]
},
{
- "id": 184,
+ "id": 179,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -4210,13 +4210,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 599,
+ "line": 593,
"character": 2
}
],
"signatures": [
{
- "id": 185,
+ "id": 180,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -4227,7 +4227,7 @@
},
"parameters": [
{
- "id": 186,
+ "id": 181,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -4238,33 +4238,33 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 187,
+ "id": 182,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 188,
+ "id": 183,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 189,
+ "id": 184,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent"
}
},
{
- "id": 190,
+ "id": 185,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -4278,7 +4278,7 @@
},
{
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
]
@@ -4301,14 +4301,14 @@
{
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 186,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 193,
+ "id": 188,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4316,7 +4316,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 602,
+ "line": 596,
"character": 8
}
],
@@ -4326,7 +4326,7 @@
}
},
{
- "id": 192,
+ "id": 187,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -4334,13 +4334,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 601,
+ "line": 595,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 365,
"name": "Subscription"
}
}
@@ -4350,8 +4350,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 193,
- 192
+ 188,
+ 187
]
}
]
@@ -4360,14 +4360,14 @@
{
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 189,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 196,
+ "id": 191,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4375,18 +4375,18 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 604,
+ "line": 598,
"character": 28
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
},
{
- "id": 195,
+ "id": 190,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -4394,7 +4394,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 604,
+ "line": 598,
"character": 8
}
],
@@ -4409,8 +4409,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 196,
- 195
+ 191,
+ 190
]
}
]
@@ -4422,7 +4422,7 @@
]
},
{
- "id": 197,
+ "id": 192,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -4430,13 +4430,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 631,
+ "line": 625,
"character": 8
}
],
"signatures": [
{
- "id": 198,
+ "id": 193,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -4446,7 +4446,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 194,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -4460,7 +4460,7 @@
}
},
{
- "id": 200,
+ "id": 195,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4468,14 +4468,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 196,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 203,
+ "id": 198,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -4488,7 +4488,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 635,
+ "line": 629,
"character": 6
}
],
@@ -4498,7 +4498,7 @@
}
},
{
- "id": 202,
+ "id": 197,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -4511,7 +4511,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 634,
+ "line": 628,
"character": 6
}
],
@@ -4526,8 +4526,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 203,
- 202
+ 198,
+ 197
]
}
]
@@ -4545,14 +4545,14 @@
{
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 199,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 205,
+ "id": 200,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4560,14 +4560,14 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 639,
+ "line": 633,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 201,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4576,7 +4576,7 @@
}
},
{
- "id": 207,
+ "id": 202,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4584,7 +4584,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 640,
+ "line": 634,
"character": 8
}
],
@@ -4599,8 +4599,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 205,
- 207
+ 200,
+ 202
]
}
]
@@ -4609,14 +4609,14 @@
{
"type": "reflection",
"declaration": {
- "id": 208,
+ "id": 203,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 209,
+ "id": 204,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4624,7 +4624,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 642,
+ "line": 636,
"character": 8
}
],
@@ -4634,7 +4634,7 @@
}
},
{
- "id": 210,
+ "id": 205,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4642,13 +4642,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 642,
+ "line": 636,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -4658,8 +4658,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 209,
- 210
+ 204,
+ 205
]
}
]
@@ -4676,7 +4676,7 @@
]
},
{
- "id": 169,
+ "id": 164,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -4684,13 +4684,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 488,
+ "line": 482,
"character": 8
}
],
"signatures": [
{
- "id": 170,
+ "id": 165,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4700,7 +4700,7 @@
},
"parameters": [
{
- "id": 171,
+ "id": 166,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -4719,7 +4719,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -4731,7 +4731,7 @@
]
},
{
- "id": 133,
+ "id": 128,
"name": "signInWithOAuth",
"kind": 2048,
"kindString": "Method",
@@ -4739,13 +4739,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 264,
+ "line": 258,
"character": 8
}
],
"signatures": [
{
- "id": 134,
+ "id": 129,
"name": "signInWithOAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -4755,17 +4755,17 @@
},
"parameters": [
{
- "id": 135,
+ "id": 130,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 406,
+ "id": 416,
"name": "SignInWithOAuthCredentials",
"dereferenced": {
- "id": 406,
+ "id": 416,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -4773,21 +4773,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 265,
+ "line": 292,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 417,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 409,
+ "id": 419,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -4797,18 +4797,148 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 268,
+ "line": 295,
"character": 2
}
],
"type": {
- "type": "reference",
- "id": 410,
- "name": "SignInWithOAuthOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 420,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 423,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object of query params"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 18
+ }
+ ],
+ "indexSignature": {
+ "id": 425,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 426,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 421,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 297,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 299,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 423,
+ 421,
+ 422
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 295,
+ "character": 12
+ }
+ ]
+ }
}
},
{
- "id": 408,
+ "id": 418,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -4819,13 +4949,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 267,
+ "line": 294,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 268,
+ "id": 263,
"name": "Provider"
}
}
@@ -4835,15 +4965,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 409,
- 408
+ 419,
+ 418
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 265,
+ "line": 292,
"character": 41
}
]
@@ -4858,7 +4988,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 283,
+ "id": 278,
"name": "OAuthResponse"
}
],
@@ -4870,7 +5000,7 @@
]
},
{
- "id": 136,
+ "id": 131,
"name": "signInWithOtp",
"kind": 2048,
"kindString": "Method",
@@ -4878,13 +5008,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 276,
+ "line": 270,
"character": 8
}
],
"signatures": [
{
- "id": 137,
+ "id": 132,
"name": "signInWithOtp",
"kind": 4096,
"kindString": "Call signature",
@@ -4894,17 +5024,17 @@
},
"parameters": [
{
- "id": 138,
+ "id": 133,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 395,
+ "id": 402,
"name": "SignInWithPasswordlessCredentials",
"dereferenced": {
- "id": 395,
+ "id": 402,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -4912,7 +5042,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 248,
+ "line": 268,
"character": 12
}
],
@@ -4922,14 +5052,14 @@
{
"type": "reflection",
"declaration": {
- "id": 396,
+ "id": 403,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 397,
+ "id": 404,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -4940,7 +5070,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 271,
"character": 6
}
],
@@ -4950,7 +5080,7 @@
}
},
{
- "id": 398,
+ "id": 405,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -4960,14 +5090,108 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 272,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 409,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 407,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 274,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 276,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 409,
+ 407,
+ 408
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 16
+ }
+ ]
+ }
}
}
],
@@ -4976,15 +5200,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 397,
- 398
+ 404,
+ 405
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 249,
+ "line": 269,
"character": 4
}
]
@@ -4993,14 +5217,14 @@
{
"type": "reflection",
"declaration": {
- "id": 399,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 401,
+ "id": 412,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -5010,18 +5234,88 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 284,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
- }
+ "type": "reflection",
+ "declaration": {
+ "id": 413,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 415,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 414,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 286,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 415,
+ 414
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 16
+ }
+ ]
+ }
+ }
},
{
- "id": 400,
+ "id": 411,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -5032,7 +5326,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 283,
"character": 6
}
],
@@ -5047,15 +5341,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 401,
- 400
+ 412,
+ 411
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 254,
+ "line": 281,
"character": 4
}
]
@@ -5072,7 +5366,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -5084,7 +5378,7 @@
]
},
{
- "id": 130,
+ "id": 125,
"name": "signInWithPassword",
"kind": 2048,
"kindString": "Method",
@@ -5092,13 +5386,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 216,
+ "line": 210,
"character": 8
}
],
"signatures": [
{
- "id": 131,
+ "id": 126,
"name": "signInWithPassword",
"kind": 4096,
"kindString": "Call signature",
@@ -5108,17 +5402,17 @@
},
"parameters": [
{
- "id": 132,
+ "id": 127,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 384,
+ "id": 389,
"name": "SignInWithPasswordCredentials",
"dereferenced": {
- "id": 384,
+ "id": 389,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -5126,7 +5420,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 246,
"character": 12
}
],
@@ -5136,14 +5430,14 @@
{
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 386,
+ "id": 391,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -5154,7 +5448,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 249,
"character": 6
}
],
@@ -5164,7 +5458,7 @@
}
},
{
- "id": 388,
+ "id": 393,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -5174,18 +5468,64 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 236,
+ "line": 252,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 394,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 395,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 254,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 395
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 252,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 387,
+ "id": 392,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -5196,7 +5536,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 235,
+ "line": 251,
"character": 6
}
],
@@ -5211,16 +5551,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 386,
- 388,
- 387
+ 391,
+ 393,
+ 392
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 231,
+ "line": 247,
"character": 4
}
]
@@ -5229,14 +5569,14 @@
{
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 392,
+ "id": 399,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -5246,18 +5586,64 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 262,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 400,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 264,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 401
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 262,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 391,
+ "id": 398,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -5268,7 +5654,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 261,
"character": 6
}
],
@@ -5278,7 +5664,7 @@
}
},
{
- "id": 390,
+ "id": 397,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -5289,7 +5675,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 259,
"character": 6
}
],
@@ -5304,16 +5690,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 392,
- 391,
- 390
+ 399,
+ 398,
+ 397
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 257,
"character": 4
}
]
@@ -5330,7 +5716,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -5342,7 +5728,7 @@
]
},
{
- "id": 180,
+ "id": 175,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -5350,13 +5736,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 579,
+ "line": 573,
"character": 8
}
],
"signatures": [
{
- "id": 181,
+ "id": 176,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -5371,14 +5757,14 @@
{
"type": "reflection",
"declaration": {
- "id": 182,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 183,
+ "id": 178,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5386,7 +5772,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 579,
+ "line": 573,
"character": 29
}
],
@@ -5399,7 +5785,7 @@
},
{
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
]
@@ -5411,7 +5797,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 183
+ 178
]
}
]
@@ -5434,7 +5820,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 151,
+ "line": 147,
"character": 8
}
],
@@ -5452,257 +5838,384 @@
"parameters": [
{
"id": 124,
- "name": "__namedParameters",
+ "name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 378,
- "name": "UserCredentials",
+ "id": 373,
+ "name": "SignUpWithPasswordCredentials",
"dereferenced": {
- "id": 378,
- "name": "UserCredentials",
- "kind": 256,
- "kindString": "Interface",
+ "id": 373,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
"flags": {},
- "children": [
- {
- "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": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 381,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "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": 223,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 383,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The name of the provider."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 228,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 268,
- "name": "Provider"
- }
- },
- {
- "id": 382,
- "name": "refreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 226,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 379,
- 381,
- 380,
- 383,
- 382
- ]
- }
- ],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 219,
- "character": 17
+ "character": 12
}
- ]
- }
- }
- },
- {
- "id": 125,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 126,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "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": 156,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 128,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional user metadata."
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 155,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 127,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The redirect URL attached to the signup confirmation link. Does not redirect the user if it's a mobile signup."
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 374,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 375,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 222,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 377,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 381,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 380,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 379,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 381,
+ 380,
+ 379
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 376,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 375,
+ 377,
+ 376
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 220,
+ "character": 4
+ }
+ ]
+ }
},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 154,
- "character": 6
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 382,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 385,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 239,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 386,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 388,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 387,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 241,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 388,
+ 387
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 239,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 384,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 238,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 383,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 236,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 385,
+ 384,
+ 383
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 234,
+ "character": 4
+ }
+ ]
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
}
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 129,
- 128,
- 127
- ]
- }
- ]
+ ]
+ }
}
- },
- "defaultValue": "{}"
+ }
}
],
"type": {
@@ -5710,7 +6223,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -5722,7 +6235,7 @@
]
},
{
- "id": 166,
+ "id": 161,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -5730,13 +6243,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 454,
+ "line": 448,
"character": 8
}
],
"signatures": [
{
- "id": 167,
+ "id": 162,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -5746,24 +6259,24 @@
},
"parameters": [
{
- "id": 168,
+ "id": 163,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 354,
+ "id": 349,
"name": "UserAttributes",
"dereferenced": {
- "id": 354,
+ "id": 349,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 359,
+ "id": 354,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5786,7 +6299,7 @@
}
},
{
- "id": 355,
+ "id": 350,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -5809,7 +6322,7 @@
}
},
{
- "id": 358,
+ "id": 353,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -5832,7 +6345,7 @@
}
},
{
- "id": 357,
+ "id": 352,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -5855,7 +6368,7 @@
}
},
{
- "id": 356,
+ "id": 351,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -5883,11 +6396,11 @@
"title": "Properties",
"kind": 1024,
"children": [
- 359,
- 355,
- 358,
- 357,
- 356
+ 354,
+ 350,
+ 353,
+ 352,
+ 351
]
}
],
@@ -5901,7 +6414,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes"
}
]
@@ -5914,7 +6427,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 296,
+ "id": 291,
"name": "UserResponse"
}
],
@@ -5926,7 +6439,7 @@
]
},
{
- "id": 139,
+ "id": 134,
"name": "verifyOtp",
"kind": 2048,
"kindString": "Method",
@@ -5934,13 +6447,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 319,
+ "line": 313,
"character": 8
}
],
"signatures": [
{
- "id": 140,
+ "id": 135,
"name": "verifyOtp",
"kind": 4096,
"kindString": "Call signature",
@@ -5950,17 +6463,17 @@
},
"parameters": [
{
- "id": 141,
+ "id": 136,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 417,
+ "id": 427,
"name": "VerifyOtpParams",
"dereferenced": {
- "id": 417,
+ "id": 427,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -5968,7 +6481,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 279,
+ "line": 305,
"character": 12
}
],
@@ -5977,12 +6490,12 @@
"types": [
{
"type": "reference",
- "id": 418,
+ "id": 428,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 423,
+ "id": 432,
"name": "VerifyEmailOtpParams"
}
]
@@ -5991,7 +6504,7 @@
}
},
{
- "id": 142,
+ "id": 137,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5999,14 +6512,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 143,
+ "id": 138,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 145,
+ "id": 140,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -6019,7 +6532,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 323,
+ "line": 317,
"character": 6
}
],
@@ -6029,7 +6542,7 @@
}
},
{
- "id": 144,
+ "id": 139,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -6042,7 +6555,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 322,
+ "line": 316,
"character": 6
}
],
@@ -6057,8 +6570,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 145,
- 144
+ 140,
+ 139
]
}
]
@@ -6072,7 +6585,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 270,
+ "id": 265,
"name": "AuthResponse"
}
],
@@ -6103,18 +6616,18 @@
"title": "Methods",
"kind": 2048,
"children": [
- 146,
- 163,
- 184,
- 197,
- 169,
- 133,
- 136,
- 130,
- 180,
+ 141,
+ 158,
+ 179,
+ 192,
+ 164,
+ 128,
+ 131,
+ 125,
+ 175,
122,
- 166,
- 139
+ 161,
+ 134
]
}
],
@@ -6127,14 +6640,14 @@
]
},
{
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 357,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -6158,7 +6671,7 @@
}
},
{
- "id": 369,
+ "id": 364,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6181,12 +6694,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 359,
+ "id": 354,
"name": "UserAttributes.data"
}
},
{
- "id": 365,
+ "id": 360,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6209,12 +6722,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 355,
+ "id": 350,
"name": "UserAttributes.email"
}
},
{
- "id": 368,
+ "id": 363,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -6237,12 +6750,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 358,
+ "id": 353,
"name": "UserAttributes.email_change_token"
}
},
{
- "id": 363,
+ "id": 358,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -6266,7 +6779,7 @@
}
},
{
- "id": 367,
+ "id": 362,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -6289,12 +6802,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 357,
+ "id": 352,
"name": "UserAttributes.password"
}
},
{
- "id": 366,
+ "id": 361,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -6317,12 +6830,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 356,
+ "id": 351,
"name": "UserAttributes.phone"
}
},
{
- "id": 364,
+ "id": 359,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -6346,7 +6859,7 @@
}
},
{
- "id": 361,
+ "id": 356,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -6375,15 +6888,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 362,
- 369,
- 365,
- 368,
- 363,
- 367,
- 366,
+ 357,
364,
- 361
+ 360,
+ 363,
+ 358,
+ 362,
+ 361,
+ 359,
+ 356
]
}
],
@@ -6397,20 +6910,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 354,
+ "id": 349,
"name": "UserAttributes"
}
]
},
{
- "id": 307,
+ "id": 302,
"name": "Session",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 304,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -6431,7 +6944,7 @@
}
},
{
- "id": 312,
+ "id": 307,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -6454,7 +6967,7 @@
}
},
{
- "id": 311,
+ "id": 306,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -6475,7 +6988,7 @@
}
},
{
- "id": 308,
+ "id": 303,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -6504,7 +7017,7 @@
}
},
{
- "id": 310,
+ "id": 305,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -6525,7 +7038,7 @@
}
},
{
- "id": 313,
+ "id": 308,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -6543,7 +7056,7 @@
}
},
{
- "id": 314,
+ "id": 309,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -6557,7 +7070,7 @@
],
"type": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
}
@@ -6567,13 +7080,13 @@
"title": "Properties",
"kind": 1024,
"children": [
- 309,
- 312,
- 311,
+ 304,
+ 307,
+ 306,
+ 303,
+ 305,
308,
- 310,
- 313,
- 314
+ 309
]
}
],
@@ -6586,274 +7099,14 @@
]
},
{
- "id": 410,
- "name": "SignInWithOAuthOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "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": 276,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 414,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 415,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 416,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "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": 272,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "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": 274,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 413,
- 411,
- 412
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 270,
- "character": 17
- }
- ]
- },
- {
- "id": 393,
- "name": "SignInWithPasswordOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 394,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 246,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 394
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 245,
- "character": 17
- }
- ]
- },
- {
- "id": 402,
- "name": "SignInWithPasswordlessOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 405,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 263,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 403,
- "name": "emailRedirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The redirect url embedded in the email link"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 261,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 404,
- "name": "shouldCreateUser",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 262,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 405,
- 403,
- 404
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 259,
- "character": 17
- }
- ]
- },
- {
- "id": 370,
+ "id": 365,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 371,
+ "id": 366,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -6874,7 +7127,7 @@
}
},
{
- "id": 372,
+ "id": 367,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -6888,7 +7141,7 @@
],
"signatures": [
{
- "id": 373,
+ "id": 368,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -6898,17 +7151,17 @@
},
"parameters": [
{
- "id": 374,
+ "id": 369,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent",
"dereferenced": {
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -6953,7 +7206,7 @@
}
},
{
- "id": 375,
+ "id": 370,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -6967,7 +7220,7 @@
},
{
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
]
@@ -6982,7 +7235,7 @@
]
},
{
- "id": 376,
+ "id": 371,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -6996,7 +7249,7 @@
],
"signatures": [
{
- "id": 377,
+ "id": 372,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -7017,15 +7270,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 371
+ 366
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 372,
- 376
+ 367,
+ 371
]
}
],
@@ -7038,14 +7291,14 @@
]
},
{
- "id": 326,
+ "id": 321,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 343,
+ "id": 338,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -7065,7 +7318,7 @@
}
},
{
- "id": 328,
+ "id": 323,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -7080,14 +7333,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 329,
+ "id": 324,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 330,
+ "id": 325,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -7112,19 +7365,19 @@
"title": "Properties",
"kind": 1024,
"children": [
- 330
+ 325
]
}
],
"indexSignature": {
- "id": 331,
+ "id": 326,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 332,
+ "id": 327,
"name": "key",
"kind": 32768,
"flags": {},
@@ -7143,7 +7396,7 @@
}
},
{
- "id": 337,
+ "id": 332,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -7161,7 +7414,7 @@
}
},
{
- "id": 338,
+ "id": 333,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -7181,7 +7434,7 @@
}
},
{
- "id": 347,
+ "id": 342,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -7201,7 +7454,7 @@
}
},
{
- "id": 346,
+ "id": 341,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -7219,7 +7472,7 @@
}
},
{
- "id": 344,
+ "id": 339,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -7239,7 +7492,7 @@
}
},
{
- "id": 340,
+ "id": 335,
"name": "email_change_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -7259,7 +7512,7 @@
}
},
{
- "id": 348,
+ "id": 343,
"name": "email_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -7279,7 +7532,7 @@
}
},
{
- "id": 327,
+ "id": 322,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -7297,7 +7550,7 @@
}
},
{
- "id": 353,
+ "id": 348,
"name": "identities",
"kind": 1024,
"kindString": "Property",
@@ -7315,13 +7568,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 315,
+ "id": 310,
"name": "UserIdentity"
}
}
},
{
- "id": 342,
+ "id": 337,
"name": "invited_at",
"kind": 1024,
"kindString": "Property",
@@ -7341,7 +7594,7 @@
}
},
{
- "id": 350,
+ "id": 345,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -7361,7 +7614,7 @@
}
},
{
- "id": 341,
+ "id": 336,
"name": "new_email",
"kind": 1024,
"kindString": "Property",
@@ -7381,7 +7634,7 @@
}
},
{
- "id": 345,
+ "id": 340,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -7401,7 +7654,7 @@
}
},
{
- "id": 349,
+ "id": 344,
"name": "phone_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -7421,7 +7674,7 @@
}
},
{
- "id": 339,
+ "id": 334,
"name": "recovery_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -7441,7 +7694,7 @@
}
},
{
- "id": 351,
+ "id": 346,
"name": "role",
"kind": 1024,
"kindString": "Property",
@@ -7461,7 +7714,7 @@
}
},
{
- "id": 352,
+ "id": 347,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -7481,7 +7734,7 @@
}
},
{
- "id": 333,
+ "id": 328,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -7496,20 +7749,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 334,
+ "id": 329,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 335,
+ "id": 330,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 336,
+ "id": 331,
"name": "key",
"kind": 32768,
"flags": {},
@@ -7533,26 +7786,26 @@
"title": "Properties",
"kind": 1024,
"children": [
- 343,
- 328,
- 337,
338,
- 347,
- 346,
- 344,
- 340,
- 348,
- 327,
- 353,
+ 323,
+ 332,
+ 333,
342,
- 350,
341,
- 345,
- 349,
339,
- 351,
- 352,
- 333
+ 335,
+ 343,
+ 322,
+ 348,
+ 337,
+ 345,
+ 336,
+ 340,
+ 344,
+ 334,
+ 346,
+ 347,
+ 328
]
}
],
@@ -7565,14 +7818,14 @@
]
},
{
- "id": 354,
+ "id": 349,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 359,
+ "id": 354,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7595,7 +7848,7 @@
}
},
{
- "id": 355,
+ "id": 350,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -7618,7 +7871,7 @@
}
},
{
- "id": 358,
+ "id": 353,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -7641,7 +7894,7 @@
}
},
{
- "id": 357,
+ "id": 352,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -7664,7 +7917,7 @@
}
},
{
- "id": 356,
+ "id": 351,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -7692,11 +7945,11 @@
"title": "Properties",
"kind": 1024,
"children": [
- 359,
- 355,
- 358,
- 357,
- 356
+ 354,
+ 350,
+ 353,
+ 352,
+ 351
]
}
],
@@ -7710,162 +7963,20 @@
"extendedBy": [
{
"type": "reference",
- "id": 360,
+ "id": 355,
"name": "AdminUserAttributes"
}
]
},
{
- "id": 378,
- "name": "UserCredentials",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "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": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 381,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "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": 223,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 383,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The name of the provider."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 228,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 268,
- "name": "Provider"
- }
- },
- {
- "id": 382,
- "name": "refreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 226,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 379,
- 381,
- 380,
- 383,
- 382
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 219,
- "character": 17
- }
- ]
- },
- {
- "id": 315,
+ "id": 310,
"name": "UserIdentity",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 323,
+ "id": 318,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -7883,7 +7994,7 @@
}
},
{
- "id": 316,
+ "id": 311,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -7901,7 +8012,7 @@
}
},
{
- "id": 318,
+ "id": 313,
"name": "identity_data",
"kind": 1024,
"kindString": "Property",
@@ -7916,20 +8027,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 314,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 320,
+ "id": 315,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 321,
+ "id": 316,
"name": "key",
"kind": 32768,
"flags": {},
@@ -7948,7 +8059,7 @@
}
},
{
- "id": 324,
+ "id": 319,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -7966,7 +8077,7 @@
}
},
{
- "id": 322,
+ "id": 317,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -7984,7 +8095,7 @@
}
},
{
- "id": 325,
+ "id": 320,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -8004,7 +8115,7 @@
}
},
{
- "id": 317,
+ "id": 312,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -8027,13 +8138,13 @@
"title": "Properties",
"kind": 1024,
"children": [
- 323,
- 316,
318,
- 324,
- 322,
- 325,
- 317
+ 311,
+ 313,
+ 319,
+ 317,
+ 320,
+ 312
]
}
],
@@ -8046,60 +8157,46 @@
]
},
{
- "id": 423,
+ "id": 432,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 424,
+ "id": 433,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 291,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 425,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
+ "comment": {
+ "shortText": "The user's email address."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 292,
+ "line": 316,
"character": 2
}
],
"type": {
"type": "intrinsic",
- "name": "undefined"
+ "name": "string"
}
},
{
- "id": 426,
+ "id": 434,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The otp sent to the user's email address."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 293,
+ "line": 318,
"character": 2
}
],
@@ -8109,21 +8206,24 @@
}
},
{
- "id": 427,
+ "id": 435,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 294,
+ "line": 320,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 429,
+ "id": 437,
"name": "EmailOtpType"
}
}
@@ -8133,53 +8233,29 @@
"title": "Properties",
"kind": 1024,
"children": [
- 424,
- 425,
- 426,
- 427
+ 433,
+ 434,
+ 435
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 290,
+ "line": 314,
"character": 17
}
]
},
{
- "id": 418,
+ "id": 428,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "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": 282,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 420,
+ "id": 429,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -8190,7 +8266,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 284,
+ "line": 308,
"character": 2
}
],
@@ -8200,18 +8276,18 @@
}
},
{
- "id": 421,
+ "id": 430,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The user's password."
+ "shortText": "The otp sent to the user's phone number."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 310,
"character": 2
}
],
@@ -8221,7 +8297,7 @@
}
},
{
- "id": 422,
+ "id": 431,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8232,13 +8308,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 288,
+ "line": 312,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 428,
+ "id": 436,
"name": "MobileOtpType"
}
}
@@ -8248,23 +8324,22 @@
"title": "Properties",
"kind": 1024,
"children": [
- 419,
- 420,
- 421,
- 422
+ 429,
+ 430,
+ 431
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 280,
+ "line": 306,
"character": 17
}
]
},
{
- "id": 269,
+ "id": 264,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -8307,7 +8382,7 @@
}
},
{
- "id": 270,
+ "id": 265,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8325,14 +8400,14 @@
{
"type": "reflection",
"declaration": {
- "id": 271,
+ "id": 266,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 272,
+ "id": 267,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8347,14 +8422,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 275,
+ "id": 270,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -8371,7 +8446,7 @@
"types": [
{
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
},
{
@@ -8382,7 +8457,7 @@
}
},
{
- "id": 274,
+ "id": 269,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -8399,7 +8474,7 @@
"types": [
{
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
},
{
@@ -8415,8 +8490,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 275,
- 274
+ 270,
+ 269
]
}
],
@@ -8431,7 +8506,7 @@
}
},
{
- "id": 276,
+ "id": 271,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8454,8 +8529,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 272,
- 276
+ 267,
+ 271
]
}
],
@@ -8471,14 +8546,14 @@
{
"type": "reflection",
"declaration": {
- "id": 277,
+ "id": 272,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 278,
+ "id": 273,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8493,14 +8568,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 279,
+ "id": 274,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 281,
+ "id": 276,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -8518,7 +8593,7 @@
}
},
{
- "id": 280,
+ "id": 275,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -8541,8 +8616,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 281,
- 280
+ 276,
+ 275
]
}
],
@@ -8557,7 +8632,7 @@
}
},
{
- "id": 282,
+ "id": 277,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8571,7 +8646,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -8581,8 +8656,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 278,
- 282
+ 273,
+ 277
]
}
],
@@ -8599,7 +8674,7 @@
}
},
{
- "id": 432,
+ "id": 440,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -8607,7 +8682,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 320,
+ "line": 346,
"character": 12
}
],
@@ -8617,14 +8692,14 @@
{
"type": "reflection",
"declaration": {
- "id": 433,
+ "id": 441,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 435,
+ "id": 443,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8632,7 +8707,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 323,
+ "line": 349,
"character": 6
}
],
@@ -8642,7 +8717,7 @@
}
},
{
- "id": 434,
+ "id": 442,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -8650,13 +8725,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 348,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 302,
"name": "Session"
}
}
@@ -8666,15 +8741,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 435,
- 434
+ 443,
+ 442
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 347,
"character": 4
}
]
@@ -8683,14 +8758,14 @@
{
"type": "reflection",
"declaration": {
- "id": 436,
+ "id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 438,
+ "id": 446,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8698,18 +8773,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 353,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
},
{
- "id": 437,
+ "id": 445,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -8717,7 +8792,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 326,
+ "line": 352,
"character": 6
}
],
@@ -8732,15 +8807,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 438,
- 437
+ 446,
+ 445
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 351,
"character": 4
}
]
@@ -8750,7 +8825,7 @@
}
},
{
- "id": 429,
+ "id": 437,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -8758,7 +8833,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 324,
"character": 12
}
],
@@ -8789,8 +8864,8 @@
}
},
{
- "id": 430,
- "name": "GenerateLinkTypes",
+ "id": 438,
+ "name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
@@ -8800,7 +8875,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 301,
+ "line": 327,
"character": 12
}
],
@@ -8835,7 +8910,7 @@
}
},
{
- "id": 428,
+ "id": 436,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -8843,7 +8918,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 297,
+ "line": 323,
"character": 12
}
],
@@ -8862,7 +8937,7 @@
}
},
{
- "id": 283,
+ "id": 278,
"name": "OAuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8880,14 +8955,14 @@
{
"type": "reflection",
"declaration": {
- "id": 284,
+ "id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 285,
+ "id": 280,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8902,14 +8977,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 286,
+ "id": 281,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 287,
+ "id": 282,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -8923,12 +8998,12 @@
],
"type": {
"type": "reference",
- "id": 268,
+ "id": 263,
"name": "Provider"
}
},
{
- "id": 288,
+ "id": 283,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -8951,8 +9026,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 287,
- 288
+ 282,
+ 283
]
}
],
@@ -8967,7 +9042,7 @@
}
},
{
- "id": 289,
+ "id": 284,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8990,8 +9065,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 285,
- 289
+ 280,
+ 284
]
}
],
@@ -9007,14 +9082,14 @@
{
"type": "reflection",
"declaration": {
- "id": 290,
+ "id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 291,
+ "id": 286,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9029,14 +9104,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 287,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 293,
+ "id": 288,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -9050,12 +9125,12 @@
],
"type": {
"type": "reference",
- "id": 268,
+ "id": 263,
"name": "Provider"
}
},
{
- "id": 294,
+ "id": 289,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -9078,8 +9153,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 293,
- 294
+ 288,
+ 289
]
}
],
@@ -9094,7 +9169,7 @@
}
},
{
- "id": 295,
+ "id": 290,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9108,7 +9183,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -9118,8 +9193,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 291,
- 295
+ 286,
+ 290
]
}
],
@@ -9136,7 +9211,7 @@
}
},
{
- "id": 268,
+ "id": 263,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -9222,7 +9297,7 @@
}
},
{
- "id": 406,
+ "id": 416,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -9230,21 +9305,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 265,
+ "line": 292,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 417,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 409,
+ "id": 419,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9254,18 +9329,148 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 268,
+ "line": 295,
"character": 2
}
],
"type": {
- "type": "reference",
- "id": 410,
- "name": "SignInWithOAuthOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 420,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 423,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object of query params"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 18
+ }
+ ],
+ "indexSignature": {
+ "id": 425,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 426,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 421,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they are confirmed (OAuth logins only)."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 297,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 299,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 423,
+ 421,
+ 422
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 295,
+ "character": 12
+ }
+ ]
+ }
}
},
{
- "id": 408,
+ "id": 418,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -9276,13 +9481,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 267,
+ "line": 294,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 268,
+ "id": 263,
"name": "Provider"
}
}
@@ -9292,15 +9497,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 409,
- 408
+ 419,
+ 418
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 265,
+ "line": 292,
"character": 41
}
]
@@ -9308,7 +9513,7 @@
}
},
{
- "id": 384,
+ "id": 389,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -9316,7 +9521,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 246,
"character": 12
}
],
@@ -9326,14 +9531,14 @@
{
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 386,
+ "id": 391,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9344,7 +9549,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 249,
"character": 6
}
],
@@ -9354,7 +9559,7 @@
}
},
{
- "id": 388,
+ "id": 393,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9364,18 +9569,64 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 236,
+ "line": 252,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 394,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 395,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 254,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 395
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 252,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 387,
+ "id": 392,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -9386,7 +9637,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 235,
+ "line": 251,
"character": 6
}
],
@@ -9401,16 +9652,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 386,
- 388,
- 387
+ 391,
+ 393,
+ 392
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 231,
+ "line": 247,
"character": 4
}
]
@@ -9419,14 +9670,14 @@
{
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 392,
+ "id": 399,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9436,18 +9687,64 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 262,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 393,
- "name": "SignInWithPasswordOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 400,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 264,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 401
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 262,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 391,
+ "id": 398,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -9458,17 +9755,343 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 261,
"character": 6
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 397,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 259,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 399,
+ 398,
+ 397
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 257,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 402,
+ "name": "SignInWithPasswordlessCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 268,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 403,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 404,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 271,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 405,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 409,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 407,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 274,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 276,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 409,
+ 407,
+ 408
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 404,
+ 405
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 269,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 410,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 412,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 413,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 415,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 414,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to false, this method will not create a new user. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 286,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 415,
+ 414
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 16
+ }
+ ]
+ }
}
},
{
- "id": 390,
+ "id": 411,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -9479,7 +10102,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 283,
"character": 6
}
],
@@ -9494,16 +10117,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 392,
- 391,
- 390
+ 412,
+ 411
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 281,
"character": 4
}
]
@@ -9513,15 +10135,15 @@
}
},
{
- "id": 395,
- "name": "SignInWithPasswordlessCredentials",
+ "id": 373,
+ "name": "SignUpWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 248,
+ "line": 219,
"character": 12
}
],
@@ -9531,14 +10153,14 @@
{
"type": "reflection",
"declaration": {
- "id": 396,
+ "id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 397,
+ "id": 375,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9549,7 +10171,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 222,
"character": 6
}
],
@@ -9559,7 +10181,7 @@
}
},
{
- "id": 398,
+ "id": 377,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9569,14 +10191,129 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 225,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 381,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 380,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 379,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 381,
+ 380,
+ 379
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 376,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
}
],
@@ -9585,15 +10322,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 397,
- 398
+ 375,
+ 377,
+ 376
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 249,
+ "line": 220,
"character": 4
}
]
@@ -9602,14 +10340,14 @@
{
"type": "reflection",
"declaration": {
- "id": 399,
+ "id": 382,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 401,
+ "id": 385,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9619,18 +10357,109 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 239,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 402,
- "name": "SignInWithPasswordlessOptions"
+ "type": "reflection",
+ "declaration": {
+ "id": 386,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 388,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 387,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's metadata."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 241,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 388,
+ 387
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 239,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 384,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 238,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 400,
+ "id": 383,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -9641,7 +10470,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 236,
"character": 6
}
],
@@ -9656,15 +10485,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 401,
- 400
+ 385,
+ 384,
+ 383
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 254,
+ "line": 234,
"character": 4
}
]
@@ -9674,7 +10504,7 @@
}
},
{
- "id": 431,
+ "id": 439,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -9682,7 +10512,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 344,
"character": 12
}
],
@@ -9725,7 +10555,7 @@
}
},
{
- "id": 296,
+ "id": 291,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -9743,14 +10573,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 292,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 293,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9765,14 +10595,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 299,
+ "id": 294,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 300,
+ "id": 295,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9786,7 +10616,7 @@
],
"type": {
"type": "reference",
- "id": 326,
+ "id": 321,
"name": "User"
}
}
@@ -9796,7 +10626,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 300
+ 295
]
}
],
@@ -9811,7 +10641,7 @@
}
},
{
- "id": 301,
+ "id": 296,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9834,8 +10664,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 298,
- 301
+ 293,
+ 296
]
}
],
@@ -9851,14 +10681,14 @@
{
"type": "reflection",
"declaration": {
- "id": 302,
+ "id": 297,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 303,
+ "id": 298,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9873,14 +10703,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 299,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 305,
+ "id": 300,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9903,7 +10733,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 305
+ 300
]
}
],
@@ -9918,7 +10748,7 @@
}
},
{
- "id": 306,
+ "id": 301,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9932,7 +10762,7 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -9942,8 +10772,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 303,
- 306
+ 298,
+ 301
]
}
],
@@ -9960,7 +10790,7 @@
}
},
{
- "id": 417,
+ "id": 427,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9968,7 +10798,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 279,
+ "line": 305,
"character": 12
}
],
@@ -9977,19 +10807,19 @@
"types": [
{
"type": "reference",
- "id": 418,
+ "id": 428,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 423,
+ "id": 432,
"name": "VerifyEmailOtpParams"
}
]
}
},
{
- "id": 439,
+ "id": 447,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -10003,14 +10833,14 @@
],
"signatures": [
{
- "id": 440,
+ "id": 448,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 441,
+ "id": 449,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -10027,7 +10857,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "AuthError"
}
}
@@ -10040,13 +10870,13 @@
"title": "Classes",
"kind": 128,
"children": [
- 447,
- 442,
- 494,
- 507,
- 482,
- 460,
- 467,
+ 455,
+ 450,
+ 502,
+ 515,
+ 490,
+ 468,
+ 475,
1,
81
]
@@ -10055,45 +10885,42 @@
"title": "Interfaces",
"kind": 256,
"children": [
- 360,
- 307,
- 410,
- 393,
- 402,
- 370,
- 326,
- 354,
- 378,
- 315,
- 423,
- 418
+ 355,
+ 302,
+ 365,
+ 321,
+ 349,
+ 310,
+ 432,
+ 428
]
},
{
"title": "Type Aliases",
"kind": 4194304,
"children": [
- 269,
- 270,
- 432,
- 429,
- 430,
- 428,
- 283,
- 268,
- 406,
- 384,
- 395,
- 431,
- 296,
- 417
+ 264,
+ 265,
+ 440,
+ 437,
+ 438,
+ 436,
+ 278,
+ 263,
+ 416,
+ 389,
+ 402,
+ 373,
+ 439,
+ 291,
+ 427
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 439
+ 447
]
}
],