FunctionInvokeOptions
@@ -54,10 +54,7 @@ the name of the function to invoke
-object with the following properties
-`headers`: object representing the headers to send with the request
-`body`: the body of the request
-`responseType`: how the response should be parsed. The default is `json`
+No description provided.
diff --git a/apps/reference/_supabase_js/generated/removeallchannels.mdx b/apps/reference/_supabase_js/generated/removeallchannels.mdx
index ebdb1015b23..f8cdd6747fe 100644
--- a/apps/reference/_supabase_js/generated/removeallchannels.mdx
+++ b/apps/reference/_supabase_js/generated/removeallchannels.mdx
@@ -8,8 +8,7 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
-Closes and removes all channels and returns a list of removed
-channels and their errors.
+Unsubscribes and removes all Realtime channels from Realtime client.
```js
supabase.removeAllChannels()
diff --git a/apps/reference/_supabase_js/generated/removechannel.mdx b/apps/reference/_supabase_js/generated/removechannel.mdx
index e2111a9c8e1..694552a445b 100644
--- a/apps/reference/_supabase_js/generated/removechannel.mdx
+++ b/apps/reference/_supabase_js/generated/removechannel.mdx
@@ -8,7 +8,7 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
-Closes and removes a channel and returns the number of open channels.
+Unsubscribes and removes Realtime channel from Realtime client.
```js
supabase.removeChannel(mySubscription)
@@ -32,7 +32,7 @@ supabase.removeChannel(mySubscription)
-The channel you want to close and remove.
+The name of the Realtime channel.
diff --git a/apps/reference/_supabase_js/generated/storage-createbucket.mdx b/apps/reference/_supabase_js/generated/storage-createbucket.mdx
index 3cb009b5b72..b0924750fcb 100644
--- a/apps/reference/_supabase_js/generated/storage-createbucket.mdx
+++ b/apps/reference/_supabase_js/generated/storage-createbucket.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Creates a new Storage bucket
+
```js
const { data, error } = await supabase.storage.createBucket('avatars', {
public: false,
@@ -32,7 +34,7 @@ const { data, error } = await supabase.storage.createBucket('avatars', {
-No description provided.
+A unique identifier for the bucket you are creating.
diff --git a/apps/reference/_supabase_js/generated/storage-deletebucket.mdx b/apps/reference/_supabase_js/generated/storage-deletebucket.mdx
index f2611bac5ff..727bfe10e7a 100644
--- a/apps/reference/_supabase_js/generated/storage-deletebucket.mdx
+++ b/apps/reference/_supabase_js/generated/storage-deletebucket.mdx
@@ -8,6 +8,9 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.
+You must first `empty()` the bucket.
+
```js
const { data, error } = await supabase.storage.deleteBucket('avatars')
```
@@ -30,7 +33,7 @@ const { data, error } = await supabase.storage.deleteBucket('avatars')
-No description provided.
+The unique identifier of the bucket you would like to delete.
diff --git a/apps/reference/_supabase_js/generated/storage-emptybucket.mdx b/apps/reference/_supabase_js/generated/storage-emptybucket.mdx
index e2263447e79..38bae132b2d 100644
--- a/apps/reference/_supabase_js/generated/storage-emptybucket.mdx
+++ b/apps/reference/_supabase_js/generated/storage-emptybucket.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Removes all objects inside a single bucket.
+
```js
const { data, error } = await supabase.storage.emptyBucket('avatars')
```
@@ -30,7 +32,7 @@ const { data, error } = await supabase.storage.emptyBucket('avatars')
-No description provided.
+The unique identifier of the bucket you would like to empty.
diff --git a/apps/reference/_supabase_js/generated/storage-from-copy.mdx b/apps/reference/_supabase_js/generated/storage-from-copy.mdx
index a8601ca7a3d..3ed7733f453 100644
--- a/apps/reference/_supabase_js/generated/storage-from-copy.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-copy.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Copies an existing file.
+
```js
const { data, error } = await supabase.storage
.from('avatars')
@@ -32,7 +34,7 @@ const { data, error } = await supabase.storage
-No description provided.
+The original file path, including the current file name. For example `folder/image.png`.
@@ -52,7 +54,7 @@ No description provided.
-No description provided.
+The new file path, including the new file name. For example `folder/image-copy.png`.
diff --git a/apps/reference/_supabase_js/generated/storage-from-createsignedurl.mdx b/apps/reference/_supabase_js/generated/storage-from-createsignedurl.mdx
index 47bd12d799c..93438369bf0 100644
--- a/apps/reference/_supabase_js/generated/storage-from-createsignedurl.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-createsignedurl.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Create signed URL to download file without requiring permissions. This URL can be valid for a set number of seconds.
+
```js
const { signedURL, error } = await supabase.storage
.from('avatars')
@@ -32,7 +34,7 @@ const { signedURL, error } = await supabase.storage
-No description provided.
+The file path to be downloaded, including the current file name. For example `folder/image.png`.
@@ -52,7 +54,7 @@ No description provided.
-No description provided.
+The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.
diff --git a/apps/reference/_supabase_js/generated/storage-from-createsignedurls.mdx b/apps/reference/_supabase_js/generated/storage-from-createsignedurls.mdx
index 91139ab88e5..52940552a38 100644
--- a/apps/reference/_supabase_js/generated/storage-from-createsignedurls.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-createsignedurls.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds.
+
```js
const { data, error } = await supabase.storage
.from('avatars')
@@ -32,7 +34,7 @@ const { data, error } = await supabase.storage
-No description provided.
+The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`.
@@ -52,7 +54,7 @@ No description provided.
-No description provided.
+The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.
diff --git a/apps/reference/_supabase_js/generated/storage-from-download.mdx b/apps/reference/_supabase_js/generated/storage-from-download.mdx
index 8b460bcc8a3..2c6b8421720 100644
--- a/apps/reference/_supabase_js/generated/storage-from-download.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-download.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Downloads a file.
+
```js
const { data, error } = await supabase.storage
.from('avatars')
@@ -32,7 +34,7 @@ const { data, error } = await supabase.storage
-No description provided.
+The file path to be downloaded, including the path and file name. For example `folder/image.png`.
diff --git a/apps/reference/_supabase_js/generated/storage-from-getpublicurl.mdx b/apps/reference/_supabase_js/generated/storage-from-getpublicurl.mdx
index bedc5337ce5..0d424656016 100644
--- a/apps/reference/_supabase_js/generated/storage-from-getpublicurl.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-getpublicurl.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Retrieve URLs for assets in public buckets and encapsulates it in a return object
+
```js
const { publicURL, error } = supabase.storage
.from('public-bucket')
@@ -32,7 +34,7 @@ const { publicURL, error } = supabase.storage
-No description provided.
+The file path to be downloaded, including the path and file name. For example `folder/image.png`.
diff --git a/apps/reference/_supabase_js/generated/storage-from-list.mdx b/apps/reference/_supabase_js/generated/storage-from-list.mdx
index 176ac6562c4..85f60c4ad31 100644
--- a/apps/reference/_supabase_js/generated/storage-from-list.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-list.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Lists all the files within a bucket.
+
```js
const { data, error } = await supabase.storage.from('avatars').list('folder', {
limit: 100,
@@ -34,7 +36,7 @@ const { data, error } = await supabase.storage.from('avatars').list('folder', {
-No description provided.
+The folder path.
@@ -54,7 +56,7 @@ No description provided.
-No description provided.
+Search options, including `limit`, `offset`, `sortBy`, and `search`.
@@ -74,7 +76,7 @@ No description provided.
-No description provided.
+Fetch parameters, currently only supports `signal`, which is an AbortController's signal
diff --git a/apps/reference/_supabase_js/generated/storage-from-move.mdx b/apps/reference/_supabase_js/generated/storage-from-move.mdx
index 56055875966..0d9e12fcee5 100644
--- a/apps/reference/_supabase_js/generated/storage-from-move.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-move.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Moves an existing file.
+
```js
const { data, error } = await supabase.storage
.from('avatars')
@@ -32,7 +34,7 @@ const { data, error } = await supabase.storage
-No description provided.
+The original file path, including the current file name. For example `folder/image.png`.
@@ -52,7 +54,7 @@ No description provided.
-No description provided.
+The new file path, including the new file name. For example `folder/image-new.png`.
diff --git a/apps/reference/_supabase_js/generated/storage-from-remove.mdx b/apps/reference/_supabase_js/generated/storage-from-remove.mdx
index 76ef72b4fba..711e55baac7 100644
--- a/apps/reference/_supabase_js/generated/storage-from-remove.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-remove.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Deletes files within the same bucket
+
```js
const { data, error } = await supabase.storage
.from('avatars')
@@ -32,7 +34,7 @@ const { data, error } = await supabase.storage
-No description provided.
+An array of files to be deleted, including the path and file name. For example [`folder/image.png`].
diff --git a/apps/reference/_supabase_js/generated/storage-from-update.mdx b/apps/reference/_supabase_js/generated/storage-from-update.mdx
index 477f7d22895..83ac6e727ce 100644
--- a/apps/reference/_supabase_js/generated/storage-from-update.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-update.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Replaces an existing file at the specified path with a new one.
+
```js
const avatarFile = event.target.files[0]
const { data, error } = await supabase.storage
@@ -36,7 +38,7 @@ const { data, error } = await supabase.storage
-No description provided.
+The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.
@@ -56,7 +58,7 @@ No description provided.
-No description provided.
+The body of the file to be stored in the bucket.
@@ -76,7 +78,10 @@ No description provided.
-No description provided.
+HTTP headers.
+`cacheControl`: string, the `Cache-Control: max-age=` seconds value.
+`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.
+`upsert`: boolean, whether to perform an upsert.
diff --git a/apps/reference/_supabase_js/generated/storage-from-upload.mdx b/apps/reference/_supabase_js/generated/storage-from-upload.mdx
index 8cc1741b96f..920079a8d2d 100644
--- a/apps/reference/_supabase_js/generated/storage-from-upload.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-upload.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Uploads a file to an existing bucket.
+
```js
const avatarFile = event.target.files[0]
const { data, error } = await supabase.storage
@@ -36,7 +38,7 @@ const { data, error } = await supabase.storage
-No description provided.
+The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.
@@ -56,7 +58,7 @@ No description provided.
-No description provided.
+The body of the file to be stored in the bucket.
@@ -76,7 +78,10 @@ No description provided.
-No description provided.
+HTTP headers.
+`cacheControl`: string, the `Cache-Control: max-age=` seconds value.
+`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.
+`upsert`: boolean, whether to perform an upsert.
diff --git a/apps/reference/_supabase_js/generated/storage-getbucket.mdx b/apps/reference/_supabase_js/generated/storage-getbucket.mdx
index 718bf676da7..ebe75a13646 100644
--- a/apps/reference/_supabase_js/generated/storage-getbucket.mdx
+++ b/apps/reference/_supabase_js/generated/storage-getbucket.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Retrieves the details of an existing Storage bucket.
+
```js
const { data, error } = await supabase.storage.getBucket('avatars')
```
@@ -30,7 +32,7 @@ const { data, error } = await supabase.storage.getBucket('avatars')
-No description provided.
+The unique identifier of the bucket you would like to retrieve.
diff --git a/apps/reference/_supabase_js/generated/storage-listbuckets.mdx b/apps/reference/_supabase_js/generated/storage-listbuckets.mdx
index ffb575feb9a..14a13330e99 100644
--- a/apps/reference/_supabase_js/generated/storage-listbuckets.mdx
+++ b/apps/reference/_supabase_js/generated/storage-listbuckets.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Retrieves the details of all Storage buckets within an existing project.
+
```js
const { data, error } = await supabase.storage.listBuckets()
```
diff --git a/apps/reference/_supabase_js/generated/storage-updatebucket.mdx b/apps/reference/_supabase_js/generated/storage-updatebucket.mdx
index 6468d0f4ec2..b985bde5baf 100644
--- a/apps/reference/_supabase_js/generated/storage-updatebucket.mdx
+++ b/apps/reference/_supabase_js/generated/storage-updatebucket.mdx
@@ -8,6 +8,8 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+Updates a new Storage bucket
+
```js
const { data, error } = await supabase.storage.updateBucket('avatars', {
public: false,
@@ -32,7 +34,7 @@ const { data, error } = await supabase.storage.updateBucket('avatars', {
-No description provided.
+A unique identifier for the bucket you are updating.
diff --git a/apps/reference/_supabase_js/generated/subscribe.mdx b/apps/reference/_supabase_js/generated/subscribe.mdx
index 76f49eb696c..e53ecfccc36 100644
--- a/apps/reference/_supabase_js/generated/subscribe.mdx
+++ b/apps/reference/_supabase_js/generated/subscribe.mdx
@@ -8,8 +8,6 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
-The event you want to listen to.
-
```js
const mySubscription = supabase
.from('*')
@@ -26,7 +24,7 @@ const mySubscription = supabase
- event
+ type
required
@@ -37,7 +35,7 @@ const mySubscription = supabase
-The event
+No description provided.
@@ -48,16 +46,16 @@ The event
filter
-
- optional
+
+ required
- Record
+ object
-An object that specifies what you want to listen to from the event.
+No description provided.
@@ -68,16 +66,16 @@ An object that specifies what you want to listen to from the event.
callback
-
- optional
+
+ required
- object
+ Function
-A callback function that is called whenever the event occurs.
+No description provided.
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index 6a66796c40f..130538ec9ad 100644
--- a/spec/enrichments/tsdoc_v2/combined.json
+++ b/spec/enrichments/tsdoc_v2/combined.json
@@ -16,15 +16,15 @@
"flags": {},
"children": [
{
- "id": 823,
+ "id": 747,
"name": "Session",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
- "target": 203
+ "target": 141
},
{
- "id": 335,
+ "id": 255,
"name": "SupabaseClientOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -36,33 +36,18 @@
"character": 14
}
],
- "target": 133
+ "target": 79
},
{
- "id": 336,
- "name": "SupabaseRealtimePayload",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 14,
- "character": 37
- }
- ],
- "target": 150
- },
- {
- "id": 835,
+ "id": 759,
"name": "User",
"kind": 16777216,
"kindString": "Reference",
"flags": {},
- "target": 175
+ "target": 113
},
{
- "id": 1194,
+ "id": 1360,
"name": "Transformers",
"kind": 4,
"kindString": "Namespace",
@@ -71,7 +56,7 @@
},
"children": [
{
- "id": 1195,
+ "id": 1361,
"name": "PostgresTypes",
"kind": 8,
"kindString": "Enumeration",
@@ -83,10 +68,10 @@
},
"children": [
{
- "id": 1196,
+ "id": 1362,
"name": "abstime",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -97,13 +82,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "abstime"
+ },
"defaultValue": "\"abstime\""
},
{
- "id": 1197,
+ "id": 1363,
"name": "bool",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -114,13 +103,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "bool"
+ },
"defaultValue": "\"bool\""
},
{
- "id": 1198,
+ "id": 1364,
"name": "date",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -131,13 +124,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "date"
+ },
"defaultValue": "\"date\""
},
{
- "id": 1199,
+ "id": 1365,
"name": "daterange",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -148,13 +145,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "daterange"
+ },
"defaultValue": "\"daterange\""
},
{
- "id": 1200,
+ "id": 1366,
"name": "float4",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -165,13 +166,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "float4"
+ },
"defaultValue": "\"float4\""
},
{
- "id": 1201,
+ "id": 1367,
"name": "float8",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -182,13 +187,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "float8"
+ },
"defaultValue": "\"float8\""
},
{
- "id": 1202,
+ "id": 1368,
"name": "int2",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -199,13 +208,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "int2"
+ },
"defaultValue": "\"int2\""
},
{
- "id": 1203,
+ "id": 1369,
"name": "int4",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -216,13 +229,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "int4"
+ },
"defaultValue": "\"int4\""
},
{
- "id": 1204,
+ "id": 1370,
"name": "int4range",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -233,13 +250,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "int4range"
+ },
"defaultValue": "\"int4range\""
},
{
- "id": 1205,
+ "id": 1371,
"name": "int8",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -250,13 +271,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "int8"
+ },
"defaultValue": "\"int8\""
},
{
- "id": 1206,
+ "id": 1372,
"name": "int8range",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -267,13 +292,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "int8range"
+ },
"defaultValue": "\"int8range\""
},
{
- "id": 1207,
+ "id": 1373,
"name": "json",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -284,13 +313,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "json"
+ },
"defaultValue": "\"json\""
},
{
- "id": 1208,
+ "id": 1374,
"name": "jsonb",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -301,13 +334,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "jsonb"
+ },
"defaultValue": "\"jsonb\""
},
{
- "id": 1209,
+ "id": 1375,
"name": "money",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -318,13 +355,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "money"
+ },
"defaultValue": "\"money\""
},
{
- "id": 1210,
+ "id": 1376,
"name": "numeric",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -335,13 +376,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "numeric"
+ },
"defaultValue": "\"numeric\""
},
{
- "id": 1211,
+ "id": 1377,
"name": "oid",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -352,13 +397,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "oid"
+ },
"defaultValue": "\"oid\""
},
{
- "id": 1212,
+ "id": 1378,
"name": "reltime",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -369,13 +418,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "reltime"
+ },
"defaultValue": "\"reltime\""
},
{
- "id": 1213,
+ "id": 1379,
"name": "text",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -386,13 +439,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "text"
+ },
"defaultValue": "\"text\""
},
{
- "id": 1214,
+ "id": 1380,
"name": "time",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -403,13 +460,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "time"
+ },
"defaultValue": "\"time\""
},
{
- "id": 1215,
+ "id": 1381,
"name": "timestamp",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -420,13 +481,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "timestamp"
+ },
"defaultValue": "\"timestamp\""
},
{
- "id": 1216,
+ "id": 1382,
"name": "timestamptz",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -437,13 +502,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "timestamptz"
+ },
"defaultValue": "\"timestamptz\""
},
{
- "id": 1217,
+ "id": 1383,
"name": "timetz",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -454,13 +523,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "timetz"
+ },
"defaultValue": "\"timetz\""
},
{
- "id": 1218,
+ "id": 1384,
"name": "tsrange",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -471,13 +544,17 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "tsrange"
+ },
"defaultValue": "\"tsrange\""
},
{
- "id": 1219,
+ "id": 1385,
"name": "tstzrange",
"kind": 16,
- "kindString": "Enumeration member",
+ "kindString": "Enumeration Member",
"flags": {
"isExternal": true
},
@@ -488,16 +565,42 @@
"character": 4
}
],
+ "type": {
+ "type": "literal",
+ "value": "tstzrange"
+ },
"defaultValue": "\"tstzrange\""
}
],
"groups": [
{
- "title": "Enumeration members",
+ "title": "Enumeration Members",
"kind": 16,
"children": [
- 1196, 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207,
- 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219
+ 1362,
+ 1363,
+ 1364,
+ 1365,
+ 1366,
+ 1367,
+ 1368,
+ 1369,
+ 1370,
+ 1371,
+ 1372,
+ 1373,
+ 1374,
+ 1375,
+ 1376,
+ 1377,
+ 1378,
+ 1379,
+ 1380,
+ 1381,
+ 1382,
+ 1383,
+ 1384,
+ 1385
]
}
],
@@ -510,7 +613,7 @@
]
},
{
- "id": 1233,
+ "id": 1399,
"name": "convertCell",
"kind": 64,
"kindString": "Function",
@@ -526,7 +629,7 @@
],
"signatures": [
{
- "id": 1234,
+ "id": 1400,
"name": "convertCell",
"kind": 4096,
"kindString": "Call signature",
@@ -552,7 +655,7 @@
},
"parameters": [
{
- "id": 1235,
+ "id": 1401,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -568,7 +671,7 @@
}
},
{
- "id": 1236,
+ "id": 1402,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -593,7 +696,7 @@
]
},
{
- "id": 1220,
+ "id": 1386,
"name": "convertChangeData",
"kind": 64,
"kindString": "Function",
@@ -609,7 +712,7 @@
],
"signatures": [
{
- "id": 1221,
+ "id": 1387,
"name": "convertChangeData",
"kind": 4096,
"kindString": "Call signature",
@@ -627,7 +730,7 @@
},
"parameters": [
{
- "id": 1222,
+ "id": 1388,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -642,7 +745,7 @@
}
},
{
- "id": 1223,
+ "id": 1389,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
@@ -658,7 +761,7 @@
}
},
{
- "id": 1224,
+ "id": 1390,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -672,7 +775,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1225,
+ "id": 1391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -681,7 +784,7 @@
},
"children": [
{
- "id": 1226,
+ "id": 1392,
"name": "skipTypes",
"kind": 1024,
"kindString": "Property",
@@ -712,7 +815,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [1226]
+ "children": [
+ 1392
+ ]
}
]
}
@@ -729,7 +834,7 @@
]
},
{
- "id": 1227,
+ "id": 1393,
"name": "convertColumn",
"kind": 64,
"kindString": "Function",
@@ -745,7 +850,7 @@
],
"signatures": [
{
- "id": 1228,
+ "id": 1394,
"name": "convertColumn",
"kind": 4096,
"kindString": "Call signature",
@@ -768,7 +873,7 @@
},
"parameters": [
{
- "id": 1229,
+ "id": 1395,
"name": "columnName",
"kind": 32768,
"kindString": "Parameter",
@@ -784,7 +889,7 @@
}
},
{
- "id": 1230,
+ "id": 1396,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -799,7 +904,7 @@
}
},
{
- "id": 1231,
+ "id": 1397,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
@@ -817,7 +922,7 @@
}
},
{
- "id": 1232,
+ "id": 1398,
"name": "skipTypes",
"kind": 32768,
"kindString": "Parameter",
@@ -846,7 +951,7 @@
]
},
{
- "id": 1246,
+ "id": 1412,
"name": "toArray",
"kind": 64,
"kindString": "Function",
@@ -862,7 +967,7 @@
],
"signatures": [
{
- "id": 1247,
+ "id": 1413,
"name": "toArray",
"kind": 4096,
"kindString": "Call signature",
@@ -888,7 +993,7 @@
},
"parameters": [
{
- "id": 1248,
+ "id": 1414,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -903,7 +1008,7 @@
}
},
{
- "id": 1249,
+ "id": 1415,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -926,7 +1031,7 @@
]
},
{
- "id": 1237,
+ "id": 1403,
"name": "toBoolean",
"kind": 64,
"kindString": "Function",
@@ -942,7 +1047,7 @@
],
"signatures": [
{
- "id": 1238,
+ "id": 1404,
"name": "toBoolean",
"kind": 4096,
"kindString": "Call signature",
@@ -951,7 +1056,7 @@
},
"parameters": [
{
- "id": 1239,
+ "id": 1405,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -976,7 +1081,7 @@
]
},
{
- "id": 1243,
+ "id": 1409,
"name": "toJson",
"kind": 64,
"kindString": "Function",
@@ -992,7 +1097,7 @@
],
"signatures": [
{
- "id": 1244,
+ "id": 1410,
"name": "toJson",
"kind": 4096,
"kindString": "Call signature",
@@ -1001,7 +1106,7 @@
},
"parameters": [
{
- "id": 1245,
+ "id": 1411,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1026,7 +1131,7 @@
]
},
{
- "id": 1240,
+ "id": 1406,
"name": "toNumber",
"kind": 64,
"kindString": "Function",
@@ -1042,7 +1147,7 @@
],
"signatures": [
{
- "id": 1241,
+ "id": 1407,
"name": "toNumber",
"kind": 4096,
"kindString": "Call signature",
@@ -1051,7 +1156,7 @@
},
"parameters": [
{
- "id": 1242,
+ "id": 1408,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1076,7 +1181,7 @@
]
},
{
- "id": 1250,
+ "id": 1416,
"name": "toTimestampString",
"kind": 64,
"kindString": "Function",
@@ -1092,7 +1197,7 @@
],
"signatures": [
{
- "id": 1251,
+ "id": 1417,
"name": "toTimestampString",
"kind": 4096,
"kindString": "Call signature",
@@ -1110,7 +1215,7 @@
},
"parameters": [
{
- "id": 1252,
+ "id": 1418,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1139,12 +1244,23 @@
{
"title": "Enumerations",
"kind": 8,
- "children": [1195]
+ "children": [
+ 1361
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [1233, 1220, 1227, 1246, 1237, 1243, 1240, 1250]
+ "children": [
+ 1399,
+ 1386,
+ 1393,
+ 1412,
+ 1403,
+ 1409,
+ 1406,
+ 1416
+ ]
}
],
"sources": [
@@ -1156,7 +1272,4163 @@
]
},
{
- "id": 337,
+ "id": 878,
+ "name": "AuthApiError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 889,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 8,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 890,
+ "name": "new AuthApiError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 891,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 892,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 878,
+ "qualifiedName": "AuthApiError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthApiError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 872,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 871,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 900,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 874,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 902,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 876,
+ "name": "AuthError.message"
+ }
+ },
+ {
+ "id": 901,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1022,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 875,
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 903,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 877,
+ "name": "AuthError.stack"
+ }
+ },
+ {
+ "id": 893,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 7,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 883,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 884,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 885,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 886,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 887,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 865,
+ "name": "AuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 888,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 870,
+ "name": "AuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 894,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 9,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 895,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 896,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 898,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 897,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 899,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 12,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 898,
+ 897,
+ 899
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 879,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 880,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 881,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 882,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 862,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 861,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 889
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 900,
+ 902,
+ 901,
+ 903,
+ 893,
+ 883,
+ 888
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 894,
+ 879
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 6,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 860,
+ "name": "AuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 871,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 3,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 872,
+ "name": "new AuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 873,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 874,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 876,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.message"
+ }
+ },
+ {
+ "id": 875,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1022,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.name"
+ }
+ },
+ {
+ "id": 877,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.stack"
+ }
+ },
+ {
+ "id": 865,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 866,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 867,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 868,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 869,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.prepareStackTrace"
+ }
+ },
+ {
+ "id": 870,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.stackTraceLimit"
+ }
+ },
+ {
+ "id": 861,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 862,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 863,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 864,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 871
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 874,
+ 876,
+ 875,
+ 877,
+ 865,
+ 870
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 861
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 1,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 878,
+ "name": "AuthApiError"
+ },
+ {
+ "type": "reference",
+ "id": 904,
+ "name": "AuthUnknownError"
+ },
+ {
+ "type": "reference",
+ "id": 924,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 951,
+ "name": "AuthEventMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 962,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 30,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 963,
+ "name": "new AuthEventMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 951,
+ "qualifiedName": "AuthEventMissingError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthEventMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 936,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 935,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 972,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 948,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 973,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 949,
+ "name": "CustomAuthError.message"
+ }
+ },
+ {
+ "id": 964,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 940,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 974,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 950,
+ "name": "CustomAuthError.stack"
+ }
+ },
+ {
+ "id": 965,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 941,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 956,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 957,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 958,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 959,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 960,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 929,
+ "name": "CustomAuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 961,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 934,
+ "name": "CustomAuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 966,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 967,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 968,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 970,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 969,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 971,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 970,
+ 969,
+ 971
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 943,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 942,
+ "name": "CustomAuthError.toJSON"
+ }
+ },
+ {
+ "id": 952,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 953,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 954,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 955,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 926,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 925,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 962
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 972,
+ 973,
+ 964,
+ 974,
+ 965,
+ 956,
+ 961
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 966,
+ 952
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 29,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1023,
+ "name": "AuthInvalidCredentialsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1034,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 39,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1035,
+ "name": "new AuthInvalidCredentialsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1036,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1023,
+ "qualifiedName": "AuthInvalidCredentialsError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthInvalidCredentialsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 936,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 935,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1045,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 948,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1046,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 949,
+ "name": "CustomAuthError.message"
+ }
+ },
+ {
+ "id": 1037,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 940,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1047,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 950,
+ "name": "CustomAuthError.stack"
+ }
+ },
+ {
+ "id": 1038,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 941,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1028,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1029,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 1030,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1031,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 1032,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 929,
+ "name": "CustomAuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 1033,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 934,
+ "name": "CustomAuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 1039,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1040,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1041,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1043,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1042,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1044,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1043,
+ 1042,
+ 1044
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 943,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 942,
+ "name": "CustomAuthError.toJSON"
+ }
+ },
+ {
+ "id": 1024,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 1025,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 1026,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 1027,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 926,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 925,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 1034
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1045,
+ 1046,
+ 1037,
+ 1047,
+ 1038,
+ 1028,
+ 1033
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 1039,
+ 1024
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 38,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 999,
+ "name": "AuthNoCookieError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1010,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1011,
+ "name": "new AuthNoCookieError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 999,
+ "qualifiedName": "AuthNoCookieError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthNoCookieError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 936,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 935,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1020,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 948,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1021,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 949,
+ "name": "CustomAuthError.message"
+ }
+ },
+ {
+ "id": 1012,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 940,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1022,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 950,
+ "name": "CustomAuthError.stack"
+ }
+ },
+ {
+ "id": 1013,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 941,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1004,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1005,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 1006,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1007,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 1008,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 929,
+ "name": "CustomAuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 1009,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 934,
+ "name": "CustomAuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 1014,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1015,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1016,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1018,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1017,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1019,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1018,
+ 1017,
+ 1019
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 943,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 942,
+ "name": "CustomAuthError.toJSON"
+ }
+ },
+ {
+ "id": 1000,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 1001,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 1002,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 1003,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 926,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 925,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 1010
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1020,
+ 1021,
+ 1012,
+ 1022,
+ 1013,
+ 1004,
+ 1009
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 1014,
+ 1000
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 35,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 975,
+ "name": "AuthSessionMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 986,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 33,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 987,
+ "name": "new AuthSessionMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 975,
+ "qualifiedName": "AuthSessionMissingError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthSessionMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 936,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 935,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 996,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 948,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 997,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 949,
+ "name": "CustomAuthError.message"
+ }
+ },
+ {
+ "id": 988,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 940,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 998,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 950,
+ "name": "CustomAuthError.stack"
+ }
+ },
+ {
+ "id": 989,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 941,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 980,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 981,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 982,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 983,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 984,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 929,
+ "name": "CustomAuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 985,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 934,
+ "name": "CustomAuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 990,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 991,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 992,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 994,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 993,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 995,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 994,
+ 993,
+ 995
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 943,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 942,
+ "name": "CustomAuthError.toJSON"
+ }
+ },
+ {
+ "id": 976,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 977,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 978,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 979,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 926,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 925,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 986
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 996,
+ 997,
+ 988,
+ 998,
+ 989,
+ 980,
+ 985
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 990,
+ 976
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 32,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 904,
+ "name": "AuthUnknownError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 915,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 916,
+ "name": "new AuthUnknownError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 917,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 918,
+ "name": "originalError",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 904,
+ "qualifiedName": "AuthUnknownError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthUnknownError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 872,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 871,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 920,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 874,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 922,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 876,
+ "name": "AuthError.message"
+ }
+ },
+ {
+ "id": 921,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1022,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 875,
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 919,
+ "name": "originalError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 16,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ },
+ {
+ "id": 923,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 877,
+ "name": "AuthError.stack"
+ }
+ },
+ {
+ "id": 909,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 910,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 911,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 912,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 913,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 865,
+ "name": "AuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 914,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 870,
+ "name": "AuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 905,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 906,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 907,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 908,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 862,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 861,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 915
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 920,
+ 922,
+ 921,
+ 919,
+ 923,
+ 909,
+ 914
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 905
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 15,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 924,
+ "name": "CustomAuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 935,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 22,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 936,
+ "name": "new CustomAuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 937,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 938,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 939,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 872,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 871,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 948,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 874,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 949,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 876,
+ "name": "AuthError.message"
+ }
+ },
+ {
+ "id": 940,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 875,
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 950,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 877,
+ "name": "AuthError.stack"
+ }
+ },
+ {
+ "id": 941,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 929,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 930,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 931,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 932,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 933,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 865,
+ "name": "AuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 934,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 870,
+ "name": "AuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 942,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 943,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 944,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 946,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 945,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 947,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 946,
+ 945,
+ 947
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 925,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 926,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 927,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 928,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 862,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 861,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 935
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 948,
+ 949,
+ 940,
+ 950,
+ 941,
+ 929,
+ 934
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 942,
+ 925
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 19,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 951,
+ "name": "AuthEventMissingError"
+ },
+ {
+ "type": "reference",
+ "id": 975,
+ "name": "AuthSessionMissingError"
+ },
+ {
+ "type": "reference",
+ "id": 999,
+ "name": "AuthNoCookieError"
+ },
+ {
+ "type": "reference",
+ "id": 1023,
+ "name": "AuthInvalidCredentialsError"
+ }
+ ]
+ },
+ {
+ "id": 256,
"name": "GoTrueApi",
"kind": 128,
"kindString": "Class",
@@ -1165,7 +5437,7 @@
},
"children": [
{
- "id": 338,
+ "id": 257,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1181,7 +5453,7 @@
],
"signatures": [
{
- "id": 339,
+ "id": 258,
"name": "new GoTrueApi",
"kind": 16384,
"kindString": "Constructor signature",
@@ -1190,7 +5462,7 @@
},
"parameters": [
{
- "id": 340,
+ "id": 259,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -1200,7 +5472,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 341,
+ "id": 260,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1209,7 +5481,7 @@
},
"children": [
{
- "id": 347,
+ "id": 266,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
@@ -1226,14 +5498,14 @@
],
"type": {
"type": "reference",
- "id": 860,
+ "id": 784,
"qualifiedName": "CookieOptions",
"package": "@supabase/gotrue-js",
"name": "CookieOptions"
}
},
{
- "id": 348,
+ "id": 267,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -1251,7 +5523,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 349,
+ "id": 268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1260,7 +5532,7 @@
},
"signatures": [
{
- "id": 350,
+ "id": 269,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -1269,7 +5541,7 @@
},
"parameters": [
{
- "id": 351,
+ "id": 270,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -1284,7 +5556,7 @@
}
},
{
- "id": 352,
+ "id": 271,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -1320,7 +5592,7 @@
}
},
{
- "id": 343,
+ "id": 262,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -1338,7 +5610,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 344,
+ "id": 263,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1346,7 +5618,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 345,
+ "id": 264,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -1355,7 +5627,7 @@
},
"parameters": [
{
- "id": 346,
+ "id": 265,
"name": "key",
"kind": 32768,
"flags": {
@@ -1376,7 +5648,7 @@
}
},
{
- "id": 342,
+ "id": 261,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -1400,7 +5672,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348, 343, 342]
+ "children": [
+ 266,
+ 267,
+ 262,
+ 261
+ ]
}
]
}
@@ -1409,7 +5686,7 @@
],
"type": {
"type": "reference",
- "id": 337,
+ "id": 256,
"qualifiedName": "GoTrueApi",
"package": "@supabase/gotrue-js",
"name": "default"
@@ -1418,7 +5695,7 @@
]
},
{
- "id": 364,
+ "id": 283,
"name": "_createRequestHeaders",
"kind": 1024,
"kindString": "Property",
@@ -1449,7 +5726,7 @@
}
},
{
- "id": 365,
+ "id": 284,
"name": "cookieName",
"kind": 1024,
"kindString": "Property",
@@ -1470,7 +5747,7 @@
}
},
{
- "id": 358,
+ "id": 277,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
@@ -1487,14 +5764,14 @@
],
"type": {
"type": "reference",
- "id": 860,
+ "id": 784,
"qualifiedName": "CookieOptions",
"package": "@supabase/gotrue-js",
"name": "CookieOptions"
}
},
{
- "id": 359,
+ "id": 278,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -1512,7 +5789,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 360,
+ "id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1521,7 +5798,7 @@
},
"signatures": [
{
- "id": 361,
+ "id": 280,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -1530,7 +5807,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 281,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -1545,7 +5822,7 @@
}
},
{
- "id": 363,
+ "id": 282,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -1581,7 +5858,7 @@
}
},
{
- "id": 354,
+ "id": 273,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -1599,7 +5876,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 355,
+ "id": 274,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1607,7 +5884,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 356,
+ "id": 275,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -1616,7 +5893,7 @@
},
"parameters": [
{
- "id": 357,
+ "id": 276,
"name": "key",
"kind": 32768,
"flags": {
@@ -1637,7 +5914,7 @@
}
},
{
- "id": 353,
+ "id": 272,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -1658,7 +5935,7 @@
}
},
{
- "id": 581,
+ "id": 500,
"name": "createUser",
"kind": 2048,
"kindString": "Method",
@@ -1674,7 +5951,7 @@
],
"signatures": [
{
- "id": 582,
+ "id": 501,
"name": "createUser",
"kind": 4096,
"kindString": "Call signature",
@@ -1687,7 +5964,7 @@
},
"parameters": [
{
- "id": 583,
+ "id": 502,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -1699,7 +5976,7 @@
},
"type": {
"type": "reference",
- "id": 842,
+ "id": 766,
"qualifiedName": "AdminUserAttributes",
"package": "@supabase/gotrue-js",
"name": "AdminUserAttributes"
@@ -1715,7 +5992,7 @@
{
"type": "reflection",
"declaration": {
- "id": 584,
+ "id": 503,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1724,7 +6001,7 @@
},
"children": [
{
- "id": 586,
+ "id": 505,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1740,14 +6017,14 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
},
{
- "id": 587,
+ "id": 506,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1767,7 +6044,7 @@
}
},
{
- "id": 585,
+ "id": 504,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -1783,7 +6060,7 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -1794,7 +6071,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [586, 587, 585]
+ "children": [
+ 505,
+ 506,
+ 504
+ ]
}
]
}
@@ -1802,7 +6083,7 @@
{
"type": "reflection",
"declaration": {
- "id": 588,
+ "id": 507,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1811,7 +6092,7 @@
},
"children": [
{
- "id": 590,
+ "id": 509,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1831,7 +6112,7 @@
}
},
{
- "id": 591,
+ "id": 510,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1847,13 +6128,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 589,
+ "id": 508,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -1877,7 +6159,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [590, 591, 589]
+ "children": [
+ 509,
+ 510,
+ 508
+ ]
}
]
}
@@ -1893,7 +6179,7 @@
]
},
{
- "id": 552,
+ "id": 471,
"name": "deleteAuthCookie",
"kind": 2048,
"kindString": "Method",
@@ -1909,7 +6195,7 @@
],
"signatures": [
{
- "id": 553,
+ "id": 472,
"name": "deleteAuthCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -1921,7 +6207,7 @@
},
"parameters": [
{
- "id": 554,
+ "id": 473,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -1937,7 +6223,7 @@
}
},
{
- "id": 555,
+ "id": 474,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -1953,21 +6239,17 @@
}
},
{
- "id": 556,
- "name": "options",
+ "id": 475,
+ "name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
- "comment": {
- "shortText": "Optionally specify a `redirectTo` URL in the options.\n"
- },
- "originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 476,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1976,7 +6258,7 @@
},
"children": [
{
- "id": 558,
+ "id": 477,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -2001,7 +6283,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [558]
+ "children": [
+ 477
+ ]
}
]
}
@@ -2016,7 +6300,7 @@
]
},
{
- "id": 633,
+ "id": 552,
"name": "deleteUser",
"kind": 2048,
"kindString": "Method",
@@ -2032,7 +6316,7 @@
],
"signatures": [
{
- "id": 634,
+ "id": 553,
"name": "deleteUser",
"kind": 4096,
"kindString": "Call signature",
@@ -2045,7 +6329,7 @@
},
"parameters": [
{
- "id": 635,
+ "id": 554,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -2070,7 +6354,7 @@
{
"type": "reflection",
"declaration": {
- "id": 636,
+ "id": 555,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2079,7 +6363,7 @@
},
"children": [
{
- "id": 638,
+ "id": 557,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -2099,7 +6383,7 @@
}
},
{
- "id": 637,
+ "id": 556,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -2115,7 +6399,7 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -2126,7 +6410,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [638, 637]
+ "children": [
+ 557,
+ 556
+ ]
}
]
}
@@ -2134,7 +6421,7 @@
{
"type": "reflection",
"declaration": {
- "id": 639,
+ "id": 558,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2143,7 +6430,7 @@
},
"children": [
{
- "id": 641,
+ "id": 560,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -2159,13 +6446,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 640,
+ "id": 559,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -2189,7 +6477,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [641, 640]
+ "children": [
+ 560,
+ 559
+ ]
}
]
}
@@ -2205,7 +6496,7 @@
]
},
{
- "id": 563,
+ "id": 482,
"name": "generateLink",
"kind": 2048,
"kindString": "Method",
@@ -2221,7 +6512,7 @@
],
"signatures": [
{
- "id": 564,
+ "id": 483,
"name": "generateLink",
"kind": 4096,
"kindString": "Call signature",
@@ -2233,7 +6524,7 @@
},
"parameters": [
{
- "id": 565,
+ "id": 484,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -2266,7 +6557,7 @@
}
},
{
- "id": 566,
+ "id": 485,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -2282,7 +6573,7 @@
}
},
{
- "id": 567,
+ "id": 486,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2293,7 +6584,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 568,
+ "id": 487,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2302,7 +6593,7 @@
},
"children": [
{
- "id": 570,
+ "id": 489,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -2310,6 +6601,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "Optional user metadata. For signup only."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -2323,7 +6617,7 @@
}
},
{
- "id": 569,
+ "id": 488,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -2331,6 +6625,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "User password. For signup only."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -2344,7 +6641,7 @@
}
},
{
- "id": 571,
+ "id": 490,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -2352,6 +6649,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\").\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -2369,7 +6669,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [570, 569, 571]
+ "children": [
+ 489,
+ 488,
+ 490
+ ]
}
]
}
@@ -2385,7 +6689,7 @@
{
"type": "reflection",
"declaration": {
- "id": 572,
+ "id": 491,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2394,7 +6698,7 @@
},
"children": [
{
- "id": 573,
+ "id": 492,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -2410,14 +6714,14 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
},
{
- "id": 574,
+ "id": 493,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -2441,7 +6745,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [573, 574]
+ "children": [
+ 492,
+ 493
+ ]
}
]
}
@@ -2449,7 +6756,7 @@
{
"type": "reflection",
"declaration": {
- "id": 575,
+ "id": 494,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2458,7 +6765,7 @@
},
"children": [
{
- "id": 576,
+ "id": 495,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -2474,14 +6781,14 @@
],
"type": {
"type": "reference",
- "id": 203,
+ "id": 141,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
},
{
- "id": 577,
+ "id": 496,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -2505,7 +6812,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [576, 577]
+ "children": [
+ 495,
+ 496
+ ]
}
]
}
@@ -2513,7 +6823,7 @@
{
"type": "reflection",
"declaration": {
- "id": 578,
+ "id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2522,7 +6832,7 @@
},
"children": [
{
- "id": 579,
+ "id": 498,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -2542,7 +6852,7 @@
}
},
{
- "id": 580,
+ "id": 499,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -2558,6 +6868,7 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
@@ -2568,7 +6879,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [579, 580]
+ "children": [
+ 498,
+ 499
+ ]
}
]
}
@@ -2584,7 +6898,7 @@
]
},
{
- "id": 559,
+ "id": 478,
"name": "getAuthCookieString",
"kind": 2048,
"kindString": "Method",
@@ -2600,7 +6914,7 @@
],
"signatures": [
{
- "id": 560,
+ "id": 479,
"name": "getAuthCookieString",
"kind": 4096,
"kindString": "Call signature",
@@ -2613,7 +6927,7 @@
},
"parameters": [
{
- "id": 561,
+ "id": 480,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -2629,7 +6943,7 @@
}
},
{
- "id": 562,
+ "id": 481,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -2656,7 +6970,7 @@
]
},
{
- "id": 366,
+ "id": 285,
"name": "getUrlForProvider",
"kind": 2048,
"kindString": "Method",
@@ -2672,7 +6986,7 @@
],
"signatures": [
{
- "id": 367,
+ "id": 286,
"name": "getUrlForProvider",
"kind": 4096,
"kindString": "Call signature",
@@ -2684,7 +6998,7 @@
},
"parameters": [
{
- "id": 368,
+ "id": 287,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -2696,14 +7010,14 @@
},
"type": {
"type": "reference",
- "id": 803,
+ "id": 719,
"qualifiedName": "Provider",
"package": "@supabase/gotrue-js",
"name": "Provider"
}
},
{
- "id": 369,
+ "id": 288,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2713,7 +7027,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 370,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2722,7 +7036,7 @@
},
"children": [
{
- "id": 373,
+ "id": 292,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -2740,7 +7054,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 374,
+ "id": 293,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2748,7 +7062,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 375,
+ "id": 294,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -2757,7 +7071,7 @@
},
"parameters": [
{
- "id": 376,
+ "id": 295,
"name": "key",
"kind": 32768,
"flags": {
@@ -2778,7 +7092,7 @@
}
},
{
- "id": 371,
+ "id": 290,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -2786,6 +7100,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -2799,7 +7116,7 @@
}
},
{
- "id": 372,
+ "id": 291,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -2807,6 +7124,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application.\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -2824,7 +7144,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [373, 371, 372]
+ "children": [
+ 292,
+ 290,
+ 291
+ ]
}
]
}
@@ -2839,7 +7163,7 @@
]
},
{
- "id": 642,
+ "id": 561,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -2855,7 +7179,7 @@
],
"signatures": [
{
- "id": 643,
+ "id": 562,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -2868,7 +7192,7 @@
},
"parameters": [
{
- "id": 644,
+ "id": 563,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -2893,7 +7217,7 @@
{
"type": "reflection",
"declaration": {
- "id": 645,
+ "id": 564,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2902,7 +7226,7 @@
},
"children": [
{
- "id": 647,
+ "id": 566,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -2922,7 +7246,7 @@
}
},
{
- "id": 646,
+ "id": 565,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -2938,7 +7262,7 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -2949,7 +7273,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [647, 646]
+ "children": [
+ 566,
+ 565
+ ]
}
]
}
@@ -2957,7 +7284,7 @@
{
"type": "reflection",
"declaration": {
- "id": 648,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2966,7 +7293,7 @@
},
"children": [
{
- "id": 650,
+ "id": 569,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -2982,13 +7309,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 649,
+ "id": 568,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -3012,7 +7340,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [650, 649]
+ "children": [
+ 569,
+ 568
+ ]
}
]
}
@@ -3028,7 +7359,7 @@
]
},
{
- "id": 609,
+ "id": 528,
"name": "getUserByCookie",
"kind": 2048,
"kindString": "Method",
@@ -3044,7 +7375,7 @@
],
"signatures": [
{
- "id": 610,
+ "id": 529,
"name": "getUserByCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -3056,7 +7387,7 @@
},
"parameters": [
{
- "id": 611,
+ "id": 530,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -3069,7 +7400,7 @@
}
},
{
- "id": 612,
+ "id": 531,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -3092,7 +7423,7 @@
{
"type": "reflection",
"declaration": {
- "id": 613,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3101,7 +7432,7 @@
},
"children": [
{
- "id": 616,
+ "id": 535,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3124,7 +7455,7 @@
},
{
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -3133,7 +7464,7 @@
}
},
{
- "id": 617,
+ "id": 536,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3153,7 +7484,7 @@
}
},
{
- "id": 614,
+ "id": 533,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -3182,7 +7513,7 @@
}
},
{
- "id": 615,
+ "id": 534,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -3205,7 +7536,7 @@
},
{
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -3218,7 +7549,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [616, 617, 614, 615]
+ "children": [
+ 535,
+ 536,
+ 533,
+ 534
+ ]
}
]
}
@@ -3226,7 +7562,7 @@
{
"type": "reflection",
"declaration": {
- "id": 618,
+ "id": 537,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3235,7 +7571,7 @@
},
"children": [
{
- "id": 621,
+ "id": 540,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3258,7 +7594,7 @@
},
{
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -3267,7 +7603,7 @@
}
},
{
- "id": 622,
+ "id": 541,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3283,13 +7619,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 619,
+ "id": 538,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -3318,7 +7655,7 @@
}
},
{
- "id": 620,
+ "id": 539,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -3341,7 +7678,7 @@
},
{
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -3354,7 +7691,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [621, 622, 619, 620]
+ "children": [
+ 540,
+ 541,
+ 538,
+ 539
+ ]
}
]
}
@@ -3370,7 +7712,7 @@
]
},
{
- "id": 600,
+ "id": 519,
"name": "getUserById",
"kind": 2048,
"kindString": "Method",
@@ -3386,7 +7728,7 @@
],
"signatures": [
{
- "id": 601,
+ "id": 520,
"name": "getUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -3398,7 +7740,7 @@
},
"parameters": [
{
- "id": 602,
+ "id": 521,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -3423,7 +7765,7 @@
{
"type": "reflection",
"declaration": {
- "id": 603,
+ "id": 522,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3432,7 +7774,7 @@
},
"children": [
{
- "id": 605,
+ "id": 524,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3452,7 +7794,7 @@
}
},
{
- "id": 604,
+ "id": 523,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -3468,7 +7810,7 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -3479,7 +7821,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [605, 604]
+ "children": [
+ 524,
+ 523
+ ]
}
]
}
@@ -3487,7 +7832,7 @@
{
"type": "reflection",
"declaration": {
- "id": 606,
+ "id": 525,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3496,7 +7841,7 @@
},
"children": [
{
- "id": 608,
+ "id": 527,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3512,13 +7857,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 607,
+ "id": 526,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -3542,7 +7888,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [608, 607]
+ "children": [
+ 527,
+ 526
+ ]
}
]
}
@@ -3558,7 +7907,7 @@
]
},
{
- "id": 512,
+ "id": 431,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
@@ -3574,7 +7923,7 @@
],
"signatures": [
{
- "id": 513,
+ "id": 432,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -3586,7 +7935,7 @@
},
"parameters": [
{
- "id": 514,
+ "id": 433,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -3602,7 +7951,7 @@
}
},
{
- "id": 515,
+ "id": 434,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3613,7 +7962,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 516,
+ "id": 435,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3622,7 +7971,7 @@
},
"children": [
{
- "id": 518,
+ "id": 437,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3630,6 +7979,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "Optional user metadata\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -3643,7 +7995,7 @@
}
},
{
- "id": 517,
+ "id": 436,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -3651,6 +8003,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -3668,7 +8023,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [518, 517]
+ "children": [
+ 437,
+ 436
+ ]
}
]
}
@@ -3684,7 +8042,7 @@
{
"type": "reflection",
"declaration": {
- "id": 519,
+ "id": 438,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3693,7 +8051,7 @@
},
"children": [
{
- "id": 521,
+ "id": 440,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3713,7 +8071,7 @@
}
},
{
- "id": 520,
+ "id": 439,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -3729,7 +8087,7 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -3740,7 +8098,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [521, 520]
+ "children": [
+ 440,
+ 439
+ ]
}
]
}
@@ -3748,7 +8109,7 @@
{
"type": "reflection",
"declaration": {
- "id": 522,
+ "id": 441,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3757,7 +8118,7 @@
},
"children": [
{
- "id": 524,
+ "id": 443,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3773,13 +8134,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 523,
+ "id": 442,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -3803,7 +8165,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [524, 523]
+ "children": [
+ 443,
+ 442
+ ]
}
]
}
@@ -3819,7 +8184,7 @@
]
},
{
- "id": 592,
+ "id": 511,
"name": "listUsers",
"kind": 2048,
"kindString": "Method",
@@ -3835,7 +8200,7 @@
],
"signatures": [
{
- "id": 593,
+ "id": 512,
"name": "listUsers",
"kind": 4096,
"kindString": "Call signature",
@@ -3855,7 +8220,7 @@
{
"type": "reflection",
"declaration": {
- "id": 594,
+ "id": 513,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3864,7 +8229,7 @@
},
"children": [
{
- "id": 596,
+ "id": 515,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3884,7 +8249,7 @@
}
},
{
- "id": 595,
+ "id": 514,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -3902,7 +8267,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -3914,7 +8279,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [596, 595]
+ "children": [
+ 515,
+ 514
+ ]
}
]
}
@@ -3922,7 +8290,7 @@
{
"type": "reflection",
"declaration": {
- "id": 597,
+ "id": 516,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3931,7 +8299,7 @@
},
"children": [
{
- "id": 599,
+ "id": 518,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3947,13 +8315,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 598,
+ "id": 517,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -3977,7 +8346,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [599, 598]
+ "children": [
+ 518,
+ 517
+ ]
}
]
}
@@ -3993,7 +8365,7 @@
]
},
{
- "id": 539,
+ "id": 458,
"name": "refreshAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -4009,7 +8381,7 @@
],
"signatures": [
{
- "id": 540,
+ "id": 459,
"name": "refreshAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -4021,7 +8393,7 @@
},
"parameters": [
{
- "id": 541,
+ "id": 460,
"name": "refreshToken",
"kind": 32768,
"kindString": "Parameter",
@@ -4046,7 +8418,7 @@
{
"type": "reflection",
"declaration": {
- "id": 542,
+ "id": 461,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4055,7 +8427,7 @@
},
"children": [
{
- "id": 544,
+ "id": 463,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4075,7 +8447,7 @@
}
},
{
- "id": 543,
+ "id": 462,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -4091,7 +8463,7 @@
],
"type": {
"type": "reference",
- "id": 203,
+ "id": 141,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
@@ -4102,7 +8474,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [544, 543]
+ "children": [
+ 463,
+ 462
+ ]
}
]
}
@@ -4110,7 +8485,7 @@
{
"type": "reflection",
"declaration": {
- "id": 545,
+ "id": 464,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4119,7 +8494,7 @@
},
"children": [
{
- "id": 547,
+ "id": 466,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4135,13 +8510,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 546,
+ "id": 465,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -4165,7 +8541,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [547, 546]
+ "children": [
+ 466,
+ 465
+ ]
}
]
}
@@ -4181,7 +8560,7 @@
]
},
{
- "id": 525,
+ "id": 444,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -4197,7 +8576,7 @@
],
"signatures": [
{
- "id": 526,
+ "id": 445,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -4209,7 +8588,7 @@
},
"parameters": [
{
- "id": 527,
+ "id": 446,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -4225,7 +8604,7 @@
}
},
{
- "id": 528,
+ "id": 447,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4236,7 +8615,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 448,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4245,7 +8624,7 @@
},
"children": [
{
- "id": 531,
+ "id": 450,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -4266,7 +8645,7 @@
}
},
{
- "id": 530,
+ "id": 449,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -4274,6 +8653,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -4291,7 +8673,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 530]
+ "children": [
+ 450,
+ 449
+ ]
}
]
}
@@ -4307,7 +8692,7 @@
{
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 451,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4316,7 +8701,7 @@
},
"children": [
{
- "id": 533,
+ "id": 452,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4333,7 +8718,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 453,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4344,7 +8729,7 @@
}
},
{
- "id": 535,
+ "id": 454,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4368,229 +8753,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [533, 535]
+ "children": [
+ 452,
+ 454
+ ]
}
]
}
},
- {
- "type": "reflection",
- "declaration": {
- "id": 536,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 537,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 232,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 538,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 233,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [537, 538]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 447,
- "name": "sendMagicLinkEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 133,
- "character": 4
- }
- ],
- "signatures": [
- {
- "id": 448,
- "name": "sendMagicLinkEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "Sends a magic login link to an email address."
- },
- "parameters": [
- {
- "id": 449,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "The email address of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 450,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 451,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 454,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 136,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 453,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 135,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 452,
- "name": "shouldCreateUser",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 134,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [454, 453, 452]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
{
"type": "reflection",
"declaration": {
@@ -4610,6 +8780,238 @@
"flags": {
"isExternal": true
},
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 232,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 457,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 233,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 456,
+ 457
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 366,
+ "name": "sendMagicLinkEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 133,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "sendMagicLinkEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Sends a magic login link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 368,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 370,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 373,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 136,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 372,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 135,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 371,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 134,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 373,
+ 372,
+ 371
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 374,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 375,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -4620,7 +9022,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 457,
+ "id": 376,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4631,7 +9033,7 @@
}
},
{
- "id": 458,
+ "id": 377,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4655,7 +9057,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [456, 458]
+ "children": [
+ 375,
+ 377
+ ]
}
]
}
@@ -4663,7 +9068,7 @@
{
"type": "reflection",
"declaration": {
- "id": 459,
+ "id": 378,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4672,7 +9077,7 @@
},
"children": [
{
- "id": 460,
+ "id": 379,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4692,7 +9097,7 @@
}
},
{
- "id": 461,
+ "id": 380,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4708,6 +9113,7 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
@@ -4718,7 +9124,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [460, 461]
+ "children": [
+ 379,
+ 380
+ ]
}
]
}
@@ -4734,7 +9143,7 @@
]
},
{
- "id": 462,
+ "id": 381,
"name": "sendMobileOTP",
"kind": 2048,
"kindString": "Method",
@@ -4750,7 +9159,7 @@
],
"signatures": [
{
- "id": 463,
+ "id": 382,
"name": "sendMobileOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -4762,7 +9171,7 @@
},
"parameters": [
{
- "id": 464,
+ "id": 383,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -4778,7 +9187,7 @@
}
},
{
- "id": 465,
+ "id": 384,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4789,7 +9198,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 466,
+ "id": 385,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4798,7 +9207,7 @@
},
"children": [
{
- "id": 468,
+ "id": 387,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -4819,7 +9228,7 @@
}
},
{
- "id": 467,
+ "id": 386,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -4827,6 +9236,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -4844,7 +9256,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [468, 467]
+ "children": [
+ 387,
+ 386
+ ]
}
]
}
@@ -4860,7 +9275,7 @@
{
"type": "reflection",
"declaration": {
- "id": 469,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4869,7 +9284,7 @@
},
"children": [
{
- "id": 470,
+ "id": 389,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4886,7 +9301,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 471,
+ "id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4897,7 +9312,7 @@
}
},
{
- "id": 472,
+ "id": 391,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4921,1246 +9336,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [470, 472]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 473,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 474,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 156,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 475,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 157,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [474, 475]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 548,
- "name": "setAuthCookie",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 252,
- "character": 4
- }
- ],
- "signatures": [
- {
- "id": 549,
- "name": "setAuthCookie",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."
- },
- "parameters": [
- {
- "id": 550,
- "name": "req",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "The request object."
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 551,
- "name": "res",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "The response object.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 395,
- "name": "signInWithEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 69,
- "character": 4
- }
- ],
- "signatures": [
- {
- "id": 396,
- "name": "signInWithEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "Logs in an existing user using their email address."
- },
- "parameters": [
- {
- "id": 397,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "The email address of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 398,
- "name": "password",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "The password of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 399,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 400,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 401,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 70,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [401]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 402,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 403,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 72,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 203,
- "qualifiedName": "Session",
- "package": "@supabase/gotrue-js",
- "name": "Session"
- }
- },
- {
- "id": 404,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 73,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [403, 404]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 405,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 406,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 75,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 407,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 76,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [406, 407]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 438,
- "name": "signInWithOpenIDConnect",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 120,
- "character": 4
- }
- ],
- "signatures": [
- {
- "id": 439,
- "name": "signInWithOpenIDConnect",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "Logs in an OpenID Connect user using their id_token."
- },
- "parameters": [
- {
- "id": 440,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "type": {
- "type": "reference",
- "id": 919,
- "qualifiedName": "OpenIDConnectCredentials",
- "package": "@supabase/gotrue-js",
- "name": "OpenIDConnectCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 441,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 443,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 122,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 442,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 121,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 203,
- "qualifiedName": "Session",
- "package": "@supabase/gotrue-js",
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [443, 442]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 444,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 446,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 125,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- },
- {
- "id": 445,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 124,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [446, 445]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 425,
- "name": "signInWithPhone",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 103,
- "character": 4
- }
- ],
- "signatures": [
- {
- "id": 426,
- "name": "signInWithPhone",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "Logs in an existing user using their phone number and password."
- },
- "parameters": [
- {
- "id": 427,
- "name": "phone",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "The phone number of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 428,
- "name": "password",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "The password of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 429,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 430,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 431,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 104,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [431]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 432,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 434,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 107,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 433,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 106,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 203,
- "qualifiedName": "Session",
- "package": "@supabase/gotrue-js",
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [434, 433]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 435,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 437,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 110,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- },
- {
- "id": 436,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 109,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [437, 436]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 476,
- "name": "signOut",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 163,
- "character": 4
- }
- ],
- "signatures": [
- {
- "id": 477,
- "name": "signOut",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "Removes a logged-in session."
- },
- "parameters": [
- {
- "id": 478,
- "name": "jwt",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "A valid, logged-in JWT.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 479,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 480,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 164,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [480]
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 377,
- "name": "signUpWithEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 49,
- "character": 4
- }
- ],
- "signatures": [
- {
- "id": 378,
- "name": "signUpWithEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "Creates a new user using their email address.",
- "returns": "A logged-in session if the server has \"autoconfirm\" ON"
- },
- "parameters": [
- {
- "id": 379,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "The email address of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 380,
- "name": "password",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true
- },
- "comment": {
- "shortText": "The password of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 381,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 382,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 385,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 52,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 384,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 51,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 383,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 50,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [385, 384, 383]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 386,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 387,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 54,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 175,
- "qualifiedName": "User",
- "package": "@supabase/gotrue-js",
- "name": "User"
- }
- },
- {
- "id": 388,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 55,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [387, 388]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 389,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 390,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 57,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 203,
- "qualifiedName": "Session",
- "package": "@supabase/gotrue-js",
- "name": "Session"
- }
- },
- {
- "id": 391,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 58,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [390, 391]
+ "children": [
+ 389,
+ 391
+ ]
}
]
}
@@ -6187,7 +9366,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 60,
+ "line": 156,
"character": 8
}
],
@@ -6207,12 +9386,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 61,
+ "line": 157,
"character": 8
}
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
@@ -6223,7 +9403,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [393, 394]
+ "children": [
+ 393,
+ 394
+ ]
}
]
}
@@ -6239,8 +9422,8 @@
]
},
{
- "id": 408,
- "name": "signUpWithPhone",
+ "id": 467,
+ "name": "setAuthCookie",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -6249,33 +9432,101 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
- "line": 84,
+ "line": 252,
"character": 4
}
],
"signatures": [
{
- "id": 409,
- "name": "signUpWithPhone",
+ "id": 468,
+ "name": "setAuthCookie",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExternal": true
},
"comment": {
- "shortText": "Signs up a new user using their phone number and a password."
+ "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."
},
"parameters": [
{
- "id": 410,
- "name": "phone",
+ "id": 469,
+ "name": "req",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true
},
"comment": {
- "shortText": "The phone number of the user."
+ "shortText": "The request object."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 470,
+ "name": "res",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The response object.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 314,
+ "name": "signInWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 315,
+ "name": "signInWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Logs in an existing user using their email address."
+ },
+ "parameters": [
+ {
+ "id": 316,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The email address of the user."
},
"type": {
"type": "intrinsic",
@@ -6283,7 +9534,7 @@
}
},
{
- "id": 411,
+ "id": 317,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -6299,7 +9550,7 @@
}
},
{
- "id": 412,
+ "id": 318,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -6310,7 +9561,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 413,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6319,7 +9570,1229 @@
},
"children": [
{
- "id": 415,
+ "id": 320,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 70,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 320
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 321,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 322,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 72,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ },
+ {
+ "id": 323,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 73,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 322,
+ 323
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 324,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 325,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 75,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 76,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 325,
+ 326
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "signInWithOpenIDConnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 120,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "signInWithOpenIDConnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Logs in an OpenID Connect user using their id_token."
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 843,
+ "qualifiedName": "OpenIDConnectCredentials",
+ "package": "@supabase/gotrue-js",
+ "name": "OpenIDConnectCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 360,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 362,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 122,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 361,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 121,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 362,
+ 361
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 363,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 365,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 125,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 364,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 365,
+ 364
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "signInWithPhone",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 103,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "signInWithPhone",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Logs in an existing user using their phone number and password."
+ },
+ "parameters": [
+ {
+ "id": 346,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The phone number of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 347,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 348,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 349,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 350,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on your site.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 104,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 350
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 353,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 107,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 352,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 106,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 353,
+ 352
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 354,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 356,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 110,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 355,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 109,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 356,
+ 355
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 395,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 163,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 396,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 397,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 398,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 399,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 164,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 399
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 296,
+ "name": "signUpWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 49,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 297,
+ "name": "signUpWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Creates a new user using their email address.",
+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"
+ },
+ "parameters": [
+ {
+ "id": 298,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 299,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 300,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 301,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 304,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 303,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 51,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 302,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 50,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 304,
+ 303,
+ 302
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 305,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 306,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 54,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ },
+ {
+ "id": 307,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 55,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 306,
+ 307
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 308,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 309,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ },
+ {
+ "id": 310,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 58,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 309,
+ 310
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 311,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 312,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 60,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 313,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 61,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 312,
+ 313
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 327,
+ "name": "signUpWithPhone",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 84,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 328,
+ "name": "signUpWithPhone",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Signs up a new user using their phone number and a password."
+ },
+ "parameters": [
+ {
+ "id": 329,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The phone number of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 330,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 331,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 332,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 334,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -6340,7 +10813,7 @@
}
},
{
- "id": 414,
+ "id": 333,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6348,6 +10821,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -6365,7 +10841,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [415, 414]
+ "children": [
+ 334,
+ 333
+ ]
}
]
}
@@ -6381,7 +10860,7 @@
{
"type": "reflection",
"declaration": {
- "id": 416,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6390,7 +10869,7 @@
},
"children": [
{
- "id": 417,
+ "id": 336,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6406,14 +10885,14 @@
],
"type": {
"type": "reference",
- "id": 203,
+ "id": 141,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
},
{
- "id": 418,
+ "id": 337,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6437,7 +10916,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [417, 418]
+ "children": [
+ 336,
+ 337
+ ]
}
]
}
@@ -6445,7 +10927,7 @@
{
"type": "reflection",
"declaration": {
- "id": 419,
+ "id": 338,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6454,7 +10936,7 @@
},
"children": [
{
- "id": 420,
+ "id": 339,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6470,14 +10952,14 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
},
{
- "id": 421,
+ "id": 340,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6501,7 +10983,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [420, 421]
+ "children": [
+ 339,
+ 340
+ ]
}
]
}
@@ -6509,7 +10994,7 @@
{
"type": "reflection",
"declaration": {
- "id": 422,
+ "id": 341,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6518,7 +11003,7 @@
},
"children": [
{
- "id": 423,
+ "id": 342,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6538,7 +11023,7 @@
}
},
{
- "id": 424,
+ "id": 343,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6554,6 +11039,7 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
@@ -6564,7 +11050,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [423, 424]
+ "children": [
+ 342,
+ 343
+ ]
}
]
}
@@ -6580,7 +11069,7 @@
]
},
{
- "id": 651,
+ "id": 570,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -6596,7 +11085,7 @@
],
"signatures": [
{
- "id": 652,
+ "id": 571,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -6608,7 +11097,7 @@
},
"parameters": [
{
- "id": 653,
+ "id": 572,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -6624,7 +11113,7 @@
}
},
{
- "id": 654,
+ "id": 573,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -6636,7 +11125,7 @@
},
"type": {
"type": "reference",
- "id": 836,
+ "id": 760,
"qualifiedName": "UserAttributes",
"package": "@supabase/gotrue-js",
"name": "UserAttributes"
@@ -6652,7 +11141,7 @@
{
"type": "reflection",
"declaration": {
- "id": 655,
+ "id": 574,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6661,7 +11150,7 @@
},
"children": [
{
- "id": 657,
+ "id": 576,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6681,7 +11170,7 @@
}
},
{
- "id": 656,
+ "id": 575,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -6697,7 +11186,7 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -6708,7 +11197,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [657, 656]
+ "children": [
+ 576,
+ 575
+ ]
}
]
}
@@ -6716,7 +11208,7 @@
{
"type": "reflection",
"declaration": {
- "id": 658,
+ "id": 577,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6725,7 +11217,7 @@
},
"children": [
{
- "id": 660,
+ "id": 579,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6741,13 +11233,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 659,
+ "id": 578,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -6771,7 +11264,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [660, 659]
+ "children": [
+ 579,
+ 578
+ ]
}
]
}
@@ -6787,7 +11283,7 @@
]
},
{
- "id": 623,
+ "id": 542,
"name": "updateUserById",
"kind": 2048,
"kindString": "Method",
@@ -6803,7 +11299,7 @@
],
"signatures": [
{
- "id": 624,
+ "id": 543,
"name": "updateUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -6815,7 +11311,7 @@
},
"parameters": [
{
- "id": 625,
+ "id": 544,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -6828,7 +11324,7 @@
}
},
{
- "id": 626,
+ "id": 545,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -6840,7 +11336,7 @@
},
"type": {
"type": "reference",
- "id": 842,
+ "id": 766,
"qualifiedName": "AdminUserAttributes",
"package": "@supabase/gotrue-js",
"name": "AdminUserAttributes"
@@ -6856,7 +11352,7 @@
{
"type": "reflection",
"declaration": {
- "id": 627,
+ "id": 546,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6865,7 +11361,7 @@
},
"children": [
{
- "id": 629,
+ "id": 548,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6885,7 +11381,7 @@
}
},
{
- "id": 628,
+ "id": 547,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -6901,7 +11397,7 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -6912,7 +11408,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [629, 628]
+ "children": [
+ 548,
+ 547
+ ]
}
]
}
@@ -6920,7 +11419,7 @@
{
"type": "reflection",
"declaration": {
- "id": 630,
+ "id": 549,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6929,7 +11428,7 @@
},
"children": [
{
- "id": 632,
+ "id": 551,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6945,13 +11444,14 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
}
},
{
- "id": 631,
+ "id": 550,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -6975,7 +11475,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [632, 631]
+ "children": [
+ 551,
+ 550
+ ]
}
]
}
@@ -6991,7 +11494,7 @@
]
},
{
- "id": 481,
+ "id": 400,
"name": "verifyMobileOTP",
"kind": 2048,
"kindString": "Method",
@@ -7007,7 +11510,7 @@
],
"signatures": [
{
- "id": 482,
+ "id": 401,
"name": "verifyMobileOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -7024,7 +11527,7 @@
},
"parameters": [
{
- "id": 483,
+ "id": 402,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -7040,7 +11543,7 @@
}
},
{
- "id": 484,
+ "id": 403,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -7056,7 +11559,7 @@
}
},
{
- "id": 485,
+ "id": 404,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7067,7 +11570,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 486,
+ "id": 405,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7076,7 +11579,7 @@
},
"children": [
{
- "id": 487,
+ "id": 406,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -7084,6 +11587,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -7101,7 +11607,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [487]
+ "children": [
+ 406
+ ]
}
]
}
@@ -7117,7 +11625,7 @@
{
"type": "reflection",
"declaration": {
- "id": 488,
+ "id": 407,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7126,7 +11634,7 @@
},
"children": [
{
- "id": 489,
+ "id": 408,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7142,14 +11650,14 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
},
{
- "id": 490,
+ "id": 409,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7173,7 +11681,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [489, 490]
+ "children": [
+ 408,
+ 409
+ ]
}
]
}
@@ -7181,7 +11692,7 @@
{
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7190,7 +11701,7 @@
},
"children": [
{
- "id": 492,
+ "id": 411,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7206,14 +11717,14 @@
],
"type": {
"type": "reference",
- "id": 203,
+ "id": 141,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
},
{
- "id": 493,
+ "id": 412,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7237,7 +11748,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [492, 493]
+ "children": [
+ 411,
+ 412
+ ]
}
]
}
@@ -7245,7 +11759,7 @@
{
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 413,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7254,7 +11768,7 @@
},
"children": [
{
- "id": 495,
+ "id": 414,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7274,7 +11788,7 @@
}
},
{
- "id": 496,
+ "id": 415,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7290,6 +11804,7 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
@@ -7300,7 +11815,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [495, 496]
+ "children": [
+ 414,
+ 415
+ ]
}
]
}
@@ -7316,7 +11834,7 @@
]
},
{
- "id": 497,
+ "id": 416,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
@@ -7332,7 +11850,7 @@
],
"signatures": [
{
- "id": 498,
+ "id": 417,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -7344,7 +11862,7 @@
},
"parameters": [
{
- "id": 499,
+ "id": 418,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -7353,14 +11871,14 @@
},
"type": {
"type": "reference",
- "id": 906,
+ "id": 830,
"qualifiedName": "VerifyOTPParams",
"package": "@supabase/gotrue-js",
"name": "VerifyOTPParams"
}
},
{
- "id": 500,
+ "id": 419,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7371,7 +11889,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 501,
+ "id": 420,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7380,7 +11898,7 @@
},
"children": [
{
- "id": 502,
+ "id": 421,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -7388,6 +11906,9 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
@@ -7405,7 +11926,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [502]
+ "children": [
+ 421
+ ]
}
]
}
@@ -7421,7 +11944,7 @@
{
"type": "reflection",
"declaration": {
- "id": 503,
+ "id": 422,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7430,7 +11953,7 @@
},
"children": [
{
- "id": 504,
+ "id": 423,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7446,14 +11969,14 @@
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
}
},
{
- "id": 505,
+ "id": 424,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7477,7 +12000,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [504, 505]
+ "children": [
+ 423,
+ 424
+ ]
}
]
}
@@ -7485,7 +12011,7 @@
{
"type": "reflection",
"declaration": {
- "id": 506,
+ "id": 425,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7494,7 +12020,7 @@
},
"children": [
{
- "id": 507,
+ "id": 426,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7510,14 +12036,14 @@
],
"type": {
"type": "reference",
- "id": 203,
+ "id": 141,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
}
},
{
- "id": 508,
+ "id": 427,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7541,7 +12067,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [507, 508]
+ "children": [
+ 426,
+ 427
+ ]
}
]
}
@@ -7549,7 +12078,7 @@
{
"type": "reflection",
"declaration": {
- "id": 509,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7558,7 +12087,7 @@
},
"children": [
{
- "id": 510,
+ "id": 429,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7578,7 +12107,7 @@
}
},
{
- "id": 511,
+ "id": 430,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7594,6 +12123,7 @@
],
"type": {
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
@@ -7604,7 +12134,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [510, 511]
+ "children": [
+ 429,
+ 430
+ ]
}
]
}
@@ -7624,19 +12157,52 @@
{
"title": "Constructors",
"kind": 512,
- "children": [338]
+ "children": [
+ 257
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [364, 365, 358, 359, 354, 353]
+ "children": [
+ 283,
+ 284,
+ 277,
+ 278,
+ 273,
+ 272
+ ]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 581, 552, 633, 563, 559, 366, 642, 609, 600, 512, 592, 539, 525, 447, 462, 548,
- 395, 438, 425, 476, 377, 408, 651, 623, 481, 497
+ 500,
+ 471,
+ 552,
+ 482,
+ 478,
+ 285,
+ 561,
+ 528,
+ 519,
+ 431,
+ 511,
+ 458,
+ 444,
+ 366,
+ 381,
+ 467,
+ 314,
+ 357,
+ 344,
+ 395,
+ 296,
+ 327,
+ 570,
+ 542,
+ 400,
+ 416
]
}
],
@@ -7649,7 +12215,7 @@
]
},
{
- "id": 661,
+ "id": 580,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
@@ -7658,7 +12224,7 @@
},
"children": [
{
- "id": 662,
+ "id": 581,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -7668,13 +12234,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 44,
+ "line": 41,
"character": 4
}
],
"signatures": [
{
- "id": 663,
+ "id": 582,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -7686,7 +12252,7 @@
},
"parameters": [
{
- "id": 664,
+ "id": 583,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7696,7 +12262,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 665,
+ "id": 584,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7705,7 +12271,7 @@
},
"children": [
{
- "id": 673,
+ "id": 592,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -7719,7 +12285,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 51,
+ "line": 48,
"character": 8
}
],
@@ -7729,7 +12295,7 @@
}
},
{
- "id": 677,
+ "id": 596,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
@@ -7741,20 +12307,20 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 55,
+ "line": 52,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 860,
+ "id": 784,
"qualifiedName": "CookieOptions",
"package": "@supabase/gotrue-js",
"name": "CookieOptions"
}
},
{
- "id": 672,
+ "id": 591,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -7768,7 +12334,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 50,
+ "line": 47,
"character": 8
}
],
@@ -7778,7 +12344,7 @@
}
},
{
- "id": 678,
+ "id": 597,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -7789,14 +12355,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 56,
+ "line": 53,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 679,
+ "id": 598,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7805,7 +12371,7 @@
},
"signatures": [
{
- "id": 680,
+ "id": 599,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -7817,7 +12383,7 @@
},
"parameters": [
{
- "id": 681,
+ "id": 600,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -7832,7 +12398,7 @@
}
},
{
- "id": 682,
+ "id": 601,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -7868,7 +12434,7 @@
}
},
{
- "id": 667,
+ "id": 586,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -7882,14 +12448,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 46,
+ "line": 43,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 668,
+ "id": 587,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7897,7 +12463,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 669,
+ "id": 588,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -7906,7 +12472,7 @@
},
"parameters": [
{
- "id": 670,
+ "id": 589,
"name": "key",
"kind": 32768,
"flags": {
@@ -7927,8 +12493,8 @@
}
},
{
- "id": 675,
- "name": "localStorage",
+ "id": 595,
+ "name": "multiTab",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -7936,12 +12502,57 @@
"isOptional": true
},
"comment": {
- "shortText": "Provide your own local storage implementation to use instead of the browser's local storage."
+ "shortText": "Set to \"false\" if you want to disable multi-tab/window events."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 53,
+ "line": 51,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 593,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 49,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 594,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 50,
"character": 8
}
],
@@ -7986,55 +12597,7 @@
}
},
{
- "id": 676,
- "name": "multiTab",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "Set to \"false\" if you want to disable multi-tab/window events."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 54,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 674,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 52,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 671,
+ "id": 590,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -8048,7 +12611,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 49,
+ "line": 46,
"character": 8
}
],
@@ -8058,7 +12621,7 @@
}
},
{
- "id": 666,
+ "id": 585,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -8072,7 +12635,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 45,
+ "line": 42,
"character": 8
}
],
@@ -8086,7 +12649,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [673, 677, 672, 678, 667, 675, 676, 674, 671, 666]
+ "children": [
+ 592,
+ 596,
+ 591,
+ 597,
+ 586,
+ 595,
+ 593,
+ 594,
+ 590,
+ 585
+ ]
}
]
}
@@ -8095,7 +12669,7 @@
],
"type": {
"type": "reference",
- "id": 661,
+ "id": 580,
"qualifiedName": "GoTrueClient",
"package": "@supabase/gotrue-js",
"name": "default"
@@ -8104,7 +12678,7 @@
]
},
{
- "id": 796,
+ "id": 712,
"name": "_callRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -8115,7 +12689,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 206,
+ "line": 199,
"character": 12
}
],
@@ -8125,7 +12699,28 @@
}
},
{
- "id": 790,
+ "id": 706,
+ "name": "_doesSessionExist",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 189,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 707,
"name": "_handleEmailSignIn",
"kind": 1024,
"kindString": "Property",
@@ -8136,7 +12731,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 192,
+ "line": 190,
"character": 12
}
],
@@ -8146,7 +12741,7 @@
}
},
{
- "id": 793,
+ "id": 710,
"name": "_handleOpenIDConnectSignIn",
"kind": 1024,
"kindString": "Property",
@@ -8154,27 +12749,6 @@
"isPrivate": true,
"isExternal": true
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 195,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 791,
- "name": "_handlePhoneSignIn",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPrivate": true,
- "isExternal": true
- },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
@@ -8188,7 +12762,28 @@
}
},
{
- "id": 792,
+ "id": 708,
+ "name": "_handlePhoneSignIn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 191,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 709,
"name": "_handleProviderSignIn",
"kind": 1024,
"kindString": "Property",
@@ -8199,7 +12794,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 194,
+ "line": 192,
"character": 12
}
],
@@ -8209,7 +12804,7 @@
}
},
{
- "id": 802,
+ "id": 718,
"name": "_handleVisibilityChange",
"kind": 1024,
"kindString": "Property",
@@ -8217,48 +12812,6 @@
"isPrivate": true,
"isExternal": true
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 220,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 797,
- "name": "_notifyAllSubscribers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPrivate": true,
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 207,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 799,
- "name": "_persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPrivate": true,
- "isExternal": true
- },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
@@ -8272,41 +12825,14 @@
}
},
{
- "id": 795,
- "name": "_recoverAndRefresh",
+ "id": 713,
+ "name": "_notifyAllSubscribers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExternal": true
},
- "comment": {
- "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 205,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 794,
- "name": "_recoverSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPrivate": true,
- "isExternal": true
- },
- "comment": {
- "shortText": "Attempts to get the session from LocalStorage\nNote: this should never be async (even for React Native), as we need it to return immediately in the constructor."
- },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
@@ -8320,7 +12846,52 @@
}
},
{
- "id": 800,
+ "id": 715,
+ "name": "_persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 206,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 711,
+ "name": "_recoverAndRefresh",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 198,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 716,
"name": "_removeSession",
"kind": 1024,
"kindString": "Property",
@@ -8331,7 +12902,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 214,
+ "line": 207,
"character": 12
}
],
@@ -8341,7 +12912,7 @@
}
},
{
- "id": 798,
+ "id": 714,
"name": "_saveSession",
"kind": 1024,
"kindString": "Property",
@@ -8355,7 +12926,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 212,
+ "line": 205,
"character": 12
}
],
@@ -8365,7 +12936,7 @@
}
},
{
- "id": 801,
+ "id": 717,
"name": "_startAutoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -8386,7 +12957,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 219,
+ "line": 212,
"character": 12
}
],
@@ -8396,7 +12967,7 @@
}
},
{
- "id": 683,
+ "id": 602,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -8415,14 +12986,14 @@
],
"type": {
"type": "reference",
- "id": 337,
+ "id": 256,
"qualifiedName": "GoTrueApi",
"package": "@supabase/gotrue-js",
"name": "default"
}
},
{
- "id": 686,
+ "id": 605,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -8443,7 +13014,7 @@
}
},
{
- "id": 685,
+ "id": 604,
"name": "inMemorySession",
"kind": 1024,
"kindString": "Property",
@@ -8470,7 +13041,7 @@
},
{
"type": "reference",
- "id": 203,
+ "id": 141,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
@@ -8479,8 +13050,151 @@
}
},
{
- "id": 688,
- "name": "localStorage",
+ "id": 610,
+ "name": "networkRetries",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 26,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 606,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 22,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 609,
+ "name": "refreshTokenTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 25,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timeout",
+ "package": "@types/node",
+ "name": "Timeout"
+ }
+ },
+ {
+ "id": 611,
+ "name": "refreshingDeferred",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 27,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 850,
+ "qualifiedName": "CallRefreshTokenResult",
+ "package": "@supabase/gotrue-js",
+ "name": "CallRefreshTokenResult"
+ }
+ ],
+ "qualifiedName": "Deferred",
+ "package": "@supabase/gotrue-js",
+ "name": "Deferred"
+ }
+ ]
+ }
+ },
+ {
+ "id": 608,
+ "name": "stateChangeEmitters",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 24,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 776,
+ "qualifiedName": "Subscription",
+ "package": "@supabase/gotrue-js",
+ "name": "Subscription"
+ }
+ ],
+ "qualifiedName": "Map",
+ "package": "typescript",
+ "name": "Map"
+ }
+ },
+ {
+ "id": 607,
+ "name": "storage",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -8535,207 +13249,7 @@
}
},
{
- "id": 691,
- "name": "networkRetries",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 26,
- "character": 14
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 687,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 22,
- "character": 14
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 690,
- "name": "refreshTokenTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 25,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "global.NodeJS.Timeout",
- "package": "@types/node",
- "name": "Timeout"
- }
- },
- {
- "id": 692,
- "name": "refreshingDeferred",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 27,
- "character": 14
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 693,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 695,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 29,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 694,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 28,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 203,
- "qualifiedName": "Session",
- "package": "@supabase/gotrue-js",
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [695, 694]
- }
- ]
- }
- }
- ],
- "qualifiedName": "Deferred",
- "package": "@supabase/gotrue-js",
- "name": "Deferred"
- }
- ]
- }
- },
- {
- "id": 689,
- "name": "stateChangeEmitters",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 24,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 852,
- "qualifiedName": "Subscription",
- "package": "@supabase/gotrue-js",
- "name": "Subscription"
- }
- ],
- "qualifiedName": "Map",
- "package": "typescript",
- "name": "Map"
- }
- },
- {
- "id": 684,
+ "id": 603,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -8759,7 +13273,7 @@
}
},
{
- "id": 719,
+ "id": 635,
"name": "getSession",
"kind": 2048,
"kindString": "Method",
@@ -8769,13 +13283,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 112,
+ "line": 109,
"character": 4
}
],
"signatures": [
{
- "id": 720,
+ "id": 636,
"name": "getSession",
"kind": 4096,
"kindString": "Call signature",
@@ -8794,7 +13308,7 @@
{
"type": "reflection",
"declaration": {
- "id": 721,
+ "id": 637,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8803,7 +13317,74 @@
},
"children": [
{
- "id": 723,
+ "id": 639,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 111,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 638,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 110,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 639,
+ 638
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 640,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 642,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8818,12 +13399,15 @@
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
}
},
{
- "id": 722,
+ "id": 641,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -8838,11 +13422,8 @@
}
],
"type": {
- "type": "reference",
- "id": 203,
- "qualifiedName": "Session",
- "package": "@supabase/gotrue-js",
- "name": "Session"
+ "type": "literal",
+ "value": null
}
}
],
@@ -8850,7 +13431,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [723, 722]
+ "children": [
+ 642,
+ 641
+ ]
}
]
}
@@ -8858,7 +13442,7 @@
{
"type": "reflection",
"declaration": {
- "id": 724,
+ "id": 643,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8867,7 +13451,7 @@
},
"children": [
{
- "id": 726,
+ "id": 645,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8882,14 +13466,12 @@
}
],
"type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
+ "type": "literal",
+ "value": null
}
},
{
- "id": 725,
+ "id": 644,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -8913,68 +13495,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [726, 725]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 727,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 729,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 120,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 728,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 119,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [729, 728]
+ "children": [
+ 645,
+ 644
+ ]
}
]
}
@@ -8990,7 +13514,7 @@
]
},
{
- "id": 762,
+ "id": 678,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -9000,13 +13524,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 163,
+ "line": 160,
"character": 4
}
],
"signatures": [
{
- "id": 763,
+ "id": 679,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -9018,7 +13542,7 @@
},
"parameters": [
{
- "id": 764,
+ "id": 680,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9029,7 +13553,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 765,
+ "id": 681,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9038,7 +13562,7 @@
},
"children": [
{
- "id": 766,
+ "id": 682,
"name": "storeSession",
"kind": 1024,
"kindString": "Property",
@@ -9052,7 +13576,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 164,
+ "line": 161,
"character": 8
}
],
@@ -9066,7 +13590,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [766]
+ "children": [
+ 682
+ ]
}
]
}
@@ -9082,7 +13608,7 @@
{
"type": "reflection",
"declaration": {
- "id": 767,
+ "id": 683,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9091,7 +13617,74 @@
},
"children": [
{
- "id": 769,
+ "id": 685,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 164,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 684,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 163,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 685,
+ 684
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 686,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 688,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9106,12 +13699,15 @@
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
}
},
{
- "id": 768,
+ "id": 687,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -9125,72 +13721,6 @@
"character": 8
}
],
- "type": {
- "type": "reference",
- "id": 203,
- "qualifiedName": "Session",
- "package": "@supabase/gotrue-js",
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [769, 768]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 770,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 772,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 170,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- },
- {
- "id": 771,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 169,
- "character": 8
- }
- ],
"type": {
"type": "literal",
"value": null
@@ -9201,7 +13731,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [772, 771]
+ "children": [
+ 688,
+ 687
+ ]
}
]
}
@@ -9217,7 +13750,7 @@
]
},
{
- "id": 730,
+ "id": 646,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -9227,13 +13760,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 125,
+ "line": 122,
"character": 4
}
],
"signatures": [
{
- "id": 731,
+ "id": 647,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -9252,7 +13785,7 @@
{
"type": "reflection",
"declaration": {
- "id": 732,
+ "id": 648,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9261,7 +13794,74 @@
},
"children": [
{
- "id": 734,
+ "id": 650,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 649,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 123,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 650,
+ 649
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 651,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 653,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9276,12 +13876,15 @@
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
}
},
{
- "id": 733,
+ "id": 652,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9296,11 +13899,8 @@
}
],
"type": {
- "type": "reference",
- "id": 175,
- "qualifiedName": "User",
- "package": "@supabase/gotrue-js",
- "name": "User"
+ "type": "literal",
+ "value": null
}
}
],
@@ -9308,7 +13908,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [734, 733]
+ "children": [
+ 653,
+ 652
+ ]
}
]
}
@@ -9316,7 +13919,7 @@
{
"type": "reflection",
"declaration": {
- "id": 735,
+ "id": 654,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9325,7 +13928,7 @@
},
"children": [
{
- "id": 737,
+ "id": 656,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9340,14 +13943,12 @@
}
],
"type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
+ "type": "literal",
+ "value": null
}
},
{
- "id": 736,
+ "id": 655,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9371,68 +13972,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [737, 736]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 738,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 740,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 133,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 739,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 132,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [740, 739]
+ "children": [
+ 656,
+ 655
+ ]
}
]
}
@@ -9448,7 +13991,7 @@
]
},
{
- "id": 777,
+ "id": 693,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -9458,13 +14001,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 185,
+ "line": 182,
"character": 4
}
],
"signatures": [
{
- "id": 778,
+ "id": 694,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -9477,7 +14020,7 @@
},
"parameters": [
{
- "id": 779,
+ "id": 695,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -9487,7 +14030,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 780,
+ "id": 696,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9496,7 +14039,7 @@
},
"signatures": [
{
- "id": 781,
+ "id": 697,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -9505,7 +14048,7 @@
},
"parameters": [
{
- "id": 782,
+ "id": 698,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -9514,14 +14057,14 @@
},
"type": {
"type": "reference",
- "id": 804,
+ "id": 720,
"qualifiedName": "AuthChangeEvent",
"package": "@supabase/gotrue-js",
"name": "AuthChangeEvent"
}
},
{
- "id": 783,
+ "id": 699,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -9537,7 +14080,7 @@
},
{
"type": "reference",
- "id": 203,
+ "id": 141,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
@@ -9562,7 +14105,7 @@
{
"type": "reflection",
"declaration": {
- "id": 784,
+ "id": 700,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9571,7 +14114,74 @@
},
"children": [
{
- "id": 786,
+ "id": 702,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 184,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 701,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 183,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 776,
+ "qualifiedName": "Subscription",
+ "package": "@supabase/gotrue-js",
+ "name": "Subscription"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 702,
+ 701
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 703,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 705,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9586,12 +14196,15 @@
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
}
},
{
- "id": 785,
+ "id": 704,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -9605,72 +14218,6 @@
"character": 8
}
],
- "type": {
- "type": "reference",
- "id": 852,
- "qualifiedName": "Subscription",
- "package": "@supabase/gotrue-js",
- "name": "Subscription"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [786, 785]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 787,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 789,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 190,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- },
- {
- "id": 788,
- "name": "subscription",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 189,
- "character": 8
- }
- ],
"type": {
"type": "literal",
"value": null
@@ -9681,7 +14228,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [789, 788]
+ "children": [
+ 705,
+ 704
+ ]
}
]
}
@@ -9692,7 +14242,7 @@
]
},
{
- "id": 750,
+ "id": 666,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -9702,13 +14252,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 149,
+ "line": 146,
"character": 4
}
],
"signatures": [
{
- "id": 751,
+ "id": 667,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -9720,7 +14270,7 @@
},
"parameters": [
{
- "id": 752,
+ "id": 668,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -9745,7 +14295,7 @@
{
"type": "reflection",
"declaration": {
- "id": 753,
+ "id": 669,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9754,7 +14304,74 @@
},
"children": [
{
- "id": 755,
+ "id": 671,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 148,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 670,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 147,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 671,
+ 670
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 672,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 674,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9774,7 +14391,7 @@
}
},
{
- "id": 754,
+ "id": 673,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -9789,11 +14406,8 @@
}
],
"type": {
- "type": "reference",
- "id": 203,
- "qualifiedName": "Session",
- "package": "@supabase/gotrue-js",
- "name": "Session"
+ "type": "literal",
+ "value": null
}
}
],
@@ -9801,7 +14415,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [755, 754]
+ "children": [
+ 674,
+ 673
+ ]
}
]
}
@@ -9809,7 +14426,7 @@
{
"type": "reflection",
"declaration": {
- "id": 756,
+ "id": 675,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9818,7 +14435,7 @@
},
"children": [
{
- "id": 758,
+ "id": 677,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9833,12 +14450,15 @@
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
}
},
{
- "id": 757,
+ "id": 676,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -9862,70 +14482,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [758, 757]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 759,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 761,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 157,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- },
- {
- "id": 760,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 156,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [761, 760]
+ "children": [
+ 677,
+ 676
+ ]
}
]
}
@@ -9941,7 +14501,7 @@
]
},
{
- "id": 707,
+ "id": 623,
"name": "signInWithOAuth",
"kind": 2048,
"kindString": "Method",
@@ -9951,13 +14511,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 89,
+ "line": 86,
"character": 4
}
],
"signatures": [
{
- "id": 708,
+ "id": 624,
"name": "signInWithOAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -9969,7 +14529,7 @@
},
"parameters": [
{
- "id": 709,
+ "id": 625,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
@@ -9978,7 +14538,7 @@
},
"type": {
"type": "reference",
- "id": 895,
+ "id": 819,
"qualifiedName": "SignInWithOAuthCredentials",
"package": "@supabase/gotrue-js",
"name": "SignInWithOAuthCredentials"
@@ -9990,7 +14550,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 814,
+ "id": 734,
"qualifiedName": "OAuthResponse",
"package": "@supabase/gotrue-js",
"name": "OAuthResponse"
@@ -10004,7 +14564,7 @@
]
},
{
- "id": 710,
+ "id": 626,
"name": "signInWithOtp",
"kind": 2048,
"kindString": "Method",
@@ -10014,13 +14574,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 97,
+ "line": 94,
"character": 4
}
],
"signatures": [
{
- "id": 711,
+ "id": 627,
"name": "signInWithOtp",
"kind": 4096,
"kindString": "Call signature",
@@ -10032,7 +14592,7 @@
},
"parameters": [
{
- "id": 712,
+ "id": 628,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
@@ -10041,7 +14601,7 @@
},
"type": {
"type": "reference",
- "id": 884,
+ "id": 808,
"qualifiedName": "SignInWithPasswordlessCredentials",
"package": "@supabase/gotrue-js",
"name": "SignInWithPasswordlessCredentials"
@@ -10053,7 +14613,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 805,
+ "id": 721,
"qualifiedName": "AuthResponse",
"package": "@supabase/gotrue-js",
"name": "AuthResponse"
@@ -10067,7 +14627,7 @@
]
},
{
- "id": 704,
+ "id": 620,
"name": "signInWithPassword",
"kind": 2048,
"kindString": "Method",
@@ -10077,13 +14637,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 80,
+ "line": 77,
"character": 4
}
],
"signatures": [
{
- "id": 705,
+ "id": 621,
"name": "signInWithPassword",
"kind": 4096,
"kindString": "Call signature",
@@ -10095,7 +14655,7 @@
},
"parameters": [
{
- "id": 706,
+ "id": 622,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
@@ -10104,7 +14664,7 @@
},
"type": {
"type": "reference",
- "id": 873,
+ "id": 797,
"qualifiedName": "SignInWithPasswordCredentials",
"package": "@supabase/gotrue-js",
"name": "SignInWithPasswordCredentials"
@@ -10116,7 +14676,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 805,
+ "id": 721,
"qualifiedName": "AuthResponse",
"package": "@supabase/gotrue-js",
"name": "AuthResponse"
@@ -10130,7 +14690,7 @@
]
},
{
- "id": 773,
+ "id": 689,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -10140,13 +14700,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 178,
+ "line": 175,
"character": 4
}
],
"signatures": [
{
- "id": 774,
+ "id": 690,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -10163,7 +14723,7 @@
{
"type": "reflection",
"declaration": {
- "id": 775,
+ "id": 691,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10172,7 +14732,7 @@
},
"children": [
{
- "id": 776,
+ "id": 692,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -10182,7 +14742,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 179,
+ "line": 176,
"character": 8
}
],
@@ -10195,6 +14755,7 @@
},
{
"type": "reference",
+ "id": 860,
"qualifiedName": "AuthError",
"package": "@supabase/gotrue-js",
"name": "AuthError"
@@ -10207,7 +14768,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [776]
+ "children": [
+ 692
+ ]
}
]
}
@@ -10221,7 +14784,7 @@
]
},
{
- "id": 696,
+ "id": 612,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -10231,13 +14794,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 67,
+ "line": 64,
"character": 4
}
],
"signatures": [
{
- "id": 697,
+ "id": 613,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -10249,7 +14812,7 @@
},
"parameters": [
{
- "id": 698,
+ "id": 614,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -10258,14 +14821,14 @@
},
"type": {
"type": "reference",
- "id": 866,
+ "id": 790,
"qualifiedName": "UserCredentials",
"package": "@supabase/gotrue-js",
"name": "UserCredentials"
}
},
{
- "id": 699,
+ "id": 615,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10276,7 +14839,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 700,
+ "id": 616,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10285,7 +14848,7 @@
},
"children": [
{
- "id": 703,
+ "id": 619,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -10296,7 +14859,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 70,
+ "line": 67,
"character": 8
}
],
@@ -10306,7 +14869,7 @@
}
},
{
- "id": 702,
+ "id": 618,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10314,10 +14877,13 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 69,
+ "line": 66,
"character": 8
}
],
@@ -10327,7 +14893,7 @@
}
},
{
- "id": 701,
+ "id": 617,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -10335,10 +14901,13 @@
"isExternal": true,
"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": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 68,
+ "line": 65,
"character": 8
}
],
@@ -10352,7 +14921,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [703, 702, 701]
+ "children": [
+ 619,
+ 618,
+ 617
+ ]
}
]
}
@@ -10364,7 +14937,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 805,
+ "id": 721,
"qualifiedName": "AuthResponse",
"package": "@supabase/gotrue-js",
"name": "AuthResponse"
@@ -10378,7 +14951,7 @@
]
},
{
- "id": 741,
+ "id": 657,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -10388,13 +14961,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 138,
+ "line": 135,
"character": 4
}
],
"signatures": [
{
- "id": 742,
+ "id": 658,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -10406,7 +14979,7 @@
},
"parameters": [
{
- "id": 743,
+ "id": 659,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -10415,7 +14988,7 @@
},
"type": {
"type": "reference",
- "id": 836,
+ "id": 760,
"qualifiedName": "UserAttributes",
"package": "@supabase/gotrue-js",
"name": "UserAttributes"
@@ -10431,7 +15004,7 @@
{
"type": "reflection",
"declaration": {
- "id": 744,
+ "id": 660,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10440,7 +15013,74 @@
},
"children": [
{
- "id": 746,
+ "id": 662,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 137,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 661,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 136,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 662,
+ 661
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 663,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 665,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -10455,12 +15095,15 @@
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
}
},
{
- "id": 745,
+ "id": 664,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -10474,72 +15117,6 @@
"character": 8
}
],
- "type": {
- "type": "reference",
- "id": 175,
- "qualifiedName": "User",
- "package": "@supabase/gotrue-js",
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [746, 745]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 747,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 749,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 143,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- },
- {
- "id": 748,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 142,
- "character": 8
- }
- ],
"type": {
"type": "literal",
"value": null
@@ -10550,7 +15127,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [749, 748]
+ "children": [
+ 665,
+ 664
+ ]
}
]
}
@@ -10566,7 +15146,7 @@
]
},
{
- "id": 713,
+ "id": 629,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
@@ -10576,13 +15156,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 106,
+ "line": 103,
"character": 4
}
],
"signatures": [
{
- "id": 714,
+ "id": 630,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -10594,7 +15174,7 @@
},
"parameters": [
{
- "id": 715,
+ "id": 631,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -10603,14 +15183,14 @@
},
"type": {
"type": "reference",
- "id": 906,
+ "id": 830,
"qualifiedName": "VerifyOTPParams",
"package": "@supabase/gotrue-js",
"name": "VerifyOTPParams"
}
},
{
- "id": 716,
+ "id": 632,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10621,7 +15201,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 717,
+ "id": 633,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10630,7 +15210,7 @@
},
"children": [
{
- "id": 718,
+ "id": 634,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -10638,10 +15218,13 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 107,
+ "line": 104,
"character": 8
}
],
@@ -10655,7 +15238,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [718]
+ "children": [
+ 634
+ ]
}
]
}
@@ -10667,7 +15252,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 805,
+ "id": 721,
"qualifiedName": "AuthResponse",
"package": "@supabase/gotrue-js",
"name": "AuthResponse"
@@ -10685,20 +15270,56 @@
{
"title": "Constructors",
"kind": 512,
- "children": [662]
+ "children": [
+ 581
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 796, 790, 793, 791, 792, 802, 797, 799, 795, 794, 800, 798, 801, 683, 686, 685,
- 688, 691, 687, 690, 692, 689, 684
+ 712,
+ 706,
+ 707,
+ 710,
+ 708,
+ 709,
+ 718,
+ 713,
+ 715,
+ 711,
+ 716,
+ 714,
+ 717,
+ 602,
+ 605,
+ 604,
+ 610,
+ 606,
+ 609,
+ 611,
+ 608,
+ 607,
+ 603
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [719, 762, 730, 777, 750, 707, 710, 704, 773, 696, 741, 713]
+ "children": [
+ 635,
+ 678,
+ 646,
+ 693,
+ 666,
+ 623,
+ 626,
+ 620,
+ 689,
+ 612,
+ 657,
+ 629
+ ]
}
],
"sources": [
@@ -10710,7 +15331,7 @@
]
},
{
- "id": 1043,
+ "id": 1167,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
@@ -10719,7 +15340,7 @@
},
"children": [
{
- "id": 1045,
+ "id": 1169,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -10729,13 +15350,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 20,
+ "line": 29,
"character": 4
}
],
"signatures": [
{
- "id": 1046,
+ "id": 1170,
"name": "new RealtimeChannel",
"kind": 16384,
"kindString": "Constructor signature",
@@ -10744,7 +15365,7 @@
},
"parameters": [
{
- "id": 1047,
+ "id": 1171,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -10757,7 +15378,7 @@
}
},
{
- "id": 1048,
+ "id": 1172,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -10767,7 +15388,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1049,
+ "id": 1173,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10775,7 +15396,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 1050,
+ "id": 1174,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -10784,7 +15405,7 @@
},
"parameters": [
{
- "id": 1051,
+ "id": 1175,
"name": "key",
"kind": 32768,
"flags": {
@@ -10805,7 +15426,7 @@
}
},
{
- "id": 1052,
+ "id": 1176,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
@@ -10814,7 +15435,7 @@
},
"type": {
"type": "reference",
- "id": 926,
+ "id": 1048,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
@@ -10823,7 +15444,7 @@
],
"type": {
"type": "reference",
- "id": 1043,
+ "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -10832,7 +15453,7 @@
]
},
{
- "id": 1059,
+ "id": 1183,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -10847,15 +15468,225 @@
}
],
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "any"
+ "type": "reflection",
+ "declaration": {
+ "id": 1184,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1185,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1186,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1187,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1193,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1189,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 15,
+ "character": 20
+ }
+ ],
+ "indexSignature": {
+ "id": 1191,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1192,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1194,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 19,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1188,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1193,
+ 1189,
+ 1194,
+ 1188
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 13,
+ "character": 23
+ }
+ ]
+ }
+ }
+ }
+ }
}
}
},
{
- "id": 1063,
+ "id": 1308,
+ "name": "getPayloadRecords",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 101,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1198,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -10865,7 +15696,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 16,
+ "line": 25,
"character": 4
}
],
@@ -10877,7 +15708,7 @@
}
},
{
- "id": 1062,
+ "id": 1197,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -10887,7 +15718,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 15,
+ "line": 24,
"character": 4
}
],
@@ -10897,7 +15728,7 @@
}
},
{
- "id": 1054,
+ "id": 1178,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -10914,7 +15745,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1055,
+ "id": 1179,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10922,7 +15753,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 1056,
+ "id": 1180,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -10931,7 +15762,7 @@
},
"parameters": [
{
- "id": 1057,
+ "id": 1181,
"name": "key",
"kind": 32768,
"flags": {
@@ -10952,7 +15783,7 @@
}
},
{
- "id": 1066,
+ "id": 1201,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -10962,20 +15793,20 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 19,
+ "line": 28,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 1143,
+ "id": 1309,
"qualifiedName": "RealtimePresence",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
- "id": 1065,
+ "id": 1200,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -10985,7 +15816,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 18,
+ "line": 27,
"character": 4
}
],
@@ -11000,7 +15831,7 @@
}
},
{
- "id": 1064,
+ "id": 1199,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -11010,7 +15841,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 17,
+ "line": 26,
"character": 4
}
],
@@ -11022,7 +15853,7 @@
}
},
{
- "id": 1058,
+ "id": 1182,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -11038,14 +15869,14 @@
],
"type": {
"type": "reference",
- "id": 926,
+ "id": 1048,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
- "id": 1061,
+ "id": 1196,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -11055,7 +15886,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 14,
+ "line": 23,
"character": 4
}
],
@@ -11067,7 +15898,7 @@
}
},
{
- "id": 1060,
+ "id": 1195,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -11077,7 +15908,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 13,
+ "line": 22,
"character": 4
}
],
@@ -11087,7 +15918,7 @@
}
},
{
- "id": 1053,
+ "id": 1177,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -11107,7 +15938,7 @@
}
},
{
- "id": 1044,
+ "id": 1168,
"name": "isEqual",
"kind": 1024,
"kindString": "Property",
@@ -11119,7 +15950,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 76,
+ "line": 100,
"character": 19
}
],
@@ -11129,7 +15960,7 @@
}
},
{
- "id": 1093,
+ "id": 1247,
"name": "canPush",
"kind": 2048,
"kindString": "Method",
@@ -11139,13 +15970,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 42,
+ "line": 60,
"character": 4
}
],
"signatures": [
{
- "id": 1094,
+ "id": 1248,
"name": "canPush",
"kind": 4096,
"kindString": "Call signature",
@@ -11163,7 +15994,7 @@
]
},
{
- "id": 1133,
+ "id": 1298,
"name": "isClosed",
"kind": 2048,
"kindString": "Method",
@@ -11173,13 +16004,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 71,
+ "line": 95,
"character": 4
}
],
"signatures": [
{
- "id": 1134,
+ "id": 1299,
"name": "isClosed",
"kind": 4096,
"kindString": "Call signature",
@@ -11194,7 +16025,7 @@
]
},
{
- "id": 1135,
+ "id": 1300,
"name": "isErrored",
"kind": 2048,
"kindString": "Method",
@@ -11204,13 +16035,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 72,
+ "line": 96,
"character": 4
}
],
"signatures": [
{
- "id": 1136,
+ "id": 1301,
"name": "isErrored",
"kind": 4096,
"kindString": "Call signature",
@@ -11225,7 +16056,7 @@
]
},
{
- "id": 1137,
+ "id": 1302,
"name": "isJoined",
"kind": 2048,
"kindString": "Method",
@@ -11235,13 +16066,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 73,
+ "line": 97,
"character": 4
}
],
"signatures": [
{
- "id": 1138,
+ "id": 1303,
"name": "isJoined",
"kind": 4096,
"kindString": "Call signature",
@@ -11256,7 +16087,7 @@
]
},
{
- "id": 1139,
+ "id": 1304,
"name": "isJoining",
"kind": 2048,
"kindString": "Method",
@@ -11266,13 +16097,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 74,
+ "line": 98,
"character": 4
}
],
"signatures": [
{
- "id": 1140,
+ "id": 1305,
"name": "isJoining",
"kind": 4096,
"kindString": "Call signature",
@@ -11287,7 +16118,7 @@
]
},
{
- "id": 1141,
+ "id": 1306,
"name": "isLeaving",
"kind": 2048,
"kindString": "Method",
@@ -11297,13 +16128,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 75,
+ "line": 99,
"character": 4
}
],
"signatures": [
{
- "id": 1142,
+ "id": 1307,
"name": "isLeaving",
"kind": 4096,
"kindString": "Call signature",
@@ -11318,7 +16149,7 @@
]
},
{
- "id": 1117,
+ "id": 1282,
"name": "isMember",
"kind": 2048,
"kindString": "Method",
@@ -11328,13 +16159,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 66,
+ "line": 90,
"character": 4
}
],
"signatures": [
{
- "id": 1118,
+ "id": 1283,
"name": "isMember",
"kind": 4096,
"kindString": "Call signature",
@@ -11343,7 +16174,7 @@
},
"parameters": [
{
- "id": 1119,
+ "id": 1284,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -11364,7 +16195,7 @@
]
},
{
- "id": 1120,
+ "id": 1285,
"name": "joinRef",
"kind": 2048,
"kindString": "Method",
@@ -11374,13 +16205,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 67,
+ "line": 91,
"character": 4
}
],
"signatures": [
{
- "id": 1121,
+ "id": 1286,
"name": "joinRef",
"kind": 4096,
"kindString": "Call signature",
@@ -11395,7 +16226,7 @@
]
},
{
- "id": 1086,
+ "id": 1240,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -11405,13 +16236,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 36,
+ "line": 54,
"character": 4
}
],
"signatures": [
{
- "id": 1087,
+ "id": 1241,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -11420,7 +16251,7 @@
},
"parameters": [
{
- "id": 1088,
+ "id": 1242,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -11433,7 +16264,7 @@
}
},
{
- "id": 1089,
+ "id": 1243,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -11443,7 +16274,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1090,
+ "id": 1244,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11451,7 +16282,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 1091,
+ "id": 1245,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -11460,7 +16291,7 @@
},
"parameters": [
{
- "id": 1092,
+ "id": 1246,
"name": "key",
"kind": 32768,
"flags": {
@@ -11483,7 +16314,7 @@
],
"type": {
"type": "reference",
- "id": 1043,
+ "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -11492,7 +16323,7 @@
]
},
{
- "id": 1078,
+ "id": 1232,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -11502,13 +16333,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 33,
+ "line": 51,
"character": 4
}
],
"signatures": [
{
- "id": 1079,
+ "id": 1233,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -11517,7 +16348,7 @@
},
"parameters": [
{
- "id": 1080,
+ "id": 1234,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -11530,18 +16361,17 @@
}
},
{
- "id": 1081,
+ "id": 1235,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExternal": true,
- "isOptional": true
+ "isExternal": true
},
"type": {
"type": "reflection",
"declaration": {
- "id": 1082,
+ "id": 1236,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11549,7 +16379,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 1083,
+ "id": 1237,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -11558,7 +16388,7 @@
},
"parameters": [
{
- "id": 1084,
+ "id": 1238,
"name": "key",
"kind": 32768,
"flags": {
@@ -11572,20 +16402,19 @@
],
"type": {
"type": "intrinsic",
- "name": "string"
+ "name": "any"
}
}
}
}
},
{
- "id": 1085,
+ "id": 1239,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExternal": true,
- "isOptional": true
+ "isExternal": true
},
"type": {
"type": "reference",
@@ -11597,7 +16426,7 @@
],
"type": {
"type": "reference",
- "id": 1043,
+ "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -11606,7 +16435,7 @@
]
},
{
- "id": 1072,
+ "id": 1226,
"name": "onClose",
"kind": 2048,
"kindString": "Method",
@@ -11616,13 +16445,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 28,
+ "line": 46,
"character": 4
}
],
"signatures": [
{
- "id": 1073,
+ "id": 1227,
"name": "onClose",
"kind": 4096,
"kindString": "Call signature",
@@ -11634,7 +16463,7 @@
},
"parameters": [
{
- "id": 1074,
+ "id": 1228,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -11657,7 +16486,7 @@
]
},
{
- "id": 1075,
+ "id": 1229,
"name": "onError",
"kind": 2048,
"kindString": "Method",
@@ -11667,13 +16496,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 32,
+ "line": 50,
"character": 4
}
],
"signatures": [
{
- "id": 1076,
+ "id": 1230,
"name": "onError",
"kind": 4096,
"kindString": "Call signature",
@@ -11685,7 +16514,7 @@
},
"parameters": [
{
- "id": 1077,
+ "id": 1231,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -11708,7 +16537,7 @@
]
},
{
- "id": 1112,
+ "id": 1277,
"name": "onMessage",
"kind": 2048,
"kindString": "Method",
@@ -11718,13 +16547,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 65,
+ "line": 89,
"character": 4
}
],
"signatures": [
{
- "id": 1113,
+ "id": 1278,
"name": "onMessage",
"kind": 4096,
"kindString": "Call signature",
@@ -11737,7 +16566,7 @@
},
"parameters": [
{
- "id": 1114,
+ "id": 1279,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -11750,7 +16579,7 @@
}
},
{
- "id": 1115,
+ "id": 1280,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -11763,7 +16592,7 @@
}
},
{
- "id": 1116,
+ "id": 1281,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
@@ -11785,7 +16614,40 @@
]
},
{
- "id": 1095,
+ "id": 1208,
+ "name": "presenceState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1209,
+ "name": "presenceState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1249,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -11795,13 +16657,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 43,
+ "line": 61,
"character": 4
}
],
"signatures": [
{
- "id": 1096,
+ "id": 1250,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -11810,7 +16672,7 @@
},
"parameters": [
{
- "id": 1097,
+ "id": 1251,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -11823,7 +16685,7 @@
}
},
{
- "id": 1098,
+ "id": 1252,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -11833,7 +16695,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1099,
+ "id": 1253,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11841,7 +16703,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 1100,
+ "id": 1254,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -11850,7 +16712,7 @@
},
"parameters": [
{
- "id": 1101,
+ "id": 1255,
"name": "key",
"kind": 32768,
"flags": {
@@ -11871,7 +16733,7 @@
}
},
{
- "id": 1102,
+ "id": 1256,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -11895,7 +16757,7 @@
]
},
{
- "id": 1122,
+ "id": 1287,
"name": "rejoin",
"kind": 2048,
"kindString": "Method",
@@ -11905,13 +16767,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 68,
+ "line": 92,
"character": 4
}
],
"signatures": [
{
- "id": 1123,
+ "id": 1288,
"name": "rejoin",
"kind": 4096,
"kindString": "Call signature",
@@ -11920,7 +16782,7 @@
},
"parameters": [
{
- "id": 1124,
+ "id": 1289,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -11942,7 +16804,7 @@
]
},
{
- "id": 1067,
+ "id": 1202,
"name": "rejoinUntilConnected",
"kind": 2048,
"kindString": "Method",
@@ -11952,13 +16814,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 23,
+ "line": 32,
"character": 4
}
],
"signatures": [
{
- "id": 1068,
+ "id": 1203,
"name": "rejoinUntilConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -11973,7 +16835,7 @@
]
},
{
- "id": 1130,
+ "id": 1295,
"name": "replyEventName",
"kind": 2048,
"kindString": "Method",
@@ -11983,13 +16845,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 70,
+ "line": 94,
"character": 4
}
],
"signatures": [
{
- "id": 1131,
+ "id": 1296,
"name": "replyEventName",
"kind": 4096,
"kindString": "Call signature",
@@ -11998,7 +16860,7 @@
},
"parameters": [
{
- "id": 1132,
+ "id": 1297,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
@@ -12019,7 +16881,185 @@
]
},
{
- "id": 1069,
+ "id": 1257,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1258,
+ "name": "send",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1259,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1260,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1261,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 65,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1261
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 1262,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1263,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1264,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1265,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1266,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1267,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1204,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -12029,13 +17069,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 24,
+ "line": 33,
"character": 4
}
],
"signatures": [
{
- "id": 1070,
+ "id": 1205,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -12044,7 +17084,23 @@
},
"parameters": [
{
- "id": 1071,
+ "id": 1206,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1207,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -12059,16 +17115,161 @@
}
],
"type": {
- "type": "reference",
- "qualifiedName": "Push",
- "package": "@supabase/realtime-js",
- "name": "default"
+ "type": "intrinsic",
+ "name": "void"
}
}
]
},
{
- "id": 1125,
+ "id": 1210,
+ "name": "track",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 35,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1211,
+ "name": "track",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1212,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1213,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1214,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1215,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1216,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1217,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1218,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1219,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1290,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -12078,13 +17279,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 69,
+ "line": 93,
"character": 4
}
],
"signatures": [
{
- "id": 1126,
+ "id": 1291,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -12093,7 +17294,7 @@
},
"parameters": [
{
- "id": 1127,
+ "id": 1292,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -12106,7 +17307,7 @@
}
},
{
- "id": 1128,
+ "id": 1293,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -12120,7 +17321,7 @@
}
},
{
- "id": 1129,
+ "id": 1294,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
@@ -12142,7 +17343,7 @@
]
},
{
- "id": 1109,
+ "id": 1274,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -12152,13 +17353,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 58,
+ "line": 82,
"character": 4
}
],
"signatures": [
{
- "id": 1110,
+ "id": 1275,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -12171,7 +17372,7 @@
},
"parameters": [
{
- "id": 1111,
+ "id": 1276,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -12187,15 +17388,133 @@
],
"type": {
"type": "reference",
- "qualifiedName": "Push",
- "package": "@supabase/realtime-js",
- "name": "default"
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 1103,
+ "id": 1220,
+ "name": "untrack",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 40,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1221,
+ "name": "untrack",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1222,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1223,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1224,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1225,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1268,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -12205,13 +17524,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
- "line": 46,
+ "line": 70,
"character": 4
}
],
"signatures": [
{
- "id": 1104,
+ "id": 1269,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
@@ -12220,7 +17539,7 @@
},
"parameters": [
{
- "id": 1105,
+ "id": 1270,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -12230,7 +17549,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1106,
+ "id": 1271,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12238,7 +17557,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 1107,
+ "id": 1272,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -12247,7 +17566,7 @@
},
"parameters": [
{
- "id": 1108,
+ "id": 1273,
"name": "key",
"kind": 32768,
"flags": {
@@ -12280,21 +17599,58 @@
{
"title": "Constructors",
"kind": 512,
- "children": [1045]
+ "children": [
+ 1169
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 1059, 1063, 1062, 1054, 1066, 1065, 1064, 1058, 1061, 1060, 1053, 1044
+ 1183,
+ 1308,
+ 1198,
+ 1197,
+ 1178,
+ 1201,
+ 1200,
+ 1199,
+ 1182,
+ 1196,
+ 1195,
+ 1177,
+ 1168
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 1093, 1133, 1135, 1137, 1139, 1141, 1117, 1120, 1086, 1078, 1072, 1075, 1112,
- 1095, 1122, 1067, 1130, 1069, 1125, 1109, 1103
+ 1247,
+ 1298,
+ 1300,
+ 1302,
+ 1304,
+ 1306,
+ 1282,
+ 1285,
+ 1240,
+ 1232,
+ 1226,
+ 1229,
+ 1277,
+ 1208,
+ 1249,
+ 1287,
+ 1202,
+ 1295,
+ 1257,
+ 1204,
+ 1210,
+ 1290,
+ 1274,
+ 1220,
+ 1268
]
}
],
@@ -12307,7 +17663,7 @@
]
},
{
- "id": 926,
+ "id": 1048,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
@@ -12316,7 +17672,7 @@
},
"children": [
{
- "id": 927,
+ "id": 1049,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -12326,13 +17682,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 77,
+ "line": 74,
"character": 4
}
],
"signatures": [
{
- "id": 928,
+ "id": 1050,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -12344,7 +17700,7 @@
},
"parameters": [
{
- "id": 929,
+ "id": 1051,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -12360,7 +17716,7 @@
}
},
{
- "id": 930,
+ "id": 1052,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -12370,7 +17726,7 @@
},
"type": {
"type": "reference",
- "id": 1025,
+ "id": 1150,
"qualifiedName": "Options",
"package": "@supabase/realtime-js",
"name": "Options"
@@ -12379,7 +17735,7 @@
],
"type": {
"type": "reference",
- "id": 926,
+ "id": 1048,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
@@ -12388,7 +17744,7 @@
]
},
{
- "id": 1022,
+ "id": 1147,
"name": "_appendParams",
"kind": 1024,
"kindString": "Property",
@@ -12396,48 +17752,6 @@
"isPrivate": true,
"isExternal": true
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 180,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 1023,
- "name": "_flushSendBuffer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPrivate": true,
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 181,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 1019,
- "name": "_onConnClose",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPrivate": true,
- "isExternal": true
- },
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
@@ -12451,8 +17765,8 @@
}
},
{
- "id": 1020,
- "name": "_onConnError",
+ "id": 1148,
+ "name": "_flushSendBuffer",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -12472,7 +17786,49 @@
}
},
{
- "id": 1018,
+ "id": 1144,
+ "name": "_onConnClose",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 174,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1145,
+ "name": "_onConnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 175,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1143,
"name": "_onConnOpen",
"kind": 1024,
"kindString": "Property",
@@ -12483,7 +17839,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 176,
+ "line": 173,
"character": 12
}
],
@@ -12493,7 +17849,7 @@
}
},
{
- "id": 1024,
+ "id": 1149,
"name": "_sendHeartbeat",
"kind": 1024,
"kindString": "Property",
@@ -12501,27 +17857,6 @@
"isPrivate": true,
"isExternal": true
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 182,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 1021,
- "name": "_triggerChanError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPrivate": true,
- "isExternal": true
- },
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
@@ -12535,7 +17870,28 @@
}
},
{
- "id": 931,
+ "id": 1146,
+ "name": "_triggerChanError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 176,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1053,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -12545,7 +17901,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 32,
+ "line": 31,
"character": 4
}
],
@@ -12564,7 +17920,7 @@
}
},
{
- "id": 932,
+ "id": 1054,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -12574,7 +17930,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 33,
+ "line": 32,
"character": 4
}
],
@@ -12582,7 +17938,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1043,
+ "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -12590,7 +17946,7 @@
}
},
{
- "id": 954,
+ "id": 1075,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -12600,7 +17956,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 53,
+ "line": 51,
"character": 4
}
],
@@ -12621,184 +17977,13 @@
}
},
{
- "id": 952,
+ "id": 1073,
"name": "decode",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 51,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 951,
- "name": "encode",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 50,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 933,
- "name": "endPoint",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 34,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 934,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 35,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 935,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "indexSignature": {
- "id": 936,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExternal": true
- },
- "parameters": [
- {
- "id": 937,
- "name": "key",
- "kind": 32768,
- "flags": {
- "isExternal": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 944,
- "name": "heartbeatIntervalMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 43,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 946,
- "name": "heartbeatTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 45,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reference",
- "qualifiedName": "global.NodeJS.Timer",
- "package": "@types/node",
- "name": "Timer"
- }
- ]
- }
- },
- {
- "id": 950,
- "name": "logger",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
@@ -12814,8 +17999,8 @@
}
},
{
- "id": 945,
- "name": "longpollerTimeout",
+ "id": 1072,
+ "name": "encode",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -12824,18 +18009,40 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 44,
+ "line": 48,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1055,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 33,
"character": 4
}
],
"type": {
"type": "intrinsic",
- "name": "number"
+ "name": "string"
}
},
{
- "id": 938,
- "name": "params",
+ "id": 1056,
+ "name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -12845,14 +18052,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 38,
+ "line": 34,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 939,
+ "id": 1057,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12860,7 +18067,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 940,
+ "id": 1058,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -12869,7 +18076,7 @@
},
"parameters": [
{
- "id": 941,
+ "id": 1059,
"name": "key",
"kind": 32768,
"flags": {
@@ -12890,7 +18097,136 @@
}
},
{
- "id": 947,
+ "id": 1066,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 42,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1067,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1071,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 47,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1060,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1061,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1062,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1063,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1068,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -12900,7 +18236,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 46,
+ "line": 44,
"character": 4
}
],
@@ -12919,7 +18255,7 @@
}
},
{
- "id": 953,
+ "id": 1074,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -12929,7 +18265,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 52,
+ "line": 50,
"character": 4
}
],
@@ -12941,7 +18277,7 @@
}
},
{
- "id": 949,
+ "id": 1070,
"name": "reconnectTimer",
"kind": 1024,
"kindString": "Property",
@@ -12951,7 +18287,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 48,
+ "line": 46,
"character": 4
}
],
@@ -12963,7 +18299,7 @@
}
},
{
- "id": 948,
+ "id": 1069,
"name": "ref",
"kind": 1024,
"kindString": "Property",
@@ -12973,7 +18309,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 47,
+ "line": 45,
"character": 4
}
],
@@ -12983,7 +18319,7 @@
}
},
{
- "id": 955,
+ "id": 1076,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -12993,7 +18329,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 54,
+ "line": 52,
"character": 4
}
],
@@ -13008,7 +18344,7 @@
}
},
{
- "id": 956,
+ "id": 1077,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
@@ -13018,7 +18354,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 55,
+ "line": 53,
"character": 4
}
],
@@ -13030,7 +18366,7 @@
}
},
{
- "id": 957,
+ "id": 1078,
"name": "stateChangeCallbacks",
"kind": 1024,
"kindString": "Property",
@@ -13040,14 +18376,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 56,
+ "line": 54,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 958,
+ "id": 1079,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13056,13 +18392,63 @@
},
"children": [
{
- "id": 960,
+ "id": 1081,
"name": "close",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 1082,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 1083,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
@@ -13081,57 +18467,7 @@
}
},
{
- "id": 961,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 59,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- }
- },
- {
- "id": 962,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 60,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- }
- },
- {
- "id": 959,
+ "id": 1080,
"name": "open",
"kind": 1024,
"kindString": "Property",
@@ -13141,7 +18477,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 57,
+ "line": 55,
"character": 8
}
],
@@ -13160,20 +18496,45 @@
{
"title": "Properties",
"kind": 1024,
- "children": [960, 961, 962, 959]
+ "children": [
+ 1081,
+ 1082,
+ 1083,
+ 1080
+ ]
}
]
}
}
},
{
- "id": 942,
+ "id": 1064,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 40,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1065,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
@@ -13181,33 +18542,13 @@
"character": 4
}
],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 943,
- "name": "transport",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 42,
- "character": 4
- }
- ],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
- "id": 996,
+ "id": 1121,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -13217,13 +18558,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 148,
+ "line": 145,
"character": 4
}
],
"signatures": [
{
- "id": 997,
+ "id": 1122,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
@@ -13232,7 +18573,7 @@
},
"parameters": [
{
- "id": 998,
+ "id": 1123,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -13245,7 +18586,7 @@
}
},
{
- "id": 999,
+ "id": 1124,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -13263,7 +18604,7 @@
],
"type": {
"type": "reference",
- "id": 1043,
+ "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -13272,7 +18613,7 @@
]
},
{
- "id": 963,
+ "id": 1084,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -13282,13 +18623,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 81,
+ "line": 78,
"character": 4
}
],
"signatures": [
{
- "id": 964,
+ "id": 1085,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -13306,7 +18647,7 @@
]
},
{
- "id": 989,
+ "id": 1114,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -13316,13 +18657,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 137,
+ "line": 134,
"character": 4
}
],
"signatures": [
{
- "id": 990,
+ "id": 1115,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -13342,7 +18683,7 @@
]
},
{
- "id": 965,
+ "id": 1086,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -13352,13 +18693,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 88,
+ "line": 85,
"character": 4
}
],
"signatures": [
{
- "id": 966,
+ "id": 1087,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -13370,7 +18711,7 @@
},
"parameters": [
{
- "id": 967,
+ "id": 1088,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -13387,7 +18728,7 @@
}
},
{
- "id": 968,
+ "id": 1089,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -13405,90 +18746,14 @@
}
],
"type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 969,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 971,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 90,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 970,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 89,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [971, 970]
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "type": "intrinsic",
+ "name": "void"
}
}
]
},
{
- "id": 1008,
+ "id": 1133,
"name": "endPointURL",
"kind": 2048,
"kindString": "Method",
@@ -13498,13 +18763,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 161,
+ "line": 158,
"character": 4
}
],
"signatures": [
{
- "id": 1009,
+ "id": 1134,
"name": "endPointURL",
"kind": 4096,
"kindString": "Call signature",
@@ -13522,7 +18787,44 @@
]
},
{
- "id": 991,
+ "id": 1090,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 86,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1091,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 1116,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -13532,13 +18834,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 141,
+ "line": 138,
"character": 4
}
],
"signatures": [
{
- "id": 992,
+ "id": 1117,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -13556,7 +18858,7 @@
]
},
{
- "id": 1015,
+ "id": 1140,
"name": "leaveOpenTopic",
"kind": 2048,
"kindString": "Method",
@@ -13566,13 +18868,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 175,
+ "line": 172,
"character": 4
}
],
"signatures": [
{
- "id": 1016,
+ "id": 1141,
"name": "leaveOpenTopic",
"kind": 4096,
"kindString": "Call signature",
@@ -13584,7 +18886,7 @@
},
"parameters": [
{
- "id": 1017,
+ "id": 1142,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -13605,7 +18907,7 @@
]
},
{
- "id": 972,
+ "id": 1097,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -13615,13 +18917,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 97,
+ "line": 94,
"character": 4
}
],
"signatures": [
{
- "id": 973,
+ "id": 1098,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -13634,7 +18936,7 @@
},
"parameters": [
{
- "id": 974,
+ "id": 1099,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -13647,7 +18949,7 @@
}
},
{
- "id": 975,
+ "id": 1100,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -13660,7 +18962,7 @@
}
},
{
- "id": 976,
+ "id": 1101,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -13682,7 +18984,7 @@
]
},
{
- "id": 1010,
+ "id": 1135,
"name": "makeRef",
"kind": 2048,
"kindString": "Method",
@@ -13692,13 +18994,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 165,
+ "line": 162,
"character": 4
}
],
"signatures": [
{
- "id": 1011,
+ "id": 1136,
"name": "makeRef",
"kind": 4096,
"kindString": "Call signature",
@@ -13716,7 +19018,7 @@
]
},
{
- "id": 980,
+ "id": 1105,
"name": "onClose",
"kind": 2048,
"kindString": "Method",
@@ -13726,13 +19028,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 115,
+ "line": 112,
"character": 4
}
],
"signatures": [
{
- "id": 981,
+ "id": 1106,
"name": "onClose",
"kind": 4096,
"kindString": "Call signature",
@@ -13750,7 +19052,7 @@
},
"parameters": [
{
- "id": 982,
+ "id": 1107,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -13776,7 +19078,7 @@
]
},
{
- "id": 1003,
+ "id": 1128,
"name": "onConnMessage",
"kind": 2048,
"kindString": "Method",
@@ -13786,13 +19088,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 155,
+ "line": 152,
"character": 4
}
],
"signatures": [
{
- "id": 1004,
+ "id": 1129,
"name": "onConnMessage",
"kind": 4096,
"kindString": "Call signature",
@@ -13801,7 +19103,7 @@
},
"parameters": [
{
- "id": 1005,
+ "id": 1130,
"name": "rawMessage",
"kind": 32768,
"kindString": "Parameter",
@@ -13811,7 +19113,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1006,
+ "id": 1131,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13820,7 +19122,7 @@
},
"children": [
{
- "id": 1007,
+ "id": 1132,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13830,7 +19132,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 156,
+ "line": 153,
"character": 8
}
],
@@ -13844,7 +19146,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [1007]
+ "children": [
+ 1132
+ ]
}
]
}
@@ -13859,7 +19163,7 @@
]
},
{
- "id": 983,
+ "id": 1108,
"name": "onError",
"kind": 2048,
"kindString": "Method",
@@ -13869,13 +19173,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 124,
+ "line": 121,
"character": 4
}
],
"signatures": [
{
- "id": 984,
+ "id": 1109,
"name": "onError",
"kind": 4096,
"kindString": "Call signature",
@@ -13893,7 +19197,7 @@
},
"parameters": [
{
- "id": 985,
+ "id": 1110,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -13919,7 +19223,7 @@
]
},
{
- "id": 986,
+ "id": 1111,
"name": "onMessage",
"kind": 2048,
"kindString": "Method",
@@ -13929,13 +19233,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 133,
+ "line": 130,
"character": 4
}
],
"signatures": [
{
- "id": 987,
+ "id": 1112,
"name": "onMessage",
"kind": 4096,
"kindString": "Call signature",
@@ -13953,7 +19257,7 @@
},
"parameters": [
{
- "id": 988,
+ "id": 1113,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -13979,7 +19283,7 @@
]
},
{
- "id": 977,
+ "id": 1102,
"name": "onOpen",
"kind": 2048,
"kindString": "Method",
@@ -13989,13 +19293,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 106,
+ "line": 103,
"character": 4
}
],
"signatures": [
{
- "id": 978,
+ "id": 1103,
"name": "onOpen",
"kind": 4096,
"kindString": "Call signature",
@@ -14013,7 +19317,7 @@
},
"parameters": [
{
- "id": 979,
+ "id": 1104,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -14039,7 +19343,7 @@
]
},
{
- "id": 1000,
+ "id": 1125,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -14049,13 +19353,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 154,
+ "line": 151,
"character": 4
}
],
"signatures": [
{
- "id": 1001,
+ "id": 1126,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -14068,7 +19372,7 @@
},
"parameters": [
{
- "id": 1002,
+ "id": 1127,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -14091,7 +19395,7 @@
]
},
{
- "id": 993,
+ "id": 1118,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -14101,13 +19405,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 147,
+ "line": 144,
"character": 4
}
],
"signatures": [
{
- "id": 994,
+ "id": 1119,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -14119,7 +19423,7 @@
},
"parameters": [
{
- "id": 995,
+ "id": 1120,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -14131,7 +19435,7 @@
},
"type": {
"type": "reference",
- "id": 1043,
+ "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -14146,7 +19450,132 @@
]
},
{
- "id": 1012,
+ "id": 1095,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 88,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1096,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1092,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 87,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1093,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1094,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1137,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -14156,13 +19585,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 171,
+ "line": 168,
"character": 4
}
],
"signatures": [
{
- "id": 1013,
+ "id": 1138,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -14174,7 +19603,7 @@
},
"parameters": [
{
- "id": 1014,
+ "id": 1139,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -14211,35 +19640,80 @@
{
"title": "Constructors",
"kind": 512,
- "children": [927]
+ "children": [
+ 1049
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 1022, 1023, 1019, 1020, 1018, 1024, 1021, 931, 932, 954, 952, 951, 933, 934,
- 944, 946, 950, 945, 938, 947, 953, 949, 948, 955, 956, 957, 942, 943
+ 1147,
+ 1148,
+ 1144,
+ 1145,
+ 1143,
+ 1149,
+ 1146,
+ 1053,
+ 1054,
+ 1075,
+ 1073,
+ 1072,
+ 1055,
+ 1056,
+ 1066,
+ 1067,
+ 1071,
+ 1060,
+ 1068,
+ 1074,
+ 1070,
+ 1069,
+ 1076,
+ 1077,
+ 1078,
+ 1064,
+ 1065
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 996, 963, 989, 965, 1008, 991, 1015, 972, 1010, 980, 1003, 983, 986, 977, 1000,
- 993, 1012
+ 1121,
+ 1084,
+ 1114,
+ 1086,
+ 1133,
+ 1090,
+ 1116,
+ 1140,
+ 1097,
+ 1135,
+ 1105,
+ 1128,
+ 1108,
+ 1111,
+ 1102,
+ 1125,
+ 1118,
+ 1095,
+ 1092,
+ 1137
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 31,
+ "line": 30,
"character": 21
}
]
},
{
- "id": 1143,
+ "id": 1309,
"name": "RealtimePresence",
"kind": 128,
"kindString": "Class",
@@ -14248,7 +19722,7 @@
},
"children": [
{
- "id": 1164,
+ "id": 1330,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -14264,7 +19738,7 @@
],
"signatures": [
{
- "id": 1165,
+ "id": 1331,
"name": "new RealtimePresence",
"kind": 16384,
"kindString": "Constructor signature",
@@ -14276,7 +19750,7 @@
},
"parameters": [
{
- "id": 1166,
+ "id": 1332,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -14288,14 +19762,14 @@
},
"type": {
"type": "reference",
- "id": 1043,
+ "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
- "id": 1167,
+ "id": 1333,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -14316,7 +19790,7 @@
],
"type": {
"type": "reference",
- "id": 1143,
+ "id": 1309,
"qualifiedName": "RealtimePresence",
"package": "@supabase/realtime-js",
"name": "default"
@@ -14325,7 +19799,7 @@
]
},
{
- "id": 1172,
+ "id": 1338,
"name": "caller",
"kind": 1024,
"kindString": "Property",
@@ -14342,7 +19816,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1173,
+ "id": 1339,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -14351,7 +19825,7 @@
},
"children": [
{
- "id": 1174,
+ "id": 1340,
"name": "onJoin",
"kind": 1024,
"kindString": "Property",
@@ -14373,7 +19847,7 @@
}
},
{
- "id": 1175,
+ "id": 1341,
"name": "onLeave",
"kind": 1024,
"kindString": "Property",
@@ -14395,7 +19869,7 @@
}
},
{
- "id": 1176,
+ "id": 1342,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
@@ -14411,7 +19885,7 @@
],
"signatures": [
{
- "id": 1177,
+ "id": 1343,
"name": "onSync",
"kind": 4096,
"kindString": "Call signature",
@@ -14430,19 +19904,24 @@
{
"title": "Properties",
"kind": 1024,
- "children": [1174, 1175]
+ "children": [
+ 1340,
+ 1341
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [1176]
+ "children": [
+ 1342
+ ]
}
]
}
}
},
{
- "id": 1168,
+ "id": 1334,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -14458,14 +19937,14 @@
],
"type": {
"type": "reference",
- "id": 1043,
+ "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
- "id": 1193,
+ "id": 1359,
"name": "inPendingSyncState",
"kind": 1024,
"kindString": "Property",
@@ -14486,7 +19965,7 @@
}
},
{
- "id": 1171,
+ "id": 1337,
"name": "joinRef",
"kind": 1024,
"kindString": "Property",
@@ -14515,7 +19994,7 @@
}
},
{
- "id": 1170,
+ "id": 1336,
"name": "pendingDiffs",
"kind": 1024,
"kindString": "Property",
@@ -14540,7 +20019,7 @@
}
},
{
- "id": 1169,
+ "id": 1335,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -14562,7 +20041,7 @@
}
},
{
- "id": 1163,
+ "id": 1329,
"name": "cloneDeep",
"kind": 1024,
"kindString": "Property",
@@ -14584,7 +20063,7 @@
}
},
{
- "id": 1161,
+ "id": 1327,
"name": "map",
"kind": 1024,
"kindString": "Property",
@@ -14606,7 +20085,7 @@
}
},
{
- "id": 1162,
+ "id": 1328,
"name": "transformState",
"kind": 1024,
"kindString": "Property",
@@ -14637,7 +20116,7 @@
}
},
{
- "id": 1189,
+ "id": 1355,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -14653,7 +20132,7 @@
],
"signatures": [
{
- "id": 1190,
+ "id": 1356,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -14662,7 +20141,7 @@
},
"typeParameter": [
{
- "id": 1191,
+ "id": 1357,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -14677,7 +20156,7 @@
],
"parameters": [
{
- "id": 1192,
+ "id": 1358,
"name": "by",
"kind": 32768,
"kindString": "Parameter",
@@ -14690,7 +20169,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1191,
+ "id": 1357,
"qualifiedName": "T",
"package": "@supabase/realtime-js",
"name": "T"
@@ -14706,7 +20185,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1191,
+ "id": 1357,
"qualifiedName": "T",
"package": "@supabase/realtime-js",
"name": "T"
@@ -14716,7 +20195,7 @@
]
},
{
- "id": 1178,
+ "id": 1344,
"name": "onJoin",
"kind": 2048,
"kindString": "Method",
@@ -14732,7 +20211,7 @@
],
"signatures": [
{
- "id": 1179,
+ "id": 1345,
"name": "onJoin",
"kind": 4096,
"kindString": "Call signature",
@@ -14741,7 +20220,7 @@
},
"parameters": [
{
- "id": 1180,
+ "id": 1346,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -14764,7 +20243,7 @@
]
},
{
- "id": 1181,
+ "id": 1347,
"name": "onLeave",
"kind": 2048,
"kindString": "Method",
@@ -14780,7 +20259,7 @@
],
"signatures": [
{
- "id": 1182,
+ "id": 1348,
"name": "onLeave",
"kind": 4096,
"kindString": "Call signature",
@@ -14789,7 +20268,7 @@
},
"parameters": [
{
- "id": 1183,
+ "id": 1349,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -14812,7 +20291,7 @@
]
},
{
- "id": 1184,
+ "id": 1350,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
@@ -14828,7 +20307,7 @@
],
"signatures": [
{
- "id": 1185,
+ "id": 1351,
"name": "onSync",
"kind": 4096,
"kindString": "Call signature",
@@ -14837,7 +20316,7 @@
},
"parameters": [
{
- "id": 1186,
+ "id": 1352,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -14847,7 +20326,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1187,
+ "id": 1353,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -14856,7 +20335,7 @@
},
"signatures": [
{
- "id": 1188,
+ "id": 1354,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -14881,7 +20360,7 @@
]
},
{
- "id": 1156,
+ "id": 1322,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -14898,7 +20377,7 @@
],
"signatures": [
{
- "id": 1157,
+ "id": 1323,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -14910,7 +20389,7 @@
},
"typeParameter": [
{
- "id": 1158,
+ "id": 1324,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -14925,7 +20404,7 @@
],
"parameters": [
{
- "id": 1159,
+ "id": 1325,
"name": "presences",
"kind": 32768,
"kindString": "Parameter",
@@ -14940,7 +20419,7 @@
}
},
{
- "id": 1160,
+ "id": 1326,
"name": "chooser",
"kind": 32768,
"kindString": "Parameter",
@@ -14959,7 +20438,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1158,
+ "id": 1324,
"qualifiedName": "T",
"package": "@supabase/realtime-js",
"name": "T"
@@ -14977,7 +20456,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1158,
+ "id": 1324,
"qualifiedName": "T",
"package": "@supabase/realtime-js",
"name": "T"
@@ -14987,7 +20466,7 @@
]
},
{
- "id": 1150,
+ "id": 1316,
"name": "syncDiff",
"kind": 2048,
"kindString": "Method",
@@ -15004,7 +20483,7 @@
],
"signatures": [
{
- "id": 1151,
+ "id": 1317,
"name": "syncDiff",
"kind": 4096,
"kindString": "Call signature",
@@ -15017,7 +20496,7 @@
},
"parameters": [
{
- "id": 1152,
+ "id": 1318,
"name": "state",
"kind": 32768,
"kindString": "Parameter",
@@ -15032,7 +20511,7 @@
}
},
{
- "id": 1153,
+ "id": 1319,
"name": "diff",
"kind": 32768,
"kindString": "Parameter",
@@ -15058,7 +20537,7 @@
}
},
{
- "id": 1154,
+ "id": 1320,
"name": "onJoin",
"kind": 32768,
"kindString": "Parameter",
@@ -15073,7 +20552,7 @@
}
},
{
- "id": 1155,
+ "id": 1321,
"name": "onLeave",
"kind": 32768,
"kindString": "Parameter",
@@ -15098,7 +20577,7 @@
]
},
{
- "id": 1144,
+ "id": 1310,
"name": "syncState",
"kind": 2048,
"kindString": "Method",
@@ -15115,7 +20594,7 @@
],
"signatures": [
{
- "id": 1145,
+ "id": 1311,
"name": "syncState",
"kind": 4096,
"kindString": "Call signature",
@@ -15128,7 +20607,7 @@
},
"parameters": [
{
- "id": 1146,
+ "id": 1312,
"name": "currentState",
"kind": 32768,
"kindString": "Parameter",
@@ -15143,7 +20622,7 @@
}
},
{
- "id": 1147,
+ "id": 1313,
"name": "newState",
"kind": 32768,
"kindString": "Parameter",
@@ -15169,7 +20648,7 @@
}
},
{
- "id": 1148,
+ "id": 1314,
"name": "onJoin",
"kind": 32768,
"kindString": "Parameter",
@@ -15184,7 +20663,7 @@
}
},
{
- "id": 1149,
+ "id": 1315,
"name": "onLeave",
"kind": 32768,
"kindString": "Parameter",
@@ -15213,17 +20692,37 @@
{
"title": "Constructors",
"kind": 512,
- "children": [1164]
+ "children": [
+ 1330
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [1172, 1168, 1193, 1171, 1170, 1169, 1163, 1161, 1162]
+ "children": [
+ 1338,
+ 1334,
+ 1359,
+ 1337,
+ 1336,
+ 1335,
+ 1329,
+ 1327,
+ 1328
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [1189, 1178, 1181, 1184, 1156, 1150, 1144]
+ "children": [
+ 1355,
+ 1344,
+ 1347,
+ 1350,
+ 1322,
+ 1316,
+ 1310
+ ]
}
],
"sources": [
@@ -15235,7 +20734,7 @@
]
},
{
- "id": 223,
+ "id": 161,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -15246,7 +20745,7 @@
},
"children": [
{
- "id": 224,
+ "id": 162,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -15254,13 +20753,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 70,
+ "line": 77,
"character": 2
}
],
"signatures": [
{
- "id": 225,
+ "id": 163,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -15270,7 +20769,7 @@
},
"typeParameter": [
{
- "id": 226,
+ "id": 164,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -15281,7 +20780,7 @@
}
},
{
- "id": 227,
+ "id": 165,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -15301,7 +20800,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
}
},
@@ -15321,7 +20820,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
}
}
@@ -15330,14 +20829,14 @@
}
},
{
- "id": 228,
+ "id": 166,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 169,
+ "id": 107,
"name": "GenericSchema"
},
"default": {
@@ -15346,18 +20845,18 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 227,
+ "id": 165,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 169,
+ "id": 107,
"name": "GenericSchema"
},
"trueType": {
@@ -15380,7 +20879,7 @@
],
"parameters": [
{
- "id": 229,
+ "id": 167,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -15394,7 +20893,7 @@
}
},
{
- "id": 230,
+ "id": 168,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -15408,7 +20907,7 @@
}
},
{
- "id": 231,
+ "id": 169,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -15417,11 +20916,11 @@
},
"type": {
"type": "reference",
- "id": 133,
+ "id": 79,
"typeArguments": [
{
"type": "reference",
- "id": 227,
+ "id": 165,
"name": "SchemaName"
}
],
@@ -15431,21 +20930,21 @@
],
"type": {
"type": "reference",
- "id": 223,
+ "id": 161,
"typeArguments": [
{
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
},
{
"type": "reference",
- "id": 227,
+ "id": 165,
"name": "SchemaName"
},
{
"type": "reference",
- "id": 228,
+ "id": 166,
"name": "Schema"
}
],
@@ -15455,7 +20954,7 @@
]
},
{
- "id": 232,
+ "id": 170,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -15466,7 +20965,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 42,
+ "line": 49,
"character": 2
}
],
@@ -15476,7 +20975,7 @@
}
},
{
- "id": 234,
+ "id": 172,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -15486,7 +20985,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 45,
+ "line": 52,
"character": 12
}
],
@@ -15496,7 +20995,7 @@
}
},
{
- "id": 245,
+ "id": 183,
"name": "changedAccessToken",
"kind": 1024,
"kindString": "Property",
@@ -15506,7 +21005,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 52,
+ "line": 59,
"character": 12
}
],
@@ -15525,7 +21024,7 @@
}
},
{
- "id": 240,
+ "id": 178,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -15536,28 +21035,28 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 51,
+ "line": 58,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 241,
+ "id": 179,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 242,
+ "id": 180,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 243,
+ "id": 181,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -15570,7 +21069,7 @@
}
},
{
- "id": 244,
+ "id": 182,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -15605,33 +21104,13 @@
}
},
{
- "id": 236,
+ "id": 174,
"name": "functionsUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 47,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 246,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
"sources": [
{
"fileName": "src/SupabaseClient.ts",
@@ -15639,23 +21118,43 @@
"character": 12
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 184,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
"type": {
"type": "reflection",
"declaration": {
- "id": 247,
+ "id": 185,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 248,
+ "id": 186,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 249,
+ "id": 187,
"name": "key",
"kind": 32768,
"flags": {},
@@ -15674,7 +21173,7 @@
}
},
{
- "id": 237,
+ "id": 175,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -15684,20 +21183,20 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 48,
+ "line": 55,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 926,
+ "id": 1048,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
- "id": 233,
+ "id": 171,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
@@ -15707,7 +21206,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 44,
+ "line": 51,
"character": 12
}
],
@@ -15717,7 +21216,7 @@
}
},
{
- "id": 238,
+ "id": 176,
"name": "rest",
"kind": 1024,
"kindString": "Property",
@@ -15727,7 +21226,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 49,
+ "line": 56,
"character": 12
}
],
@@ -15736,12 +21235,12 @@
"typeArguments": [
{
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
},
{
"type": "reference",
- "id": 227,
+ "id": 165,
"name": "SchemaName"
},
{
@@ -15750,12 +21249,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 227,
+ "id": 165,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
}
},
@@ -15788,7 +21287,7 @@
}
},
{
- "id": 239,
+ "id": 177,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -15798,7 +21297,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 50,
+ "line": 57,
"character": 12
}
],
@@ -15808,7 +21307,7 @@
}
},
{
- "id": 235,
+ "id": 173,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
@@ -15818,7 +21317,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 46,
+ "line": 53,
"character": 12
}
],
@@ -15828,7 +21327,7 @@
}
},
{
- "id": 251,
+ "id": 189,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -15841,7 +21340,7 @@
}
},
{
- "id": 250,
+ "id": 188,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -15854,7 +21353,7 @@
}
},
{
- "id": 252,
+ "id": 190,
"name": "functions",
"kind": 262144,
"kindString": "Accessor",
@@ -15862,13 +21361,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 120,
+ "line": 132,
"character": 6
}
],
"getSignature": [
{
- "id": 253,
+ "id": 191,
"name": "functions",
"kind": 524288,
"kindString": "Get signature",
@@ -15886,7 +21385,7 @@
]
},
{
- "id": 254,
+ "id": 192,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
@@ -15894,13 +21393,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 130,
+ "line": 142,
"character": 6
}
],
"getSignature": [
{
- "id": 255,
+ "id": 193,
"name": "storage",
"kind": 524288,
"kindString": "Get signature",
@@ -15918,104 +21417,7 @@
]
},
{
- "id": 295,
- "name": "_closeChannel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 229,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 296,
- "name": "_closeChannel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 297,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 1043,
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 298,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 299,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 229,
- "character": 67
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [299]
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 293,
+ "id": 225,
"name": "_getAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -16025,13 +21427,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 223,
+ "line": 225,
"character": 16
}
],
"signatures": [
{
- "id": 294,
+ "id": 226,
"name": "_getAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -16061,7 +21463,7 @@
]
},
{
- "id": 327,
+ "id": 247,
"name": "_handleTokenChanged",
"kind": 2048,
"kindString": "Method",
@@ -16071,34 +21473,34 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 302,
+ "line": 274,
"character": 10
}
],
"signatures": [
{
- "id": 328,
+ "id": 248,
"name": "_handleTokenChanged",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 329,
+ "id": 249,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 804,
+ "id": 720,
"qualifiedName": "AuthChangeEvent",
"package": "@supabase/gotrue-js",
"name": "AuthChangeEvent"
}
},
{
- "id": 330,
+ "id": 250,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -16118,7 +21520,7 @@
}
},
{
- "id": 331,
+ "id": 251,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
@@ -16146,7 +21548,7 @@
]
},
{
- "id": 316,
+ "id": 236,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -16156,29 +21558,27 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 288,
+ "line": 260,
"character": 10
}
],
"signatures": [
{
- "id": 317,
+ "id": 237,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 318,
+ "id": 238,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"type": {
"type": "reference",
- "id": 1025,
+ "id": 1150,
"qualifiedName": "Options",
"package": "@supabase/realtime-js",
"name": "Options"
@@ -16187,7 +21587,7 @@
],
"type": {
"type": "reference",
- "id": 926,
+ "id": 1048,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
@@ -16196,7 +21596,7 @@
]
},
{
- "id": 307,
+ "id": 227,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
@@ -16206,32 +21606,32 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 259,
+ "line": 231,
"character": 10
}
],
"signatures": [
{
- "id": 308,
+ "id": 228,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 309,
+ "id": 229,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 114,
+ "id": 60,
"name": "SupabaseAuthClientOptions"
}
},
{
- "id": 310,
+ "id": 230,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -16256,7 +21656,7 @@
}
},
{
- "id": 311,
+ "id": 231,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -16266,21 +21666,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 312,
+ "id": 232,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 313,
+ "id": 233,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 314,
+ "id": 234,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -16293,7 +21693,7 @@
}
},
{
- "id": 315,
+ "id": 235,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -16336,7 +21736,7 @@
]
},
{
- "id": 319,
+ "id": 239,
"name": "_listenForAuthEvents",
"kind": 2048,
"kindString": "Method",
@@ -16346,13 +21746,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 295,
+ "line": 267,
"character": 10
}
],
"signatures": [
{
- "id": 320,
+ "id": 240,
"name": "_listenForAuthEvents",
"kind": 4096,
"kindString": "Call signature",
@@ -16363,14 +21763,79 @@
{
"type": "reflection",
"declaration": {
- "id": 321,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 323,
+ "id": 243,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 184,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 242,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 183,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 776,
+ "qualifiedName": "Subscription",
+ "package": "@supabase/gotrue-js",
+ "name": "Subscription"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 243,
+ 242
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 244,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 246,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -16385,12 +21850,15 @@
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
}
},
{
- "id": 322,
+ "id": 245,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -16404,70 +21872,6 @@
"character": 8
}
],
- "type": {
- "type": "reference",
- "id": 852,
- "qualifiedName": "Subscription",
- "package": "@supabase/gotrue-js",
- "name": "Subscription"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [323, 322]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 324,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 326,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 190,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- },
- {
- "id": 325,
- "name": "subscription",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 189,
- "character": 8
- }
- ],
"type": {
"type": "literal",
"value": null
@@ -16478,7 +21882,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [326, 325]
+ "children": [
+ 246,
+ 245
+ ]
}
]
}
@@ -16489,104 +21896,7 @@
]
},
{
- "id": 300,
- "name": "_unsubscribeChannel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 242,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 301,
- "name": "_unsubscribeChannel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 302,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 1043,
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 303,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 304,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 242,
- "character": 67
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [304]
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 271,
+ "id": 211,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -16594,57 +21904,61 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 179,
+ "line": 197,
"character": 2
}
],
"signatures": [
{
- "id": 272,
+ "id": 212,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Creates a channel with Broadcast and Presence."
+ "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes."
},
"parameters": [
{
- "id": 273,
+ "id": 213,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "The name of the Realtime channel."
+ },
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
- "id": 274,
+ "id": 214,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isOptional": true
+ "flags": {},
+ "comment": {
+ "shortText": "The options to pass to the Realtime channel.\n\n"
},
"type": {
"type": "reflection",
"declaration": {
- "id": 275,
+ "id": 215,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 276,
+ "id": 216,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 277,
+ "id": 217,
"name": "key",
"kind": 32768,
"flags": {},
@@ -16660,19 +21974,22 @@
}
}
}
- }
+ },
+ "defaultValue": "{}"
}
],
"type": {
"type": "reference",
- "id": 11,
- "name": "SupabaseRealtimeChannel"
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
}
}
]
},
{
- "id": 256,
+ "id": 194,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -16680,13 +21997,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 139,
+ "line": 151,
"character": 2
}
],
"signatures": [
{
- "id": 257,
+ "id": 195,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -16696,7 +22013,7 @@
},
"typeParameter": [
{
- "id": 258,
+ "id": 196,
"name": "TableName",
"kind": 131072,
"kindString": "Type parameter",
@@ -16707,21 +22024,21 @@
}
},
{
- "id": 259,
+ "id": 197,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 160,
+ "id": 98,
"name": "GenericTable"
}
}
],
"parameters": [
{
- "id": 260,
+ "id": 198,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -16731,7 +22048,7 @@
},
"type": {
"type": "reference",
- "id": 258,
+ "id": 196,
"name": "TableName"
}
}
@@ -16741,7 +22058,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 259,
+ "id": 197,
"name": "Table"
}
],
@@ -16749,11 +22066,43 @@
"package": "@supabase/postgrest-js",
"name": "default"
}
+ },
+ {
+ "id": 199,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 200,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
}
]
},
{
- "id": 305,
+ "id": 218,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -16761,25 +22110,25 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 255,
+ "line": 204,
"character": 2
}
],
"signatures": [
{
- "id": 306,
+ "id": 219,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Returns an array of all your channels."
+ "shortText": "Returns all Realtime channels."
},
"type": {
"type": "array",
"elementType": {
"type": "reference",
- "id": 1043,
+ "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -16789,7 +22138,7 @@
]
},
{
- "id": 278,
+ "id": 223,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -16797,19 +22146,19 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 191,
- "character": 8
+ "line": 221,
+ "character": 2
}
],
"signatures": [
{
- "id": 279,
+ "id": 224,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Closes and removes all channels and returns a list of removed\nchannels and their errors."
+ "shortText": "Unsubscribes and removes all Realtime channels from Realtime client."
},
"type": {
"type": "reference",
@@ -16817,256 +22166,19 @@
{
"type": "array",
"elementType": {
- "type": "reflection",
- "declaration": {
- "id": 280,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 281,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 192,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 282,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 283,
- "name": "channels",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 192,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "id": 1043,
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [283]
- }
- ]
- }
- }
- },
- {
- "id": 284,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 192,
- "character": 43
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [281, 284]
- }
- ]
- }
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 285,
- "name": "removeChannel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 211,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 286,
- "name": "removeChannel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Closes and removes a channel and returns the number of open channels."
- },
- "parameters": [
- {
- "id": 287,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The channel you want to close and remove.\n"
- },
- "type": {
- "type": "reference",
- "id": 1043,
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 288,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
+ "type": "union",
+ "types": [
{
- "id": 289,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 213,
- "character": 15
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 290,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 291,
- "name": "openChannels",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 213,
- "character": 23
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [291]
- }
- ]
- }
- }
+ "type": "literal",
+ "value": "ok"
},
{
- "id": 292,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 213,
- "character": 47
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ]
- }
- }
- ],
- "groups": [
+ "type": "literal",
+ "value": "timed out"
+ },
{
- "title": "Properties",
- "kind": 1024,
- "children": [289, 292]
+ "type": "literal",
+ "value": "error"
}
]
}
@@ -17080,7 +22192,77 @@
]
},
{
- "id": 261,
+ "id": 220,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 221,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribes and removes Realtime channel from Realtime client."
+ },
+ "parameters": [
+ {
+ "id": 222,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The name of the Realtime channel.\n\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 201,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -17088,13 +22270,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 155,
+ "line": 169,
"character": 2
}
],
"signatures": [
{
- "id": 262,
+ "id": 202,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -17104,7 +22286,7 @@
},
"typeParameter": [
{
- "id": 263,
+ "id": 203,
"name": "FunctionName",
"kind": 131072,
"kindString": "Type parameter",
@@ -17115,21 +22297,21 @@
}
},
{
- "id": 264,
+ "id": 204,
"name": "Function_",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 165,
+ "id": 103,
"name": "GenericFunction"
}
}
],
"parameters": [
{
- "id": 265,
+ "id": 205,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -17139,12 +22321,12 @@
},
"type": {
"type": "reference",
- "id": 263,
+ "id": 203,
"name": "FunctionName"
}
},
{
- "id": 266,
+ "id": 206,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
@@ -17157,14 +22339,14 @@
},
"objectType": {
"type": "reference",
- "id": 264,
+ "id": 204,
"name": "Function_"
}
},
"defaultValue": "{}"
},
{
- "id": 267,
+ "id": 207,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -17174,14 +22356,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 268,
+ "id": 208,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 270,
+ "id": 210,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -17191,7 +22373,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 163,
+ "line": 177,
"character": 6
}
],
@@ -17214,7 +22396,7 @@
}
},
{
- "id": 269,
+ "id": 209,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -17224,7 +22406,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 162,
+ "line": 176,
"character": 6
}
],
@@ -17238,7 +22420,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [270, 269]
+ "children": [
+ 210,
+ 209
+ ]
}
]
}
@@ -17258,7 +22443,7 @@
},
"objectType": {
"type": "reference",
- "id": 264,
+ "id": 204,
"name": "Function_"
}
},
@@ -17334,7 +22519,7 @@
},
"objectType": {
"type": "reference",
- "id": 264,
+ "id": 204,
"name": "Function_"
}
}
@@ -17351,34 +22536,65 @@
{
"title": "Constructors",
"kind": 512,
- "children": [224]
+ "children": [
+ 162
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [232, 234, 245, 240, 236, 246, 237, 233, 238, 239, 235, 251, 250]
+ "children": [
+ 170,
+ 172,
+ 183,
+ 178,
+ 174,
+ 184,
+ 175,
+ 171,
+ 176,
+ 177,
+ 173,
+ 189,
+ 188
+ ]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [252, 254]
+ "children": [
+ 190,
+ 192
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [295, 293, 327, 316, 307, 319, 300, 271, 256, 305, 278, 285, 261]
+ "children": [
+ 225,
+ 247,
+ 236,
+ 227,
+ 239,
+ 211,
+ 194,
+ 218,
+ 223,
+ 220,
+ 201
+ ]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 30,
+ "line": 37,
"character": 21
}
],
"typeParameter": [
{
- "id": 332,
+ "id": 252,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -17389,7 +22605,7 @@
}
},
{
- "id": 333,
+ "id": 253,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -17406,7 +22622,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
}
}
@@ -17423,7 +22639,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
}
},
@@ -17443,7 +22659,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
}
}
@@ -17452,14 +22668,14 @@
}
},
{
- "id": 334,
+ "id": 254,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 169,
+ "id": 107,
"name": "GenericSchema"
},
"default": {
@@ -17468,30 +22684,30 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 227,
+ "id": 165,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 169,
+ "id": 107,
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 227,
+ "id": 165,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 226,
+ "id": 164,
"name": "Database"
}
},
@@ -17504,7 +22720,7 @@
]
},
{
- "id": 842,
+ "id": 766,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
@@ -17513,7 +22729,7 @@
},
"children": [
{
- "id": 844,
+ "id": 768,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -17528,7 +22744,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 118,
+ "line": 126,
"character": 4
}
],
@@ -17538,7 +22754,7 @@
}
},
{
- "id": 851,
+ "id": 775,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17552,7 +22768,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 95,
+ "line": 103,
"character": 4
}
],
@@ -17562,12 +22778,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 841,
+ "id": 765,
"name": "UserAttributes.data"
}
},
{
- "id": 847,
+ "id": 771,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -17578,89 +22794,6 @@
"comment": {
"shortText": "The user's email."
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 79,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 837,
- "name": "UserAttributes.email"
- }
- },
- {
- "id": 850,
- "name": "email_change_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "An email change token."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 91,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 840,
- "name": "UserAttributes.email_change_token"
- }
- },
- {
- "id": 845,
- "name": "email_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "Sets if a user has confirmed their email address.",
- "text": "Only a service role can modify.\n"
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 124,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 849,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
@@ -17674,12 +22807,95 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 761,
+ "name": "UserAttributes.email"
+ }
+ },
+ {
+ "id": 774,
+ "name": "email_change_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An email change token."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 99,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 764,
+ "name": "UserAttributes.email_change_token"
+ }
+ },
+ {
+ "id": 769,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 132,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 773,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 95,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 763,
"name": "UserAttributes.password"
}
},
{
- "id": 848,
+ "id": 772,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -17693,7 +22909,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 83,
+ "line": 91,
"character": 4
}
],
@@ -17703,12 +22919,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 762,
"name": "UserAttributes.phone"
}
},
{
- "id": 846,
+ "id": 770,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -17723,7 +22939,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 130,
+ "line": 138,
"character": 4
}
],
@@ -17733,7 +22949,7 @@
}
},
{
- "id": 843,
+ "id": 767,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -17748,7 +22964,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 109,
+ "line": 117,
"character": 4
}
],
@@ -17762,20 +22978,30 @@
{
"title": "Properties",
"kind": 1024,
- "children": [844, 851, 847, 850, 845, 849, 848, 846, 843]
+ "children": [
+ 768,
+ 775,
+ 771,
+ 774,
+ 769,
+ 773,
+ 772,
+ 770,
+ 767
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 97,
+ "line": 105,
"character": 17
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 836,
+ "id": 760,
"qualifiedName": "UserAttributes",
"package": "@supabase/gotrue-js",
"name": "UserAttributes"
@@ -17783,7 +23009,7 @@
]
},
{
- "id": 203,
+ "id": 141,
"name": "AuthSession",
"kind": 256,
"kindString": "Interface",
@@ -17792,7 +23018,7 @@
},
"children": [
{
- "id": 205,
+ "id": 143,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -17802,7 +23028,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 24,
+ "line": 32,
"character": 4
}
],
@@ -17812,7 +23038,7 @@
}
},
{
- "id": 207,
+ "id": 145,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -17826,7 +23052,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 32,
+ "line": 40,
"character": 4
}
],
@@ -17836,7 +23062,7 @@
}
},
{
- "id": 206,
+ "id": 144,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -17850,7 +23076,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 28,
+ "line": 36,
"character": 4
}
],
@@ -17860,7 +23086,7 @@
}
},
{
- "id": 204,
+ "id": 142,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -17871,7 +23097,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 23,
+ "line": 31,
"character": 4
}
],
@@ -17890,7 +23116,7 @@
}
},
{
- "id": 208,
+ "id": 146,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -17900,7 +23126,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 33,
+ "line": 41,
"character": 4
}
],
@@ -17910,7 +23136,7 @@
}
},
{
- "id": 209,
+ "id": 147,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -17920,7 +23146,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 34,
+ "line": 42,
"character": 4
}
],
@@ -17930,7 +23156,7 @@
}
},
{
- "id": 210,
+ "id": 148,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -17940,13 +23166,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 35,
+ "line": 43,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 175,
+ "id": 113,
"qualifiedName": "User",
"package": "@supabase/gotrue-js",
"name": "User"
@@ -17957,19 +23183,27 @@
{
"title": "Properties",
"kind": 1024,
- "children": [205, 207, 206, 204, 208, 209, 210]
+ "children": [
+ 143,
+ 145,
+ 144,
+ 142,
+ 146,
+ 147,
+ 148
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 22,
+ "line": 30,
"character": 17
}
]
},
{
- "id": 175,
+ "id": 113,
"name": "AuthUser",
"kind": 256,
"kindString": "Interface",
@@ -17978,7 +23212,7 @@
},
"children": [
{
- "id": 192,
+ "id": 130,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -17989,7 +23223,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 63,
+ "line": 71,
"character": 4
}
],
@@ -17999,7 +23233,7 @@
}
},
{
- "id": 177,
+ "id": 115,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -18009,14 +23243,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 50,
+ "line": 58,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 178,
+ "id": 116,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18025,7 +23259,7 @@
},
"children": [
{
- "id": 179,
+ "id": 117,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -18036,7 +23270,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 51,
+ "line": 59,
"character": 8
}
],
@@ -18050,11 +23284,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [179]
+ "children": [
+ 117
+ ]
}
],
"indexSignature": {
- "id": 180,
+ "id": 118,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -18063,7 +23299,7 @@
},
"parameters": [
{
- "id": 181,
+ "id": 119,
"name": "key",
"kind": 32768,
"flags": {
@@ -18084,269 +23320,13 @@
}
},
{
- "id": 186,
+ "id": 124,
"name": "aud",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 57,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 187,
- "name": "confirmation_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 58,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 196,
- "name": "confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 67,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 195,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 66,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 193,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 64,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 189,
- "name": "email_change_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 60,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 197,
- "name": "email_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 68,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 176,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 49,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 202,
- "name": "identities",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 73,
- "character": 4
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 824,
- "qualifiedName": "UserIdentity",
- "package": "@supabase/gotrue-js",
- "name": "UserIdentity"
- }
- }
- },
- {
- "id": 191,
- "name": "invited_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 62,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 199,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 70,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 190,
- "name": "new_email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 61,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 194,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
@@ -18360,8 +23340,8 @@
}
},
{
- "id": 198,
- "name": "phone_confirmed_at",
+ "id": 125,
+ "name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -18371,7 +23351,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 69,
+ "line": 66,
"character": 4
}
],
@@ -18381,8 +23361,8 @@
}
},
{
- "id": 188,
- "name": "recovery_sent_at",
+ "id": 134,
+ "name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -18392,7 +23372,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 59,
+ "line": 75,
"character": 4
}
],
@@ -18402,18 +23382,17 @@
}
},
{
- "id": 200,
- "name": "role",
+ "id": 133,
+ "name": "created_at",
"kind": 1024,
"kindString": "Property",
"flags": {
- "isExternal": true,
- "isOptional": true
+ "isExternal": true
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 71,
+ "line": 74,
"character": 4
}
],
@@ -18423,8 +23402,8 @@
}
},
{
- "id": 201,
- "name": "updated_at",
+ "id": 131,
+ "name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -18444,7 +23423,264 @@
}
},
{
- "id": 182,
+ "id": 127,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 135,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 76,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 114,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 57,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 140,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 81,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 748,
+ "qualifiedName": "UserIdentity",
+ "package": "@supabase/gotrue-js",
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 129,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 70,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 137,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 78,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 128,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 132,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 73,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 136,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 77,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 126,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 67,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 138,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 79,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 139,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 80,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 120,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -18454,14 +23690,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 54,
+ "line": 62,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 183,
+ "id": 121,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18469,7 +23705,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 184,
+ "id": 122,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -18478,7 +23714,7 @@
},
"parameters": [
{
- "id": 185,
+ "id": 123,
"name": "key",
"kind": 32768,
"flags": {
@@ -18504,21 +23740,39 @@
"title": "Properties",
"kind": 1024,
"children": [
- 192, 177, 186, 187, 196, 195, 193, 189, 197, 176, 202, 191, 199, 190, 194, 198,
- 188, 200, 201, 182
+ 130,
+ 115,
+ 124,
+ 125,
+ 134,
+ 133,
+ 131,
+ 127,
+ 135,
+ 114,
+ 140,
+ 129,
+ 137,
+ 128,
+ 132,
+ 136,
+ 126,
+ 138,
+ 139,
+ 120
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 48,
+ "line": 56,
"character": 17
}
]
},
{
- "id": 860,
+ "id": 784,
"name": "CookieOptions",
"kind": 256,
"kindString": "Interface",
@@ -18527,7 +23781,7 @@
},
"children": [
{
- "id": 863,
+ "id": 787,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -18535,10 +23789,13 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "The cookie domain this should run on. Leave it blank to restrict it to your domain."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 149,
+ "line": 160,
"character": 4
}
],
@@ -18548,7 +23805,7 @@
}
},
{
- "id": 862,
+ "id": 786,
"name": "lifetime",
"kind": 1024,
"kindString": "Property",
@@ -18556,10 +23813,13 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "The cookie lifetime (expiration) in seconds. Set to 8 hours by default."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 148,
+ "line": 158,
"character": 4
}
],
@@ -18569,7 +23829,7 @@
}
},
{
- "id": 861,
+ "id": 785,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -18577,10 +23837,13 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "The Cookie name prefix. Defaults to `sb` meaning the cookies will be `sb-access-token` and `sb-refresh-token`."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 147,
+ "line": 156,
"character": 4
}
],
@@ -18590,7 +23853,7 @@
}
},
{
- "id": 864,
+ "id": 788,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -18601,7 +23864,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 150,
+ "line": 161,
"character": 4
}
],
@@ -18611,7 +23874,7 @@
}
},
{
- "id": 865,
+ "id": 789,
"name": "sameSite",
"kind": 1024,
"kindString": "Property",
@@ -18619,10 +23882,13 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "SameSite configuration for the session cookie. Defaults to 'lax', but can be changed to 'strict' or 'none'. Set it to false if you want to disable the SameSite setting."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 151,
+ "line": 163,
"character": 4
}
],
@@ -18636,19 +23902,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [863, 862, 861, 864, 865]
+ "children": [
+ 787,
+ 786,
+ 785,
+ 788,
+ 789
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 146,
+ "line": 154,
"character": 17
}
]
},
{
- "id": 919,
+ "id": 843,
"name": "OpenIDConnectCredentials",
"kind": 256,
"kindString": "Interface",
@@ -18657,7 +23929,7 @@
},
"children": [
{
- "id": 923,
+ "id": 847,
"name": "client_id",
"kind": 1024,
"kindString": "Property",
@@ -18668,7 +23940,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 215,
+ "line": 229,
"character": 4
}
],
@@ -18678,7 +23950,7 @@
}
},
{
- "id": 920,
+ "id": 844,
"name": "id_token",
"kind": 1024,
"kindString": "Property",
@@ -18688,7 +23960,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 212,
+ "line": 226,
"character": 4
}
],
@@ -18698,7 +23970,7 @@
}
},
{
- "id": 924,
+ "id": 848,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -18709,7 +23981,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 216,
+ "line": 230,
"character": 4
}
],
@@ -18719,7 +23991,7 @@
}
},
{
- "id": 921,
+ "id": 845,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -18729,7 +24001,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 213,
+ "line": 227,
"character": 4
}
],
@@ -18739,7 +24011,7 @@
}
},
{
- "id": 922,
+ "id": 846,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -18750,13 +24022,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 214,
+ "line": 228,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 803,
+ "id": 719,
"qualifiedName": "Provider",
"package": "@supabase/gotrue-js",
"name": "Provider"
@@ -18767,19 +24039,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [923, 920, 924, 921, 922]
+ "children": [
+ 847,
+ 844,
+ 848,
+ 845,
+ 846
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 211,
+ "line": 225,
"character": 17
}
]
},
{
- "id": 899,
+ "id": 823,
"name": "SignInWithOAuthOptions",
"kind": 256,
"kindString": "Interface",
@@ -18788,7 +24066,7 @@
},
"children": [
{
- "id": 902,
+ "id": 826,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -18799,14 +24077,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 192,
+ "line": 206,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 903,
+ "id": 827,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18814,7 +24092,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 904,
+ "id": 828,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -18823,7 +24101,7 @@
},
"parameters": [
{
- "id": 905,
+ "id": 829,
"name": "key",
"kind": 32768,
"flags": {
@@ -18844,7 +24122,7 @@
}
},
{
- "id": 900,
+ "id": 824,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -18855,7 +24133,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 190,
+ "line": 204,
"character": 4
}
],
@@ -18865,7 +24143,7 @@
}
},
{
- "id": 901,
+ "id": 825,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -18876,7 +24154,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 191,
+ "line": 205,
"character": 4
}
],
@@ -18890,19 +24168,23 @@
{
"title": "Properties",
"kind": 1024,
- "children": [902, 900, 901]
+ "children": [
+ 826,
+ 824,
+ 825
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 189,
+ "line": 203,
"character": 17
}
]
},
{
- "id": 882,
+ "id": 806,
"name": "SignInWithPasswordOptions",
"kind": 256,
"kindString": "Interface",
@@ -18911,7 +24193,7 @@
},
"children": [
{
- "id": 883,
+ "id": 807,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -18922,7 +24204,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 171,
+ "line": 184,
"character": 4
}
],
@@ -18936,19 +24218,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [883]
+ "children": [
+ 807
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 170,
+ "line": 183,
"character": 17
}
]
},
{
- "id": 891,
+ "id": 815,
"name": "SignInWithPasswordlessOptions",
"kind": 256,
"kindString": "Interface",
@@ -18957,7 +24241,7 @@
},
"children": [
{
- "id": 894,
+ "id": 818,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -18968,7 +24252,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 183,
+ "line": 197,
"character": 4
}
],
@@ -18978,7 +24262,7 @@
}
},
{
- "id": 892,
+ "id": 816,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -18986,10 +24270,13 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 181,
+ "line": 195,
"character": 4
}
],
@@ -18999,7 +24286,7 @@
}
},
{
- "id": 893,
+ "id": 817,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -19010,7 +24297,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 182,
+ "line": 196,
"character": 4
}
],
@@ -19024,19 +24311,23 @@
{
"title": "Properties",
"kind": 1024,
- "children": [894, 892, 893]
+ "children": [
+ 818,
+ 816,
+ 817
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 180,
+ "line": 193,
"character": 17
}
]
},
{
- "id": 852,
+ "id": 776,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
@@ -19045,7 +24336,7 @@
},
"children": [
{
- "id": 853,
+ "id": 777,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -19058,7 +24349,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 136,
+ "line": 144,
"character": 4
}
],
@@ -19068,7 +24359,7 @@
}
},
{
- "id": 854,
+ "id": 778,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -19078,13 +24369,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 140,
+ "line": 148,
"character": 4
}
],
"signatures": [
{
- "id": 855,
+ "id": 779,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -19096,7 +24387,7 @@
},
"parameters": [
{
- "id": 856,
+ "id": 780,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -19105,14 +24396,14 @@
},
"type": {
"type": "reference",
- "id": 804,
+ "id": 720,
"qualifiedName": "AuthChangeEvent",
"package": "@supabase/gotrue-js",
"name": "AuthChangeEvent"
}
},
{
- "id": 857,
+ "id": 781,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -19128,7 +24419,7 @@
},
{
"type": "reference",
- "id": 203,
+ "id": 141,
"qualifiedName": "Session",
"package": "@supabase/gotrue-js",
"name": "Session"
@@ -19145,7 +24436,7 @@
]
},
{
- "id": 858,
+ "id": 782,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -19155,13 +24446,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 144,
+ "line": 152,
"character": 4
}
],
"signatures": [
{
- "id": 859,
+ "id": 783,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -19183,24 +24474,29 @@
{
"title": "Properties",
"kind": 1024,
- "children": [853]
+ "children": [
+ 777
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [854, 858]
+ "children": [
+ 778,
+ 782
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 132,
+ "line": 140,
"character": 17
}
]
},
{
- "id": 836,
+ "id": 760,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
@@ -19209,7 +24505,7 @@
},
"children": [
{
- "id": 841,
+ "id": 765,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19223,7 +24519,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 95,
+ "line": 103,
"character": 4
}
],
@@ -19233,7 +24529,7 @@
}
},
{
- "id": 837,
+ "id": 761,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19244,54 +24540,6 @@
"comment": {
"shortText": "The user's email."
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 79,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 840,
- "name": "email_change_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "An email change token."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 91,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 839,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
@@ -19305,7 +24553,55 @@
}
},
{
- "id": 838,
+ "id": 764,
+ "name": "email_change_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An email change token."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 99,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 763,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 95,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 762,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -19319,7 +24615,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 83,
+ "line": 91,
"character": 4
}
],
@@ -19333,26 +24629,32 @@
{
"title": "Properties",
"kind": 1024,
- "children": [841, 837, 840, 839, 838]
+ "children": [
+ 765,
+ 761,
+ 764,
+ 763,
+ 762
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 75,
+ "line": 83,
"character": 17
}
],
"extendedBy": [
{
"type": "reference",
- "id": 842,
+ "id": 766,
"name": "AdminUserAttributes"
}
]
},
{
- "id": 866,
+ "id": 790,
"name": "UserCredentials",
"kind": 256,
"kindString": "Interface",
@@ -19361,7 +24663,7 @@
},
"children": [
{
- "id": 867,
+ "id": 791,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19372,7 +24674,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 154,
+ "line": 166,
"character": 4
}
],
@@ -19382,7 +24684,7 @@
}
},
{
- "id": 872,
+ "id": 796,
"name": "oidc",
"kind": 1024,
"kindString": "Property",
@@ -19393,20 +24695,20 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 159,
+ "line": 172,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 919,
+ "id": 843,
"qualifiedName": "OpenIDConnectCredentials",
"package": "@supabase/gotrue-js",
"name": "OpenIDConnectCredentials"
}
},
{
- "id": 869,
+ "id": 793,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -19417,7 +24719,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 156,
+ "line": 168,
"character": 4
}
],
@@ -19427,7 +24729,7 @@
}
},
{
- "id": 868,
+ "id": 792,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -19438,7 +24740,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 155,
+ "line": 167,
"character": 4
}
],
@@ -19448,7 +24750,7 @@
}
},
{
- "id": 871,
+ "id": 795,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -19456,23 +24758,26 @@
"isExternal": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "The name of the provider."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 158,
+ "line": 171,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 803,
+ "id": 719,
"qualifiedName": "Provider",
"package": "@supabase/gotrue-js",
"name": "Provider"
}
},
{
- "id": 870,
+ "id": 794,
"name": "refreshToken",
"kind": 1024,
"kindString": "Property",
@@ -19483,7 +24788,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 157,
+ "line": 169,
"character": 4
}
],
@@ -19497,19 +24802,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [867, 872, 869, 868, 871, 870]
+ "children": [
+ 791,
+ 796,
+ 793,
+ 792,
+ 795,
+ 794
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 153,
+ "line": 165,
"character": 17
}
]
},
{
- "id": 824,
+ "id": 748,
"name": "UserIdentity",
"kind": 256,
"kindString": "Interface",
@@ -19518,7 +24830,7 @@
},
"children": [
{
- "id": 832,
+ "id": 756,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -19528,7 +24840,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 44,
+ "line": 52,
"character": 4
}
],
@@ -19538,7 +24850,7 @@
}
},
{
- "id": 825,
+ "id": 749,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -19548,7 +24860,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 38,
+ "line": 46,
"character": 4
}
],
@@ -19558,7 +24870,7 @@
}
},
{
- "id": 827,
+ "id": 751,
"name": "identity_data",
"kind": 1024,
"kindString": "Property",
@@ -19568,14 +24880,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 40,
+ "line": 48,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 828,
+ "id": 752,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19583,7 +24895,7 @@
"isExternal": true
},
"indexSignature": {
- "id": 829,
+ "id": 753,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -19592,7 +24904,7 @@
},
"parameters": [
{
- "id": 830,
+ "id": 754,
"name": "key",
"kind": 32768,
"flags": {
@@ -19613,7 +24925,7 @@
}
},
{
- "id": 833,
+ "id": 757,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -19623,7 +24935,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 45,
+ "line": 53,
"character": 4
}
],
@@ -19633,7 +24945,7 @@
}
},
{
- "id": 831,
+ "id": 755,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -19643,7 +24955,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 43,
+ "line": 51,
"character": 4
}
],
@@ -19653,7 +24965,7 @@
}
},
{
- "id": 834,
+ "id": 758,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -19664,7 +24976,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 46,
+ "line": 54,
"character": 4
}
],
@@ -19674,7 +24986,7 @@
}
},
{
- "id": 826,
+ "id": 750,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -19684,7 +24996,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 39,
+ "line": 47,
"character": 4
}
],
@@ -19698,19 +25010,27 @@
{
"title": "Properties",
"kind": 1024,
- "children": [832, 825, 827, 833, 831, 834, 826]
+ "children": [
+ 756,
+ 749,
+ 751,
+ 757,
+ 755,
+ 758,
+ 750
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 37,
+ "line": 45,
"character": 17
}
]
},
{
- "id": 912,
+ "id": 836,
"name": "VerifyEmailOTPParams",
"kind": 256,
"kindString": "Interface",
@@ -19719,7 +25039,7 @@
},
"children": [
{
- "id": 913,
+ "id": 837,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19729,7 +25049,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 204,
+ "line": 218,
"character": 4
}
],
@@ -19739,7 +25059,7 @@
}
},
{
- "id": 914,
+ "id": 838,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -19750,7 +25070,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 205,
+ "line": 219,
"character": 4
}
],
@@ -19760,7 +25080,7 @@
}
},
{
- "id": 915,
+ "id": 839,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -19770,7 +25090,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 206,
+ "line": 220,
"character": 4
}
],
@@ -19780,7 +25100,7 @@
}
},
{
- "id": 916,
+ "id": 840,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -19790,13 +25110,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 207,
+ "line": 221,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 918,
+ "id": 842,
"qualifiedName": "EmailOTPType",
"package": "@supabase/gotrue-js",
"name": "EmailOTPType"
@@ -19807,19 +25127,24 @@
{
"title": "Properties",
"kind": 1024,
- "children": [913, 914, 915, 916]
+ "children": [
+ 837,
+ 838,
+ 839,
+ 840
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 203,
+ "line": 217,
"character": 17
}
]
},
{
- "id": 907,
+ "id": 831,
"name": "VerifyMobileOTPParams",
"kind": 256,
"kindString": "Interface",
@@ -19828,7 +25153,7 @@
},
"children": [
{
- "id": 908,
+ "id": 832,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19839,7 +25164,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 198,
+ "line": 212,
"character": 4
}
],
@@ -19849,7 +25174,7 @@
}
},
{
- "id": 909,
+ "id": 833,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -19859,7 +25184,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 199,
+ "line": 213,
"character": 4
}
],
@@ -19869,7 +25194,7 @@
}
},
{
- "id": 910,
+ "id": 834,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -19879,7 +25204,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 200,
+ "line": 214,
"character": 4
}
],
@@ -19889,7 +25214,7 @@
}
},
{
- "id": 911,
+ "id": 835,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -19900,13 +25225,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 201,
+ "line": 215,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 917,
+ "id": 841,
"qualifiedName": "MobileOTPType",
"package": "@supabase/gotrue-js",
"name": "MobileOTPType"
@@ -19917,19 +25242,24 @@
{
"title": "Properties",
"kind": 1024,
- "children": [908, 909, 910, 911]
+ "children": [
+ 832,
+ 833,
+ 834,
+ 835
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 197,
+ "line": 211,
"character": 17
}
]
},
{
- "id": 804,
+ "id": 720,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -19974,7 +25304,7 @@
}
},
{
- "id": 805,
+ "id": 721,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -19994,7 +25324,7 @@
{
"type": "reflection",
"declaration": {
- "id": 806,
+ "id": 722,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20003,60 +25333,8 @@
},
"children": [
{
- "id": 809,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 7,
- "character": 4
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 808,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 6,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 203,
- "qualifiedName": "Session",
- "package": "@supabase/gotrue-js",
- "name": "Session"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- },
- {
- "id": 807,
- "name": "user",
+ "id": 723,
+ "name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -20070,100 +25348,109 @@
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 175,
- "qualifiedName": "User",
- "package": "@supabase/gotrue-js",
- "name": "User"
+ "type": "reflection",
+ "declaration": {
+ "id": 724,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
},
- {
- "type": "literal",
- "value": null
- }
- ]
+ "children": [
+ {
+ "id": 726,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 7,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 725,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 6,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 726,
+ 725
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 5,
+ "character": 10
+ }
+ ]
+ }
}
- }
- ],
- "groups": [
+ },
{
- "title": "Properties",
- "kind": 1024,
- "children": [809, 808, 807]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 4,
- "character": 35
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 810,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 813,
+ "id": 727,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 11,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- },
- {
- "id": 812,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 10,
- "character": 4
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 811,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
@@ -20181,13 +25468,157 @@
{
"title": "Properties",
"kind": 1024,
- "children": [813, 812, 811]
+ "children": [
+ 723,
+ 727
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 8,
+ "line": 4,
+ "character": 35
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 728,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 729,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 730,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 732,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 731,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 12,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 732,
+ 731
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 11,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 733,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 15,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 729,
+ 733
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 10,
"character": 4
}
]
@@ -20197,7 +25628,176 @@
}
},
{
- "id": 918,
+ "id": 850,
+ "name": "CallRefreshTokenResult",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 238,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 851,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 853,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 240,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 852,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 239,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 853,
+ 852
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 238,
+ "character": 45
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 854,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 856,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 243,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 855,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 242,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 856,
+ 855
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 241,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 842,
"name": "EmailOTPType",
"kind": 4194304,
"kindString": "Type alias",
@@ -20207,7 +25807,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 210,
+ "line": 224,
"character": 20
}
],
@@ -20238,7 +25838,7 @@
}
},
{
- "id": 917,
+ "id": 841,
"name": "MobileOTPType",
"kind": 4194304,
"kindString": "Type alias",
@@ -20248,7 +25848,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 209,
+ "line": 223,
"character": 20
}
],
@@ -20267,7 +25867,7 @@
}
},
{
- "id": 814,
+ "id": 734,
"name": "OAuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -20277,7 +25877,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 13,
+ "line": 17,
"character": 20
}
],
@@ -20287,7 +25887,7 @@
{
"type": "reflection",
"declaration": {
- "id": 815,
+ "id": 735,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20296,121 +25896,8 @@
},
"children": [
{
- "id": 818,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 16,
- "character": 4
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 816,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 14,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 803,
- "qualifiedName": "Provider",
- "package": "@supabase/gotrue-js",
- "name": "Provider"
- }
- },
- {
- "id": 817,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 15,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [818, 816, 817]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 13,
- "character": 36
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 819,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 822,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 20,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AuthError",
- "package": "@supabase/gotrue-js",
- "name": "AuthError"
- }
- },
- {
- "id": 820,
- "name": "provider",
+ "id": 736,
+ "name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -20424,16 +25911,83 @@
}
],
"type": {
- "type": "reference",
- "id": 803,
- "qualifiedName": "Provider",
- "package": "@supabase/gotrue-js",
- "name": "Provider"
+ "type": "reflection",
+ "declaration": {
+ "id": 737,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 738,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 19,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 719,
+ "qualifiedName": "Provider",
+ "package": "@supabase/gotrue-js",
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 739,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 20,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 738,
+ 739
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 18,
+ "character": 10
+ }
+ ]
+ }
}
},
{
- "id": 821,
- "name": "url",
+ "id": 740,
+ "name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -20442,7 +25996,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 19,
+ "line": 22,
"character": 4
}
],
@@ -20456,13 +26010,160 @@
{
"title": "Properties",
"kind": 1024,
- "children": [822, 820, 821]
+ "children": [
+ 736,
+ 740
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
"line": 17,
+ "character": 36
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 741,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 742,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 24,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 743,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 744,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 719,
+ "qualifiedName": "Provider",
+ "package": "@supabase/gotrue-js",
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 745,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 744,
+ 745
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 24,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 746,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 742,
+ 746
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 23,
"character": 4
}
]
@@ -20472,7 +26173,7 @@
}
},
{
- "id": 217,
+ "id": 155,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
@@ -20493,7 +26194,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 218,
+ "id": 156,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20502,7 +26203,7 @@
},
"children": [
{
- "id": 222,
+ "id": 160,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -20522,7 +26223,7 @@
}
},
{
- "id": 220,
+ "id": 158,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -20542,7 +26243,7 @@
}
},
{
- "id": 221,
+ "id": 159,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -20562,7 +26263,7 @@
}
},
{
- "id": 219,
+ "id": 157,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -20586,7 +26287,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [222, 220, 221, 219]
+ "children": [
+ 160,
+ 158,
+ 159,
+ 157
+ ]
}
],
"sources": [
@@ -20600,7 +26306,7 @@
}
},
{
- "id": 215,
+ "id": 153,
"name": "PostgrestMaybeSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -20616,7 +26322,7 @@
],
"typeParameter": [
{
- "id": 216,
+ "id": 154,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20627,14 +26333,14 @@
],
"type": {
"type": "reference",
- "id": 213,
+ "id": 151,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
- "id": 216,
+ "id": 154,
"qualifiedName": "T",
"package": "@supabase/postgrest-js",
"name": "T"
@@ -20652,7 +26358,7 @@
}
},
{
- "id": 211,
+ "id": 149,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -20668,7 +26374,7 @@
],
"typeParameter": [
{
- "id": 212,
+ "id": 150,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20685,7 +26391,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 212,
+ "id": 150,
"qualifiedName": "T",
"package": "@supabase/postgrest-js",
"name": "T"
@@ -20705,7 +26411,7 @@
}
},
{
- "id": 213,
+ "id": 151,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -20721,7 +26427,7 @@
],
"typeParameter": [
{
- "id": 214,
+ "id": 152,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20738,7 +26444,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 214,
+ "id": 152,
"qualifiedName": "T",
"package": "@supabase/postgrest-js",
"name": "T"
@@ -20758,7 +26464,7 @@
}
},
{
- "id": 803,
+ "id": 719,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -20843,7 +26549,7 @@
}
},
{
- "id": 1025,
+ "id": 1150,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -20860,7 +26566,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1026,
+ "id": 1151,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20869,7 +26575,7 @@
},
"children": [
{
- "id": 1033,
+ "id": 1157,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -20877,29 +26583,6 @@
"isExternal": true,
"isOptional": true
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 12,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 1032,
- "name": "encode",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
@@ -20915,92 +26598,8 @@
}
},
{
- "id": 1035,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 14,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1036,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 14,
- "character": 14
- }
- ],
- "indexSignature": {
- "id": 1037,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExternal": true
- },
- "parameters": [
- {
- "id": 1038,
- "name": "key",
- "kind": 32768,
- "flags": {
- "isExternal": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 1029,
- "name": "heartbeatIntervalMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 8,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1031,
- "name": "logger",
+ "id": 1156,
+ "name": "encode",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -21022,8 +26621,8 @@
}
},
{
- "id": 1030,
- "name": "longpollerTimeout",
+ "id": 1159,
+ "name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -21033,35 +26632,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 9,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1039,
- "name": "params",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 17,
+ "line": 13,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 1040,
+ "id": 1160,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21071,12 +26649,12 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 17,
- "character": 13
+ "line": 13,
+ "character": 14
}
],
"indexSignature": {
- "id": 1041,
+ "id": 1161,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -21085,7 +26663,7 @@
},
"parameters": [
{
- "id": 1042,
+ "id": 1162,
"name": "key",
"kind": 32768,
"flags": {
@@ -21106,8 +26684,8 @@
}
},
{
- "id": 1034,
- "name": "reconnectAfterMs",
+ "id": 1154,
+ "name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -21117,7 +26695,28 @@
"sources": [
{
"fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
- "line": 13,
+ "line": 8,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1155,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 9,
"character": 4
}
],
@@ -21129,7 +26728,93 @@
}
},
{
- "id": 1028,
+ "id": 1163,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 16,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1164,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 16,
+ "character": 13
+ }
+ ],
+ "indexSignature": {
+ "id": 1165,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1166,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1158,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 12,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1153,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -21150,7 +26835,7 @@
}
},
{
- "id": 1027,
+ "id": 1152,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -21177,7 +26862,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [1033, 1032, 1035, 1029, 1031, 1030, 1039, 1034, 1028, 1027]
+ "children": [
+ 1157,
+ 1156,
+ 1159,
+ 1154,
+ 1155,
+ 1163,
+ 1158,
+ 1153,
+ 1152
+ ]
}
],
"sources": [
@@ -21191,7 +26886,7 @@
}
},
{
- "id": 895,
+ "id": 819,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -21201,14 +26896,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 185,
+ "line": 199,
"character": 20
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 896,
+ "id": 820,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21217,7 +26912,7 @@
},
"children": [
{
- "id": 898,
+ "id": 822,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21228,20 +26923,20 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 187,
+ "line": 201,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 899,
+ "id": 823,
"qualifiedName": "SignInWithOAuthOptions",
"package": "@supabase/gotrue-js",
"name": "SignInWithOAuthOptions"
}
},
{
- "id": 897,
+ "id": 821,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -21251,13 +26946,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 186,
+ "line": 200,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 803,
+ "id": 719,
"qualifiedName": "Provider",
"package": "@supabase/gotrue-js",
"name": "Provider"
@@ -21268,13 +26963,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [898, 897]
+ "children": [
+ 822,
+ 821
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 185,
+ "line": 199,
"character": 49
}
]
@@ -21282,7 +26980,7 @@
}
},
{
- "id": 873,
+ "id": 797,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -21292,7 +26990,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 161,
+ "line": 174,
"character": 20
}
],
@@ -21302,7 +27000,7 @@
{
"type": "reflection",
"declaration": {
- "id": 874,
+ "id": 798,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21311,239 +27009,13 @@
},
"children": [
{
- "id": 875,
+ "id": 799,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExternal": true
},
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 162,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 877,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 164,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 882,
- "qualifiedName": "SignInWithPasswordOptions",
- "package": "@supabase/gotrue-js",
- "name": "SignInWithPasswordOptions"
- }
- },
- {
- "id": 876,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 163,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [875, 877, 876]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 161,
- "character": 52
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 878,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 881,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 168,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 882,
- "qualifiedName": "SignInWithPasswordOptions",
- "package": "@supabase/gotrue-js",
- "name": "SignInWithPasswordOptions"
- }
- },
- {
- "id": 880,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 167,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 879,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 166,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [881, 880, 879]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 165,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 884,
- "name": "SignInWithPasswordlessCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 173,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 885,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 886,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 174,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 887,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
@@ -21552,43 +27024,12 @@
}
],
"type": {
- "type": "reference",
- "id": 891,
- "qualifiedName": "SignInWithPasswordlessOptions",
- "package": "@supabase/gotrue-js",
- "name": "SignInWithPasswordlessOptions"
+ "type": "intrinsic",
+ "name": "string"
}
- }
- ],
- "groups": [
+ },
{
- "title": "Properties",
- "kind": 1024,
- "children": [886, 887]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 173,
- "character": 56
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 888,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExternal": true
- },
- "children": [
- {
- "id": 890,
+ "id": 801,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21599,21 +27040,21 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 178,
+ "line": 177,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 891,
- "qualifiedName": "SignInWithPasswordlessOptions",
+ "id": 806,
+ "qualifiedName": "SignInWithPasswordOptions",
"package": "@supabase/gotrue-js",
- "name": "SignInWithPasswordlessOptions"
+ "name": "SignInWithPasswordOptions"
}
},
{
- "id": 889,
- "name": "phone",
+ "id": 800,
+ "name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -21622,7 +27063,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 177,
+ "line": 176,
"character": 4
}
],
@@ -21636,13 +27077,113 @@
{
"title": "Properties",
"kind": 1024,
- "children": [890, 889]
+ "children": [
+ 799,
+ 801,
+ 800
+ ]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 176,
+ "line": 174,
+ "character": 52
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 802,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 805,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 181,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 806,
+ "qualifiedName": "SignInWithPasswordOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithPasswordOptions"
+ }
+ },
+ {
+ "id": 804,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 180,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 803,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 179,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 805,
+ 804,
+ 803
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 178,
"character": 4
}
]
@@ -21652,7 +27193,178 @@
}
},
{
- "id": 925,
+ "id": 808,
+ "name": "SignInWithPasswordlessCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 186,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 809,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 810,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 187,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 811,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 188,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 815,
+ "qualifiedName": "SignInWithPasswordlessOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithPasswordlessOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 810,
+ 811
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 186,
+ "character": 56
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 812,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 814,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 191,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 815,
+ "qualifiedName": "SignInWithPasswordlessOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithPasswordlessOptions"
+ }
+ },
+ {
+ "id": 813,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 190,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 814,
+ 813
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 189,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 849,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -21662,7 +27374,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 223,
+ "line": 237,
"character": 20
}
],
@@ -21707,7 +27419,7 @@
}
},
{
- "id": 906,
+ "id": 830,
"name": "VerifyOTPParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21717,7 +27429,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
- "line": 196,
+ "line": 210,
"character": 20
}
],
@@ -21726,14 +27438,14 @@
"types": [
{
"type": "reference",
- "id": 907,
+ "id": 831,
"qualifiedName": "VerifyMobileOTPParams",
"package": "@supabase/gotrue-js",
"name": "VerifyMobileOTPParams"
},
{
"type": "reference",
- "id": 912,
+ "id": 836,
"qualifiedName": "VerifyEmailOTPParams",
"package": "@supabase/gotrue-js",
"name": "VerifyEmailOTPParams"
@@ -21833,7 +27545,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 169,
+ "id": 107,
"name": "GenericSchema"
},
"default": {
@@ -21853,7 +27565,7 @@
},
"extendsType": {
"type": "reference",
- "id": 169,
+ "id": 107,
"name": "GenericSchema"
},
"trueType": {
@@ -21907,7 +27619,7 @@
},
"type": {
"type": "reference",
- "id": 133,
+ "id": 79,
"typeArguments": [
{
"type": "reference",
@@ -21921,7 +27633,7 @@
],
"type": {
"type": "reference",
- "id": 223,
+ "id": 161,
"typeArguments": [
{
"type": "reference",
@@ -21943,40 +27655,149 @@
}
}
]
+ },
+ {
+ "id": 857,
+ "name": "isAuthError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 5,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 858,
+ "name": "isAuthError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 859,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ }
+ ]
}
],
"groups": [
{
"title": "References",
"kind": 16777216,
- "children": [823, 335, 336, 835]
+ "children": [
+ 747,
+ 255,
+ 759
+ ]
},
{
"title": "Namespaces",
"kind": 4,
- "children": [1194]
+ "children": [
+ 1360
+ ]
},
{
"title": "Classes",
"kind": 128,
- "children": [337, 661, 1043, 926, 1143, 223]
+ "children": [
+ 878,
+ 860,
+ 951,
+ 1023,
+ 999,
+ 975,
+ 904,
+ 924,
+ 256,
+ 580,
+ 1167,
+ 1048,
+ 1309,
+ 161
+ ]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [842, 203, 175, 860, 919, 899, 882, 891, 852, 836, 866, 824, 912, 907]
+ "children": [
+ 766,
+ 141,
+ 113,
+ 784,
+ 843,
+ 823,
+ 806,
+ 815,
+ 776,
+ 760,
+ 790,
+ 748,
+ 836,
+ 831
+ ]
},
{
- "title": "Type aliases",
+ "title": "Type Aliases",
"kind": 4194304,
"children": [
- 804, 805, 918, 917, 814, 217, 215, 211, 213, 803, 1025, 895, 873, 884, 925, 906
+ 720,
+ 721,
+ 850,
+ 842,
+ 841,
+ 734,
+ 155,
+ 153,
+ 149,
+ 151,
+ 719,
+ 1150,
+ 819,
+ 797,
+ 808,
+ 849,
+ 830
]
},
{
"title": "Functions",
"kind": 64,
- "children": [2]
+ "children": [
+ 2,
+ 857
+ ]
}
],
"sources": [
@@ -21989,897 +27810,13 @@
},
{
"id": 10,
- "name": "lib/SupabaseRealtimeChannel",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 11,
- "name": "SupabaseRealtimeChannel",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 12,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 7,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 13,
- "name": "new SupabaseRealtimeChannel",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 14,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 15,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 16,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 17,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 18,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 19,
- "name": "socket",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 926,
- "qualifiedName": "RealtimeClient",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 11,
- "name": "SupabaseRealtimeChannel"
- }
- }
- ]
- },
- {
- "id": 21,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 1043,
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- },
- {
- "id": 20,
- "name": "socket",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 926,
- "qualifiedName": "RealtimeClient",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- },
- {
- "id": 62,
- "name": "getPayloadRecords",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 122,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 63,
- "name": "getPayloadRecords",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 64,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 65,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 66,
- "name": "new",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 67,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 68,
- "name": "old",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 69,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- },
- "defaultValue": "{}"
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [66, 68]
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 22,
- "name": "on",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 19,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 23,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "The event you want to listen to."
- },
- "parameters": [
- {
- "id": 24,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The event"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 25,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "An object that specifies what you want to listen to from the event."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 26,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A callback function that is called whenever the event occurs.\n"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 27,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 28,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 29,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 11,
- "name": "SupabaseRealtimeChannel"
- }
- }
- ]
- },
- {
- "id": 33,
- "name": "presenceList",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 74,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 34,
- "name": "presenceList",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ]
- },
- {
- "id": 35,
- "name": "send",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 78,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 36,
- "name": "send",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 37,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 38,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 39,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 79,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [39]
- }
- ],
- "indexSignature": {
- "id": 40,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 41,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 42,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 43,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 44,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 45,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "tuple",
- "elements": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timeout"
- }
- ]
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 30,
- "name": "subscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 46,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 31,
- "name": "subscribe",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Enables the channel."
- },
- "parameters": [
- {
- "id": 32,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "id": 1043,
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 46,
- "name": "track",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 98,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 47,
- "name": "track",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 48,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 49,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 50,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 51,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 52,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 53,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 54,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 55,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "tuple",
- "elements": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timeout"
- }
- ]
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 56,
- "name": "untrack",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 112,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 57,
- "name": "untrack",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 58,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 59,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 60,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 61,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "tuple",
- "elements": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timeout"
- }
- ]
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [12]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [21, 20]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [62, 22, 33, 35, 30, 46, 56]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 3,
- "character": 13
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [11]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeChannel.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 70,
"name": "lib/constants",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 71,
+ "id": 11,
"name": "DEFAULT_HEADERS",
"kind": 32,
"kindString": "Variable",
@@ -22896,18 +27833,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 72,
+ "id": 12,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 73,
+ "id": 13,
"name": "X-Client-Info",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 3,
+ "character": 33
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "string"
@@ -22919,7 +27863,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [73]
+ "children": [
+ 13
+ ]
}
]
}
@@ -22931,7 +27877,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [71]
+ "children": [
+ 11
+ ]
}
],
"sources": [
@@ -22943,14 +27891,14 @@
]
},
{
- "id": 74,
+ "id": 14,
"name": "lib/fetch",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 90,
+ "id": 30,
"name": "fetchWithAuth",
"kind": 64,
"kindString": "Function",
@@ -22964,14 +27912,14 @@
],
"signatures": [
{
- "id": 91,
+ "id": 31,
"name": "fetchWithAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 92,
+ "id": 32,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -22982,7 +27930,7 @@
}
},
{
- "id": 93,
+ "id": 33,
"name": "getAccessToken",
"kind": 32768,
"kindString": "Parameter",
@@ -22990,14 +27938,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 34,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 95,
+ "id": 35,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -23029,7 +27977,7 @@
}
},
{
- "id": 96,
+ "id": 36,
"name": "customFetch",
"kind": 32768,
"kindString": "Parameter",
@@ -23039,21 +27987,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 97,
+ "id": 37,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 98,
+ "id": 38,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 99,
+ "id": 39,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -23066,7 +28014,7 @@
}
},
{
- "id": 100,
+ "id": 40,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -23104,21 +28052,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 101,
+ "id": 41,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 102,
+ "id": 42,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 103,
+ "id": 43,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -23131,7 +28079,7 @@
}
},
{
- "id": 104,
+ "id": 44,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -23168,7 +28116,7 @@
]
},
{
- "id": 75,
+ "id": 15,
"name": "resolveFetch",
"kind": 64,
"kindString": "Function",
@@ -23182,14 +28130,14 @@
],
"signatures": [
{
- "id": 76,
+ "id": 16,
"name": "resolveFetch",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 77,
+ "id": 17,
"name": "customFetch",
"kind": 32768,
"kindString": "Parameter",
@@ -23199,21 +28147,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 78,
+ "id": 18,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 79,
+ "id": 19,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 80,
+ "id": 20,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -23226,7 +28174,7 @@
}
},
{
- "id": 81,
+ "id": 21,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -23264,21 +28212,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 82,
+ "id": 22,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 83,
+ "id": 23,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 84,
+ "id": 24,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -23291,7 +28239,7 @@
}
},
{
- "id": 85,
+ "id": 25,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -23328,7 +28276,7 @@
]
},
{
- "id": 86,
+ "id": 26,
"name": "resolveHeadersConstructor",
"kind": 64,
"kindString": "Function",
@@ -23342,7 +28290,7 @@
],
"signatures": [
{
- "id": 87,
+ "id": 27,
"name": "resolveHeadersConstructor",
"kind": 4096,
"kindString": "Call signature",
@@ -23350,14 +28298,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 28,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 89,
+ "id": 29,
"name": "prototype",
"kind": 1024,
"kindString": "Property",
@@ -23383,7 +28331,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [89]
+ "children": [
+ 29
+ ]
}
]
}
@@ -23396,7 +28346,11 @@
{
"title": "Functions",
"kind": 64,
- "children": [90, 75, 86]
+ "children": [
+ 30,
+ 15,
+ 26
+ ]
}
],
"sources": [
@@ -23408,14 +28362,150 @@
]
},
{
- "id": 105,
+ "id": 45,
"name": "lib/helpers",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 111,
+ "id": 51,
+ "name": "applySettingDefaults",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 18,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 52,
+ "name": "applySettingDefaults",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 53,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 54,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 53,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 53,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 55,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 54,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ },
+ {
+ "id": 56,
+ "name": "defaults",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 54,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ]
+ },
+ {
+ "id": 57,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -23423,13 +28513,13 @@
"sources": [
{
"fileName": "src/lib/helpers.ts",
- "line": 15,
+ "line": 16,
"character": 13
}
],
"signatures": [
{
- "id": 112,
+ "id": 58,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -23442,7 +28532,7 @@
]
},
{
- "id": 108,
+ "id": 48,
"name": "stripTrailingSlash",
"kind": 64,
"kindString": "Function",
@@ -23450,20 +28540,20 @@
"sources": [
{
"fileName": "src/lib/helpers.ts",
- "line": 11,
+ "line": 12,
"character": 16
}
],
"signatures": [
{
- "id": 109,
+ "id": 49,
"name": "stripTrailingSlash",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 110,
+ "id": 50,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -23482,7 +28572,7 @@
]
},
{
- "id": 106,
+ "id": 46,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -23490,13 +28580,13 @@
"sources": [
{
"fileName": "src/lib/helpers.ts",
- "line": 3,
+ "line": 4,
"character": 16
}
],
"signatures": [
{
- "id": 107,
+ "id": 47,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -23513,33 +28603,38 @@
{
"title": "Functions",
"kind": 64,
- "children": [111, 108, 106]
+ "children": [
+ 51,
+ 57,
+ 48,
+ 46
+ ]
}
],
"sources": [
{
"fileName": "src/lib/helpers.ts",
- "line": 3,
+ "line": 2,
"character": 0
}
]
},
{
- "id": 113,
+ "id": 59,
"name": "lib/types",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 114,
+ "id": 60,
"name": "SupabaseAuthClientOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 122,
+ "id": 68,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -23550,7 +28645,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 51,
+ "line": 48,
"character": 8
}
],
@@ -23564,7 +28659,7 @@
}
},
{
- "id": 126,
+ "id": 72,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
@@ -23575,13 +28670,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 55,
+ "line": 52,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 860,
+ "id": 784,
"qualifiedName": "CookieOptions",
"package": "@supabase/gotrue-js",
"name": "CookieOptions"
@@ -23592,7 +28687,7 @@
}
},
{
- "id": 121,
+ "id": 67,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -23603,7 +28698,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 50,
+ "line": 47,
"character": 8
}
],
@@ -23617,7 +28712,7 @@
}
},
{
- "id": 127,
+ "id": 73,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -23628,28 +28723,28 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 56,
+ "line": 53,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 128,
+ "id": 74,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 129,
+ "id": 75,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 130,
+ "id": 76,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -23662,7 +28757,7 @@
}
},
{
- "id": 131,
+ "id": 77,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -23701,7 +28796,7 @@
}
},
{
- "id": 116,
+ "id": 62,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -23712,27 +28807,27 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 46,
+ "line": 43,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 117,
+ "id": 63,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 118,
+ "id": 64,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 119,
+ "id": 65,
"name": "key",
"kind": 32768,
"flags": {},
@@ -23755,8 +28850,8 @@
}
},
{
- "id": 124,
- "name": "localStorage",
+ "id": 71,
+ "name": "multiTab",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -23766,7 +28861,57 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 53,
+ "line": 51,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.multiTab"
+ }
+ },
+ {
+ "id": 69,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 49,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.persistSession"
+ }
+ },
+ {
+ "id": 70,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 50,
"character": 8
}
],
@@ -23811,61 +28956,11 @@
},
"inheritedFrom": {
"type": "reference",
- "name": "GoTrueClientOptions.localStorage"
+ "name": "GoTrueClientOptions.storage"
}
},
{
- "id": 125,
- "name": "multiTab",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 54,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "GoTrueClientOptions.multiTab"
- }
- },
- {
- "id": 123,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExternal": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 52,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "GoTrueClientOptions.persistSession"
- }
- },
- {
- "id": 120,
+ "id": 66,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -23876,7 +28971,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 49,
+ "line": 46,
"character": 8
}
],
@@ -23890,7 +28985,7 @@
}
},
{
- "id": 115,
+ "id": 61,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -23901,7 +28996,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
- "line": 45,
+ "line": 42,
"character": 8
}
],
@@ -23919,7 +29014,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [122, 126, 121, 127, 116, 124, 125, 123, 120, 115]
+ "children": [
+ 68,
+ 72,
+ 67,
+ 73,
+ 62,
+ 71,
+ 69,
+ 70,
+ 66,
+ 61
+ ]
}
],
"sources": [
@@ -23937,7 +29043,7 @@
]
},
{
- "id": 132,
+ "id": 78,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
@@ -23953,7 +29059,7 @@
"type": "query",
"queryType": {
"type": "reference",
- "id": 78,
+ "id": 18,
"qualifiedName": "fetch",
"package": "typescript",
"name": "fetch"
@@ -23961,7 +29067,7 @@
}
},
{
- "id": 165,
+ "id": 103,
"name": "GenericFunction",
"kind": 4194304,
"kindString": "Type alias",
@@ -23969,21 +29075,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 66,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 166,
+ "id": 104,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 167,
+ "id": 105,
"name": "Args",
"kind": 1024,
"kindString": "Property",
@@ -23991,7 +29097,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 77,
+ "line": 67,
"character": 2
}
],
@@ -24013,7 +29119,7 @@
}
},
{
- "id": 168,
+ "id": 106,
"name": "Returns",
"kind": 1024,
"kindString": "Property",
@@ -24021,7 +29127,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 78,
+ "line": 68,
"character": 2
}
],
@@ -24035,13 +29141,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [167, 168]
+ "children": [
+ 105,
+ 106
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 66,
"character": 30
}
]
@@ -24049,7 +29158,7 @@
}
},
{
- "id": 169,
+ "id": 107,
"name": "GenericSchema",
"kind": 4194304,
"kindString": "Type alias",
@@ -24057,187 +29166,25 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 81,
+ "line": 71,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 170,
+ "id": 108,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 172,
+ "id": 110,
"name": "Functions",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 165,
- "name": "GenericFunction"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 171,
- "name": "Tables",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 82,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 160,
- "name": "GenericTable"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [172, 171]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 81,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 160,
- "name": "GenericTable",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 70,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 161,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 163,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 162,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 71,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 164,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -24245,6 +29192,171 @@
"character": 2
}
],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 103,
+ "name": "GenericFunction"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 109,
+ "name": "Tables",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 98,
+ "name": "GenericTable"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 110,
+ 109
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 98,
+ "name": "GenericTable",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 99,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 101,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 100,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 102,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
"type": {
"type": "reference",
"typeArguments": [
@@ -24267,13 +29379,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [163, 162, 164]
+ "children": [
+ 101,
+ 100,
+ 102
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 70,
+ "line": 60,
"character": 27
}
]
@@ -24281,7 +29397,7 @@
}
},
{
- "id": 133,
+ "id": 79,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -24295,7 +29411,7 @@
],
"typeParameter": [
{
- "id": 149,
+ "id": 97,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -24305,14 +29421,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 134,
+ "id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 138,
+ "id": 84,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -24329,14 +29445,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 85,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 140,
+ "id": 86,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -24359,7 +29475,7 @@
}
},
{
- "id": 145,
+ "id": 91,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
@@ -24384,13 +29500,13 @@
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 60,
"name": "SupabaseAuthClientOptions"
}
}
},
{
- "id": 143,
+ "id": 89,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -24413,38 +29529,7 @@
}
},
{
- "id": 144,
- "name": "localStorage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A storage provider. Used to store the logged in session."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 38,
- "character": 4
- }
- ],
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "localStorage"
- },
- "objectType": {
- "type": "reference",
- "id": 114,
- "name": "SupabaseAuthClientOptions"
- }
- }
- },
- {
- "id": 142,
+ "id": 88,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -24467,7 +29552,38 @@
}
},
{
- "id": 141,
+ "id": 90,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A storage provider. Used to store the logged in session."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "storage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 60,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 87,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -24494,7 +29610,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [140, 145, 143, 144, 142, 141]
+ "children": [
+ 86,
+ 91,
+ 89,
+ 88,
+ 90,
+ 87
+ ]
}
],
"sources": [
@@ -24508,7 +29631,7 @@
}
},
{
- "id": 135,
+ "id": 81,
"name": "db",
"kind": 1024,
"kindString": "Property",
@@ -24528,14 +29651,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 136,
+ "id": 82,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 137,
+ "id": 83,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -24551,7 +29674,7 @@
],
"type": {
"type": "reference",
- "id": 149,
+ "id": 97,
"name": "SchemaName"
}
}
@@ -24560,7 +29683,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [137]
+ "children": [
+ 83
+ ]
}
],
"sources": [
@@ -24574,66 +29699,111 @@
}
},
{
- "id": 147,
- "name": "fetch",
+ "id": 93,
+ "name": "global",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "A custom `fetch` implementation."
- },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 48,
"character": 2
}
],
"type": {
- "type": "reference",
- "id": 132,
- "name": "Fetch"
- }
- },
- {
- "id": 148,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional headers for initializing the client."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 2
+ "type": "reflection",
+ "declaration": {
+ "id": 94,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 95,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 96,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 95,
+ 96
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 48,
+ "character": 11
+ }
+ ]
}
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
}
},
{
- "id": 146,
+ "id": 92,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -24652,7 +29822,7 @@
],
"type": {
"type": "reference",
- "id": 1025,
+ "id": 1150,
"qualifiedName": "Options",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
@@ -24663,7 +29833,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138, 135, 147, 148, 146]
+ "children": [
+ 84,
+ 81,
+ 93,
+ 92
+ ]
}
],
"sources": [
@@ -24675,226 +29850,26 @@
]
}
}
- },
- {
- "id": 150,
- "name": "SupabaseRealtimePayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 159,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 151,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 152,
- "name": "commit_timestamp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 158,
- "name": "errors",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 67,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- },
- {
- "id": 153,
- "name": "eventType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "INSERT"
- },
- {
- "type": "literal",
- "value": "UPDATE"
- },
- {
- "type": "literal",
- "value": "DELETE"
- }
- ]
- }
- },
- {
- "id": 156,
- "name": "new",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The new record. Present for 'INSERT' and 'UPDATE' events."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 64,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 159,
- "name": "T"
- }
- },
- {
- "id": 157,
- "name": "old",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The previous record. Present for 'UPDATE' and 'DELETE' events."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 159,
- "name": "T"
- }
- },
- {
- "id": 154,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 61,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 155,
- "name": "table",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [152, 158, 153, 156, 157, 154, 155]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 41
- }
- ]
- }
- }
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
- "children": [114]
+ "children": [
+ 60
+ ]
},
{
- "title": "Type aliases",
+ "title": "Type Aliases",
"kind": 4194304,
- "children": [132, 165, 169, 160, 133, 150]
+ "children": [
+ 78,
+ 103,
+ 107,
+ 98,
+ 79
+ ]
}
],
"sources": [
@@ -24906,14 +29881,14 @@
]
},
{
- "id": 173,
+ "id": 111,
"name": "lib/version",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 174,
+ "id": 112,
"name": "version",
"kind": 32,
"kindString": "Variable",
@@ -24938,7 +29913,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [174]
+ "children": [
+ 112
+ ]
}
],
"sources": [
@@ -24954,7 +29931,14 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 10, 70, 74, 105, 113, 173]
+ "children": [
+ 1,
+ 10,
+ 14,
+ 45,
+ 59,
+ 111
+ ]
}
]
},
@@ -24966,6 +29950,1692 @@
"flags": {},
"originalName": "",
"children": [
+ {
+ "id": 675,
+ "name": "AuthApiError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 676,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 677,
+ "name": "new AuthApiError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 678,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 679,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 675,
+ "name": "AuthApiError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 672,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 671,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 687,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 680,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 681,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 682,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 683,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 685,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 684,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 686,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 27,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 685,
+ 684,
+ 686
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 676
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 687,
+ 680
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 681
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 14,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 670,
+ "name": "AuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 671,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 672,
+ "name": "new AuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 673,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 674,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 671
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 674
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 1,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 675,
+ "name": "AuthApiError"
+ },
+ {
+ "type": "reference",
+ "id": 688,
+ "name": "AuthUnknownError"
+ },
+ {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 722,
+ "name": "AuthInvalidCredentialsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 723,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 724,
+ "name": "new AuthInvalidCredentialsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 725,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthInvalidCredentialsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 697,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 696,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 734,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 709,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 726,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 701,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 727,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 702,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 728,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 729,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 730,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 732,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 54,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 731,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 53,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 733,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 732,
+ 731,
+ 733
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 704,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 703,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 723
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 734,
+ 726,
+ 727
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 728
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 66,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 735,
+ "name": "AuthRetryableFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 736,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 737,
+ "name": "new AuthRetryableFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 738,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 739,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 735,
+ "name": "AuthRetryableFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 697,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 696,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 748,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 709,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 740,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 701,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 741,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 702,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 742,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 743,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 744,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 746,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 54,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 745,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 53,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 747,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 746,
+ 745,
+ 747
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 704,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 703,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 736
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 748,
+ 740,
+ 741
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 742
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 72,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 710,
+ "name": "AuthSessionMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 711,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 712,
+ "name": "new AuthSessionMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 710,
+ "name": "AuthSessionMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 697,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 696,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 721,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 709,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 713,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 701,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 714,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 702,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 715,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 716,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 717,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 719,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 54,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 718,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 53,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 720,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 719,
+ 718,
+ 720
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 704,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 703,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 711
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 721,
+ 713,
+ 714
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 715
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 688,
+ "name": "AuthUnknownError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 689,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 690,
+ "name": "new AuthUnknownError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 691,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 692,
+ "name": "originalError",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 688,
+ "name": "AuthUnknownError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 672,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 671,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 694,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 693,
+ "name": "originalError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 689
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 694,
+ 693
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 695,
+ "name": "CustomAuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 696,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 697,
+ "name": "new CustomAuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 698,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 699,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 700,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 672,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 671,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 709,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 701,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 702,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 703,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 704,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 705,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 707,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 54,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 706,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 53,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 708,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 707,
+ 706,
+ 708
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 696
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 709,
+ 701,
+ 702
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 703
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 42,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 710,
+ "name": "AuthSessionMissingError"
+ },
+ {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthInvalidCredentialsError"
+ },
+ {
+ "type": "reference",
+ "id": 735,
+ "name": "AuthRetryableFetchError"
+ }
+ ]
+ },
{
"id": 1,
"name": "GoTrueApi",
@@ -24982,9 +31652,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 33,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L33"
+ "line": 21,
+ "character": 2
}
],
"signatures": [
@@ -25012,28 +31681,6 @@
"children": [
{
"id": 11,
- "name": "cookieOptions",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 43,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L43"
- }
- ],
- "type": {
- "type": "reference",
- "id": 636,
- "name": "CookieOptions"
- }
- },
- {
- "id": 12,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -25043,36 +31690,28 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 44,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L44"
+ "line": 30,
+ "character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 13,
+ "id": 12,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 18095,
- "character": 17
- }
- ],
"signatures": [
{
- "id": 14,
+ "id": 13,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 15,
+ "id": 14,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -25082,21 +31721,21 @@
"types": [
{
"type": "reference",
- "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInfo"
},
{
"type": "reference",
- "name": "URL",
"qualifiedName": "URL",
- "package": "typescript"
+ "package": "typescript",
+ "name": "URL"
}
]
}
},
{
- "id": 16,
+ "id": 15,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -25105,9 +31744,9 @@
},
"type": {
"type": "reference",
- "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInit"
}
}
],
@@ -25116,14 +31755,14 @@
"typeArguments": [
{
"type": "reference",
- "name": "Response",
"qualifiedName": "Response",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Response"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -25141,9 +31780,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 40,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L40"
+ "line": 27,
+ "character": 4
}
],
"type": {
@@ -25154,14 +31792,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 40,
- "character": 14,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L40"
- }
- ],
"indexSignature": {
"id": 9,
"name": "__index",
@@ -25197,9 +31827,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 39,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L39"
+ "line": 26,
+ "character": 4
}
],
"type": {
@@ -25211,15 +31840,12 @@
"groups": [
{
"title": "Properties",
- "children": [11, 12, 7, 6]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 38,
- "character": 5,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L38"
+ "kind": 1024,
+ "children": [
+ 11,
+ 7,
+ 6
+ ]
}
]
}
@@ -25235,29 +31861,7 @@
]
},
{
- "id": 22,
- "name": "cookieOptions",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 30,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L30"
- }
- ],
- "type": {
- "type": "reference",
- "id": 636,
- "name": "CookieOptions"
- }
- },
- {
- "id": 23,
+ "id": 21,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -25267,36 +31871,28 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 31,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L31"
+ "line": 19,
+ "character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 24,
+ "id": 22,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 18095,
- "character": 17
- }
- ],
"signatures": [
{
- "id": 25,
+ "id": 23,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 26,
+ "id": 24,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -25306,21 +31902,21 @@
"types": [
{
"type": "reference",
- "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInfo"
},
{
"type": "reference",
- "name": "URL",
"qualifiedName": "URL",
- "package": "typescript"
+ "package": "typescript",
+ "name": "URL"
}
]
}
},
{
- "id": 27,
+ "id": 25,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -25329,9 +31925,9 @@
},
"type": {
"type": "reference",
- "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInit"
}
}
],
@@ -25340,14 +31936,14 @@
"typeArguments": [
{
"type": "reference",
- "name": "Response",
"qualifiedName": "Response",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Response"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -25355,7 +31951,7 @@
}
},
{
- "id": 18,
+ "id": 17,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -25365,36 +31961,27 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 27,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L27"
+ "line": 16,
+ "character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 19,
+ "id": 18,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 27,
- "character": 21,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L27"
- }
- ],
"indexSignature": {
- "id": 20,
+ "id": 19,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 21,
+ "id": 20,
"name": "key",
"kind": 32768,
"flags": {},
@@ -25413,7 +32000,7 @@
}
},
{
- "id": 17,
+ "id": 16,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -25423,9 +32010,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 26,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L26"
+ "line": 15,
+ "character": 12
}
],
"type": {
@@ -25434,7 +32020,7 @@
}
},
{
- "id": 28,
+ "id": 26,
"name": "_createRequestHeaders",
"kind": 2048,
"kindString": "Method",
@@ -25444,40 +32030,29 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 57,
- "character": 10,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L57"
+ "line": 42,
+ "character": 10
}
],
"signatures": [
{
- "id": 29,
+ "id": 27,
"name": "_createRequestHeaders",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods"
- }
- ]
+ "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods"
},
"parameters": [
{
- "id": 30,
+ "id": 28,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A valid, logged-in JWT."
- }
- ]
+ "shortText": "A valid, logged-in JWT.\n"
},
"type": {
"type": "intrinsic",
@@ -25488,56 +32063,18 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 31,
+ "id": 29,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 58,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L58"
- }
- ]
+ "flags": {}
}
}
}
]
},
{
- "id": 32,
- "name": "cookieName",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 63,
- "character": 10,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L63"
- }
- ],
- "signatures": [
- {
- "id": 33,
- "name": "cookieName",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 249,
+ "id": 230,
"name": "createUser",
"kind": 2048,
"kindString": "Method",
@@ -25545,52 +32082,34 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 799,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L799"
+ "line": 669,
+ "character": 8
}
],
"signatures": [
{
- "id": 250,
+ "id": 231,
"name": "createUser",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a new user.\n\nThis function should only be called on a server. Never expose your "
- },
- {
- "kind": "code",
- "text": "`service_role`"
- },
- {
- "kind": "text",
- "text": " key in the browser."
- }
- ]
+ "shortText": "Creates a new user.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
},
"parameters": [
{
- "id": 251,
+ "id": 232,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The data you want to create the user with."
- }
- ]
+ "shortText": "The data you want to create the user with.\n"
},
"type": {
"type": "reference",
- "id": 616,
+ "id": 582,
"name": "AdminUserAttributes"
}
}
@@ -25604,14 +32123,14 @@
{
"type": "reflection",
"declaration": {
- "id": 252,
+ "id": 233,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 254,
+ "id": 235,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25619,19 +32138,18 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 802,
- "character": 18,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802"
+ "line": 672,
+ "character": 18
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
}
},
{
- "id": 255,
+ "id": 236,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25639,9 +32157,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 802,
- "character": 30,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802"
+ "line": 672,
+ "character": 30
}
],
"type": {
@@ -25650,7 +32167,7 @@
}
},
{
- "id": 253,
+ "id": 234,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -25658,14 +32175,13 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 802,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802"
+ "line": 672,
+ "character": 6
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
}
}
@@ -25673,15 +32189,12 @@
"groups": [
{
"title": "Properties",
- "children": [254, 255, 253]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 802,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802"
+ "kind": 1024,
+ "children": [
+ 235,
+ 236,
+ 234
+ ]
}
]
}
@@ -25689,14 +32202,14 @@
{
"type": "reflection",
"declaration": {
- "id": 256,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 258,
+ "id": 239,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25704,9 +32217,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 802,
- "character": 60,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802"
+ "line": 672,
+ "character": 60
}
],
"type": {
@@ -25715,7 +32227,7 @@
}
},
{
- "id": 259,
+ "id": 240,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25723,18 +32235,18 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 802,
- "character": 72,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802"
+ "line": 672,
+ "character": 72
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
- "id": 257,
+ "id": 238,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -25742,9 +32254,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 802,
- "character": 48,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802"
+ "line": 672,
+ "character": 48
}
],
"type": {
@@ -25756,15 +32267,12 @@
"groups": [
{
"title": "Properties",
- "children": [258, 259, 257]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 802,
- "character": 46,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802"
+ "kind": 1024,
+ "children": [
+ 239,
+ 240,
+ 238
+ ]
}
]
}
@@ -25772,162 +32280,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 220,
- "name": "deleteAuthCookie",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 681,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L681"
- }
- ],
- "signatures": [
- {
- "id": 221,
- "name": "deleteAuthCookie",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Deletes the Auth Cookies and redirects to the"
- }
- ]
- },
- "parameters": [
- {
- "id": 222,
- "name": "req",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The request object."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 223,
- "name": "res",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The response object."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 224,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Optionally specify a "
- },
- {
- "kind": "code",
- "text": "`redirectTo`"
- },
- {
- "kind": "text",
- "text": " URL in the options."
- }
- ]
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 225,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 226,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 681,
- "character": 63,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L681"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [226]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 681,
- "character": 61,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L681"
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ]
- },
- {
- "id": 301,
+ "id": 268,
"name": "deleteUser",
"kind": 2048,
"kindString": "Method",
@@ -25935,1462 +32296,20 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 982,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L982"
- }
- ],
- "signatures": [
- {
- "id": 302,
- "name": "deleteUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Delete a user. Requires a "
- },
- {
- "kind": "code",
- "text": "`service_role`"
- },
- {
- "kind": "text",
- "text": " key.\n\nThis function should only be called on a server. Never expose your "
- },
- {
- "kind": "code",
- "text": "`service_role`"
- },
- {
- "kind": "text",
- "text": " key in the browser."
- }
- ]
- },
- "parameters": [
- {
- "id": 303,
- "name": "uid",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user uid you want to remove."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 304,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 306,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 985,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L985"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 305,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 984,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L984"
- }
- ],
- "type": {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [306, 305]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 983,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L983"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 307,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 309,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 987,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L987"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- },
- {
- "id": 308,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 987,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L987"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [309, 308]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 987,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L987"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 231,
- "name": "generateLink",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 748,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L748"
- }
- ],
- "signatures": [
- {
- "id": 232,
- "name": "generateLink",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Generates links to be sent via email or other."
- }
- ]
- },
- "parameters": [
- {
- "id": 233,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "signup"
- },
- {
- "type": "literal",
- "value": "invite"
- },
- {
- "type": "literal",
- "value": "magiclink"
- },
- {
- "type": "literal",
- "value": "recovery"
- }
- ]
- }
- },
- {
- "id": 234,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's email."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 235,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 236,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 238,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 753,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L753"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 237,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 752,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L752"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 239,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 754,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L754"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [238, 237, 239]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 751,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L751"
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 240,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 241,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 758,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L758"
- }
- ],
- "type": {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- },
- {
- "id": 242,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 759,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L759"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [241, 242]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 757,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L757"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 243,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 244,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 762,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L762"
- }
- ],
- "type": {
- "type": "reference",
- "id": 563,
- "name": "Session"
- }
- },
- {
- "id": 245,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 763,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L763"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [244, 245]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 761,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L761"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 246,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 247,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 765,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L765"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 248,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 765,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L765"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [247, 248]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 765,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L765"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 227,
- "name": "getAuthCookieString",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 700,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L700"
- }
- ],
- "signatures": [
- {
- "id": 228,
- "name": "getAuthCookieString",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Helper method to generate the Auth Cookie string for you in case you can't use "
- },
- {
- "kind": "code",
- "text": "`setAuthCookie`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Cookie string that needs to be set as the value for the "
- },
- {
- "kind": "code",
- "text": "`Set-Cookie`"
- },
- {
- "kind": "text",
- "text": " header."
- }
- ]
- }
- ]
- },
- "parameters": [
- {
- "id": 229,
- "name": "req",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The request object."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 230,
- "name": "res",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The response object."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ]
- },
- {
- "id": 34,
- "name": "getUrlForProvider",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 73,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L73"
- }
- ],
- "signatures": [
- {
- "id": 35,
- "name": "getUrlForProvider",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Generates the relevant login URL for a third-party provider."
- }
- ]
- },
- "parameters": [
- {
- "id": 36,
- "name": "provider",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "One of the providers supported by GoTrue."
- }
- ]
- },
- "type": {
- "type": "reference",
- "id": 535,
- "name": "Provider"
- }
- },
- {
- "id": 37,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 38,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 41,
- "name": "queryParams",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 78,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L78"
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 42,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 78,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L78"
- }
- ],
- "indexSignature": {
- "id": 43,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 44,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 39,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 76,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L76"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 40,
- "name": "scopes",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 77,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L77"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [41, 39, 40]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 75,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L75"
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 310,
- "name": "getUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1017,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1017"
- }
- ],
- "signatures": [
- {
- "id": 311,
- "name": "getUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Gets the current user details.\n\nThis method is called by the GoTrueClient "
- },
- {
- "kind": "code",
- "text": "`update`"
- },
- {
- "kind": "text",
- "text": " where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user"
- }
- ]
- },
- "parameters": [
- {
- "id": 312,
- "name": "jwt",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A valid, logged-in JWT. Typically, the access_token for the currentSession"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 313,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 315,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1020,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1020"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 314,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1019,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1019"
- }
- ],
- "type": {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [315, 314]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1018,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1018"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 316,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 318,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1022,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1022"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- },
- {
- "id": 317,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1022,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1022"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [318, 317]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1022,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1022"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 277,
- "name": "getUserByCookie",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 866,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L866"
- }
- ],
- "signatures": [
- {
- "id": 278,
- "name": "getUserByCookie",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)."
- }
- ]
- },
- "parameters": [
- {
- "id": 279,
- "name": "req",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 280,
- "name": "res",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 281,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 284,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 873,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L873"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- ]
- }
- },
- {
- "id": 285,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 874,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L874"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 282,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 871,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L871"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 283,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 872,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L872"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [284, 285, 282, 283]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 870,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L870"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 286,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 289,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 879,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L879"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- ]
- }
- },
- {
- "id": 290,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 880,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L880"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- },
- {
- "id": 287,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 877,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L877"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 288,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 878,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L878"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [289, 290, 287, 288]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 876,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L876"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 268,
- "name": "getUserById",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 845,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L845"
+ "line": 771,
+ "character": 8
}
],
"signatures": [
{
"id": 269,
- "name": "getUserById",
+ "name": "deleteUser",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get user by id."
- }
- ]
+ "shortText": "Delete a user. Requires a `service_role` key.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
},
"parameters": [
{
@@ -27400,20 +32319,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your "
- },
- {
- "kind": "code",
- "text": "`service_role`"
- },
- {
- "kind": "text",
- "text": " key in the browser."
- }
- ]
+ "shortText": "The user uid you want to remove.\n"
},
"type": {
"type": "intrinsic",
@@ -27445,9 +32351,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 847,
- "character": 27,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847"
+ "line": 774,
+ "character": 8
}
],
"type": {
@@ -27464,14 +32369,13 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 847,
- "character": 15,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847"
+ "line": 773,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
}
}
@@ -27479,15 +32383,11 @@
"groups": [
{
"title": "Properties",
- "children": [273, 272]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 847,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847"
+ "kind": 1024,
+ "children": [
+ 273,
+ 272
+ ]
}
]
}
@@ -27510,13 +32410,13 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 847,
- "character": 57,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847"
+ "line": 776,
+ "character": 20
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
@@ -27529,9 +32429,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 847,
- "character": 45,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847"
+ "line": 776,
+ "character": 8
}
],
"type": {
@@ -27543,15 +32442,11 @@
"groups": [
{
"title": "Properties",
- "children": [276, 275]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 847,
- "character": 43,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847"
+ "kind": 1024,
+ "children": [
+ 276,
+ 275
+ ]
}
]
}
@@ -27559,56 +32454,76 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 180,
- "name": "inviteUserByEmail",
+ "id": 212,
+ "name": "generateLink",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 524,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L524"
+ "line": 618,
+ "character": 8
}
],
"signatures": [
{
- "id": 181,
- "name": "inviteUserByEmail",
+ "id": 213,
+ "name": "generateLink",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sends an invite link to an email address."
- }
- ]
+ "shortText": "Generates links to be sent via email or other."
},
"parameters": [
{
- "id": 182,
+ "id": 214,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ }
+ ]
+ }
+ },
+ {
+ "id": 215,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The email address of the user."
- }
- ]
+ "shortText": "The user's email."
},
"type": {
"type": "intrinsic",
@@ -27616,7 +32531,7 @@
}
},
{
- "id": 183,
+ "id": 216,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -27624,26 +32539,28 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 184,
+ "id": 217,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 186,
+ "id": 219,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Optional user metadata. For signup only."
+ },
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 528,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L528"
+ "line": 623,
+ "character": 6
}
],
"type": {
@@ -27652,19 +32569,44 @@
}
},
{
- "id": 185,
+ "id": 218,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "User password. For signup only."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 622,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 220,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\").\n"
+ },
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 527,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L527"
+ "line": 624,
+ "character": 6
}
],
"type": {
@@ -27676,15 +32618,12 @@
"groups": [
{
"title": "Properties",
- "children": [186, 185]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 526,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L526"
+ "kind": 1024,
+ "children": [
+ 219,
+ 218,
+ 220
+ ]
}
]
}
@@ -27701,14 +32640,33 @@
{
"type": "reflection",
"declaration": {
- "id": 187,
+ "id": 221,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 189,
+ "id": 222,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 628,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ },
+ {
+ "id": 223,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -27716,49 +32674,24 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 533,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L533"
+ "line": 629,
+ "character": 8
}
],
"type": {
"type": "literal",
"value": null
}
- },
- {
- "id": 188,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 532,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L532"
- }
- ],
- "type": {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
}
],
"groups": [
{
"title": "Properties",
- "children": [189, 188]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 531,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L531"
+ "kind": 1024,
+ "children": [
+ 222,
+ 223
+ ]
}
]
}
@@ -27766,14 +32699,33 @@
{
"type": "reflection",
"declaration": {
- "id": 190,
+ "id": 224,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 192,
+ "id": 225,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 632,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 226,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -27781,28 +32733,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 535,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L535"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- },
- {
- "id": 191,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 535,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L535"
+ "line": 633,
+ "character": 8
}
],
"type": {
@@ -27814,15 +32746,70 @@
"groups": [
{
"title": "Properties",
- "children": [192, 191]
+ "kind": 1024,
+ "children": [
+ 225,
+ 226
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 227,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 228,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 635,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 229,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 635,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
}
],
- "sources": [
+ "groups": [
{
- "fileName": "src/GoTrueApi.ts",
- "line": 535,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L535"
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 228,
+ 229
+ ]
}
]
}
@@ -27830,15 +32817,783 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 260,
+ "id": 30,
+ "name": "getUrlForProvider",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 31,
+ "name": "getUrlForProvider",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Generates the relevant login URL for a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 32,
+ "name": "provider",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 33,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 34,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 38,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 39,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 40,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 35,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 57,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 36,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 58,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 37,
+ 35,
+ 36
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 277,
+ "name": "getUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 806,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 278,
+ "name": "getUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Gets the current user details.",
+ "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n"
+ },
+ "parameters": [
+ {
+ "id": 279,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 280,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 282,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 809,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 281,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 808,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 282,
+ 281
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 283,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 285,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 811,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 284,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 811,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 285,
+ 284
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 249,
+ "name": "getUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 715,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 250,
+ "name": "getUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get user by id."
+ },
+ "parameters": [
+ {
+ "id": 251,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 252,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 254,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 717,
+ "character": 27
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 253,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 717,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 254,
+ 253
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 255,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 257,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 717,
+ "character": 57
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 256,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 717,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 257,
+ 256
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 176,
+ "name": "inviteUserByEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 505,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 177,
+ "name": "inviteUserByEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends an invite link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 178,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 179,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 180,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 182,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 509,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 181,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 508,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 182,
+ 181
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 185,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 514,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 184,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 513,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 185,
+ 184
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 186,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 188,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 516,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 187,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 516,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 188,
+ 187
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 241,
"name": "listUsers",
"kind": 2048,
"kindString": "Method",
@@ -27846,34 +33601,2755 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 823,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823"
+ "line": 693,
+ "character": 8
}
],
"signatures": [
{
- "id": 261,
+ "id": 242,
"name": "listUsers",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get a list of users.\n\nThis function should only be called on a server. Never expose your "
- },
- {
- "kind": "code",
- "text": "`service_role`"
- },
- {
- "kind": "text",
- "text": " key in the browser."
- }
- ]
+ "shortText": "Get a list of users.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 243,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 245,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 693,
+ "character": 46
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 244,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 693,
+ "character": 31
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 245,
+ 244
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 246,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 248,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 693,
+ "character": 77
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 247,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 693,
+ "character": 64
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 248,
+ 247
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 203,
+ "name": "refreshAccessToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 584,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 204,
+ "name": "refreshAccessToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Generates a new JWT."
+ },
+ "parameters": [
+ {
+ "id": 205,
+ "name": "refreshToken",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid refresh token that was returned on login.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 206,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 208,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 587,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 207,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 586,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 208,
+ 207
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 209,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 211,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 589,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 210,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 589,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 211,
+ 210
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 189,
+ "name": "resetPasswordForEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 545,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 190,
+ "name": "resetPasswordForEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends a reset request to an email address."
+ },
+ "parameters": [
+ {
+ "id": 191,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 192,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 193,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 195,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 549,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 194,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 548,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 195,
+ 194
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 196,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 197,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 553,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 198,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 199,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 554,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 197,
+ 199
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 200,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 201,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 556,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 202,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 556,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 201,
+ 202
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 111,
+ "name": "sendMagicLinkEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 307,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 112,
+ "name": "sendMagicLinkEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends a magic login link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 113,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 114,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 115,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 118,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 312,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 117,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 311,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 116,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 310,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 118,
+ 117,
+ 116
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 119,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 120,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 316,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 121,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 122,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 317,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 120,
+ 122
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 319,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 125,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 319,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 124,
+ 125
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 126,
+ "name": "sendMobileOTP",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 354,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 127,
+ "name": "sendMobileOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"
+ },
+ "parameters": [
+ {
+ "id": 128,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number WITH international prefix"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 129,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 130,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 132,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 358,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 131,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 357,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 132,
+ 131
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 133,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 134,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 362,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 135,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 136,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 363,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 134,
+ 136
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 365,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 139,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 365,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 138,
+ 139
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 59,
+ "name": "signInWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 140,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 60,
+ "name": "signInWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs in an existing user using their email address."
+ },
+ "parameters": [
+ {
+ "id": 61,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 62,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 63,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 64,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 65,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 144,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 65
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 66,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 67,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 148,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 68,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 149,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 67,
+ 68
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 69,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 70,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 151,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 71,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 151,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 70,
+ 71
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 102,
+ "name": "signInWithOpenIDConnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 267,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 103,
+ "name": "signInWithOpenIDConnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs in an OpenID Connect user using their id_token."
+ },
+ "parameters": [
+ {
+ "id": 104,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 653,
+ "name": "OpenIDConnectCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 105,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 107,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 276,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 106,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 275,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 107,
+ 106
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 108,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 110,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 278,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 109,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 110,
+ 109
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 89,
+ "name": "signInWithPhone",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 90,
+ "name": "signInWithPhone",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs in an existing user using their phone number and password."
+ },
+ "parameters": [
+ {
+ "id": 91,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The phone number of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 92,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 93,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 94,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 95,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on your site.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 231,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 95
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 98,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 236,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 97,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 235,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 98,
+ 97
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 99,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 101,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 238,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 100,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 238,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 101,
+ 100
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 140,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 394,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 141,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 142,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 143,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 144,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 394,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 144
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 41,
+ "name": "signUpWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 86,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 42,
+ "name": "signUpWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user using their email address.",
+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 44,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 45,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 46,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 49,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 92,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 48,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 47,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 90,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 49,
+ 48,
+ 47
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 50,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 51,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 96,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ },
+ {
+ "id": 52,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 97,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 51,
+ 52
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 53,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 54,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 100,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 55,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 101,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 54,
+ 55
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 57,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 103,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 58,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 103,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 57,
+ 58
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 72,
+ "name": "signUpWithPhone",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 178,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 73,
+ "name": "signUpWithPhone",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Signs up a new user using their phone number and a password."
+ },
+ "parameters": [
+ {
+ "id": 74,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The phone number of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 75,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 76,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 77,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 79,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 183,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 78,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 182,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 79,
+ 78
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 81,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 187,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 82,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 188,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 81,
+ 82
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 83,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 84,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 191,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ },
+ {
+ "id": 85,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 192,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 84,
+ 85
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 86,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 87,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 194,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 88,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 194,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 87,
+ 88
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 286,
+ "name": "updateUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 832,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 287,
+ "name": "updateUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 288,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 289,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The data you want to update.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 576,
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 290,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 292,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 838,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 291,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 837,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 292,
+ 291
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 293,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 295,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 840,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 294,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 840,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 295,
+ 294
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 258,
+ "name": "updateUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 739,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 259,
+ "name": "updateUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 260,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 261,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 582,
+ "name": "AdminUserAttributes"
+ }
+ }
+ ],
"type": {
"type": "reference",
"typeArguments": [
@@ -27898,9 +36374,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 823,
- "character": 46,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823"
+ "line": 745,
+ "character": 8
}
],
"type": {
@@ -27910,40 +36385,32 @@
},
{
"id": 263,
- "name": "users",
+ "name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 823,
- "character": 31,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823"
+ "line": 744,
+ "character": 8
}
],
"type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
+ "type": "reference",
+ "id": 548,
+ "name": "User"
}
}
],
"groups": [
{
"title": "Properties",
- "children": [264, 263]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 823,
- "character": 29,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823"
+ "kind": 1024,
+ "children": [
+ 264,
+ 263
+ ]
}
]
}
@@ -27966,2880 +36433,18 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 823,
- "character": 77,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823"
+ "line": 747,
+ "character": 20
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
"id": 266,
- "name": "users",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 823,
- "character": 64,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [267, 266]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 823,
- "character": 62,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 207,
- "name": "refreshAccessToken",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 603,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L603"
- }
- ],
- "signatures": [
- {
- "id": 208,
- "name": "refreshAccessToken",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Generates a new JWT."
- }
- ]
- },
- "parameters": [
- {
- "id": 209,
- "name": "refreshToken",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A valid refresh token that was returned on login."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 210,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 212,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 606,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L606"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 211,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 605,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L605"
- }
- ],
- "type": {
- "type": "reference",
- "id": 563,
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [212, 211]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 604,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L604"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 213,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 215,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 608,
- "character": 23,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L608"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- },
- {
- "id": 214,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 608,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L608"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [215, 214]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 608,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L608"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 193,
- "name": "resetPasswordForEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 564,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L564"
- }
- ],
- "signatures": [
- {
- "id": 194,
- "name": "resetPasswordForEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sends a reset request to an email address."
- }
- ]
- },
- "parameters": [
- {
- "id": 195,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The email address of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 196,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 197,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 199,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 568,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L568"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 198,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 567,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L567"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [199, 198]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 566,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L566"
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 200,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 201,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 572,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L572"
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 202,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- },
- {
- "id": 203,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 573,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L573"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [201, 203]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 571,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L571"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 204,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 205,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 575,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L575"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 206,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 575,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L575"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [205, 206]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 575,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L575"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 115,
- "name": "sendMagicLinkEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 326,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L326"
- }
- ],
- "signatures": [
- {
- "id": 116,
- "name": "sendMagicLinkEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sends a magic login link to an email address."
- }
- ]
- },
- "parameters": [
- {
- "id": 117,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The email address of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 118,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 119,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 122,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 331,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L331"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 121,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 330,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L330"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 120,
- "name": "shouldCreateUser",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 329,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L329"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [122, 121, 120]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 328,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L328"
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 123,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 124,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 335,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L335"
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 125,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- },
- {
- "id": 126,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 336,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L336"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [124, 126]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 334,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L334"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 127,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 128,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 338,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L338"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 129,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 338,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L338"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [128, 129]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 338,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L338"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 130,
- "name": "sendMobileOTP",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 373,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L373"
- }
- ],
- "signatures": [
- {
- "id": 131,
- "name": "sendMobileOTP",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"
- }
- ]
- },
- "parameters": [
- {
- "id": 132,
- "name": "phone",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's phone number WITH international prefix"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 133,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 134,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 136,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 377,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L377"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 135,
- "name": "shouldCreateUser",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 376,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L376"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [136, 135]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 375,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L375"
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 137,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 138,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 381,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L381"
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 139,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- },
- {
- "id": 140,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 382,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L382"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [138, 140]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 380,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L380"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 141,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 142,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 384,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L384"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 143,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 384,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L384"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [142, 143]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 384,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L384"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 216,
- "name": "setAuthCookie",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 635,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L635"
- }
- ],
- "signatures": [
- {
- "id": 217,
- "name": "setAuthCookie",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."
- }
- ]
- },
- "parameters": [
- {
- "id": 218,
- "name": "req",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The request object."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 219,
- "name": "res",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The response object."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 63,
- "name": "signInWithEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 159,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L159"
- }
- ],
- "signatures": [
- {
- "id": 64,
- "name": "signInWithEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Logs in an existing user using their email address."
- }
- ]
- },
- "parameters": [
- {
- "id": 65,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The email address of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 66,
- "name": "password",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The password of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 67,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 68,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 69,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 163,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L163"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [69]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 162,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L162"
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 70,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 71,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 167,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L167"
- }
- ],
- "type": {
- "type": "reference",
- "id": 563,
- "name": "Session"
- }
- },
- {
- "id": 72,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 168,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L168"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [71, 72]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 166,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L166"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 73,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 74,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 170,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L170"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 75,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 170,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L170"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [74, 75]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 170,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L170"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 106,
- "name": "signInWithOpenIDConnect",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 286,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L286"
- }
- ],
- "signatures": [
- {
- "id": 107,
- "name": "signInWithOpenIDConnect",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Logs in an OpenID Connect user using their id_token."
- }
- ]
- },
- "parameters": [
- {
- "id": 108,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 695,
- "name": "OpenIDConnectCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 109,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 111,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 295,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L295"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 110,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 294,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L294"
- }
- ],
- "type": {
- "type": "reference",
- "id": 563,
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [111, 110]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 293,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L293"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 112,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 114,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 297,
- "character": 23,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L297"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- },
- {
- "id": 113,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 297,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L297"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [114, 113]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 297,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L297"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 93,
- "name": "signInWithPhone",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 246,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L246"
- }
- ],
- "signatures": [
- {
- "id": 94,
- "name": "signInWithPhone",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Logs in an existing user using their phone number and password."
- }
- ]
- },
- "parameters": [
- {
- "id": 95,
- "name": "phone",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The phone number of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 96,
- "name": "password",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The password of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 97,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 98,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 99,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 250,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L250"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [99]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 249,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L249"
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 100,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 102,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 255,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L255"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 101,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 254,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L254"
- }
- ],
- "type": {
- "type": "reference",
- "id": 563,
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [102, 101]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 253,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L253"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 103,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 105,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 257,
- "character": 23,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L257"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- },
- {
- "id": 104,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 257,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L257"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [105, 104]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 257,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L257"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 144,
- "name": "signOut",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 413,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L413"
- }
- ],
- "signatures": [
- {
- "id": 145,
- "name": "signOut",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Removes a logged-in session."
- }
- ]
- },
- "parameters": [
- {
- "id": 146,
- "name": "jwt",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A valid, logged-in JWT."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 147,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 148,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 413,
- "character": 40,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L413"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "name": "AuthError"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [148]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 413,
- "character": 38,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L413"
- }
- ]
- }
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 45,
- "name": "signUpWithEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 105,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L105"
- }
- ],
- "signatures": [
- {
- "id": 46,
- "name": "signUpWithEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a new user using their email address."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "A logged-in session if the server has \"autoconfirm\" ON"
- }
- ]
- },
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "A user if the server has \"autoconfirm\" OFF"
- }
- ]
- }
- ]
- },
- "parameters": [
- {
- "id": 47,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The email address of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 48,
- "name": "password",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The password of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 49,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 50,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 53,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 111,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L111"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 52,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 110,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L110"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 51,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 109,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L109"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [53, 52, 51]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 108,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L108"
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 54,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 55,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 115,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L115"
- }
- ],
- "type": {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- },
- {
- "id": 56,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 116,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L116"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [55, 56]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 114,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L114"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 57,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 58,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 119,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L119"
- }
- ],
- "type": {
- "type": "reference",
- "id": 563,
- "name": "Session"
- }
- },
- {
- "id": 59,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 120,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L120"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [58, 59]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 118,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L118"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 60,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 61,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 122,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L122"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 62,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 122,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L122"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [61, 62]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 122,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L122"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 76,
- "name": "signUpWithPhone",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 197,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L197"
- }
- ],
- "signatures": [
- {
- "id": 77,
- "name": "signUpWithPhone",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Signs up a new user using their phone number and a password."
- }
- ]
- },
- "parameters": [
- {
- "id": 78,
- "name": "phone",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The phone number of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 79,
- "name": "password",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The password of the user."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 80,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 81,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 83,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 202,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L202"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 82,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 201,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L201"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [83, 82]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 200,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L200"
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 84,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 85,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 206,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L206"
- }
- ],
- "type": {
- "type": "reference",
- "id": 563,
- "name": "Session"
- }
- },
- {
- "id": 86,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 207,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L207"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [85, 86]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 205,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L205"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 87,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 88,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 210,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L210"
- }
- ],
- "type": {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- },
- {
- "id": 89,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 211,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L211"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [88, 89]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 209,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L209"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 90,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 91,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 213,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L213"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 92,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 213,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L213"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [91, 92]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 213,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L213"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 319,
- "name": "updateUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1043,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1043"
- }
- ],
- "signatures": [
- {
- "id": 320,
- "name": "updateUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Updates the user data."
- }
- ]
- },
- "parameters": [
- {
- "id": 321,
- "name": "jwt",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A valid, logged-in JWT."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 322,
- "name": "attributes",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The data you want to update."
- }
- ]
- },
- "type": {
- "type": "reference",
- "id": 610,
- "name": "UserAttributes"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 323,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 325,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1049,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1049"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 324,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -30847,74 +36452,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 1048,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1048"
- }
- ],
- "type": {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [325, 324]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1047,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1047"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 326,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 328,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1051,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1051"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- },
- {
- "id": 327,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1051,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1051"
+ "line": 747,
+ "character": 8
}
],
"type": {
@@ -30926,15 +36465,11 @@
"groups": [
{
"title": "Properties",
- "children": [328, 327]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 1051,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1051"
+ "kind": 1024,
+ "children": [
+ 267,
+ 266
+ ]
}
]
}
@@ -30942,230 +36477,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 291,
- "name": "updateUserById",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 950,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L950"
- }
- ],
- "signatures": [
- {
- "id": 292,
- "name": "updateUserById",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Updates the user data."
- }
- ]
- },
- "parameters": [
- {
- "id": 293,
- "name": "uid",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 294,
- "name": "attributes",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The data you want to update.\n\nThis function should only be called on a server. Never expose your "
- },
- {
- "kind": "code",
- "text": "`service_role`"
- },
- {
- "kind": "text",
- "text": " key in the browser."
- }
- ]
- },
- "type": {
- "type": "reference",
- "id": 616,
- "name": "AdminUserAttributes"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 295,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 297,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 956,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L956"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 296,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 955,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L955"
- }
- ],
- "type": {
- "type": "reference",
- "id": 582,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [297, 296]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 954,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L954"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 298,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 300,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 958,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L958"
- }
- ],
- "type": {
- "type": "reference",
- "name": "AuthError"
- }
- },
- {
- "id": 299,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 958,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L958"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [300, 299]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 958,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L958"
- }
- ]
- }
- }
- ]
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 149,
+ "id": 145,
"name": "verifyMobileOTP",
"kind": 2048,
"kindString": "Method",
@@ -31173,54 +36493,34 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 437,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L437"
+ "line": 418,
+ "character": 8
}
],
"signatures": [
{
- "id": 150,
+ "id": 146,
"name": "verifyMobileOTP",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [],
- "blockTags": [
+ "tags": [
{
- "tag": "@deprecated",
- "content": [
- {
- "kind": "text",
- "text": "Use "
- },
- {
- "kind": "code",
- "text": "`verifyOTP`"
- },
- {
- "kind": "text",
- "text": " instead!"
- }
- ]
+ "tag": "deprecated",
+ "text": "Use `verifyOTP` instead!"
}
]
},
"parameters": [
{
- "id": 151,
+ "id": 147,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's phone number WITH international prefix"
- }
- ]
+ "shortText": "The user's phone number WITH international prefix"
},
"type": {
"type": "intrinsic",
@@ -31228,18 +36528,13 @@
}
},
{
- "id": 152,
+ "id": 148,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "token that user was sent to their mobile phone"
- }
- ]
+ "shortText": "token that user was sent to their mobile phone"
},
"type": {
"type": "intrinsic",
@@ -31247,7 +36542,7 @@
}
},
{
- "id": 153,
+ "id": 149,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -31255,26 +36550,28 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 154,
+ "id": 150,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 155,
+ "id": 151,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 441,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L441"
+ "line": 422,
+ "character": 6
}
],
"type": {
@@ -31286,15 +36583,10 @@
"groups": [
{
"title": "Properties",
- "children": [155]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 440,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L440"
+ "kind": 1024,
+ "children": [
+ 151
+ ]
}
]
}
@@ -31311,14 +36603,14 @@
{
"type": "reflection",
"declaration": {
- "id": 156,
+ "id": 152,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 157,
+ "id": 153,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -31326,19 +36618,18 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 445,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L445"
+ "line": 426,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
}
},
{
- "id": 158,
+ "id": 154,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -31346,9 +36637,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 446,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L446"
+ "line": 427,
+ "character": 8
}
],
"type": {
@@ -31360,15 +36650,11 @@
"groups": [
{
"title": "Properties",
- "children": [157, 158]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 444,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L444"
+ "kind": 1024,
+ "children": [
+ 153,
+ 154
+ ]
}
]
}
@@ -31376,14 +36662,14 @@
{
"type": "reflection",
"declaration": {
- "id": 159,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 160,
+ "id": 156,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -31391,19 +36677,18 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 449,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L449"
+ "line": 430,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
},
{
- "id": 161,
+ "id": 157,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -31411,9 +36696,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 450,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L450"
+ "line": 431,
+ "character": 8
}
],
"type": {
@@ -31425,15 +36709,11 @@
"groups": [
{
"title": "Properties",
- "children": [160, 161]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 448,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L448"
+ "kind": 1024,
+ "children": [
+ 156,
+ 157
+ ]
}
]
}
@@ -31441,14 +36721,14 @@
{
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 158,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 163,
+ "id": 159,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -31456,9 +36736,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 452,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L452"
+ "line": 433,
+ "character": 8
}
],
"type": {
@@ -31467,7 +36746,7 @@
}
},
{
- "id": 164,
+ "id": 160,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -31475,13 +36754,13 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 452,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L452"
+ "line": 433,
+ "character": 20
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
}
@@ -31489,15 +36768,11 @@
"groups": [
{
"title": "Properties",
- "children": [163, 164]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 452,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L452"
+ "kind": 1024,
+ "children": [
+ 159,
+ 160
+ ]
}
]
}
@@ -31505,15 +36780,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 165,
+ "id": 161,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
@@ -31521,41 +36796,35 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 482,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L482"
+ "line": 463,
+ "character": 8
}
],
"signatures": [
{
- "id": 166,
+ "id": 162,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Send User supplied Email / Mobile OTP to be verified"
- }
- ]
+ "shortText": "Send User supplied Email / Mobile OTP to be verified"
},
"parameters": [
{
- "id": 167,
+ "id": 163,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 682,
+ "id": 640,
"name": "VerifyOTPParams"
}
},
{
- "id": 168,
+ "id": 164,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -31563,26 +36832,28 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 169,
+ "id": 165,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 170,
+ "id": 166,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 485,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L485"
+ "line": 466,
+ "character": 6
}
],
"type": {
@@ -31594,15 +36865,10 @@
"groups": [
{
"title": "Properties",
- "children": [170]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 484,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L484"
+ "kind": 1024,
+ "children": [
+ 166
+ ]
}
]
}
@@ -31619,14 +36885,14 @@
{
"type": "reflection",
"declaration": {
- "id": 171,
+ "id": 167,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 172,
+ "id": 168,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -31634,19 +36900,18 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 489,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L489"
+ "line": 470,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
}
},
{
- "id": 173,
+ "id": 169,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -31654,9 +36919,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 490,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L490"
+ "line": 471,
+ "character": 8
}
],
"type": {
@@ -31668,15 +36932,11 @@
"groups": [
{
"title": "Properties",
- "children": [172, 173]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 488,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L488"
+ "kind": 1024,
+ "children": [
+ 168,
+ 169
+ ]
}
]
}
@@ -31684,14 +36944,14 @@
{
"type": "reflection",
"declaration": {
- "id": 174,
+ "id": 170,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 175,
+ "id": 171,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -31699,19 +36959,18 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 493,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L493"
+ "line": 474,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
},
{
- "id": 176,
+ "id": 172,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -31719,9 +36978,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 494,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L494"
+ "line": 475,
+ "character": 8
}
],
"type": {
@@ -31733,15 +36991,11 @@
"groups": [
{
"title": "Properties",
- "children": [175, 176]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 492,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L492"
+ "kind": 1024,
+ "children": [
+ 171,
+ 172
+ ]
}
]
}
@@ -31749,14 +37003,14 @@
{
"type": "reflection",
"declaration": {
- "id": 177,
+ "id": 173,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 178,
+ "id": 174,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -31764,9 +37018,8 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 496,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L496"
+ "line": 477,
+ "character": 8
}
],
"type": {
@@ -31775,7 +37028,7 @@
}
},
{
- "id": 179,
+ "id": 175,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -31783,13 +37036,13 @@
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 496,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L496"
+ "line": 477,
+ "character": 20
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
}
@@ -31797,15 +37050,11 @@
"groups": [
{
"title": "Properties",
- "children": [178, 179]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueApi.ts",
- "line": 496,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L496"
+ "kind": 1024,
+ "children": [
+ 174,
+ 175
+ ]
}
]
}
@@ -31813,9 +37062,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -31824,38 +37073,67 @@
"groups": [
{
"title": "Constructors",
- "children": [2]
+ "kind": 512,
+ "children": [
+ 2
+ ]
},
{
"title": "Properties",
- "children": [22, 23, 18, 17]
+ "kind": 1024,
+ "children": [
+ 21,
+ 17,
+ 16
+ ]
},
{
"title": "Methods",
+ "kind": 2048,
"children": [
- 28, 32, 249, 220, 301, 231, 227, 34, 310, 277, 268, 180, 260, 207, 193, 115, 130,
- 216, 63, 106, 93, 144, 45, 76, 319, 291, 149, 165
+ 26,
+ 230,
+ 268,
+ 212,
+ 30,
+ 277,
+ 249,
+ 176,
+ 241,
+ 203,
+ 189,
+ 111,
+ 126,
+ 59,
+ 102,
+ 89,
+ 140,
+ 41,
+ 72,
+ 286,
+ 258,
+ 145,
+ 161
]
}
],
"sources": [
{
"fileName": "src/GoTrueApi.ts",
- "line": 25,
- "character": 21,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L25"
+ "line": 14,
+ "character": 21
}
]
},
{
- "id": 329,
+ "id": 296,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 330,
+ "id": 297,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -31863,29 +37141,23 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 101,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L101"
+ "line": 98,
+ "character": 2
}
],
"signatures": [
{
- "id": 331,
+ "id": 298,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Create a new client for use in the browser."
- }
- ]
+ "shortText": "Create a new client for use in the browser."
},
"parameters": [
{
- "id": 332,
+ "id": 299,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -31893,14 +37165,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 300,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 308,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -31908,19 +37180,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set to \"true\" if you want to automatically refresh the token before expiring."
- }
- ]
+ "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring."
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 106,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L106"
+ "line": 103,
+ "character": 4
}
],
"type": {
@@ -31929,29 +37195,7 @@
}
},
{
- "id": 345,
- "name": "cookieOptions",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 110,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L110"
- }
- ],
- "type": {
- "type": "reference",
- "id": 636,
- "name": "CookieOptions"
- }
- },
- {
- "id": 340,
+ "id": 307,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -31959,19 +37203,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."
- }
- ]
+ "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 105,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L105"
+ "line": 102,
+ "character": 4
}
],
"type": {
@@ -31980,7 +37218,7 @@
}
},
{
- "id": 346,
+ "id": 312,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -31990,44 +37228,31 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 111,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L111"
+ "line": 107,
+ "character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 347,
+ "id": 313,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 18095,
- "character": 17
- }
- ],
"signatures": [
{
- "id": 348,
+ "id": 314,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A custom fetch implementation."
- }
- ]
+ "shortText": "A custom fetch implementation.\n"
},
"parameters": [
{
- "id": 349,
+ "id": 315,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -32037,21 +37262,21 @@
"types": [
{
"type": "reference",
- "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInfo"
},
{
"type": "reference",
- "name": "URL",
"qualifiedName": "URL",
- "package": "typescript"
+ "package": "typescript",
+ "name": "URL"
}
]
}
},
{
- "id": 350,
+ "id": 316,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -32060,9 +37285,9 @@
},
"type": {
"type": "reference",
- "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInit"
}
}
],
@@ -32071,14 +37296,14 @@
"typeArguments": [
{
"type": "reference",
- "name": "Response",
"qualifiedName": "Response",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Response"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -32086,7 +37311,7 @@
}
},
{
- "id": 335,
+ "id": 302,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -32094,46 +37319,32 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Any additional headers to send to the GoTrue server."
- }
- ]
+ "shortText": "Any additional headers to send to the GoTrue server."
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 103,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L103"
+ "line": 100,
+ "character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 336,
+ "id": 303,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 103,
- "character": 14,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L103"
- }
- ],
"indexSignature": {
- "id": 337,
+ "id": 304,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 338,
+ "id": 305,
"name": "key",
"kind": 32768,
"flags": {},
@@ -32152,7 +37363,7 @@
}
},
{
- "id": 344,
+ "id": 311,
"name": "multiTab",
"kind": 1024,
"kindString": "Property",
@@ -32160,19 +37371,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set to \"false\" if you want to disable multi-tab/window events."
- }
- ]
+ "shortText": "Set to \"false\" if you want to disable multi-tab/window events."
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 109,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L109"
+ "line": 106,
+ "character": 4
}
],
"type": {
@@ -32181,7 +37386,7 @@
}
},
{
- "id": 342,
+ "id": 309,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -32189,19 +37394,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory."
- }
- ]
+ "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory."
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 107,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L107"
+ "line": 104,
+ "character": 4
}
],
"type": {
@@ -32210,7 +37409,7 @@
}
},
{
- "id": 343,
+ "id": 310,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -32220,9 +37419,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 108,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L108"
+ "line": 105,
+ "character": 4
}
],
"type": {
@@ -32233,9 +37431,9 @@
"typeArguments": [
{
"type": "reference",
- "name": "Storage",
"qualifiedName": "Storage",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Storage"
},
{
"type": "union",
@@ -32255,16 +37453,16 @@
]
}
],
- "name": "Pick",
"qualifiedName": "Pick",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Pick"
}
],
"name": "PromisifyMethods"
}
},
{
- "id": 339,
+ "id": 306,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -32272,19 +37470,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Optional key name used for storing tokens in local storage"
- }
- ]
+ "shortText": "Optional key name used for storing tokens in local storage"
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 104,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L104"
+ "line": 101,
+ "character": 4
}
],
"type": {
@@ -32293,7 +37485,7 @@
}
},
{
- "id": 334,
+ "id": 301,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -32301,19 +37493,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The URL of the GoTrue server."
- }
- ]
+ "shortText": "The URL of the GoTrue server."
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 102,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L102"
+ "line": 99,
+ "character": 4
}
],
"type": {
@@ -32325,15 +37511,18 @@
"groups": [
{
"title": "Properties",
- "children": [341, 345, 340, 346, 335, 344, 342, 343, 339, 334]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 101,
- "character": 23,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L101"
+ "kind": 1024,
+ "children": [
+ 308,
+ 307,
+ 312,
+ 302,
+ 311,
+ 309,
+ 310,
+ 306,
+ 301
+ ]
}
]
}
@@ -32342,32 +37531,26 @@
],
"type": {
"type": "reference",
- "id": 329,
+ "id": 296,
"name": "default"
}
}
]
},
{
- "id": 351,
+ "id": 317,
"name": "api",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."
- }
- ]
+ "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 67,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L67"
+ "line": 65,
+ "character": 2
}
],
"type": {
@@ -32377,7 +37560,7 @@
}
},
{
- "id": 354,
+ "id": 320,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -32387,9 +37570,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 79,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L79"
+ "line": 77,
+ "character": 12
}
],
"type": {
@@ -32398,7 +37580,7 @@
}
},
{
- "id": 353,
+ "id": 319,
"name": "inMemorySession",
"kind": 1024,
"kindString": "Property",
@@ -32406,19 +37588,13 @@
"isProtected": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The session object for the currently logged in user or null.\nOnly used if persistSession is false."
- }
- ]
+ "shortText": "The session object for the currently logged in user or null.\nOnly used if persistSession is false."
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 77,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L77"
+ "line": 75,
+ "character": 12
}
],
"type": {
@@ -32430,14 +37606,14 @@
},
{
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
]
}
},
{
- "id": 359,
+ "id": 325,
"name": "networkRetries",
"kind": 1024,
"kindString": "Property",
@@ -32447,9 +37623,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 85,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L85"
+ "line": 83,
+ "character": 12
}
],
"type": {
@@ -32459,7 +37634,7 @@
"defaultValue": "0"
},
{
- "id": 355,
+ "id": 321,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -32469,9 +37644,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 80,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L80"
+ "line": 78,
+ "character": 12
}
],
"type": {
@@ -32480,7 +37654,7 @@
}
},
{
- "id": 358,
+ "id": 324,
"name": "refreshTokenTimer",
"kind": 1024,
"kindString": "Property",
@@ -32491,20 +37665,19 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 83,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L83"
+ "line": 81,
+ "character": 12
}
],
"type": {
"type": "reference",
- "name": "Timeout",
"qualifiedName": "global.NodeJS.Timeout",
- "package": "@types/node"
+ "package": "@types/node",
+ "name": "Timeout"
}
},
{
- "id": 360,
+ "id": 326,
"name": "refreshingDeferred",
"kind": 1024,
"kindString": "Property",
@@ -32514,9 +37687,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 86,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L86"
+ "line": 84,
+ "character": 12
}
],
"type": {
@@ -32531,7 +37703,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 702,
+ "id": 660,
"name": "CallRefreshTokenResult"
}
],
@@ -32542,7 +37714,7 @@
"defaultValue": "null"
},
{
- "id": 357,
+ "id": 323,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -32552,9 +37724,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 82,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L82"
+ "line": 80,
+ "character": 12
}
],
"type": {
@@ -32566,18 +37737,18 @@
},
{
"type": "reference",
- "id": 626,
+ "id": 592,
"name": "Subscription"
}
],
- "name": "Map",
"qualifiedName": "Map",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Map"
},
"defaultValue": "..."
},
{
- "id": 356,
+ "id": 322,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -32587,9 +37758,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 81,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L81"
+ "line": 79,
+ "character": 12
}
],
"type": {
@@ -32600,9 +37770,9 @@
"typeArguments": [
{
"type": "reference",
- "name": "Storage",
"qualifiedName": "Storage",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Storage"
},
{
"type": "union",
@@ -32622,16 +37792,16 @@
]
}
],
- "name": "Pick",
"qualifiedName": "Pick",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Pick"
}
],
"name": "PromisifyMethods"
}
},
{
- "id": 352,
+ "id": 318,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -32639,19 +37809,13 @@
"isProtected": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The storage key used to identity the values saved in localStorage"
- }
- ]
+ "shortText": "The storage key used to identity the values saved in localStorage"
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 71,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L71"
+ "line": 69,
+ "character": 12
}
],
"type": {
@@ -32660,7 +37824,7 @@
}
},
{
- "id": 514,
+ "id": 480,
"name": "_callRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -32670,21 +37834,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 780,
- "character": 16,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L780"
+ "line": 775,
+ "character": 16
}
],
"signatures": [
{
- "id": 515,
+ "id": 481,
"name": "_callRefreshToken",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 516,
+ "id": 482,
"name": "refreshToken",
"kind": 32768,
"kindString": "Parameter",
@@ -32700,19 +37863,19 @@
"typeArguments": [
{
"type": "reference",
- "id": 702,
+ "id": 660,
"name": "CallRefreshTokenResult"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 455,
+ "id": 421,
"name": "_doesSessionExist",
"kind": 2048,
"kindString": "Method",
@@ -32722,21 +37885,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 604,
- "character": 10,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L604"
+ "line": 599,
+ "character": 10
}
],
"signatures": [
{
- "id": 456,
+ "id": 422,
"name": "_doesSessionExist",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 457,
+ "id": 423,
"name": "maybeSession",
"kind": 32768,
"kindString": "Parameter",
@@ -32753,7 +37915,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
}
@@ -32761,7 +37923,7 @@
]
},
{
- "id": 458,
+ "id": 424,
"name": "_handleEmailSignIn",
"kind": 2048,
"kindString": "Method",
@@ -32771,21 +37933,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 615,
- "character": 16,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L615"
+ "line": 610,
+ "character": 16
}
],
"signatures": [
{
- "id": 459,
+ "id": 425,
"name": "_handleEmailSignIn",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 460,
+ "id": 426,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -32796,7 +37957,7 @@
}
},
{
- "id": 461,
+ "id": 427,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -32807,7 +37968,7 @@
}
},
{
- "id": 462,
+ "id": 428,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -32815,14 +37976,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 463,
+ "id": 429,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 464,
+ "id": 430,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -32832,9 +37993,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 619,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L619"
+ "line": 614,
+ "character": 6
}
],
"type": {
@@ -32846,15 +38006,10 @@
"groups": [
{
"title": "Properties",
- "children": [464]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 618,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L618"
+ "kind": 1024,
+ "children": [
+ 430
+ ]
}
]
}
@@ -32867,19 +38022,19 @@
"typeArguments": [
{
"type": "reference",
- "id": 537,
+ "id": 503,
"name": "AuthResponse"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 501,
+ "id": 467,
"name": "_handleOpenIDConnectSignIn",
"kind": 2048,
"kindString": "Method",
@@ -32889,28 +38044,27 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 691,
- "character": 16,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L691"
+ "line": 686,
+ "character": 16
}
],
"signatures": [
{
- "id": 502,
+ "id": 468,
"name": "_handleOpenIDConnectSignIn",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 503,
+ "id": 469,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 695,
+ "id": 653,
"name": "OpenIDConnectCredentials"
}
}
@@ -32924,14 +38078,14 @@
{
"type": "reflection",
"declaration": {
- "id": 504,
+ "id": 470,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 507,
+ "id": 473,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -32939,9 +38093,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 701,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L701"
+ "line": 696,
+ "character": 8
}
],
"type": {
@@ -32950,7 +38103,7 @@
}
},
{
- "id": 506,
+ "id": 472,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -32958,9 +38111,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 700,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L700"
+ "line": 695,
+ "character": 8
}
],
"type": {
@@ -32972,14 +38124,14 @@
},
{
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
]
}
},
{
- "id": 505,
+ "id": 471,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -32987,9 +38139,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 699,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L699"
+ "line": 694,
+ "character": 8
}
],
"type": {
@@ -33001,7 +38152,7 @@
},
{
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
}
]
@@ -33011,15 +38162,12 @@
"groups": [
{
"title": "Properties",
- "children": [507, 506, 505]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 698,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L698"
+ "kind": 1024,
+ "children": [
+ 473,
+ 472,
+ 471
+ ]
}
]
}
@@ -33027,14 +38175,14 @@
{
"type": "reflection",
"declaration": {
- "id": 508,
+ "id": 474,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 511,
+ "id": 477,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -33042,18 +38190,18 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 703,
- "character": 35,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L703"
+ "line": 698,
+ "character": 35
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
- "id": 510,
+ "id": 476,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -33061,9 +38209,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 703,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L703"
+ "line": 698,
+ "character": 20
}
],
"type": {
@@ -33072,7 +38219,7 @@
}
},
{
- "id": 509,
+ "id": 475,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -33080,9 +38227,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 703,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L703"
+ "line": 698,
+ "character": 8
}
],
"type": {
@@ -33094,15 +38240,12 @@
"groups": [
{
"title": "Properties",
- "children": [511, 510, 509]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 703,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L703"
+ "kind": 1024,
+ "children": [
+ 477,
+ 476,
+ 475
+ ]
}
]
}
@@ -33110,15 +38253,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 465,
+ "id": 431,
"name": "_handlePhoneSignIn",
"kind": 2048,
"kindString": "Method",
@@ -33128,21 +38271,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 643,
- "character": 16,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L643"
+ "line": 638,
+ "character": 16
}
],
"signatures": [
{
- "id": 466,
+ "id": 432,
"name": "_handlePhoneSignIn",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 467,
+ "id": 433,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -33153,7 +38295,7 @@
}
},
{
- "id": 468,
+ "id": 434,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -33164,7 +38306,7 @@
}
},
{
- "id": 469,
+ "id": 435,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -33172,14 +38314,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 470,
+ "id": 436,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 471,
+ "id": 437,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -33189,9 +38331,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 647,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L647"
+ "line": 642,
+ "character": 6
}
],
"type": {
@@ -33203,15 +38344,10 @@
"groups": [
{
"title": "Properties",
- "children": [471]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 646,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L646"
+ "kind": 1024,
+ "children": [
+ 437
+ ]
}
]
}
@@ -33228,14 +38364,14 @@
{
"type": "reflection",
"declaration": {
- "id": 472,
+ "id": 438,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 473,
+ "id": 439,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -33243,22 +38379,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 654,
- "character": 38,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654"
+ "line": 649,
+ "character": 38
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 474,
+ "id": 440,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 475,
+ "id": 441,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -33266,9 +38401,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 654,
- "character": 46,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654"
+ "line": 649,
+ "character": 46
}
],
"type": {
@@ -33278,7 +38412,7 @@
"defaultValue": "null"
},
{
- "id": 476,
+ "id": 442,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -33286,9 +38420,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 654,
- "character": 61,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654"
+ "line": 649,
+ "character": 61
}
],
"type": {
@@ -33301,15 +38434,11 @@
"groups": [
{
"title": "Properties",
- "children": [475, 476]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 654,
- "character": 44,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654"
+ "kind": 1024,
+ "children": [
+ 441,
+ 442
+ ]
}
]
}
@@ -33317,21 +38446,14 @@
"defaultValue": "..."
},
{
- "id": 477,
+ "id": 443,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 654,
- "character": 75,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654"
- }
- ],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
}
@@ -33339,15 +38461,11 @@
"groups": [
{
"title": "Properties",
- "children": [473, 477]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 654,
- "character": 36,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654"
+ "kind": 1024,
+ "children": [
+ 439,
+ 443
+ ]
}
]
}
@@ -33355,14 +38473,14 @@
{
"type": "reflection",
"declaration": {
- "id": 478,
+ "id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 479,
+ "id": 445,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -33370,42 +38488,33 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 661,
- "character": 15,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661"
+ "line": 656,
+ "character": 15
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 480,
+ "id": 446,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 481,
+ "id": 447,
"name": "session",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 661,
- "character": 23,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661"
- }
- ],
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
},
{
- "id": 482,
+ "id": 448,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -33413,14 +38522,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 661,
- "character": 32,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661"
+ "line": 656,
+ "character": 32
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
},
"defaultValue": "session.user"
@@ -33429,15 +38537,11 @@
"groups": [
{
"title": "Properties",
- "children": [481, 482]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 661,
- "character": 21,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661"
+ "kind": 1024,
+ "children": [
+ 447,
+ 448
+ ]
}
]
}
@@ -33445,7 +38549,7 @@
"defaultValue": "..."
},
{
- "id": 483,
+ "id": 449,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -33453,9 +38557,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 661,
- "character": 54,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661"
+ "line": 656,
+ "character": 54
}
],
"type": {
@@ -33468,15 +38571,11 @@
"groups": [
{
"title": "Properties",
- "children": [479, 483]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 661,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661"
+ "kind": 1024,
+ "children": [
+ 445,
+ 449
+ ]
}
]
}
@@ -33484,15 +38583,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 484,
+ "id": 450,
"name": "_handleProviderSignIn",
"kind": 2048,
"kindString": "Method",
@@ -33502,33 +38601,32 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 671,
- "character": 10,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L671"
+ "line": 666,
+ "character": 10
}
],
"signatures": [
{
- "id": 485,
+ "id": 451,
"name": "_handleProviderSignIn",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 486,
+ "id": 452,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 535,
+ "id": 501,
"name": "Provider"
}
},
{
- "id": 487,
+ "id": 453,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -33536,14 +38634,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 488,
+ "id": 454,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 491,
+ "id": 457,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -33553,36 +38651,27 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 676,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L676"
+ "line": 671,
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 492,
+ "id": 458,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 676,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L676"
- }
- ],
"indexSignature": {
- "id": 493,
+ "id": 459,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 494,
+ "id": 460,
"name": "key",
"kind": 32768,
"flags": {},
@@ -33601,7 +38690,7 @@
}
},
{
- "id": 489,
+ "id": 455,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -33611,9 +38700,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 674,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L674"
+ "line": 669,
+ "character": 6
}
],
"type": {
@@ -33622,7 +38710,7 @@
}
},
{
- "id": 490,
+ "id": 456,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -33632,9 +38720,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 675,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L675"
+ "line": 670,
+ "character": 6
}
],
"type": {
@@ -33646,15 +38733,12 @@
"groups": [
{
"title": "Properties",
- "children": [491, 489, 490]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 673,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L673"
+ "kind": 1024,
+ "children": [
+ 457,
+ 455,
+ 456
+ ]
}
]
}
@@ -33665,14 +38749,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 495,
+ "id": 461,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 496,
+ "id": 462,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -33680,54 +38764,37 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 688,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688"
+ "line": 683,
+ "character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 497,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 498,
+ "id": 464,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 688,
- "character": 21,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688"
- }
- ],
"type": {
"type": "reference",
- "id": 535,
+ "id": 501,
"name": "Provider"
}
},
{
- "id": 499,
+ "id": 465,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 688,
- "character": 31,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688"
- }
- ],
"type": {
"type": "intrinsic",
"name": "string"
@@ -33737,15 +38804,11 @@
"groups": [
{
"title": "Properties",
- "children": [498, 499]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 688,
- "character": 19,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688"
+ "kind": 1024,
+ "children": [
+ 464,
+ 465
+ ]
}
]
}
@@ -33753,7 +38816,7 @@
"defaultValue": "..."
},
{
- "id": 500,
+ "id": 466,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -33761,9 +38824,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 688,
- "character": 38,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688"
+ "line": 683,
+ "character": 38
}
],
"type": {
@@ -33776,15 +38838,11 @@
"groups": [
{
"title": "Properties",
- "children": [496, 500]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 688,
- "character": 11,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688"
+ "kind": 1024,
+ "children": [
+ 462,
+ 466
+ ]
}
]
}
@@ -33793,7 +38851,7 @@
]
},
{
- "id": 533,
+ "id": 499,
"name": "_handleVisibilityChange",
"kind": 2048,
"kindString": "Method",
@@ -33803,14 +38861,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 888,
- "character": 10,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L888"
+ "line": 883,
+ "character": 10
}
],
"signatures": [
{
- "id": 534,
+ "id": 500,
"name": "_handleVisibilityChange",
"kind": 4096,
"kindString": "Call signature",
@@ -33832,7 +38889,7 @@
]
},
{
- "id": 517,
+ "id": 483,
"name": "_notifyAllSubscribers",
"kind": 2048,
"kindString": "Method",
@@ -33842,33 +38899,32 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 820,
- "character": 10,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L820"
+ "line": 815,
+ "character": 10
}
],
"signatures": [
{
- "id": 518,
+ "id": 484,
"name": "_notifyAllSubscribers",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 519,
+ "id": 485,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 502,
"name": "AuthChangeEvent"
}
},
{
- "id": 520,
+ "id": 486,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -33882,7 +38938,7 @@
},
{
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
]
@@ -33897,7 +38953,7 @@
]
},
{
- "id": 524,
+ "id": 490,
"name": "_persistSession",
"kind": 2048,
"kindString": "Method",
@@ -33907,28 +38963,27 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 848,
- "character": 10,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L848"
+ "line": 843,
+ "character": 10
}
],
"signatures": [
{
- "id": 525,
+ "id": 491,
"name": "_persistSession",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 526,
+ "id": 492,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
}
@@ -33941,7 +38996,7 @@
]
},
{
- "id": 512,
+ "id": 478,
"name": "_recoverAndRefresh",
"kind": 2048,
"kindString": "Method",
@@ -33951,25 +39006,19 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 735,
- "character": 16,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L735"
+ "line": 730,
+ "character": 16
}
],
"signatures": [
{
- "id": 513,
+ "id": 479,
"name": "_recoverAndRefresh",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."
- }
- ]
+ "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."
},
"type": {
"type": "reference",
@@ -33988,15 +39037,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 527,
+ "id": 493,
"name": "_removeSession",
"kind": 2048,
"kindString": "Method",
@@ -34006,14 +39055,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 852,
- "character": 16,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L852"
+ "line": 847,
+ "character": 16
}
],
"signatures": [
{
- "id": 528,
+ "id": 494,
"name": "_removeSession",
"kind": 4096,
"kindString": "Call signature",
@@ -34026,15 +39074,15 @@
"name": "void"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 521,
+ "id": 487,
"name": "_saveSession",
"kind": 2048,
"kindString": "Method",
@@ -34044,36 +39092,30 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 828,
- "character": 10,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L828"
+ "line": 823,
+ "character": 10
}
],
"signatures": [
{
- "id": 522,
+ "id": 488,
"name": "_saveSession",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"
- }
- ]
+ "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"
},
"parameters": [
{
- "id": 523,
+ "id": 489,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
}
@@ -34086,7 +39128,7 @@
]
},
{
- "id": 529,
+ "id": 495,
"name": "_startAutoRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -34096,40 +39138,29 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 868,
- "character": 10,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L868"
+ "line": 863,
+ "character": 10
}
],
"signatures": [
{
- "id": 530,
+ "id": 496,
"name": "_startAutoRefreshToken",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Clear and re-create refresh token timer"
- }
- ]
+ "shortText": "Clear and re-create refresh token timer"
},
"parameters": [
{
- "id": 531,
+ "id": 497,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "time intervals in milliseconds"
- }
- ]
+ "shortText": "time intervals in milliseconds\n"
},
"type": {
"type": "intrinsic",
@@ -34137,14 +39168,14 @@
}
},
{
- "id": 532,
+ "id": 498,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
}
@@ -34157,7 +39188,7 @@
]
},
{
- "id": 384,
+ "id": 350,
"name": "getSession",
"kind": 2048,
"kindString": "Method",
@@ -34165,25 +39196,19 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 346,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L346"
+ "line": 341,
+ "character": 8
}
],
"signatures": [
{
- "id": 385,
+ "id": 351,
"name": "getSession",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns the session data, refreshing it if necessary."
- }
- ]
+ "shortText": "Returns the session data, refreshing it if necessary."
},
"type": {
"type": "reference",
@@ -34194,14 +39219,14 @@
{
"type": "reflection",
"declaration": {
- "id": 386,
+ "id": 352,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 388,
+ "id": 354,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -34209,9 +39234,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 349,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L349"
+ "line": 344,
+ "character": 8
}
],
"type": {
@@ -34220,7 +39244,7 @@
}
},
{
- "id": 387,
+ "id": 353,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -34228,14 +39252,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 348,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L348"
+ "line": 343,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
}
@@ -34243,15 +39266,11 @@
"groups": [
{
"title": "Properties",
- "children": [388, 387]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 347,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L347"
+ "kind": 1024,
+ "children": [
+ 354,
+ 353
+ ]
}
]
}
@@ -34259,14 +39278,14 @@
{
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 355,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 391,
+ "id": 357,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -34274,73 +39293,67 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 353,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L353"
+ "line": 348,
+ "character": 8
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
- "id": 390,
+ "id": 356,
"name": "session",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 347,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 357,
+ 356
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 358,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 360,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
"line": 352,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L352"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [391, 390]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 351,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L351"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 392,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 394,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 357,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L357"
+ "character": 8
}
],
"type": {
@@ -34349,7 +39362,7 @@
}
},
{
- "id": 393,
+ "id": 359,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -34357,9 +39370,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 356,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L356"
+ "line": 351,
+ "character": 8
}
],
"type": {
@@ -34371,15 +39383,11 @@
"groups": [
{
"title": "Properties",
- "children": [394, 393]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 355,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L355"
+ "kind": 1024,
+ "children": [
+ 360,
+ 359
+ ]
}
]
}
@@ -34387,15 +39395,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 427,
+ "id": 393,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -34403,29 +39411,23 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 494,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L494"
+ "line": 489,
+ "character": 8
}
],
"signatures": [
{
- "id": 428,
+ "id": 394,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Gets the session data from a URL string"
- }
- ]
+ "shortText": "Gets the session data from a URL string"
},
"parameters": [
{
- "id": 429,
+ "id": 395,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -34435,14 +39437,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 430,
+ "id": 396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 431,
+ "id": 397,
"name": "storeSession",
"kind": 1024,
"kindString": "Property",
@@ -34450,19 +39452,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Optionally store the session in the browser"
- }
- ]
+ "shortText": "Optionally store the session in the browser\n"
},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 494,
- "character": 38,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L494"
+ "line": 489,
+ "character": 38
}
],
"type": {
@@ -34474,15 +39470,10 @@
"groups": [
{
"title": "Properties",
- "children": [431]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 494,
- "character": 36,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L494"
+ "kind": 1024,
+ "children": [
+ 397
+ ]
}
]
}
@@ -34498,14 +39489,14 @@
{
"type": "reflection",
"declaration": {
- "id": 432,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 434,
+ "id": 400,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -34513,9 +39504,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 497,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L497"
+ "line": 492,
+ "character": 8
}
],
"type": {
@@ -34524,7 +39514,7 @@
}
},
{
- "id": 433,
+ "id": 399,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -34532,14 +39522,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 496,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L496"
+ "line": 491,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
}
@@ -34547,15 +39536,11 @@
"groups": [
{
"title": "Properties",
- "children": [434, 433]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 495,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L495"
+ "kind": 1024,
+ "children": [
+ 400,
+ 399
+ ]
}
]
}
@@ -34563,14 +39548,14 @@
{
"type": "reflection",
"declaration": {
- "id": 435,
+ "id": 401,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 437,
+ "id": 403,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -34578,18 +39563,18 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 499,
- "character": 23,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L499"
+ "line": 494,
+ "character": 23
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
- "id": 436,
+ "id": 402,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -34597,9 +39582,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 499,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L499"
+ "line": 494,
+ "character": 8
}
],
"type": {
@@ -34611,15 +39595,11 @@
"groups": [
{
"title": "Properties",
- "children": [437, 436]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 499,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L499"
+ "kind": 1024,
+ "children": [
+ 403,
+ 402
+ ]
}
]
}
@@ -34627,15 +39607,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 395,
+ "id": 361,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -34643,25 +39623,19 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 396,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L396"
+ "line": 391,
+ "character": 8
}
],
"signatures": [
{
- "id": 396,
+ "id": 362,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns the user data, refreshing the session if necessary."
- }
- ]
+ "shortText": "Returns the user data, refreshing the session if necessary."
},
"type": {
"type": "reference",
@@ -34672,14 +39646,14 @@
{
"type": "reflection",
"declaration": {
- "id": 397,
+ "id": 363,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 399,
+ "id": 365,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -34687,9 +39661,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 399,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L399"
+ "line": 394,
+ "character": 8
}
],
"type": {
@@ -34698,7 +39671,7 @@
}
},
{
- "id": 398,
+ "id": 364,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -34706,14 +39679,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 398,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L398"
+ "line": 393,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
}
}
@@ -34721,15 +39693,11 @@
"groups": [
{
"title": "Properties",
- "children": [399, 398]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 397,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L397"
+ "kind": 1024,
+ "children": [
+ 365,
+ 364
+ ]
}
]
}
@@ -34737,14 +39705,14 @@
{
"type": "reflection",
"declaration": {
- "id": 400,
+ "id": 366,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 402,
+ "id": 368,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -34752,73 +39720,67 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 403,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L403"
+ "line": 398,
+ "character": 8
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
- "id": 401,
+ "id": 367,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 397,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 368,
+ 367
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 369,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 371,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
"line": 402,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L402"
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [402, 401]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 401,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L401"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 403,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 405,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 407,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L407"
+ "character": 8
}
],
"type": {
@@ -34827,7 +39789,7 @@
}
},
{
- "id": 404,
+ "id": 370,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -34835,9 +39797,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 406,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L406"
+ "line": 401,
+ "character": 8
}
],
"type": {
@@ -34849,15 +39810,11 @@
"groups": [
{
"title": "Properties",
- "children": [405, 404]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 405,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L405"
+ "kind": 1024,
+ "children": [
+ 371,
+ 370
+ ]
}
]
}
@@ -34865,15 +39822,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 442,
+ "id": 408,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -34881,40 +39838,24 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 578,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L578"
+ "line": 573,
+ "character": 2
}
],
"signatures": [
{
- "id": 443,
+ "id": 409,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Receive a notification every time an auth event happens."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "A subscription object which can be used to unsubscribe itself."
- }
- ]
- }
- ]
+ "shortText": "Receive a notification every time an auth event happens.",
+ "returns": "A subscription object which can be used to unsubscribe itself.\n"
},
"parameters": [
{
- "id": 444,
+ "id": 410,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -34922,41 +39863,33 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 445,
+ "id": 411,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 578,
- "character": 30,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L578"
- }
- ],
"signatures": [
{
- "id": 446,
+ "id": 412,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 447,
+ "id": 413,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 502,
"name": "AuthChangeEvent"
}
},
{
- "id": 448,
+ "id": 414,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -34970,7 +39903,7 @@
},
{
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
]
@@ -34993,14 +39926,14 @@
{
"type": "reflection",
"declaration": {
- "id": 449,
+ "id": 415,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 451,
+ "id": 417,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -35008,9 +39941,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 581,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L581"
+ "line": 576,
+ "character": 8
}
],
"type": {
@@ -35019,7 +39951,7 @@
}
},
{
- "id": 450,
+ "id": 416,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -35027,14 +39959,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 580,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L580"
+ "line": 575,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 626,
+ "id": 592,
"name": "Subscription"
}
}
@@ -35042,15 +39973,11 @@
"groups": [
{
"title": "Properties",
- "children": [451, 450]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 579,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L579"
+ "kind": 1024,
+ "children": [
+ 417,
+ 416
+ ]
}
]
}
@@ -35058,14 +39985,14 @@
{
"type": "reflection",
"declaration": {
- "id": 452,
+ "id": 418,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 454,
+ "id": 420,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -35073,18 +40000,18 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 583,
- "character": 28,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L583"
+ "line": 578,
+ "character": 28
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
- "id": 453,
+ "id": 419,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -35092,9 +40019,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 583,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L583"
+ "line": 578,
+ "character": 8
}
],
"type": {
@@ -35106,15 +40032,11 @@
"groups": [
{
"title": "Properties",
- "children": [454, 453]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 583,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L583"
+ "kind": 1024,
+ "children": [
+ 420,
+ 419
+ ]
}
]
}
@@ -35125,7 +40047,7 @@
]
},
{
- "id": 415,
+ "id": 381,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -35133,40 +40055,29 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 460,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L460"
+ "line": 455,
+ "character": 8
}
],
"signatures": [
{
- "id": 416,
+ "id": 382,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets the session data from refresh_token and returns current Session and Error"
- }
- ]
+ "shortText": "Sets the session data from refresh_token and returns current Session and Error"
},
"parameters": [
{
- "id": 417,
+ "id": 383,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "a JWT token"
- }
- ]
+ "shortText": "a JWT token\n"
},
"type": {
"type": "intrinsic",
@@ -35183,14 +40094,14 @@
{
"type": "reflection",
"declaration": {
- "id": 418,
+ "id": 384,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 420,
+ "id": 386,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -35198,9 +40109,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 463,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L463"
+ "line": 458,
+ "character": 8
}
],
"type": {
@@ -35209,7 +40119,7 @@
}
},
{
- "id": 419,
+ "id": 385,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -35217,14 +40127,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 462,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L462"
+ "line": 457,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
}
@@ -35232,15 +40141,11 @@
"groups": [
{
"title": "Properties",
- "children": [420, 419]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 461,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L461"
+ "kind": 1024,
+ "children": [
+ 386,
+ 385
+ ]
}
]
}
@@ -35248,14 +40153,14 @@
{
"type": "reflection",
"declaration": {
- "id": 421,
+ "id": 387,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 423,
+ "id": 389,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -35263,9 +40168,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 465,
- "character": 23,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L465"
+ "line": 460,
+ "character": 23
}
],
"type": {
@@ -35274,7 +40178,7 @@
}
},
{
- "id": 422,
+ "id": 388,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -35282,9 +40186,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 465,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L465"
+ "line": 460,
+ "character": 8
}
],
"type": {
@@ -35296,15 +40199,11 @@
"groups": [
{
"title": "Properties",
- "children": [423, 422]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 465,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L465"
+ "kind": 1024,
+ "children": [
+ 389,
+ 388
+ ]
}
]
}
@@ -35312,14 +40211,14 @@
{
"type": "reflection",
"declaration": {
- "id": 424,
+ "id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 426,
+ "id": 392,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -35327,18 +40226,18 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 466,
- "character": 23,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L466"
+ "line": 461,
+ "character": 23
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
- "id": 425,
+ "id": 391,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -35346,9 +40245,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 466,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L466"
+ "line": 461,
+ "character": 8
}
],
"type": {
@@ -35360,15 +40258,11 @@
"groups": [
{
"title": "Properties",
- "children": [426, 425]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 466,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L466"
+ "kind": 1024,
+ "children": [
+ 392,
+ 391
+ ]
}
]
}
@@ -35376,15 +40270,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 372,
+ "id": 338,
"name": "signInWithOAuth",
"kind": 2048,
"kindString": "Method",
@@ -35392,36 +40286,30 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 245,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L245"
+ "line": 240,
+ "character": 8
}
],
"signatures": [
{
- "id": 373,
+ "id": 339,
"name": "signInWithOAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Log in an existing user via a third-party provider."
- }
- ]
+ "shortText": "Log in an existing user via a third-party provider."
},
"parameters": [
{
- "id": 374,
+ "id": 340,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 671,
+ "id": 629,
"name": "SignInWithOAuthCredentials"
}
}
@@ -35431,19 +40319,19 @@
"typeArguments": [
{
"type": "reference",
- "id": 550,
+ "id": 516,
"name": "OAuthResponse"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 375,
+ "id": 341,
"name": "signInWithOtp",
"kind": 2048,
"kindString": "Method",
@@ -35451,36 +40339,30 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 261,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L261"
+ "line": 256,
+ "character": 8
}
],
"signatures": [
{
- "id": 376,
+ "id": 342,
"name": "signInWithOtp",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Passwordless method for logging in an existing user."
- }
- ]
+ "shortText": "Passwordless method for logging in an existing user."
},
"parameters": [
{
- "id": 377,
+ "id": 343,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 660,
+ "id": 618,
"name": "SignInWithPasswordlessCredentials"
}
}
@@ -35490,19 +40372,19 @@
"typeArguments": [
{
"type": "reference",
- "id": 537,
+ "id": 503,
"name": "AuthResponse"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 369,
+ "id": 335,
"name": "signInWithPassword",
"kind": 2048,
"kindString": "Method",
@@ -35510,36 +40392,30 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 208,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L208"
+ "line": 203,
+ "character": 8
}
],
"signatures": [
{
- "id": 370,
+ "id": 336,
"name": "signInWithPassword",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Log in an existing user, or login via a third-party provider."
- }
- ]
+ "shortText": "Log in an existing user, or login via a third-party provider."
},
"parameters": [
{
- "id": 371,
+ "id": 337,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 649,
+ "id": 607,
"name": "SignInWithPasswordCredentials"
}
}
@@ -35549,19 +40425,19 @@
"typeArguments": [
{
"type": "reference",
- "id": 537,
+ "id": 503,
"name": "AuthResponse"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 438,
+ "id": 404,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -35569,41 +40445,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 559,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L559"
+ "line": 554,
+ "character": 8
}
],
"signatures": [
{
- "id": 439,
+ "id": 405,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Inside a browser context, "
- },
- {
- "kind": "code",
- "text": "`signOut()`"
- },
- {
- "kind": "text",
- "text": " will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.\n\nFor server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to "
- },
- {
- "kind": "code",
- "text": "`auth.api.signOut(JWT: string)`"
- },
- {
- "kind": "text",
- "text": ". There is no way to revoke a user's session JWT before it automatically expires"
- }
- ]
+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
+ "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`. There is no way to revoke a user's session JWT before it automatically expires\n"
},
"type": {
"type": "reference",
@@ -35611,14 +40466,14 @@
{
"type": "reflection",
"declaration": {
- "id": 440,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 441,
+ "id": 407,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -35626,9 +40481,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 559,
- "character": 29,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L559"
+ "line": 554,
+ "character": 29
}
],
"type": {
@@ -35640,6 +40494,7 @@
},
{
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
]
@@ -35649,29 +40504,24 @@
"groups": [
{
"title": "Properties",
- "children": [441]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 559,
- "character": 27,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L559"
+ "kind": 1024,
+ "children": [
+ 407
+ ]
}
]
}
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 361,
+ "id": 327,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -35679,41 +40529,35 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 147,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L147"
+ "line": 142,
+ "character": 8
}
],
"signatures": [
{
- "id": 362,
+ "id": 328,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a new user."
- }
- ]
+ "shortText": "Creates a new user."
},
"parameters": [
{
- "id": 363,
+ "id": 329,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 642,
+ "id": 600,
"name": "UserCredentials"
}
},
{
- "id": 364,
+ "id": 330,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -35721,14 +40565,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 365,
+ "id": 331,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 368,
+ "id": 334,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -35738,9 +40582,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 152,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L152"
+ "line": 147,
+ "character": 6
}
],
"type": {
@@ -35749,19 +40592,21 @@
}
},
{
- "id": 367,
+ "id": 333,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 151,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L151"
+ "line": 146,
+ "character": 6
}
],
"type": {
@@ -35770,19 +40615,21 @@
}
},
{
- "id": 366,
+ "id": 332,
"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": 150,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L150"
+ "line": 145,
+ "character": 6
}
],
"type": {
@@ -35794,15 +40641,12 @@
"groups": [
{
"title": "Properties",
- "children": [368, 367, 366]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 149,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L149"
+ "kind": 1024,
+ "children": [
+ 334,
+ 333,
+ 332
+ ]
}
]
}
@@ -35815,19 +40659,19 @@
"typeArguments": [
{
"type": "reference",
- "id": 537,
+ "id": 503,
"name": "AuthResponse"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 406,
+ "id": 372,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -35835,36 +40679,30 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 425,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L425"
+ "line": 420,
+ "character": 8
}
],
"signatures": [
{
- "id": 407,
+ "id": 373,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Updates user data, if there is a logged in user."
- }
- ]
+ "shortText": "Updates user data, if there is a logged in user."
},
"parameters": [
{
- "id": 408,
+ "id": 374,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 610,
+ "id": 576,
"name": "UserAttributes"
}
}
@@ -35878,14 +40716,14 @@
{
"type": "reflection",
"declaration": {
- "id": 409,
+ "id": 375,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 411,
+ "id": 377,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -35893,9 +40731,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 428,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L428"
+ "line": 423,
+ "character": 8
}
],
"type": {
@@ -35904,7 +40741,7 @@
}
},
{
- "id": 410,
+ "id": 376,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -35912,14 +40749,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 427,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L427"
+ "line": 422,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
}
}
@@ -35927,15 +40763,11 @@
"groups": [
{
"title": "Properties",
- "children": [411, 410]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 426,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L426"
+ "kind": 1024,
+ "children": [
+ 377,
+ 376
+ ]
}
]
}
@@ -35943,14 +40775,14 @@
{
"type": "reflection",
"declaration": {
- "id": 412,
+ "id": 378,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 414,
+ "id": 380,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -35958,18 +40790,18 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 430,
- "character": 20,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L430"
+ "line": 425,
+ "character": 20
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
- "id": 413,
+ "id": 379,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -35977,9 +40809,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 430,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L430"
+ "line": 425,
+ "character": 8
}
],
"type": {
@@ -35991,15 +40822,11 @@
"groups": [
{
"title": "Properties",
- "children": [414, 413]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 430,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L430"
+ "kind": 1024,
+ "children": [
+ 380,
+ 379
+ ]
}
]
}
@@ -36007,15 +40834,15 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
},
{
- "id": 378,
+ "id": 344,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
@@ -36023,41 +40850,35 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 300,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L300"
+ "line": 295,
+ "character": 8
}
],
"signatures": [
{
- "id": 379,
+ "id": 345,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Log in a user given a User supplied OTP received via mobile."
- }
- ]
+ "shortText": "Log in a user given a User supplied OTP received via mobile."
},
"parameters": [
{
- "id": 380,
+ "id": 346,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 682,
+ "id": 640,
"name": "VerifyOTPParams"
}
},
{
- "id": 381,
+ "id": 347,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -36065,26 +40886,28 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 382,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 383,
+ "id": 349,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 303,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L303"
+ "line": 298,
+ "character": 6
}
],
"type": {
@@ -36096,15 +40919,10 @@
"groups": [
{
"title": "Properties",
- "children": [383]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 302,
- "character": 13,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L302"
+ "kind": 1024,
+ "children": [
+ 349
+ ]
}
]
}
@@ -36117,13 +40935,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 537,
+ "id": 503,
"name": "AuthResponse"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -36132,38 +40950,76 @@
"groups": [
{
"title": "Constructors",
- "children": [330]
+ "kind": 512,
+ "children": [
+ 297
+ ]
},
{
"title": "Properties",
- "children": [351, 354, 353, 359, 355, 358, 360, 357, 356, 352]
+ "kind": 1024,
+ "children": [
+ 317,
+ 320,
+ 319,
+ 325,
+ 321,
+ 324,
+ 326,
+ 323,
+ 322,
+ 318
+ ]
},
{
"title": "Methods",
+ "kind": 2048,
"children": [
- 514, 455, 458, 501, 465, 484, 533, 517, 524, 512, 527, 521, 529, 384, 427, 395, 442,
- 415, 372, 375, 369, 438, 361, 406, 378
+ 480,
+ 421,
+ 424,
+ 467,
+ 431,
+ 450,
+ 499,
+ 483,
+ 490,
+ 478,
+ 493,
+ 487,
+ 495,
+ 350,
+ 393,
+ 361,
+ 408,
+ 381,
+ 338,
+ 341,
+ 335,
+ 404,
+ 327,
+ 372,
+ 344
]
}
],
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 62,
- "character": 21,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L62"
+ "line": 60,
+ "character": 21
}
]
},
{
- "id": 616,
+ "id": 582,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 618,
+ "id": 584,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -36171,19 +41027,14 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A custom data object for app_metadata that.\n\nOnly a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information."
- }
- ]
+ "shortText": "A custom data object for app_metadata that.",
+ "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 165,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L165"
+ "character": 2
}
],
"type": {
@@ -36192,7 +41043,7 @@
}
},
{
- "id": 625,
+ "id": 591,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -36200,19 +41051,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A custom data object for user_metadata that a user can modify. Can be any JSON."
- }
- ]
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 140,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L140"
+ "character": 2
}
],
"type": {
@@ -36221,12 +41066,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 615,
+ "id": 581,
"name": "UserAttributes.data"
}
},
{
- "id": 621,
+ "id": 587,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -36234,19 +41079,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's email."
- }
- ]
+ "shortText": "The user's email."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 120,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L120"
+ "character": 2
}
],
"type": {
@@ -36255,12 +41094,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 611,
+ "id": 577,
"name": "UserAttributes.email"
}
},
{
- "id": 624,
+ "id": 590,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -36268,19 +41107,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "An email change token."
- }
- ]
+ "shortText": "An email change token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 135,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L135"
+ "character": 2
}
],
"type": {
@@ -36289,12 +41122,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 614,
+ "id": 580,
"name": "UserAttributes.email_change_token"
}
},
{
- "id": 619,
+ "id": 585,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -36302,19 +41135,14 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets if a user has confirmed their email address.\n\nOnly a service role can modify."
- }
- ]
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 172,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L172"
+ "character": 2
}
],
"type": {
@@ -36323,7 +41151,7 @@
}
},
{
- "id": 623,
+ "id": 589,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -36331,19 +41159,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's password."
- }
- ]
+ "shortText": "The user's password."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 130,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L130"
+ "character": 2
}
],
"type": {
@@ -36352,12 +41174,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 613,
+ "id": 579,
"name": "UserAttributes.password"
}
},
{
- "id": 622,
+ "id": 588,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -36365,19 +41187,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's phone."
- }
- ]
+ "shortText": "The user's phone."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 125,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L125"
+ "character": 2
}
],
"type": {
@@ -36386,12 +41202,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 612,
+ "id": 578,
"name": "UserAttributes.phone"
}
},
{
- "id": 620,
+ "id": 586,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -36399,19 +41215,14 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets if a user has confirmed their phone number.\n\nOnly a service role can modify."
- }
- ]
+ "shortText": "Sets if a user has confirmed their phone number.",
+ "text": "Only a service role can modify.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 179,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L179"
+ "character": 2
}
],
"type": {
@@ -36420,7 +41231,7 @@
}
},
{
- "id": 617,
+ "id": 583,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -36428,19 +41239,14 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A custom data object for user_metadata.\n\nCan be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data."
- }
- ]
+ "shortText": "A custom data object for user_metadata.",
+ "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 155,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L155"
+ "character": 2
}
],
"type": {
@@ -36452,162 +41258,44 @@
"groups": [
{
"title": "Properties",
- "children": [618, 625, 621, 624, 619, 623, 622, 620, 617]
+ "kind": 1024,
+ "children": [
+ 584,
+ 591,
+ 587,
+ 590,
+ 585,
+ 589,
+ 588,
+ 586,
+ 583
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 143,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L143"
+ "character": 17
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 610,
+ "id": 576,
"name": "UserAttributes"
}
]
},
{
- "id": 636,
- "name": "CookieOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 639,
- "name": "domain",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 203,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L203"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 638,
- "name": "lifetime",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 201,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L201"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 637,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 199,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L199"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 640,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 204,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L204"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 641,
- "name": "sameSite",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 206,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L206"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [639, 638, 637, 640, 641]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 197,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L197"
- }
- ]
- },
- {
- "id": 695,
+ "id": 653,
"name": "OpenIDConnectCredentials",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 699,
+ "id": 657,
"name": "client_id",
"kind": 1024,
"kindString": "Property",
@@ -36617,9 +41305,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 277,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L277"
+ "line": 265,
+ "character": 2
}
],
"type": {
@@ -36628,7 +41315,7 @@
}
},
{
- "id": 696,
+ "id": 654,
"name": "id_token",
"kind": 1024,
"kindString": "Property",
@@ -36636,9 +41323,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 274,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L274"
+ "line": 262,
+ "character": 2
}
],
"type": {
@@ -36647,7 +41333,7 @@
}
},
{
- "id": 700,
+ "id": 658,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -36657,9 +41343,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 278,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L278"
+ "line": 266,
+ "character": 2
}
],
"type": {
@@ -36668,7 +41353,7 @@
}
},
{
- "id": 697,
+ "id": 655,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -36676,9 +41361,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L275"
+ "line": 263,
+ "character": 2
}
],
"type": {
@@ -36687,7 +41371,7 @@
}
},
{
- "id": 698,
+ "id": 656,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -36697,14 +41381,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 276,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L276"
+ "line": 264,
+ "character": 2
}
],
"type": {
"type": "reference",
- "id": 535,
+ "id": 501,
"name": "Provider"
}
}
@@ -36712,27 +41395,33 @@
"groups": [
{
"title": "Properties",
- "children": [699, 696, 700, 697, 698]
+ "kind": 1024,
+ "children": [
+ 657,
+ 654,
+ 658,
+ 655,
+ 656
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 273,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L273"
+ "line": 261,
+ "character": 17
}
]
},
{
- "id": 563,
+ "id": 529,
"name": "Session",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 565,
+ "id": 531,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -36741,8 +41430,7 @@
{
"fileName": "src/lib/types.ts",
"line": 62,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L62"
+ "character": 2
}
],
"type": {
@@ -36751,7 +41439,7 @@
}
},
{
- "id": 567,
+ "id": 533,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -36759,19 +41447,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A timestamp of when the token will expire. Returned when a login is confirmed."
- }
- ]
+ "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 70,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L70"
+ "character": 2
}
],
"type": {
@@ -36780,7 +41462,7 @@
}
},
{
- "id": 566,
+ "id": 532,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -36788,19 +41470,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."
- }
- ]
+ "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 66,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L66"
+ "character": 2
}
],
"type": {
@@ -36809,7 +41485,7 @@
}
},
{
- "id": 564,
+ "id": 530,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -36820,8 +41496,7 @@
{
"fileName": "src/lib/types.ts",
"line": 61,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L61"
+ "character": 2
}
],
"type": {
@@ -36839,7 +41514,7 @@
}
},
{
- "id": 568,
+ "id": 534,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -36848,8 +41523,7 @@
{
"fileName": "src/lib/types.ts",
"line": 71,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L71"
+ "character": 2
}
],
"type": {
@@ -36858,7 +41532,7 @@
}
},
{
- "id": 569,
+ "id": 535,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -36867,8 +41541,7 @@
{
"fileName": "src/lib/types.ts",
"line": 72,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L72"
+ "character": 2
}
],
"type": {
@@ -36877,7 +41550,7 @@
}
},
{
- "id": 570,
+ "id": 536,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -36886,13 +41559,12 @@
{
"fileName": "src/lib/types.ts",
"line": 73,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L73"
+ "character": 2
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
}
}
@@ -36900,27 +41572,35 @@
"groups": [
{
"title": "Properties",
- "children": [565, 567, 566, 564, 568, 569, 570]
+ "kind": 1024,
+ "children": [
+ 531,
+ 533,
+ 532,
+ 530,
+ 534,
+ 535,
+ 536
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 60,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L60"
+ "character": 17
}
]
},
{
- "id": 675,
+ "id": 633,
"name": "SignInWithOAuthOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 678,
+ "id": 636,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -36930,36 +41610,27 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 254,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L254"
+ "line": 242,
+ "character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 679,
+ "id": 637,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 254,
- "character": 16,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L254"
- }
- ],
"indexSignature": {
- "id": 680,
+ "id": 638,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 681,
+ "id": 639,
"name": "key",
"kind": 32768,
"flags": {},
@@ -36978,7 +41649,7 @@
}
},
{
- "id": 676,
+ "id": 634,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -36988,9 +41659,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L252"
+ "line": 240,
+ "character": 2
}
],
"type": {
@@ -36999,7 +41669,7 @@
}
},
{
- "id": 677,
+ "id": 635,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -37009,9 +41679,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 253,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L253"
+ "line": 241,
+ "character": 2
}
],
"type": {
@@ -37023,27 +41692,31 @@
"groups": [
{
"title": "Properties",
- "children": [678, 676, 677]
+ "kind": 1024,
+ "children": [
+ 636,
+ 634,
+ 635
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L251"
+ "line": 239,
+ "character": 17
}
]
},
{
- "id": 658,
+ "id": 616,
"name": "SignInWithPasswordOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 659,
+ "id": 617,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -37053,9 +41726,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L230"
+ "line": 218,
+ "character": 2
}
],
"type": {
@@ -37067,27 +41739,29 @@
"groups": [
{
"title": "Properties",
- "children": [659]
+ "kind": 1024,
+ "children": [
+ 617
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 229,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L229"
+ "line": 217,
+ "character": 17
}
]
},
{
- "id": 667,
+ "id": 625,
"name": "SignInWithPasswordlessOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 670,
+ "id": 628,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -37097,9 +41771,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 245,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L245"
+ "line": 233,
+ "character": 2
}
],
"type": {
@@ -37108,19 +41781,21 @@
}
},
{
- "id": 668,
+ "id": 626,
"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": 243,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L243"
+ "line": 231,
+ "character": 2
}
],
"type": {
@@ -37129,7 +41804,7 @@
}
},
{
- "id": 669,
+ "id": 627,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -37139,9 +41814,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 244,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L244"
+ "line": 232,
+ "character": 2
}
],
"type": {
@@ -37153,134 +41827,43 @@
"groups": [
{
"title": "Properties",
- "children": [670, 668, 669]
+ "kind": 1024,
+ "children": [
+ 628,
+ 626,
+ 627
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 241,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L241"
+ "line": 229,
+ "character": 17
}
]
},
{
- "id": 626,
+ "id": 592,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 628,
- "name": "callback",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 190,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L190"
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 629,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 190,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L190"
- }
- ],
- "signatures": [
- {
- "id": 630,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The function to call every time there is an event. eg: (eventName) => {}"
- }
- ]
- },
- "parameters": [
- {
- "id": 631,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 536,
- "name": "AuthChangeEvent"
- }
- },
- {
- "id": 632,
- "name": "session",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 563,
- "name": "Session"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- },
- {
- "id": 627,
+ "id": 593,
"name": "id",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The subscriber UUID. This will be set by the client."
- }
- ]
+ "shortText": "The subscriber UUID. This will be set by the client."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 186,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L186"
+ "character": 2
}
],
"type": {
@@ -37289,84 +41872,135 @@
}
},
{
- "id": 633,
+ "id": 594,
+ "name": "callback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 190,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 595,
+ "name": "callback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "parameters": [
+ {
+ "id": 596,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 502,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 597,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 598,
"name": "unsubscribe",
- "kind": 1024,
- "kindString": "Property",
+ "kind": 2048,
+ "kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 194,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L194"
+ "character": 2
}
],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 634,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "signatures": [
+ {
+ "id": 599,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 194,
- "character": 15,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L194"
- }
- ],
- "signatures": [
- {
- "id": 635,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Call this to remove the listener."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
+ "comment": {
+ "shortText": "Call this to remove the listener."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
}
- }
+ ]
}
],
"groups": [
{
"title": "Properties",
- "children": [628, 627, 633]
+ "kind": 1024,
+ "children": [
+ 593
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 594,
+ 598
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 182,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L182"
+ "character": 17
}
]
},
{
- "id": 582,
+ "id": 548,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 599,
+ "id": 565,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -37377,8 +42011,7 @@
{
"fileName": "src/lib/types.ts",
"line": 103,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L103"
+ "character": 2
}
],
"type": {
@@ -37387,7 +42020,7 @@
}
},
{
- "id": 584,
+ "id": 550,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -37396,21 +42029,20 @@
{
"fileName": "src/lib/types.ts",
"line": 90,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L90"
+ "character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 585,
+ "id": 551,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 586,
+ "id": 552,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -37421,8 +42053,7 @@
{
"fileName": "src/lib/types.ts",
"line": 91,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L91"
+ "character": 4
}
],
"type": {
@@ -37434,26 +42065,21 @@
"groups": [
{
"title": "Properties",
- "children": [586]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 90,
- "character": 16,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L90"
+ "kind": 1024,
+ "children": [
+ 552
+ ]
}
],
"indexSignature": {
- "id": 587,
+ "id": 553,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 588,
+ "id": 554,
"name": "key",
"kind": 32768,
"flags": {},
@@ -37472,7 +42098,7 @@
}
},
{
- "id": 593,
+ "id": 559,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -37481,8 +42107,7 @@
{
"fileName": "src/lib/types.ts",
"line": 97,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L97"
+ "character": 2
}
],
"type": {
@@ -37491,7 +42116,7 @@
}
},
{
- "id": 594,
+ "id": 560,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -37502,8 +42127,7 @@
{
"fileName": "src/lib/types.ts",
"line": 98,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L98"
+ "character": 2
}
],
"type": {
@@ -37512,7 +42136,7 @@
}
},
{
- "id": 603,
+ "id": 569,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -37523,8 +42147,7 @@
{
"fileName": "src/lib/types.ts",
"line": 107,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L107"
+ "character": 2
}
],
"type": {
@@ -37533,7 +42156,7 @@
}
},
{
- "id": 602,
+ "id": 568,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -37542,8 +42165,7 @@
{
"fileName": "src/lib/types.ts",
"line": 106,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L106"
+ "character": 2
}
],
"type": {
@@ -37552,7 +42174,7 @@
}
},
{
- "id": 600,
+ "id": 566,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -37563,8 +42185,7 @@
{
"fileName": "src/lib/types.ts",
"line": 104,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L104"
+ "character": 2
}
],
"type": {
@@ -37573,7 +42194,7 @@
}
},
{
- "id": 596,
+ "id": 562,
"name": "email_change_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -37584,8 +42205,7 @@
{
"fileName": "src/lib/types.ts",
"line": 100,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L100"
+ "character": 2
}
],
"type": {
@@ -37594,7 +42214,7 @@
}
},
{
- "id": 604,
+ "id": 570,
"name": "email_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -37605,8 +42225,7 @@
{
"fileName": "src/lib/types.ts",
"line": 108,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L108"
+ "character": 2
}
],
"type": {
@@ -37615,7 +42234,7 @@
}
},
{
- "id": 583,
+ "id": 549,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -37624,8 +42243,7 @@
{
"fileName": "src/lib/types.ts",
"line": 89,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L89"
+ "character": 2
}
],
"type": {
@@ -37634,7 +42252,7 @@
}
},
{
- "id": 609,
+ "id": 575,
"name": "identities",
"kind": 1024,
"kindString": "Property",
@@ -37645,21 +42263,20 @@
{
"fileName": "src/lib/types.ts",
"line": 113,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L113"
+ "character": 2
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
- "id": 571,
+ "id": 537,
"name": "UserIdentity"
}
}
},
{
- "id": 598,
+ "id": 564,
"name": "invited_at",
"kind": 1024,
"kindString": "Property",
@@ -37670,8 +42287,7 @@
{
"fileName": "src/lib/types.ts",
"line": 102,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L102"
+ "character": 2
}
],
"type": {
@@ -37680,7 +42296,7 @@
}
},
{
- "id": 606,
+ "id": 572,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -37691,8 +42307,7 @@
{
"fileName": "src/lib/types.ts",
"line": 110,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L110"
+ "character": 2
}
],
"type": {
@@ -37701,7 +42316,7 @@
}
},
{
- "id": 597,
+ "id": 563,
"name": "new_email",
"kind": 1024,
"kindString": "Property",
@@ -37712,8 +42327,7 @@
{
"fileName": "src/lib/types.ts",
"line": 101,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L101"
+ "character": 2
}
],
"type": {
@@ -37722,7 +42336,7 @@
}
},
{
- "id": 601,
+ "id": 567,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -37733,8 +42347,7 @@
{
"fileName": "src/lib/types.ts",
"line": 105,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L105"
+ "character": 2
}
],
"type": {
@@ -37743,7 +42356,7 @@
}
},
{
- "id": 605,
+ "id": 571,
"name": "phone_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -37754,8 +42367,7 @@
{
"fileName": "src/lib/types.ts",
"line": 109,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L109"
+ "character": 2
}
],
"type": {
@@ -37764,7 +42376,7 @@
}
},
{
- "id": 595,
+ "id": 561,
"name": "recovery_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -37775,8 +42387,7 @@
{
"fileName": "src/lib/types.ts",
"line": 99,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L99"
+ "character": 2
}
],
"type": {
@@ -37785,7 +42396,7 @@
}
},
{
- "id": 607,
+ "id": 573,
"name": "role",
"kind": 1024,
"kindString": "Property",
@@ -37796,8 +42407,7 @@
{
"fileName": "src/lib/types.ts",
"line": 111,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L111"
+ "character": 2
}
],
"type": {
@@ -37806,7 +42416,7 @@
}
},
{
- "id": 608,
+ "id": 574,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -37817,8 +42427,7 @@
{
"fileName": "src/lib/types.ts",
"line": 112,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L112"
+ "character": 2
}
],
"type": {
@@ -37827,7 +42436,7 @@
}
},
{
- "id": 589,
+ "id": 555,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -37836,35 +42445,26 @@
{
"fileName": "src/lib/types.ts",
"line": 94,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L94"
+ "character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 590,
+ "id": 556,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 94,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L94"
- }
- ],
"indexSignature": {
- "id": 591,
+ "id": 557,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 592,
+ "id": 558,
"name": "key",
"kind": 32768,
"flags": {},
@@ -37886,9 +42486,28 @@
"groups": [
{
"title": "Properties",
+ "kind": 1024,
"children": [
- 599, 584, 593, 594, 603, 602, 600, 596, 604, 583, 609, 598, 606, 597, 601, 605, 595,
- 607, 608, 589
+ 565,
+ 550,
+ 559,
+ 560,
+ 569,
+ 568,
+ 566,
+ 562,
+ 570,
+ 549,
+ 575,
+ 564,
+ 572,
+ 563,
+ 567,
+ 571,
+ 561,
+ 573,
+ 574,
+ 555
]
}
],
@@ -37896,20 +42515,19 @@
{
"fileName": "src/lib/types.ts",
"line": 88,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L88"
+ "character": 17
}
]
},
{
- "id": 610,
+ "id": 576,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 615,
+ "id": 581,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -37917,19 +42535,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A custom data object for user_metadata that a user can modify. Can be any JSON."
- }
- ]
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 140,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L140"
+ "character": 2
}
],
"type": {
@@ -37938,7 +42550,7 @@
}
},
{
- "id": 611,
+ "id": 577,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -37946,19 +42558,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's email."
- }
- ]
+ "shortText": "The user's email."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 120,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L120"
+ "character": 2
}
],
"type": {
@@ -37967,7 +42573,7 @@
}
},
{
- "id": 614,
+ "id": 580,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -37975,19 +42581,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "An email change token."
- }
- ]
+ "shortText": "An email change token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 135,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L135"
+ "character": 2
}
],
"type": {
@@ -37996,7 +42596,7 @@
}
},
{
- "id": 613,
+ "id": 579,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -38004,342 +42604,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's password."
- }
- ]
+ "shortText": "The user's password."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 130,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L130"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 612,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The user's phone."
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 125,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L125"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [615, 611, 614, 613, 612]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 116,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L116"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 616,
- "name": "AdminUserAttributes"
- }
- ]
- },
- {
- "id": 642,
- "name": "UserCredentials",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 643,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 210,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L210"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 648,
- "name": "oidc",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 216,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L216"
- }
- ],
- "type": {
- "type": "reference",
- "id": 695,
- "name": "OpenIDConnectCredentials"
- }
- },
- {
- "id": 645,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 212,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L212"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 644,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 211,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L211"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 647,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 215,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L215"
- }
- ],
- "type": {
- "type": "reference",
- "id": 535,
- "name": "Provider"
- }
- },
- {
- "id": 646,
- "name": "refreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 213,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L213"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [643, 648, 645, 644, 647, 646]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 209,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L209"
- }
- ]
- },
- {
- "id": 571,
- "name": "UserIdentity",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 579,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L83"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 572,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 77,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L77"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 574,
- "name": "identity_data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L79"
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 575,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L79"
- }
- ],
- "indexSignature": {
- "id": 576,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 577,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 580,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 84,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L84"
+ "character": 2
}
],
"type": {
@@ -38349,16 +42620,76 @@
},
{
"id": 578,
- "name": "provider",
+ "name": "phone",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 82,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L82"
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 581,
+ 577,
+ 580,
+ 579,
+ 578
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 116,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 582,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ },
+ {
+ "id": 600,
+ "name": "UserCredentials",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 601,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 198,
+ "character": 2
}
],
"type": {
@@ -38367,7 +42698,261 @@
}
},
{
- "id": 581,
+ "id": 606,
+ "name": "oidc",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 204,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 653,
+ "name": "OpenIDConnectCredentials"
+ }
+ },
+ {
+ "id": 603,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 200,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 602,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 199,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 605,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The name of the provider."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 203,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 604,
+ "name": "refreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 601,
+ 606,
+ 603,
+ 602,
+ 605,
+ 604
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 197,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 537,
+ "name": "UserIdentity",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 545,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 538,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 77,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 540,
+ "name": "identity_data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 79,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 541,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 542,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 543,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 546,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 544,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 547,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -38378,8 +42963,7 @@
{
"fileName": "src/lib/types.ts",
"line": 85,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L85"
+ "character": 2
}
],
"type": {
@@ -38388,7 +42972,7 @@
}
},
{
- "id": 573,
+ "id": 539,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -38397,8 +42981,7 @@
{
"fileName": "src/lib/types.ts",
"line": 78,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L78"
+ "character": 2
}
],
"type": {
@@ -38410,27 +42993,35 @@
"groups": [
{
"title": "Properties",
- "children": [579, 572, 574, 580, 578, 581, 573]
+ "kind": 1024,
+ "children": [
+ 545,
+ 538,
+ 540,
+ 546,
+ 544,
+ 547,
+ 539
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 76,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L76"
+ "character": 17
}
]
},
{
- "id": 688,
+ "id": 646,
"name": "VerifyEmailOTPParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 689,
+ "id": 647,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -38438,9 +43029,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 265,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L265"
+ "line": 253,
+ "character": 2
}
],
"type": {
@@ -38449,7 +43039,7 @@
}
},
{
- "id": 690,
+ "id": 648,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -38459,9 +43049,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 266,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L266"
+ "line": 254,
+ "character": 2
}
],
"type": {
@@ -38470,7 +43059,7 @@
}
},
{
- "id": 691,
+ "id": 649,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -38478,9 +43067,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 267,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L267"
+ "line": 255,
+ "character": 2
}
],
"type": {
@@ -38489,7 +43077,7 @@
}
},
{
- "id": 692,
+ "id": 650,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -38497,14 +43085,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 268,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L268"
+ "line": 256,
+ "character": 2
}
],
"type": {
"type": "reference",
- "id": 694,
+ "id": 652,
"name": "EmailOTPType"
}
}
@@ -38512,27 +43099,32 @@
"groups": [
{
"title": "Properties",
- "children": [689, 690, 691, 692]
+ "kind": 1024,
+ "children": [
+ 647,
+ 648,
+ 649,
+ 650
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L264"
+ "line": 252,
+ "character": 17
}
]
},
{
- "id": 683,
+ "id": 641,
"name": "VerifyMobileOTPParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 684,
+ "id": 642,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -38542,9 +43134,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 259,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L259"
+ "line": 247,
+ "character": 2
}
],
"type": {
@@ -38553,7 +43144,7 @@
}
},
{
- "id": 685,
+ "id": 643,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -38561,9 +43152,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 260,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L260"
+ "line": 248,
+ "character": 2
}
],
"type": {
@@ -38572,7 +43162,7 @@
}
},
{
- "id": 686,
+ "id": 644,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -38580,9 +43170,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L261"
+ "line": 249,
+ "character": 2
}
],
"type": {
@@ -38591,7 +43180,7 @@
}
},
{
- "id": 687,
+ "id": 645,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -38601,14 +43190,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 262,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L262"
+ "line": 250,
+ "character": 2
}
],
"type": {
"type": "reference",
- "id": 693,
+ "id": 651,
"name": "MobileOTPType"
}
}
@@ -38616,20 +43204,25 @@
"groups": [
{
"title": "Properties",
- "children": [684, 685, 686, 687]
+ "kind": 1024,
+ "children": [
+ 642,
+ 643,
+ 644,
+ 645
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 258,
- "character": 17,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L258"
+ "line": 246,
+ "character": 17
}
]
},
{
- "id": 536,
+ "id": 502,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -38638,8 +43231,7 @@
{
"fileName": "src/lib/types.ts",
"line": 21,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L21"
+ "character": 12
}
],
"type": {
@@ -38673,7 +43265,7 @@
}
},
{
- "id": 537,
+ "id": 503,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -38682,8 +43274,7 @@
{
"fileName": "src/lib/types.ts",
"line": 29,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L29"
+ "character": 12
}
],
"type": {
@@ -38692,14 +43283,14 @@
{
"type": "reflection",
"declaration": {
- "id": 538,
+ "id": 504,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 539,
+ "id": 505,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -38708,21 +43299,20 @@
{
"fileName": "src/lib/types.ts",
"line": 31,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L31"
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 540,
+ "id": 506,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 542,
+ "id": 508,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -38731,8 +43321,7 @@
{
"fileName": "src/lib/types.ts",
"line": 33,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L33"
+ "character": 8
}
],
"type": {
@@ -38740,7 +43329,7 @@
"types": [
{
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
},
{
@@ -38751,7 +43340,7 @@
}
},
{
- "id": 541,
+ "id": 507,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -38760,8 +43349,7 @@
{
"fileName": "src/lib/types.ts",
"line": 32,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L32"
+ "character": 8
}
],
"type": {
@@ -38769,7 +43357,7 @@
"types": [
{
"type": "reference",
- "id": 582,
+ "id": 548,
"name": "User"
},
{
@@ -38783,22 +43371,25 @@
"groups": [
{
"title": "Properties",
- "children": [542, 541]
+ "kind": 1024,
+ "children": [
+ 508,
+ 507
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 31,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L31"
+ "character": 12
}
]
}
}
},
{
- "id": 543,
+ "id": 509,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -38807,8 +43398,7 @@
{
"fileName": "src/lib/types.ts",
"line": 35,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L35"
+ "character": 6
}
],
"type": {
@@ -38820,15 +43410,18 @@
"groups": [
{
"title": "Properties",
- "children": [539, 543]
+ "kind": 1024,
+ "children": [
+ 505,
+ 509
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 30,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L30"
+ "character": 4
}
]
}
@@ -38836,14 +43429,14 @@
{
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 510,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 545,
+ "id": 511,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -38852,21 +43445,20 @@
{
"fileName": "src/lib/types.ts",
"line": 38,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L38"
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 546,
+ "id": 512,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 548,
+ "id": 514,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -38875,8 +43467,7 @@
{
"fileName": "src/lib/types.ts",
"line": 40,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L40"
+ "character": 8
}
],
"type": {
@@ -38885,7 +43476,7 @@
}
},
{
- "id": 547,
+ "id": 513,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -38894,8 +43485,7 @@
{
"fileName": "src/lib/types.ts",
"line": 39,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L39"
+ "character": 8
}
],
"type": {
@@ -38907,22 +43497,25 @@
"groups": [
{
"title": "Properties",
- "children": [548, 547]
+ "kind": 1024,
+ "children": [
+ 514,
+ 513
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 38,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L38"
+ "character": 12
}
]
}
}
},
{
- "id": 549,
+ "id": 515,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -38931,12 +43524,12 @@
{
"fileName": "src/lib/types.ts",
"line": 42,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L42"
+ "character": 6
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
}
@@ -38944,15 +43537,18 @@
"groups": [
{
"title": "Properties",
- "children": [545, 549]
+ "kind": 1024,
+ "children": [
+ 511,
+ 515
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 37,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L37"
+ "character": 4
}
]
}
@@ -38961,7 +43557,7 @@
}
},
{
- "id": 702,
+ "id": 660,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -38969,9 +43565,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 292,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L292"
+ "line": 280,
+ "character": 12
}
],
"type": {
@@ -38980,14 +43575,14 @@
{
"type": "reflection",
"declaration": {
- "id": 703,
+ "id": 661,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 705,
+ "id": 663,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -38995,9 +43590,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 295,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L295"
+ "line": 283,
+ "character": 6
}
],
"type": {
@@ -39006,7 +43600,7 @@
}
},
{
- "id": 704,
+ "id": 662,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -39014,14 +43608,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 294,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L294"
+ "line": 282,
+ "character": 6
}
],
"type": {
"type": "reference",
- "id": 563,
+ "id": 529,
"name": "Session"
}
}
@@ -39029,15 +43622,18 @@
"groups": [
{
"title": "Properties",
- "children": [705, 704]
+ "kind": 1024,
+ "children": [
+ 663,
+ 662
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 293,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L293"
+ "line": 281,
+ "character": 4
}
]
}
@@ -39045,14 +43641,14 @@
{
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 664,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 708,
+ "id": 666,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -39060,18 +43656,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 299,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L299"
+ "line": 287,
+ "character": 6
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
},
{
- "id": 707,
+ "id": 665,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -39079,9 +43675,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L298"
+ "line": 286,
+ "character": 6
}
],
"type": {
@@ -39093,15 +43688,18 @@
"groups": [
{
"title": "Properties",
- "children": [708, 707]
+ "kind": 1024,
+ "children": [
+ 666,
+ 665
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 297,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L297"
+ "line": 285,
+ "character": 4
}
]
}
@@ -39110,7 +43708,7 @@
}
},
{
- "id": 694,
+ "id": 652,
"name": "EmailOTPType",
"kind": 4194304,
"kindString": "Type alias",
@@ -39118,9 +43716,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 271,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L271"
+ "line": 259,
+ "character": 12
}
],
"type": {
@@ -39150,7 +43747,7 @@
}
},
{
- "id": 693,
+ "id": 651,
"name": "MobileOTPType",
"kind": 4194304,
"kindString": "Type alias",
@@ -39158,9 +43755,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 270,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L270"
+ "line": 258,
+ "character": 12
}
],
"type": {
@@ -39178,7 +43774,7 @@
}
},
{
- "id": 550,
+ "id": 516,
"name": "OAuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -39187,8 +43783,7 @@
{
"fileName": "src/lib/types.ts",
"line": 45,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L45"
+ "character": 12
}
],
"type": {
@@ -39197,14 +43792,14 @@
{
"type": "reflection",
"declaration": {
- "id": 551,
+ "id": 517,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 552,
+ "id": 518,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -39213,21 +43808,20 @@
{
"fileName": "src/lib/types.ts",
"line": 47,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L47"
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 553,
+ "id": 519,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 554,
+ "id": 520,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -39236,18 +43830,17 @@
{
"fileName": "src/lib/types.ts",
"line": 48,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L48"
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 535,
+ "id": 501,
"name": "Provider"
}
},
{
- "id": 555,
+ "id": 521,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -39256,8 +43849,7 @@
{
"fileName": "src/lib/types.ts",
"line": 49,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L49"
+ "character": 8
}
],
"type": {
@@ -39269,22 +43861,25 @@
"groups": [
{
"title": "Properties",
- "children": [554, 555]
+ "kind": 1024,
+ "children": [
+ 520,
+ 521
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 47,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L47"
+ "character": 12
}
]
}
}
},
{
- "id": 556,
+ "id": 522,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -39293,8 +43888,7 @@
{
"fileName": "src/lib/types.ts",
"line": 51,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L51"
+ "character": 6
}
],
"type": {
@@ -39306,15 +43900,18 @@
"groups": [
{
"title": "Properties",
- "children": [552, 556]
+ "kind": 1024,
+ "children": [
+ 518,
+ 522
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 46,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L46"
+ "character": 4
}
]
}
@@ -39322,14 +43919,14 @@
{
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 523,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 558,
+ "id": 524,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -39338,21 +43935,20 @@
{
"fileName": "src/lib/types.ts",
"line": 54,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L54"
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 559,
+ "id": 525,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 560,
+ "id": 526,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -39361,18 +43957,17 @@
{
"fileName": "src/lib/types.ts",
"line": 55,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L55"
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 535,
+ "id": 501,
"name": "Provider"
}
},
{
- "id": 561,
+ "id": 527,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -39381,8 +43976,7 @@
{
"fileName": "src/lib/types.ts",
"line": 56,
- "character": 8,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L56"
+ "character": 8
}
],
"type": {
@@ -39394,22 +43988,25 @@
"groups": [
{
"title": "Properties",
- "children": [560, 561]
+ "kind": 1024,
+ "children": [
+ 526,
+ 527
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 54,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L54"
+ "character": 12
}
]
}
}
},
{
- "id": 562,
+ "id": 528,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -39418,12 +44015,12 @@
{
"fileName": "src/lib/types.ts",
"line": 58,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L58"
+ "character": 6
}
],
"type": {
"type": "reference",
+ "id": 670,
"name": "AuthError"
}
}
@@ -39431,15 +44028,18 @@
"groups": [
{
"title": "Properties",
- "children": [558, 562]
+ "kind": 1024,
+ "children": [
+ 524,
+ 528
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 53,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L53"
+ "character": 4
}
]
}
@@ -39448,7 +44048,7 @@
}
},
{
- "id": 535,
+ "id": 501,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -39457,8 +44057,7 @@
{
"fileName": "src/lib/types.ts",
"line": 3,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L3"
+ "character": 12
}
],
"type": {
@@ -39532,7 +44131,7 @@
}
},
{
- "id": 671,
+ "id": 629,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -39540,22 +44139,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L247"
+ "line": 235,
+ "character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 672,
+ "id": 630,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 674,
+ "id": 632,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -39565,19 +44163,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 249,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L249"
+ "line": 237,
+ "character": 2
}
],
"type": {
"type": "reference",
- "id": 675,
+ "id": 633,
"name": "SignInWithOAuthOptions"
}
},
{
- "id": 673,
+ "id": 631,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -39585,14 +44182,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 248,
- "character": 2,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L248"
+ "line": 236,
+ "character": 2
}
],
"type": {
"type": "reference",
- "id": 535,
+ "id": 501,
"name": "Provider"
}
}
@@ -39600,22 +44196,25 @@
"groups": [
{
"title": "Properties",
- "children": [674, 673]
+ "kind": 1024,
+ "children": [
+ 632,
+ 631
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
- "character": 41,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L247"
+ "line": 235,
+ "character": 41
}
]
}
}
},
{
- "id": 649,
+ "id": 607,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -39623,9 +44222,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 218,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L218"
+ "line": 206,
+ "character": 12
}
],
"type": {
@@ -39634,14 +44232,14 @@
{
"type": "reflection",
"declaration": {
- "id": 650,
+ "id": 608,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 651,
+ "id": 609,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -39649,9 +44247,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 220,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L220"
+ "line": 208,
+ "character": 6
}
],
"type": {
@@ -39660,7 +44257,7 @@
}
},
{
- "id": 653,
+ "id": 611,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -39670,19 +44267,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 222,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L222"
+ "line": 210,
+ "character": 6
}
],
"type": {
"type": "reference",
- "id": 658,
+ "id": 616,
"name": "SignInWithPasswordOptions"
}
},
{
- "id": 652,
+ "id": 610,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -39690,9 +44286,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 221,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L221"
+ "line": 209,
+ "character": 6
}
],
"type": {
@@ -39704,15 +44299,19 @@
"groups": [
{
"title": "Properties",
- "children": [651, 653, 652]
+ "kind": 1024,
+ "children": [
+ 609,
+ 611,
+ 610
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L219"
+ "line": 207,
+ "character": 4
}
]
}
@@ -39720,14 +44319,188 @@
{
"type": "reflection",
"declaration": {
- "id": 654,
+ "id": 612,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 657,
+ "id": 615,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 215,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 616,
+ "name": "SignInWithPasswordOptions"
+ }
+ },
+ {
+ "id": 614,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 214,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 613,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 213,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 615,
+ 614,
+ 613
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 212,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 618,
+ "name": "SignInWithPasswordlessCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 220,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 619,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 620,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 222,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 621,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 625,
+ "name": "SignInWithPasswordlessOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 620,
+ 621
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 622,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 624,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -39738,19 +44511,18 @@
{
"fileName": "src/lib/types.ts",
"line": 227,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L227"
+ "character": 6
}
],
"type": {
"type": "reference",
- "id": 658,
- "name": "SignInWithPasswordOptions"
+ "id": 625,
+ "name": "SignInWithPasswordlessOptions"
}
},
{
- "id": 656,
- "name": "password",
+ "id": 623,
+ "name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -39758,27 +44530,7 @@
{
"fileName": "src/lib/types.ts",
"line": 226,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L226"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 655,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L225"
+ "character": 6
}
],
"type": {
@@ -39790,15 +44542,18 @@
"groups": [
{
"title": "Properties",
- "children": [657, 656, 655]
+ "kind": 1024,
+ "children": [
+ 624,
+ 623
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 224,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L224"
+ "line": 225,
+ "character": 4
}
]
}
@@ -39807,161 +44562,7 @@
}
},
{
- "id": 660,
- "name": "SignInWithPasswordlessCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 232,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L232"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 661,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 662,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 234,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L234"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 663,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 235,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L235"
- }
- ],
- "type": {
- "type": "reference",
- "id": 667,
- "name": "SignInWithPasswordlessOptions"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [662, 663]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 233,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L233"
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 664,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 666,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 239,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L239"
- }
- ],
- "type": {
- "type": "reference",
- "id": 667,
- "name": "SignInWithPasswordlessOptions"
- }
- },
- {
- "id": 665,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 238,
- "character": 6,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L238"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [666, 665]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 237,
- "character": 4,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L237"
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 701,
+ "id": 659,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -39969,9 +44570,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 290,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L290"
+ "line": 278,
+ "character": 12
}
],
"type": {
@@ -39982,9 +44582,9 @@
"typeArguments": [
{
"type": "reference",
- "name": "Storage",
"qualifiedName": "Storage",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Storage"
},
{
"type": "union",
@@ -40004,16 +44604,16 @@
]
}
],
- "name": "Pick",
"qualifiedName": "Pick",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Pick"
}
],
"name": "PromisifyMethods"
}
},
{
- "id": 682,
+ "id": 640,
"name": "VerifyOTPParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -40021,9 +44621,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
- "character": 12,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L257"
+ "line": 245,
+ "character": 12
}
],
"type": {
@@ -40031,38 +44630,130 @@
"types": [
{
"type": "reference",
- "id": 683,
+ "id": 641,
"name": "VerifyMobileOTPParams"
},
{
"type": "reference",
- "id": 688,
+ "id": 646,
"name": "VerifyEmailOTPParams"
}
]
}
+ },
+ {
+ "id": 667,
+ "name": "isAuthError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 10,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 668,
+ "name": "isAuthError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 669,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ }
+ ]
}
],
"groups": [
{
"title": "Classes",
- "children": [1, 329]
+ "kind": 128,
+ "children": [
+ 675,
+ 670,
+ 722,
+ 735,
+ 710,
+ 688,
+ 695,
+ 1,
+ 296
+ ]
},
{
"title": "Interfaces",
- "children": [616, 636, 695, 563, 675, 658, 667, 626, 582, 610, 642, 571, 688, 683]
+ "kind": 256,
+ "children": [
+ 582,
+ 653,
+ 529,
+ 633,
+ 616,
+ 625,
+ 592,
+ 548,
+ 576,
+ 600,
+ 537,
+ 646,
+ 641
+ ]
},
{
"title": "Type Aliases",
- "children": [536, 537, 702, 694, 693, 550, 535, 671, 649, 660, 701, 682]
+ "kind": 4194304,
+ "children": [
+ 502,
+ 503,
+ 660,
+ 652,
+ 651,
+ 516,
+ 501,
+ 629,
+ 607,
+ 618,
+ 659,
+ 640
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 667
+ ]
}
],
"sources": [
{
"fileName": "src/index.ts",
"line": 1,
- "character": 0,
- "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/index.ts#L1"
+ "character": 0
}
]
},
@@ -40075,7 +44766,7 @@
"originalName": "",
"children": [
{
- "id": 483,
+ "id": 476,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -40084,7 +44775,7 @@
},
"children": [
{
- "id": 484,
+ "id": 477,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -40098,14 +44789,14 @@
],
"signatures": [
{
- "id": 485,
+ "id": 478,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 486,
+ "id": 479,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -40114,18 +44805,18 @@
],
"parameters": [
{
- "id": 487,
+ "id": 480,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 483,
+ "id": 476,
"typeArguments": [
{
"type": "reference",
- "id": 486,
+ "id": 479,
"name": "Result"
}
],
@@ -40135,11 +44826,11 @@
],
"type": {
"type": "reference",
- "id": 483,
+ "id": 476,
"typeArguments": [
{
"type": "reference",
- "id": 486,
+ "id": 479,
"name": "Result"
}
],
@@ -40149,7 +44840,7 @@
]
},
{
- "id": 500,
+ "id": 493,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -40169,7 +44860,7 @@
}
},
{
- "id": 492,
+ "id": 485,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -40190,7 +44881,7 @@
}
},
{
- "id": 495,
+ "id": 488,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -40207,21 +44898,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 496,
+ "id": 489,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 497,
+ "id": 490,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 498,
+ "id": 491,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -40234,7 +44925,7 @@
}
},
{
- "id": 499,
+ "id": 492,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -40269,7 +44960,7 @@
}
},
{
- "id": 490,
+ "id": 483,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -40301,7 +44992,7 @@
}
},
{
- "id": 488,
+ "id": 481,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -40342,7 +45033,7 @@
}
},
{
- "id": 491,
+ "id": 484,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -40363,7 +45054,7 @@
}
},
{
- "id": 493,
+ "id": 486,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -40380,10 +45071,11 @@
"type": {
"type": "intrinsic",
"name": "boolean"
- }
+ },
+ "defaultValue": "false"
},
{
- "id": 494,
+ "id": 487,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -40406,7 +45098,7 @@
}
},
{
- "id": 489,
+ "id": 482,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -40428,7 +45120,7 @@
}
},
{
- "id": 504,
+ "id": 496,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -40436,31 +45128,31 @@
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
- "line": 50,
+ "line": 48,
"character": 2
}
],
"signatures": [
{
- "id": 505,
+ "id": 497,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 506,
+ "id": 498,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 517,
+ "id": 509,
"typeArguments": [
{
"type": "reference",
- "id": 486,
+ "id": 479,
"name": "Result"
}
],
@@ -40468,7 +45160,7 @@
}
},
{
- "id": 507,
+ "id": 499,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -40481,7 +45173,7 @@
],
"parameters": [
{
- "id": 508,
+ "id": 500,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -40498,32 +45190,32 @@
{
"type": "reflection",
"declaration": {
- "id": 509,
+ "id": 501,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 510,
+ "id": 502,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 511,
+ "id": 503,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 517,
+ "id": 509,
"typeArguments": [
{
"type": "reference",
- "id": 486,
+ "id": 479,
"name": "Result"
}
],
@@ -40536,7 +45228,7 @@
"types": [
{
"type": "reference",
- "id": 381,
+ "id": 375,
"name": "TResult1"
},
{
@@ -40544,7 +45236,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 381,
+ "id": 375,
"name": "TResult1"
}
],
@@ -40562,7 +45254,7 @@
}
},
{
- "id": 512,
+ "id": 504,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -40579,21 +45271,21 @@
{
"type": "reflection",
"declaration": {
- "id": 513,
+ "id": 505,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 514,
+ "id": 506,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 515,
+ "id": 507,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -40609,7 +45301,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 376,
"name": "TResult2"
},
{
@@ -40617,7 +45309,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 376,
"name": "TResult2"
}
],
@@ -40643,12 +45335,12 @@
"types": [
{
"type": "reference",
- "id": 381,
+ "id": 375,
"name": "TResult1"
},
{
"type": "reference",
- "id": 382,
+ "id": 376,
"name": "TResult2"
}
]
@@ -40670,7 +45362,7 @@
}
},
{
- "id": 501,
+ "id": 494,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -40678,49 +45370,28 @@
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
- "line": 45,
+ "line": 43,
"character": 2
}
],
"signatures": [
{
- "id": 502,
+ "id": 495,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
- "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n",
- "tags": [
- {
- "tag": "deprecated",
- "text": "Use `throwOnError` in the `PostgrestClient` constructor instead.\n"
- }
- ]
+ "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
},
- "parameters": [
- {
- "id": 503,
- "name": "throwOnError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
"type": {
"type": "reference",
- "id": 483,
+ "id": 476,
"typeArguments": [
{
"type": "reference",
- "id": 486,
+ "id": 479,
"name": "Result"
}
],
@@ -40734,17 +45405,32 @@
{
"title": "Constructors",
"kind": 512,
- "children": [484]
+ "children": [
+ 477
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [500, 492, 495, 490, 488, 491, 493, 494, 489]
+ "children": [
+ 493,
+ 485,
+ 488,
+ 483,
+ 481,
+ 484,
+ 486,
+ 487,
+ 482
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [504, 501]
+ "children": [
+ 496,
+ 494
+ ]
}
],
"sources": [
@@ -40756,7 +45442,7 @@
],
"typeParameter": [
{
- "id": 516,
+ "id": 508,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -40766,7 +45452,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 393,
+ "id": 387,
"name": "PostgrestTransformBuilder"
}
],
@@ -40776,11 +45462,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 517,
+ "id": 509,
"typeArguments": [
{
"type": "reference",
- "id": 486,
+ "id": 479,
"name": "Result"
}
],
@@ -40972,7 +45658,7 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 39,
+ "line": 38,
"character": 6
}
],
@@ -41051,7 +45737,7 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 37,
+ "line": 36,
"character": 6
}
],
@@ -41083,7 +45769,7 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 38,
+ "line": 37,
"character": 6
}
],
@@ -41092,33 +45778,17 @@
"id": 5,
"name": "SchemaName"
}
- },
- {
- "id": 17,
- "name": "throwOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 40,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [12, 10, 11, 17]
+ "children": [
+ 12,
+ 10,
+ 11
+ ]
}
]
}
@@ -41152,7 +45822,7 @@
]
},
{
- "id": 21,
+ "id": 20,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -41169,21 +45839,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 22,
+ "id": 21,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 23,
+ "id": 22,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 24,
+ "id": 23,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -41196,7 +45866,7 @@
}
},
{
- "id": 25,
+ "id": 24,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -41231,7 +45901,7 @@
}
},
{
- "id": 19,
+ "id": 18,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -41261,7 +45931,7 @@
}
},
{
- "id": 20,
+ "id": 19,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -41282,25 +45952,7 @@
}
},
{
- "id": 26,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 20,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 18,
+ "id": 17,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -41318,77 +45970,7 @@
}
},
{
- "id": 27,
- "name": "auth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 28,
- "name": "auth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Authenticates the request with JWT.",
- "tags": [
- {
- "tag": "deprecated",
- "text": "Use `headers` in constructor instead.\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 29,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The JWT token to use.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "typeArguments": [
- {
- "type": "reference",
- "id": 4,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- },
- {
- "type": "reference",
- "id": 6,
- "name": "Schema"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 30,
+ "id": 25,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -41396,13 +45978,13 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 67,
+ "line": 52,
"character": 2
}
],
"signatures": [
{
- "id": 31,
+ "id": 26,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -41412,7 +45994,7 @@
},
"typeParameter": [
{
- "id": 32,
+ "id": 27,
"name": "TableName",
"kind": 131072,
"kindString": "Type parameter",
@@ -41423,7 +46005,7 @@
}
},
{
- "id": 33,
+ "id": 28,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
@@ -41436,7 +46018,7 @@
],
"parameters": [
{
- "id": 34,
+ "id": 29,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -41446,28 +46028,59 @@
},
"type": {
"type": "reference",
- "id": 32,
+ "id": 27,
"name": "TableName"
}
}
],
"type": {
"type": "reference",
- "id": 48,
+ "id": 45,
"typeArguments": [
{
"type": "reference",
- "id": 33,
+ "id": 28,
"name": "Table"
}
],
"name": "default"
}
+ },
+ {
+ "id": 30,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 31,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 45,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "default"
+ }
}
]
},
{
- "id": 35,
+ "id": 32,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -41475,13 +46088,13 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 89,
+ "line": 75,
"character": 2
}
],
"signatures": [
{
- "id": 36,
+ "id": 33,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -41491,7 +46104,7 @@
},
"typeParameter": [
{
- "id": 37,
+ "id": 34,
"name": "FunctionName",
"kind": 131072,
"kindString": "Type parameter",
@@ -41502,7 +46115,7 @@
}
},
{
- "id": 38,
+ "id": 35,
"name": "Function_",
"kind": 131072,
"kindString": "Type parameter",
@@ -41515,7 +46128,7 @@
],
"parameters": [
{
- "id": 39,
+ "id": 36,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -41525,12 +46138,12 @@
},
"type": {
"type": "reference",
- "id": 37,
+ "id": 34,
"name": "FunctionName"
}
},
{
- "id": 40,
+ "id": 37,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
@@ -41546,14 +46159,14 @@
},
"objectType": {
"type": "reference",
- "id": 38,
+ "id": 35,
"name": "Function_"
}
},
"defaultValue": "{}"
},
{
- "id": 41,
+ "id": 38,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -41565,14 +46178,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 42,
+ "id": 39,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 44,
+ "id": 41,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -41585,7 +46198,7 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 100,
+ "line": 86,
"character": 6
}
],
@@ -41608,7 +46221,7 @@
}
},
{
- "id": 43,
+ "id": 40,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -41621,7 +46234,7 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 99,
+ "line": 85,
"character": 6
}
],
@@ -41635,7 +46248,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [44, 43]
+ "children": [
+ 41,
+ 40
+ ]
}
]
}
@@ -41645,7 +46261,7 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "conditional",
@@ -41657,7 +46273,7 @@
},
"objectType": {
"type": "reference",
- "id": 38,
+ "id": 35,
"name": "Function_"
}
},
@@ -41733,7 +46349,7 @@
},
"objectType": {
"type": "reference",
- "id": 38,
+ "id": 35,
"name": "Function_"
}
}
@@ -41748,17 +46364,27 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [
+ 2
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [21, 19, 20, 26, 18]
+ "children": [
+ 20,
+ 18,
+ 19,
+ 17
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [27, 30, 35]
+ "children": [
+ 25,
+ 32
+ ]
}
],
"sources": [
@@ -41770,7 +46396,7 @@
],
"typeParameter": [
{
- "id": 45,
+ "id": 42,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -41781,7 +46407,7 @@
}
},
{
- "id": 46,
+ "id": 43,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -41844,7 +46470,7 @@
}
},
{
- "id": 47,
+ "id": 44,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -41894,28 +46520,28 @@
]
},
{
- "id": 111,
+ "id": 106,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 112,
+ "id": 107,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 113,
+ "id": 108,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 114,
+ "id": 109,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
@@ -41938,7 +46564,7 @@
}
},
{
- "id": 115,
+ "id": 110,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -41947,18 +46573,18 @@
],
"parameters": [
{
- "id": 116,
+ "id": 111,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 483,
+ "id": 476,
"typeArguments": [
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -41968,16 +46594,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -41985,19 +46611,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 395,
+ "id": 389,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 394,
+ "id": 388,
"name": "default.constructor"
}
},
{
- "id": 375,
+ "id": 370,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -42017,12 +46643,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 465,
+ "id": 459,
"name": "default.allowEmpty"
}
},
{
- "id": 367,
+ "id": 362,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -42043,12 +46669,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 457,
+ "id": 451,
"name": "default.body"
}
},
{
- "id": 370,
+ "id": 365,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -42065,21 +46691,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 371,
+ "id": 366,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 372,
+ "id": 367,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 373,
+ "id": 368,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -42092,7 +46718,7 @@
}
},
{
- "id": 374,
+ "id": 369,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -42127,12 +46753,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 460,
+ "id": 454,
"name": "default.fetch"
}
},
{
- "id": 365,
+ "id": 360,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -42164,12 +46790,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 455,
+ "id": 449,
"name": "default.headers"
}
},
{
- "id": 363,
+ "id": 358,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -42210,12 +46836,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 453,
+ "id": 447,
"name": "default.method"
}
},
{
- "id": 366,
+ "id": 361,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -42236,12 +46862,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 456,
+ "id": 450,
"name": "default.schema"
}
},
{
- "id": 368,
+ "id": 363,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -42259,14 +46885,15 @@
"type": "intrinsic",
"name": "boolean"
},
+ "defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 458,
+ "id": 452,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 369,
+ "id": 364,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -42289,12 +46916,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 459,
+ "id": 453,
"name": "default.signal"
}
},
{
- "id": 364,
+ "id": 359,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -42316,12 +46943,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 454,
+ "id": 448,
"name": "default.url"
}
},
{
- "id": 343,
+ "id": 338,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -42335,7 +46962,7 @@
],
"signatures": [
{
- "id": 344,
+ "id": 339,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
@@ -42345,7 +46972,7 @@
},
"parameters": [
{
- "id": 345,
+ "id": 340,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
@@ -42360,16 +46987,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -42377,19 +47004,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 434,
+ "id": 428,
"name": "default.abortSignal"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 433,
+ "id": 427,
"name": "default.abortSignal"
}
},
{
- "id": 221,
+ "id": 216,
"name": "containedBy",
"kind": 2048,
"kindString": "Method",
@@ -42403,7 +47030,7 @@
],
"signatures": [
{
- "id": 222,
+ "id": 217,
"name": "containedBy",
"kind": 4096,
"kindString": "Call signature",
@@ -42413,7 +47040,7 @@
},
"typeParameter": [
{
- "id": 223,
+ "id": 218,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -42426,7 +47053,7 @@
],
"parameters": [
{
- "id": 224,
+ "id": 219,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42436,12 +47063,12 @@
},
"type": {
"type": "reference",
- "id": 223,
+ "id": 218,
"name": "ColumnName"
}
},
{
- "id": 225,
+ "id": 220,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -42478,12 +47105,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 223,
+ "id": 218,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -42494,16 +47121,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -42511,14 +47138,14 @@
}
},
{
- "id": 226,
+ "id": 221,
"name": "containedBy",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 227,
+ "id": 222,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42529,7 +47156,7 @@
}
},
{
- "id": 228,
+ "id": 223,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -42570,16 +47197,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -42589,7 +47216,7 @@
]
},
{
- "id": 213,
+ "id": 208,
"name": "contains",
"kind": 2048,
"kindString": "Method",
@@ -42603,7 +47230,7 @@
],
"signatures": [
{
- "id": 214,
+ "id": 209,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
@@ -42613,7 +47240,7 @@
},
"typeParameter": [
{
- "id": 215,
+ "id": 210,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -42626,7 +47253,7 @@
],
"parameters": [
{
- "id": 216,
+ "id": 211,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42636,12 +47263,12 @@
},
"type": {
"type": "reference",
- "id": 215,
+ "id": 210,
"name": "ColumnName"
}
},
{
- "id": 217,
+ "id": 212,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -42678,12 +47305,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 215,
+ "id": 210,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -42694,16 +47321,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -42711,14 +47338,14 @@
}
},
{
- "id": 218,
+ "id": 213,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 219,
+ "id": 214,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42729,7 +47356,7 @@
}
},
{
- "id": 220,
+ "id": 215,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -42770,16 +47397,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -42789,7 +47416,7 @@
]
},
{
- "id": 350,
+ "id": 345,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -42803,7 +47430,7 @@
],
"signatures": [
{
- "id": 351,
+ "id": 346,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
@@ -42816,7 +47443,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 511,
"typeArguments": [
{
"type": "intrinsic",
@@ -42832,19 +47459,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 441,
+ "id": 435,
"name": "default.csv"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 440,
+ "id": 434,
"name": "default.csv"
}
},
{
- "id": 133,
+ "id": 128,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -42858,7 +47485,7 @@
],
"signatures": [
{
- "id": 134,
+ "id": 129,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
@@ -42868,7 +47495,7 @@
},
"typeParameter": [
{
- "id": 135,
+ "id": 130,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -42881,7 +47508,7 @@
],
"parameters": [
{
- "id": 136,
+ "id": 131,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42891,12 +47518,12 @@
},
"type": {
"type": "reference",
- "id": 135,
+ "id": 130,
"name": "ColumnName"
}
},
{
- "id": 137,
+ "id": 132,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -42908,12 +47535,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 135,
+ "id": 130,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -42921,16 +47548,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -42938,14 +47565,14 @@
}
},
{
- "id": 138,
+ "id": 133,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 139,
+ "id": 134,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42956,7 +47583,7 @@
}
},
{
- "id": 140,
+ "id": 135,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -42969,16 +47596,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -42988,7 +47615,7 @@
]
},
{
- "id": 354,
+ "id": 349,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -43002,7 +47629,7 @@
],
"signatures": [
{
- "id": 355,
+ "id": 350,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
@@ -43012,7 +47639,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 351,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -43020,14 +47647,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 357,
+ "id": 352,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 358,
+ "id": 353,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -43047,7 +47674,7 @@
}
},
{
- "id": 361,
+ "id": 356,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -43067,7 +47694,7 @@
}
},
{
- "id": 360,
+ "id": 355,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -43087,7 +47714,7 @@
}
},
{
- "id": 359,
+ "id": 354,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -43107,7 +47734,7 @@
}
},
{
- "id": 362,
+ "id": 357,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -43131,7 +47758,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [358, 361, 360, 359, 362]
+ "children": [
+ 353,
+ 356,
+ 355,
+ 354,
+ 357
+ ]
}
]
}
@@ -43144,7 +47777,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 517,
+ "id": 509,
"typeArguments": [
{
"type": "reference",
@@ -43172,19 +47805,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 445,
+ "id": 439,
"name": "default.explain"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 444,
+ "id": 438,
"name": "default.explain"
}
},
{
- "id": 293,
+ "id": 288,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -43198,7 +47831,7 @@
],
"signatures": [
{
- "id": 294,
+ "id": 289,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -43208,7 +47841,7 @@
},
"typeParameter": [
{
- "id": 295,
+ "id": 290,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -43221,7 +47854,7 @@
],
"parameters": [
{
- "id": 296,
+ "id": 291,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43231,12 +47864,12 @@
},
"type": {
"type": "reference",
- "id": 295,
+ "id": 290,
"name": "ColumnName"
}
},
{
- "id": 297,
+ "id": 292,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -43343,7 +47976,7 @@
}
},
{
- "id": 298,
+ "id": 293,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -43359,16 +47992,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -43376,14 +48009,14 @@
}
},
{
- "id": 299,
+ "id": 294,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 300,
+ "id": 295,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43394,7 +48027,7 @@
}
},
{
- "id": 301,
+ "id": 296,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -43405,7 +48038,7 @@
}
},
{
- "id": 302,
+ "id": 297,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -43418,16 +48051,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -43437,7 +48070,7 @@
]
},
{
- "id": 352,
+ "id": 347,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -43451,7 +48084,7 @@
],
"signatures": [
{
- "id": 353,
+ "id": 348,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
@@ -43464,7 +48097,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 511,
"typeArguments": [
{
"type": "reference",
@@ -43492,19 +48125,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 443,
+ "id": 437,
"name": "default.geojson"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 442,
+ "id": 436,
"name": "default.geojson"
}
},
{
- "id": 149,
+ "id": 144,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -43518,7 +48151,7 @@
],
"signatures": [
{
- "id": 150,
+ "id": 145,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
@@ -43528,7 +48161,7 @@
},
"typeParameter": [
{
- "id": 151,
+ "id": 146,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -43541,7 +48174,7 @@
],
"parameters": [
{
- "id": 152,
+ "id": 147,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43551,12 +48184,12 @@
},
"type": {
"type": "reference",
- "id": 151,
+ "id": 146,
"name": "ColumnName"
}
},
{
- "id": 153,
+ "id": 148,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -43568,12 +48201,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 151,
+ "id": 146,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -43581,16 +48214,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -43598,14 +48231,14 @@
}
},
{
- "id": 154,
+ "id": 149,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 155,
+ "id": 150,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43616,7 +48249,7 @@
}
},
{
- "id": 156,
+ "id": 151,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -43629,16 +48262,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -43648,7 +48281,7 @@
]
},
{
- "id": 157,
+ "id": 152,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -43662,7 +48295,7 @@
],
"signatures": [
{
- "id": 158,
+ "id": 153,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
@@ -43672,7 +48305,7 @@
},
"typeParameter": [
{
- "id": 159,
+ "id": 154,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -43685,7 +48318,7 @@
],
"parameters": [
{
- "id": 160,
+ "id": 155,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43695,12 +48328,12 @@
},
"type": {
"type": "reference",
- "id": 159,
+ "id": 154,
"name": "ColumnName"
}
},
{
- "id": 161,
+ "id": 156,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -43712,12 +48345,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 159,
+ "id": 154,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -43725,16 +48358,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -43742,14 +48375,14 @@
}
},
{
- "id": 162,
+ "id": 157,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 163,
+ "id": 158,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43760,7 +48393,7 @@
}
},
{
- "id": 164,
+ "id": 159,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -43773,16 +48406,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -43792,7 +48425,7 @@
]
},
{
- "id": 189,
+ "id": 184,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -43806,7 +48439,7 @@
],
"signatures": [
{
- "id": 190,
+ "id": 185,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
@@ -43816,7 +48449,7 @@
},
"typeParameter": [
{
- "id": 191,
+ "id": 186,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -43829,7 +48462,7 @@
],
"parameters": [
{
- "id": 192,
+ "id": 187,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43839,12 +48472,12 @@
},
"type": {
"type": "reference",
- "id": 191,
+ "id": 186,
"name": "ColumnName"
}
},
{
- "id": 193,
+ "id": 188,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -43860,16 +48493,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -43877,14 +48510,14 @@
}
},
{
- "id": 194,
+ "id": 189,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 195,
+ "id": 190,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43895,7 +48528,7 @@
}
},
{
- "id": 196,
+ "id": 191,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -43908,16 +48541,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -43927,7 +48560,7 @@
]
},
{
- "id": 205,
+ "id": 200,
"name": "in",
"kind": 2048,
"kindString": "Method",
@@ -43941,7 +48574,7 @@
],
"signatures": [
{
- "id": 206,
+ "id": 201,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
@@ -43951,7 +48584,7 @@
},
"typeParameter": [
{
- "id": 207,
+ "id": 202,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -43964,7 +48597,7 @@
],
"parameters": [
{
- "id": 208,
+ "id": 203,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43974,12 +48607,12 @@
},
"type": {
"type": "reference",
- "id": 207,
+ "id": 202,
"name": "ColumnName"
}
},
{
- "id": 209,
+ "id": 204,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -43993,12 +48626,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 207,
+ "id": 202,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -44007,16 +48640,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44024,14 +48657,14 @@
}
},
{
- "id": 210,
+ "id": 205,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 211,
+ "id": 206,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -44042,7 +48675,7 @@
}
},
{
- "id": 212,
+ "id": 207,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -44058,16 +48691,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44077,7 +48710,7 @@
]
},
{
- "id": 197,
+ "id": 192,
"name": "is",
"kind": 2048,
"kindString": "Method",
@@ -44091,7 +48724,7 @@
],
"signatures": [
{
- "id": 198,
+ "id": 193,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
@@ -44101,7 +48734,7 @@
},
"typeParameter": [
{
- "id": 199,
+ "id": 194,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -44114,7 +48747,7 @@
],
"parameters": [
{
- "id": 200,
+ "id": 195,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -44124,12 +48757,12 @@
},
"type": {
"type": "reference",
- "id": 199,
+ "id": 194,
"name": "ColumnName"
}
},
{
- "id": 201,
+ "id": 196,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -44147,12 +48780,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 199,
+ "id": 194,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
},
@@ -44169,12 +48802,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 199,
+ "id": 194,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
},
@@ -44191,12 +48824,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 199,
+ "id": 194,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
},
@@ -44212,16 +48845,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44229,14 +48862,14 @@
}
},
{
- "id": 202,
+ "id": 197,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 203,
+ "id": 198,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -44247,7 +48880,7 @@
}
},
{
- "id": 204,
+ "id": 199,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -44269,16 +48902,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44288,7 +48921,7 @@
]
},
{
- "id": 181,
+ "id": 176,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -44302,7 +48935,7 @@
],
"signatures": [
{
- "id": 182,
+ "id": 177,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
@@ -44312,7 +48945,7 @@
},
"typeParameter": [
{
- "id": 183,
+ "id": 178,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -44325,7 +48958,7 @@
],
"parameters": [
{
- "id": 184,
+ "id": 179,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -44335,12 +48968,12 @@
},
"type": {
"type": "reference",
- "id": 183,
+ "id": 178,
"name": "ColumnName"
}
},
{
- "id": 185,
+ "id": 180,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -44356,16 +48989,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44373,14 +49006,14 @@
}
},
{
- "id": 186,
+ "id": 181,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 187,
+ "id": 182,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -44391,7 +49024,7 @@
}
},
{
- "id": 188,
+ "id": 183,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -44404,16 +49037,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44423,7 +49056,7 @@
]
},
{
- "id": 330,
+ "id": 325,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -44437,7 +49070,7 @@
],
"signatures": [
{
- "id": 331,
+ "id": 326,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -44447,7 +49080,7 @@
},
"parameters": [
{
- "id": 332,
+ "id": 327,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -44461,7 +49094,7 @@
}
},
{
- "id": 333,
+ "id": 328,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
@@ -44473,14 +49106,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 334,
+ "id": 329,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 335,
+ "id": 330,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -44504,7 +49137,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [335]
+ "children": [
+ 330
+ ]
}
]
}
@@ -44514,16 +49149,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44531,19 +49166,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 421,
+ "id": 415,
"name": "default.limit"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 420,
+ "id": 414,
"name": "default.limit"
}
},
{
- "id": 165,
+ "id": 160,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -44557,7 +49192,7 @@
],
"signatures": [
{
- "id": 166,
+ "id": 161,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
@@ -44567,7 +49202,7 @@
},
"typeParameter": [
{
- "id": 167,
+ "id": 162,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -44580,7 +49215,7 @@
],
"parameters": [
{
- "id": 168,
+ "id": 163,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -44590,12 +49225,12 @@
},
"type": {
"type": "reference",
- "id": 167,
+ "id": 162,
"name": "ColumnName"
}
},
{
- "id": 169,
+ "id": 164,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -44607,12 +49242,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 167,
+ "id": 162,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -44620,16 +49255,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44637,14 +49272,14 @@
}
},
{
- "id": 170,
+ "id": 165,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 171,
+ "id": 166,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -44655,7 +49290,7 @@
}
},
{
- "id": 172,
+ "id": 167,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -44668,16 +49303,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44687,7 +49322,7 @@
]
},
{
- "id": 173,
+ "id": 168,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -44701,7 +49336,7 @@
],
"signatures": [
{
- "id": 174,
+ "id": 169,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
@@ -44711,7 +49346,7 @@
},
"typeParameter": [
{
- "id": 175,
+ "id": 170,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -44724,7 +49359,7 @@
],
"parameters": [
{
- "id": 176,
+ "id": 171,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -44734,12 +49369,12 @@
},
"type": {
"type": "reference",
- "id": 175,
+ "id": 170,
"name": "ColumnName"
}
},
{
- "id": 177,
+ "id": 172,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -44751,12 +49386,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 175,
+ "id": 170,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -44764,16 +49399,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44781,14 +49416,14 @@
}
},
{
- "id": 178,
+ "id": 173,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 179,
+ "id": 174,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -44799,7 +49434,7 @@
}
},
{
- "id": 180,
+ "id": 175,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -44812,16 +49447,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44831,7 +49466,7 @@
]
},
{
- "id": 303,
+ "id": 298,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -44845,7 +49480,7 @@
],
"signatures": [
{
- "id": 304,
+ "id": 299,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -44855,7 +49490,7 @@
},
"typeParameter": [
{
- "id": 305,
+ "id": 300,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -44868,7 +49503,7 @@
],
"parameters": [
{
- "id": 306,
+ "id": 301,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -44881,19 +49516,19 @@
"typeArguments": [
{
"type": "reference",
- "id": 305,
+ "id": 300,
"name": "ColumnName"
},
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 305,
+ "id": 300,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -44906,16 +49541,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44923,14 +49558,14 @@
}
},
{
- "id": 307,
+ "id": 302,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 308,
+ "id": 303,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -44955,16 +49590,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -44974,7 +49609,7 @@
]
},
{
- "id": 348,
+ "id": 343,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -44988,7 +49623,7 @@
],
"signatures": [
{
- "id": 349,
+ "id": 344,
"name": "maybeSingle",
"kind": 4096,
"kindString": "Call signature",
@@ -45001,11 +49636,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 513,
"typeArguments": [
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45018,19 +49653,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 439,
+ "id": 433,
"name": "default.maybeSingle"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 438,
+ "id": 432,
"name": "default.maybeSingle"
}
},
{
- "id": 141,
+ "id": 136,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -45044,7 +49679,7 @@
],
"signatures": [
{
- "id": 142,
+ "id": 137,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
@@ -45054,7 +49689,7 @@
},
"typeParameter": [
{
- "id": 143,
+ "id": 138,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -45067,7 +49702,7 @@
],
"parameters": [
{
- "id": 144,
+ "id": 139,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -45077,12 +49712,12 @@
},
"type": {
"type": "reference",
- "id": 143,
+ "id": 138,
"name": "ColumnName"
}
},
{
- "id": 145,
+ "id": 140,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -45094,12 +49729,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 143,
+ "id": 138,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -45107,16 +49742,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45124,14 +49759,14 @@
}
},
{
- "id": 146,
+ "id": 141,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 147,
+ "id": 142,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -45142,7 +49777,7 @@
}
},
{
- "id": 148,
+ "id": 143,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -45155,16 +49790,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45174,7 +49809,7 @@
]
},
{
- "id": 117,
+ "id": 112,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -45188,7 +49823,7 @@
],
"signatures": [
{
- "id": 118,
+ "id": 113,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
@@ -45198,7 +49833,7 @@
},
"typeParameter": [
{
- "id": 119,
+ "id": 114,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -45211,7 +49846,7 @@
],
"parameters": [
{
- "id": 120,
+ "id": 115,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -45221,12 +49856,12 @@
},
"type": {
"type": "reference",
- "id": 119,
+ "id": 114,
"name": "ColumnName"
}
},
{
- "id": 121,
+ "id": 116,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -45240,7 +49875,7 @@
}
},
{
- "id": 122,
+ "id": 117,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -45252,12 +49887,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 119,
+ "id": 114,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -45265,16 +49900,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45282,14 +49917,14 @@
}
},
{
- "id": 123,
+ "id": 118,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 124,
+ "id": 119,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -45300,7 +49935,7 @@
}
},
{
- "id": 125,
+ "id": 120,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -45311,7 +49946,7 @@
}
},
{
- "id": 126,
+ "id": 121,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -45324,16 +49959,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45343,7 +49978,7 @@
]
},
{
- "id": 127,
+ "id": 122,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -45357,7 +49992,7 @@
],
"signatures": [
{
- "id": 128,
+ "id": 123,
"name": "or",
"kind": 4096,
"kindString": "Call signature",
@@ -45367,7 +50002,7 @@
},
"parameters": [
{
- "id": 129,
+ "id": 124,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
@@ -45381,7 +50016,7 @@
}
},
{
- "id": 130,
+ "id": 125,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
@@ -45393,14 +50028,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 131,
+ "id": 126,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 127,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -45424,7 +50059,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [132]
+ "children": [
+ 127
+ ]
}
]
}
@@ -45434,16 +50071,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45453,7 +50090,7 @@
]
},
{
- "id": 314,
+ "id": 309,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -45467,7 +50104,7 @@
],
"signatures": [
{
- "id": 315,
+ "id": 310,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -45477,7 +50114,7 @@
},
"typeParameter": [
{
- "id": 316,
+ "id": 311,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -45490,7 +50127,7 @@
],
"parameters": [
{
- "id": 317,
+ "id": 312,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -45500,12 +50137,12 @@
},
"type": {
"type": "reference",
- "id": 316,
+ "id": 311,
"name": "ColumnName"
}
},
{
- "id": 318,
+ "id": 313,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -45515,14 +50152,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 314,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 320,
+ "id": 315,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -45542,7 +50179,7 @@
}
},
{
- "id": 322,
+ "id": 317,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -45562,7 +50199,7 @@
}
},
{
- "id": 321,
+ "id": 316,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -45586,7 +50223,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [320, 322, 321]
+ "children": [
+ 315,
+ 317,
+ 316
+ ]
}
]
}
@@ -45595,16 +50236,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45612,19 +50253,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 405,
+ "id": 399,
"name": "default.order"
}
},
{
- "id": 323,
+ "id": 318,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 324,
+ "id": 319,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -45635,7 +50276,7 @@
}
},
{
- "id": 325,
+ "id": 320,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -45645,14 +50286,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 326,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 327,
+ "id": 322,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -45672,7 +50313,7 @@
}
},
{
- "id": 329,
+ "id": 324,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -45690,7 +50331,7 @@
}
},
{
- "id": 328,
+ "id": 323,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -45714,7 +50355,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [327, 329, 328]
+ "children": [
+ 322,
+ 324,
+ 323
+ ]
}
]
}
@@ -45723,16 +50368,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45740,19 +50385,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 413,
+ "id": 407,
"name": "default.order"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 404,
+ "id": 398,
"name": "default.order"
}
},
{
- "id": 269,
+ "id": 264,
"name": "overlaps",
"kind": 2048,
"kindString": "Method",
@@ -45766,7 +50411,7 @@
],
"signatures": [
{
- "id": 270,
+ "id": 265,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
@@ -45776,7 +50421,7 @@
},
"typeParameter": [
{
- "id": 271,
+ "id": 266,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -45789,7 +50434,7 @@
],
"parameters": [
{
- "id": 272,
+ "id": 267,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -45799,12 +50444,12 @@
},
"type": {
"type": "reference",
- "id": 271,
+ "id": 266,
"name": "ColumnName"
}
},
{
- "id": 273,
+ "id": 268,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -45825,12 +50470,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 271,
+ "id": 266,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
}
}
@@ -45841,16 +50486,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45858,14 +50503,14 @@
}
},
{
- "id": 274,
+ "id": 269,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 275,
+ "id": 270,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -45876,7 +50521,7 @@
}
},
{
- "id": 276,
+ "id": 271,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -45901,16 +50546,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -45920,7 +50565,7 @@
]
},
{
- "id": 336,
+ "id": 331,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -45934,7 +50579,7 @@
],
"signatures": [
{
- "id": 337,
+ "id": 332,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -45944,7 +50589,7 @@
},
"parameters": [
{
- "id": 338,
+ "id": 333,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -45958,7 +50603,7 @@
}
},
{
- "id": 339,
+ "id": 334,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -45972,7 +50617,7 @@
}
},
{
- "id": 340,
+ "id": 335,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
@@ -45984,14 +50629,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 341,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 342,
+ "id": 337,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -46015,7 +50660,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [342]
+ "children": [
+ 337
+ ]
}
]
}
@@ -46025,16 +50672,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46042,19 +50689,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 427,
+ "id": 421,
"name": "default.range"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 426,
+ "id": 420,
"name": "default.range"
}
},
{
- "id": 261,
+ "id": 256,
"name": "rangeAdjacent",
"kind": 2048,
"kindString": "Method",
@@ -46068,7 +50715,7 @@
],
"signatures": [
{
- "id": 262,
+ "id": 257,
"name": "rangeAdjacent",
"kind": 4096,
"kindString": "Call signature",
@@ -46078,7 +50725,7 @@
},
"typeParameter": [
{
- "id": 263,
+ "id": 258,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -46091,7 +50738,7 @@
],
"parameters": [
{
- "id": 264,
+ "id": 259,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46101,12 +50748,12 @@
},
"type": {
"type": "reference",
- "id": 263,
+ "id": 258,
"name": "ColumnName"
}
},
{
- "id": 265,
+ "id": 260,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46122,16 +50769,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46139,14 +50786,14 @@
}
},
{
- "id": 266,
+ "id": 261,
"name": "rangeAdjacent",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 267,
+ "id": 262,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46157,7 +50804,7 @@
}
},
{
- "id": 268,
+ "id": 263,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46170,16 +50817,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46189,7 +50836,7 @@
]
},
{
- "id": 237,
+ "id": 232,
"name": "rangeGt",
"kind": 2048,
"kindString": "Method",
@@ -46203,7 +50850,7 @@
],
"signatures": [
{
- "id": 238,
+ "id": 233,
"name": "rangeGt",
"kind": 4096,
"kindString": "Call signature",
@@ -46213,7 +50860,7 @@
},
"typeParameter": [
{
- "id": 239,
+ "id": 234,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -46226,7 +50873,7 @@
],
"parameters": [
{
- "id": 240,
+ "id": 235,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46236,12 +50883,12 @@
},
"type": {
"type": "reference",
- "id": 239,
+ "id": 234,
"name": "ColumnName"
}
},
{
- "id": 241,
+ "id": 236,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46257,16 +50904,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46274,14 +50921,14 @@
}
},
{
- "id": 242,
+ "id": 237,
"name": "rangeGt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 243,
+ "id": 238,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46292,7 +50939,7 @@
}
},
{
- "id": 244,
+ "id": 239,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46305,16 +50952,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46324,7 +50971,7 @@
]
},
{
- "id": 245,
+ "id": 240,
"name": "rangeGte",
"kind": 2048,
"kindString": "Method",
@@ -46338,7 +50985,7 @@
],
"signatures": [
{
- "id": 246,
+ "id": 241,
"name": "rangeGte",
"kind": 4096,
"kindString": "Call signature",
@@ -46348,7 +50995,7 @@
},
"typeParameter": [
{
- "id": 247,
+ "id": 242,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -46361,7 +51008,7 @@
],
"parameters": [
{
- "id": 248,
+ "id": 243,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46371,12 +51018,12 @@
},
"type": {
"type": "reference",
- "id": 247,
+ "id": 242,
"name": "ColumnName"
}
},
{
- "id": 249,
+ "id": 244,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46392,16 +51039,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46409,14 +51056,14 @@
}
},
{
- "id": 250,
+ "id": 245,
"name": "rangeGte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 251,
+ "id": 246,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46427,7 +51074,7 @@
}
},
{
- "id": 252,
+ "id": 247,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46440,16 +51087,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46459,7 +51106,7 @@
]
},
{
- "id": 229,
+ "id": 224,
"name": "rangeLt",
"kind": 2048,
"kindString": "Method",
@@ -46473,7 +51120,7 @@
],
"signatures": [
{
- "id": 230,
+ "id": 225,
"name": "rangeLt",
"kind": 4096,
"kindString": "Call signature",
@@ -46483,7 +51130,7 @@
},
"typeParameter": [
{
- "id": 231,
+ "id": 226,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -46496,7 +51143,7 @@
],
"parameters": [
{
- "id": 232,
+ "id": 227,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46506,12 +51153,12 @@
},
"type": {
"type": "reference",
- "id": 231,
+ "id": 226,
"name": "ColumnName"
}
},
{
- "id": 233,
+ "id": 228,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46527,16 +51174,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46544,14 +51191,14 @@
}
},
{
- "id": 234,
+ "id": 229,
"name": "rangeLt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 235,
+ "id": 230,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46562,7 +51209,7 @@
}
},
{
- "id": 236,
+ "id": 231,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46575,16 +51222,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46594,7 +51241,7 @@
]
},
{
- "id": 253,
+ "id": 248,
"name": "rangeLte",
"kind": 2048,
"kindString": "Method",
@@ -46608,7 +51255,7 @@
],
"signatures": [
{
- "id": 254,
+ "id": 249,
"name": "rangeLte",
"kind": 4096,
"kindString": "Call signature",
@@ -46618,7 +51265,7 @@
},
"typeParameter": [
{
- "id": 255,
+ "id": 250,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -46631,7 +51278,7 @@
],
"parameters": [
{
- "id": 256,
+ "id": 251,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46641,12 +51288,12 @@
},
"type": {
"type": "reference",
- "id": 255,
+ "id": 250,
"name": "ColumnName"
}
},
{
- "id": 257,
+ "id": 252,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46662,16 +51309,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46679,14 +51326,14 @@
}
},
{
- "id": 258,
+ "id": 253,
"name": "rangeLte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 259,
+ "id": 254,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46697,7 +51344,7 @@
}
},
{
- "id": 260,
+ "id": 255,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -46710,16 +51357,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46729,7 +51376,7 @@
]
},
{
- "id": 309,
+ "id": 304,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -46743,7 +51390,7 @@
],
"signatures": [
{
- "id": 310,
+ "id": 305,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -46753,7 +51400,7 @@
},
"typeParameter": [
{
- "id": 311,
+ "id": 306,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -46768,7 +51415,7 @@
}
},
{
- "id": 312,
+ "id": 307,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -46778,14 +51425,14 @@
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 311,
+ "id": 306,
"name": "Query"
},
"extendsType": {
@@ -46798,7 +51445,7 @@
},
"falseType": {
"type": "reference",
- "id": 311,
+ "id": 306,
"name": "Query"
}
}
@@ -46809,7 +51456,7 @@
],
"parameters": [
{
- "id": 313,
+ "id": 308,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -46821,23 +51468,23 @@
},
"type": {
"type": "reference",
- "id": 311,
+ "id": 306,
"name": "Query"
}
}
],
"type": {
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 312,
+ "id": 307,
"name": "NewResult"
}
],
@@ -46845,19 +51492,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 400,
+ "id": 394,
"name": "default.select"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 399,
+ "id": 393,
"name": "default.select"
}
},
{
- "id": 346,
+ "id": 341,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -46871,7 +51518,7 @@
],
"signatures": [
{
- "id": 347,
+ "id": 342,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -46884,11 +51531,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 511,
"typeArguments": [
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -46901,19 +51548,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 437,
+ "id": 431,
"name": "default.single"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 436,
+ "id": 430,
"name": "default.single"
}
},
{
- "id": 277,
+ "id": 272,
"name": "textSearch",
"kind": 2048,
"kindString": "Method",
@@ -46927,7 +51574,7 @@
],
"signatures": [
{
- "id": 278,
+ "id": 273,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
@@ -46937,7 +51584,7 @@
},
"typeParameter": [
{
- "id": 279,
+ "id": 274,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -46950,7 +51597,7 @@
],
"parameters": [
{
- "id": 280,
+ "id": 275,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -46960,12 +51607,12 @@
},
"type": {
"type": "reference",
- "id": 279,
+ "id": 274,
"name": "ColumnName"
}
},
{
- "id": 281,
+ "id": 276,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -46979,7 +51626,7 @@
}
},
{
- "id": 282,
+ "id": 277,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -46989,14 +51636,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 283,
+ "id": 278,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 284,
+ "id": 279,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -47016,7 +51663,7 @@
}
},
{
- "id": 285,
+ "id": 280,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -47053,7 +51700,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [284, 285]
+ "children": [
+ 279,
+ 280
+ ]
}
]
}
@@ -47062,16 +51712,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -47079,14 +51729,14 @@
}
},
{
- "id": 286,
+ "id": 281,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 287,
+ "id": 282,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -47097,7 +51747,7 @@
}
},
{
- "id": 288,
+ "id": 283,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -47108,7 +51758,7 @@
}
},
{
- "id": 289,
+ "id": 284,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -47118,14 +51768,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 290,
+ "id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 291,
+ "id": 286,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -47145,7 +51795,7 @@
}
},
{
- "id": 292,
+ "id": 287,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -47182,7 +51832,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [291, 292]
+ "children": [
+ 286,
+ 287
+ ]
}
]
}
@@ -47191,16 +51844,16 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -47210,7 +51863,7 @@
]
},
{
- "id": 379,
+ "id": 373,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -47218,31 +51871,31 @@
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
- "line": 50,
+ "line": 48,
"character": 2
}
],
"signatures": [
{
- "id": 380,
+ "id": 374,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 381,
+ "id": 375,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 517,
+ "id": 509,
"typeArguments": [
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -47250,7 +51903,7 @@
}
},
{
- "id": 382,
+ "id": 376,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -47263,7 +51916,7 @@
],
"parameters": [
{
- "id": 383,
+ "id": 377,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -47280,32 +51933,32 @@
{
"type": "reflection",
"declaration": {
- "id": 384,
+ "id": 378,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 385,
+ "id": 379,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 386,
+ "id": 380,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 517,
+ "id": 509,
"typeArguments": [
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -47318,7 +51971,7 @@
"types": [
{
"type": "reference",
- "id": 381,
+ "id": 375,
"name": "TResult1"
},
{
@@ -47326,7 +51979,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 381,
+ "id": 375,
"name": "TResult1"
}
],
@@ -47344,7 +51997,7 @@
}
},
{
- "id": 387,
+ "id": 381,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -47361,21 +52014,21 @@
{
"type": "reflection",
"declaration": {
- "id": 388,
+ "id": 382,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 389,
+ "id": 383,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 390,
+ "id": 384,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -47391,7 +52044,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 376,
"name": "TResult2"
},
{
@@ -47399,7 +52052,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 376,
"name": "TResult2"
}
],
@@ -47425,12 +52078,12 @@
"types": [
{
"type": "reference",
- "id": 381,
+ "id": 375,
"name": "TResult1"
},
{
"type": "reference",
- "id": 382,
+ "id": 376,
"name": "TResult2"
}
]
@@ -47442,19 +52095,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 470,
+ "id": 463,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 469,
+ "id": 462,
"name": "default.then"
}
},
{
- "id": 376,
+ "id": 371,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -47462,54 +52115,33 @@
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
- "line": 45,
+ "line": 43,
"character": 2
}
],
"signatures": [
{
- "id": 377,
+ "id": 372,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
- "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n",
- "tags": [
- {
- "tag": "deprecated",
- "text": "Use `throwOnError` in the `PostgrestClient` constructor instead.\n"
- }
- ]
+ "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
},
- "parameters": [
- {
- "id": 378,
- "name": "throwOnError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -47517,14 +52149,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 467,
+ "id": 461,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 466,
+ "id": 460,
"name": "default.throwOnError"
}
}
@@ -47533,20 +52165,64 @@
{
"title": "Constructors",
"kind": 512,
- "children": [112]
+ "children": [
+ 107
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [375, 367, 370, 365, 363, 366, 368, 369, 364]
+ "children": [
+ 370,
+ 362,
+ 365,
+ 360,
+ 358,
+ 361,
+ 363,
+ 364,
+ 359
+ ]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 343, 221, 213, 350, 133, 354, 293, 352, 149, 157, 189, 205, 197, 181, 330, 165, 173,
- 303, 348, 141, 117, 127, 314, 269, 336, 261, 237, 245, 229, 253, 309, 346, 277, 379,
- 376
+ 338,
+ 216,
+ 208,
+ 345,
+ 128,
+ 349,
+ 288,
+ 347,
+ 144,
+ 152,
+ 184,
+ 200,
+ 192,
+ 176,
+ 325,
+ 160,
+ 168,
+ 298,
+ 343,
+ 136,
+ 112,
+ 122,
+ 309,
+ 264,
+ 331,
+ 256,
+ 232,
+ 240,
+ 224,
+ 248,
+ 304,
+ 341,
+ 272,
+ 373,
+ 371
]
}
],
@@ -47559,7 +52235,7 @@
],
"typeParameter": [
{
- "id": 391,
+ "id": 385,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
@@ -47582,7 +52258,7 @@
}
},
{
- "id": 392,
+ "id": 386,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -47592,16 +52268,16 @@
"extendedTypes": [
{
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 109,
"name": "Table"
},
{
"type": "reference",
- "id": 115,
+ "id": 110,
"name": "Result"
}
],
@@ -47610,14 +52286,14 @@
]
},
{
- "id": 48,
+ "id": 45,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 49,
+ "id": 46,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -47625,20 +52301,20 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 14,
+ "line": 13,
"character": 2
}
],
"signatures": [
{
- "id": 50,
+ "id": 47,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 51,
+ "id": 48,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
@@ -47651,7 +52327,7 @@
],
"parameters": [
{
- "id": 52,
+ "id": 49,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -47664,7 +52340,7 @@
}
},
{
- "id": 53,
+ "id": 50,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -47672,14 +52348,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 54,
+ "id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 57,
+ "id": 54,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -47689,28 +52365,28 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 24,
+ "line": 22,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 58,
+ "id": 55,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 59,
+ "id": 56,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 60,
+ "id": 57,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -47723,7 +52399,7 @@
}
},
{
- "id": 61,
+ "id": 58,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -47758,7 +52434,7 @@
}
},
{
- "id": 55,
+ "id": 52,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -47768,7 +52444,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 22,
+ "line": 20,
"character": 6
}
],
@@ -47790,7 +52466,7 @@
}
},
{
- "id": 56,
+ "id": 53,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -47800,7 +52476,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 23,
+ "line": 21,
"character": 6
}
],
@@ -47808,31 +52484,17 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 62,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 25,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [57, 55, 56, 62]
+ "children": [
+ 54,
+ 52,
+ 53
+ ]
}
]
}
@@ -47841,11 +52503,11 @@
],
"type": {
"type": "reference",
- "id": 48,
+ "id": 45,
"typeArguments": [
{
"type": "reference",
- "id": 51,
+ "id": 48,
"name": "Table"
}
],
@@ -47855,7 +52517,7 @@
]
},
{
- "id": 68,
+ "id": 63,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -47865,28 +52527,28 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 12,
+ "line": 11,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 69,
+ "id": 64,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 70,
+ "id": 65,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 71,
+ "id": 66,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -47899,7 +52561,7 @@
}
},
{
- "id": 72,
+ "id": 67,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -47934,7 +52596,7 @@
}
},
{
- "id": 64,
+ "id": 60,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -47964,7 +52626,7 @@
}
},
{
- "id": 65,
+ "id": 61,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -47984,25 +52646,7 @@
}
},
{
- "id": 66,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 67,
+ "id": 62,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -48012,7 +52656,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 11,
+ "line": 10,
"character": 2
}
],
@@ -48024,7 +52668,7 @@
}
},
{
- "id": 63,
+ "id": 59,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -48044,7 +52688,7 @@
}
},
{
- "id": 105,
+ "id": 100,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -48052,13 +52696,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 221,
+ "line": 213,
"character": 2
}
],
"signatures": [
{
- "id": 106,
+ "id": 101,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -48067,541 +52711,6 @@
"shortText": "Performs a DELETE on the table."
},
"parameters": [
- {
- "id": 107,
- "name": "count",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Count algorithm to use to count rows in a table.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 108,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 109,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 224,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [109]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 111,
- "typeArguments": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 51,
- "name": "Table"
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 82,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 92,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 83,
- "name": "insert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs an INSERT into the table."
- },
- "typeParameter": [
- {
- "id": 84,
- "name": "Row",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "parameters": [
- {
- "id": 85,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to insert."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 84,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 84,
- "name": "Row"
- }
- }
- ]
- }
- },
- {
- "id": 86,
- "name": "count",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Count algorithm to use to count rows in a table.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 87,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 88,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 97,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [88]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 111,
- "typeArguments": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 51,
- "name": "Table"
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 73,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 42,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 74,
- "name": "select",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs vertical filtering with SELECT."
- },
- "typeParameter": [
- {
- "id": 75,
- "name": "Query",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "literal",
- "value": "*"
- }
- },
- {
- "id": 76,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 51,
- "name": "Table"
- }
- },
- {
- "type": "conditional",
- "checkType": {
- "type": "reference",
- "id": 75,
- "name": "Query"
- },
- "extendsType": {
- "type": "literal",
- "value": "*"
- },
- "trueType": {
- "type": "literal",
- "value": "*"
- },
- "falseType": {
- "type": "reference",
- "id": 75,
- "name": "Query"
- }
- }
- ],
- "name": "GetResult"
- }
- }
- ],
- "parameters": [
- {
- "id": 77,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The columns to retrieve, separated by commas."
- },
- "type": {
- "type": "reference",
- "id": 75,
- "name": "Query"
- }
- },
- {
- "id": 78,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 79,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 81,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 52,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 80,
- "name": "head",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 51,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [81, 80]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 111,
- "typeArguments": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 51,
- "name": "Table"
- }
- },
- {
- "type": "reference",
- "id": 76,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 98,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 185,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 99,
- "name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs an UPDATE on the table."
- },
- "typeParameter": [
- {
- "id": 100,
- "name": "Row",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "parameters": [
- {
- "id": 101,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to update."
- },
- "type": {
- "type": "reference",
- "id": 100,
- "name": "Row"
- }
- },
{
"id": 102,
"name": "count",
@@ -48632,8 +52741,8 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 190,
- "character": 6
+ "line": 216,
+ "character": 4
}
],
"type": {
@@ -48659,7 +52768,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [104]
+ "children": [
+ 104
+ ]
}
]
}
@@ -48669,7 +52780,7 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "indexedAccess",
@@ -48679,7 +52790,7 @@
},
"objectType": {
"type": "reference",
- "id": 51,
+ "id": 48,
"name": "Table"
}
},
@@ -48694,31 +52805,31 @@
]
},
{
- "id": 89,
- "name": "upsert",
+ "id": 77,
+ "name": "insert",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 141,
+ "line": 87,
"character": 2
}
],
"signatures": [
{
- "id": 90,
- "name": "upsert",
+ "id": 78,
+ "name": "insert",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Performs an UPSERT into the table."
+ "shortText": "Performs an INSERT into the table."
},
"typeParameter": [
{
- "id": 91,
+ "id": 79,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -48743,7 +52854,7 @@
],
"parameters": [
{
- "id": 92,
+ "id": 80,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -48756,14 +52867,14 @@
"types": [
{
"type": "reference",
- "id": 91,
+ "id": 79,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 91,
+ "id": 79,
"name": "Row"
}
}
@@ -48771,22 +52882,26 @@
}
},
{
- "id": 93,
- "name": "__namedParameters",
+ "id": 81,
+ "name": "count",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "Count algorithm to use to count rows in a table.\n"
+ },
+ "originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 82,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 96,
+ "id": 83,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -48796,7 +52911,200 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 149,
+ "line": 92,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 83
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 68,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 38,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 69,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "typeParameter": [
+ {
+ "id": 70,
+ "name": "Query",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 71,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 70,
+ "name": "Query"
+ },
+ "extendsType": {
+ "type": "literal",
+ "value": "*"
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "*"
+ },
+ "falseType": {
+ "type": "reference",
+ "id": 70,
+ "name": "Query"
+ }
+ }
+ ],
+ "name": "GetResult"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 72,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The columns to retrieve, separated by commas."
+ },
+ "type": {
+ "type": "reference",
+ "id": 70,
+ "name": "Query"
+ }
+ },
+ {
+ "id": 73,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 74,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 76,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 48,
"character": 6
}
],
@@ -48819,7 +53127,352 @@
}
},
{
- "id": 97,
+ "id": 75,
+ "name": "head",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 47,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 76,
+ 75
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "reference",
+ "id": 71,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 93,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 178,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "typeParameter": [
+ {
+ "id": 95,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 96,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to update."
+ },
+ "type": {
+ "type": "reference",
+ "id": 95,
+ "name": "Row"
+ }
+ },
+ {
+ "id": 97,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Count algorithm to use to count rows in a table.\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 98,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 99,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 183,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 99
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 84,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 135,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 85,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs an UPSERT into the table."
+ },
+ "typeParameter": [
+ {
+ "id": 86,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 87,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 86,
+ "name": "Row"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 86,
+ "name": "Row"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 88,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 89,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 91,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 143,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 92,
"name": "ignoreDuplicates",
"kind": 1024,
"kindString": "Property",
@@ -48829,7 +53482,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 150,
+ "line": 144,
"character": 6
}
],
@@ -48839,7 +53492,7 @@
}
},
{
- "id": 95,
+ "id": 90,
"name": "onConflict",
"kind": 1024,
"kindString": "Property",
@@ -48849,7 +53502,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 148,
+ "line": 142,
"character": 6
}
],
@@ -48863,7 +53516,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [96, 97, 95]
+ "children": [
+ 91,
+ 92,
+ 90
+ ]
}
]
}
@@ -48873,7 +53530,7 @@
],
"type": {
"type": "reference",
- "id": 111,
+ "id": 106,
"typeArguments": [
{
"type": "indexedAccess",
@@ -48883,7 +53540,7 @@
},
"objectType": {
"type": "reference",
- "id": 51,
+ "id": 48,
"name": "Table"
}
},
@@ -48902,17 +53559,31 @@
{
"title": "Constructors",
"kind": 512,
- "children": [49]
+ "children": [
+ 46
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [68, 64, 65, 66, 67, 63]
+ "children": [
+ 63,
+ 60,
+ 61,
+ 62,
+ 59
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [105, 82, 73, 98, 89]
+ "children": [
+ 100,
+ 77,
+ 68,
+ 93,
+ 84
+ ]
}
],
"sources": [
@@ -48924,7 +53595,7 @@
],
"typeParameter": [
{
- "id": 110,
+ "id": 105,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
@@ -48937,7 +53608,7 @@
]
},
{
- "id": 393,
+ "id": 387,
"name": "PostgrestTransformBuilder",
"kind": 128,
"kindString": "Class",
@@ -48947,21 +53618,21 @@
},
"children": [
{
- "id": 394,
+ "id": 388,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 395,
+ "id": 389,
"name": "new PostgrestTransformBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 396,
+ "id": 390,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
@@ -48984,7 +53655,7 @@
}
},
{
- "id": 397,
+ "id": 391,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -48993,18 +53664,18 @@
],
"parameters": [
{
- "id": 398,
+ "id": 392,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 483,
+ "id": 476,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -49014,16 +53685,16 @@
],
"type": {
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 396,
+ "id": 390,
"name": "Table"
},
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -49031,19 +53702,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 485,
+ "id": 478,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 484,
+ "id": 477,
"name": "default.constructor"
}
},
{
- "id": 465,
+ "id": 459,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -49063,12 +53734,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 500,
+ "id": 493,
"name": "default.allowEmpty"
}
},
{
- "id": 457,
+ "id": 451,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -49089,12 +53760,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 492,
+ "id": 485,
"name": "default.body"
}
},
{
- "id": 460,
+ "id": 454,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -49111,21 +53782,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 461,
+ "id": 455,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 462,
+ "id": 456,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 463,
+ "id": 457,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -49138,7 +53809,7 @@
}
},
{
- "id": 464,
+ "id": 458,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -49173,12 +53844,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 495,
+ "id": 488,
"name": "default.fetch"
}
},
{
- "id": 455,
+ "id": 449,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -49210,12 +53881,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 490,
+ "id": 483,
"name": "default.headers"
}
},
{
- "id": 453,
+ "id": 447,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -49256,12 +53927,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 488,
+ "id": 481,
"name": "default.method"
}
},
{
- "id": 456,
+ "id": 450,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -49282,12 +53953,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 491,
+ "id": 484,
"name": "default.schema"
}
},
{
- "id": 458,
+ "id": 452,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -49305,14 +53976,15 @@
"type": "intrinsic",
"name": "boolean"
},
+ "defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 493,
+ "id": 486,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 459,
+ "id": 453,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -49335,12 +54007,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 494,
+ "id": 487,
"name": "default.signal"
}
},
{
- "id": 454,
+ "id": 448,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -49362,12 +54034,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 489,
+ "id": 482,
"name": "default.url"
}
},
{
- "id": 433,
+ "id": 427,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -49381,7 +54053,7 @@
],
"signatures": [
{
- "id": 434,
+ "id": 428,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
@@ -49391,7 +54063,7 @@
},
"parameters": [
{
- "id": 435,
+ "id": 429,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
@@ -49406,16 +54078,16 @@
],
"type": {
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 396,
+ "id": 390,
"name": "Table"
},
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -49425,7 +54097,7 @@
]
},
{
- "id": 440,
+ "id": 434,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -49439,7 +54111,7 @@
],
"signatures": [
{
- "id": 441,
+ "id": 435,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
@@ -49452,7 +54124,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 511,
"typeArguments": [
{
"type": "intrinsic",
@@ -49470,7 +54142,7 @@
]
},
{
- "id": 444,
+ "id": 438,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -49484,7 +54156,7 @@
],
"signatures": [
{
- "id": 445,
+ "id": 439,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
@@ -49494,7 +54166,7 @@
},
"parameters": [
{
- "id": 446,
+ "id": 440,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -49502,14 +54174,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 447,
+ "id": 441,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 448,
+ "id": 442,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -49529,7 +54201,7 @@
}
},
{
- "id": 451,
+ "id": 445,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -49549,7 +54221,7 @@
}
},
{
- "id": 450,
+ "id": 444,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -49569,7 +54241,7 @@
}
},
{
- "id": 449,
+ "id": 443,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -49589,7 +54261,7 @@
}
},
{
- "id": 452,
+ "id": 446,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -49613,7 +54285,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [448, 451, 450, 449, 452]
+ "children": [
+ 442,
+ 445,
+ 444,
+ 443,
+ 446
+ ]
}
]
}
@@ -49626,7 +54304,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 517,
+ "id": 509,
"typeArguments": [
{
"type": "reference",
@@ -49656,7 +54334,7 @@
]
},
{
- "id": 442,
+ "id": 436,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -49670,7 +54348,7 @@
],
"signatures": [
{
- "id": 443,
+ "id": 437,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
@@ -49683,7 +54361,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 511,
"typeArguments": [
{
"type": "reference",
@@ -49713,7 +54391,7 @@
]
},
{
- "id": 420,
+ "id": 414,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -49727,7 +54405,7 @@
],
"signatures": [
{
- "id": 421,
+ "id": 415,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -49737,7 +54415,7 @@
},
"parameters": [
{
- "id": 422,
+ "id": 416,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -49751,7 +54429,7 @@
}
},
{
- "id": 423,
+ "id": 417,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
@@ -49763,14 +54441,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 424,
+ "id": 418,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 425,
+ "id": 419,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -49794,7 +54472,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [425]
+ "children": [
+ 419
+ ]
}
]
}
@@ -49804,16 +54484,16 @@
],
"type": {
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 396,
+ "id": 390,
"name": "Table"
},
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -49823,7 +54503,7 @@
]
},
{
- "id": 438,
+ "id": 432,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -49837,7 +54517,7 @@
],
"signatures": [
{
- "id": 439,
+ "id": 433,
"name": "maybeSingle",
"kind": 4096,
"kindString": "Call signature",
@@ -49850,11 +54530,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 513,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -49869,7 +54549,7 @@
]
},
{
- "id": 404,
+ "id": 398,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -49883,7 +54563,7 @@
],
"signatures": [
{
- "id": 405,
+ "id": 399,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -49893,7 +54573,7 @@
},
"typeParameter": [
{
- "id": 406,
+ "id": 400,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -49906,7 +54586,7 @@
],
"parameters": [
{
- "id": 407,
+ "id": 401,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -49916,12 +54596,12 @@
},
"type": {
"type": "reference",
- "id": 316,
+ "id": 311,
"name": "ColumnName"
}
},
{
- "id": 408,
+ "id": 402,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -49931,14 +54611,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 409,
+ "id": 403,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 410,
+ "id": 404,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -49958,7 +54638,7 @@
}
},
{
- "id": 412,
+ "id": 406,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -49978,7 +54658,7 @@
}
},
{
- "id": 411,
+ "id": 405,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -50002,7 +54682,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [410, 412, 411]
+ "children": [
+ 404,
+ 406,
+ 405
+ ]
}
]
}
@@ -50011,16 +54695,16 @@
],
"type": {
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 396,
+ "id": 390,
"name": "Table"
},
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -50028,14 +54712,14 @@
}
},
{
- "id": 413,
+ "id": 407,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 414,
+ "id": 408,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -50046,7 +54730,7 @@
}
},
{
- "id": 415,
+ "id": 409,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -50056,14 +54740,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 416,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 417,
+ "id": 411,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -50083,7 +54767,7 @@
}
},
{
- "id": 419,
+ "id": 413,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -50101,7 +54785,7 @@
}
},
{
- "id": 418,
+ "id": 412,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -50125,7 +54809,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [417, 419, 418]
+ "children": [
+ 411,
+ 413,
+ 412
+ ]
}
]
}
@@ -50134,16 +54822,16 @@
],
"type": {
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 396,
+ "id": 390,
"name": "Table"
},
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -50153,7 +54841,7 @@
]
},
{
- "id": 426,
+ "id": 420,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -50167,7 +54855,7 @@
],
"signatures": [
{
- "id": 427,
+ "id": 421,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -50177,7 +54865,7 @@
},
"parameters": [
{
- "id": 428,
+ "id": 422,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -50191,7 +54879,7 @@
}
},
{
- "id": 429,
+ "id": 423,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -50205,7 +54893,7 @@
}
},
{
- "id": 430,
+ "id": 424,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
@@ -50217,14 +54905,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 431,
+ "id": 425,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 432,
+ "id": 426,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -50248,7 +54936,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [432]
+ "children": [
+ 426
+ ]
}
]
}
@@ -50258,16 +54948,16 @@
],
"type": {
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 396,
+ "id": 390,
"name": "Table"
},
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -50277,7 +54967,7 @@
]
},
{
- "id": 399,
+ "id": 393,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -50291,7 +54981,7 @@
],
"signatures": [
{
- "id": 400,
+ "id": 394,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -50301,7 +54991,7 @@
},
"typeParameter": [
{
- "id": 401,
+ "id": 395,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -50316,7 +55006,7 @@
}
},
{
- "id": 402,
+ "id": 396,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -50326,14 +55016,14 @@
"typeArguments": [
{
"type": "reference",
- "id": 396,
+ "id": 390,
"name": "Table"
},
{
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 311,
+ "id": 306,
"name": "Query"
},
"extendsType": {
@@ -50346,7 +55036,7 @@
},
"falseType": {
"type": "reference",
- "id": 311,
+ "id": 306,
"name": "Query"
}
}
@@ -50357,7 +55047,7 @@
],
"parameters": [
{
- "id": 403,
+ "id": 397,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -50369,23 +55059,23 @@
},
"type": {
"type": "reference",
- "id": 311,
+ "id": 306,
"name": "Query"
}
}
],
"type": {
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 396,
+ "id": 390,
"name": "Table"
},
{
"type": "reference",
- "id": 312,
+ "id": 307,
"name": "NewResult"
}
],
@@ -50395,7 +55085,7 @@
]
},
{
- "id": 436,
+ "id": 430,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -50409,7 +55099,7 @@
],
"signatures": [
{
- "id": 437,
+ "id": 431,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -50422,11 +55112,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 511,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -50441,7 +55131,7 @@
]
},
{
- "id": 469,
+ "id": 462,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -50449,31 +55139,31 @@
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
- "line": 50,
+ "line": 48,
"character": 2
}
],
"signatures": [
{
- "id": 470,
+ "id": 463,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 471,
+ "id": 464,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 517,
+ "id": 509,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -50481,7 +55171,7 @@
}
},
{
- "id": 472,
+ "id": 465,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -50494,7 +55184,7 @@
],
"parameters": [
{
- "id": 473,
+ "id": 466,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -50511,32 +55201,32 @@
{
"type": "reflection",
"declaration": {
- "id": 474,
+ "id": 467,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 475,
+ "id": 468,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 476,
+ "id": 469,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 517,
+ "id": 509,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -50549,7 +55239,7 @@
"types": [
{
"type": "reference",
- "id": 381,
+ "id": 375,
"name": "TResult1"
},
{
@@ -50557,7 +55247,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 381,
+ "id": 375,
"name": "TResult1"
}
],
@@ -50575,7 +55265,7 @@
}
},
{
- "id": 477,
+ "id": 470,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -50592,21 +55282,21 @@
{
"type": "reflection",
"declaration": {
- "id": 478,
+ "id": 471,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 479,
+ "id": 472,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 480,
+ "id": 473,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -50622,7 +55312,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 376,
"name": "TResult2"
},
{
@@ -50630,7 +55320,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 376,
"name": "TResult2"
}
],
@@ -50656,12 +55346,12 @@
"types": [
{
"type": "reference",
- "id": 381,
+ "id": 375,
"name": "TResult1"
},
{
"type": "reference",
- "id": 382,
+ "id": 376,
"name": "TResult2"
}
]
@@ -50673,19 +55363,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 505,
+ "id": 497,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 504,
+ "id": 496,
"name": "default.then"
}
},
{
- "id": 466,
+ "id": 460,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -50693,54 +55383,33 @@
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
- "line": 45,
+ "line": 43,
"character": 2
}
],
"signatures": [
{
- "id": 467,
+ "id": 461,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
- "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n",
- "tags": [
- {
- "tag": "deprecated",
- "text": "Use `throwOnError` in the `PostgrestClient` constructor instead.\n"
- }
- ]
+ "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
},
- "parameters": [
- {
- "id": 468,
- "name": "throwOnError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
"type": {
"type": "reference",
- "id": 393,
+ "id": 387,
"typeArguments": [
{
"type": "reference",
- "id": 396,
+ "id": 390,
"name": "Table"
},
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -50748,14 +55417,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 502,
+ "id": 495,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 501,
+ "id": 494,
"name": "default.throwOnError"
}
}
@@ -50764,17 +55433,42 @@
{
"title": "Constructors",
"kind": 512,
- "children": [394]
+ "children": [
+ 388
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [465, 457, 460, 455, 453, 456, 458, 459, 454]
+ "children": [
+ 459,
+ 451,
+ 454,
+ 449,
+ 447,
+ 450,
+ 452,
+ 453,
+ 448
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [433, 440, 444, 442, 420, 438, 404, 426, 399, 436, 469, 466]
+ "children": [
+ 427,
+ 434,
+ 438,
+ 436,
+ 414,
+ 432,
+ 398,
+ 420,
+ 393,
+ 430,
+ 462,
+ 460
+ ]
}
],
"sources": [
@@ -50786,7 +55480,7 @@
],
"typeParameter": [
{
- "id": 481,
+ "id": 474,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
@@ -50809,7 +55503,7 @@
}
},
{
- "id": 482,
+ "id": 475,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -50819,11 +55513,11 @@
"extendedTypes": [
{
"type": "reference",
- "id": 483,
+ "id": 476,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 391,
"name": "Result"
}
],
@@ -50833,13 +55527,13 @@
"extendedBy": [
{
"type": "reference",
- "id": 111,
+ "id": 106,
"name": "PostgrestFilterBuilder"
}
]
},
{
- "id": 523,
+ "id": 515,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
@@ -50858,14 +55552,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 524,
+ "id": 516,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 528,
+ "id": 520,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -50883,7 +55577,7 @@
}
},
{
- "id": 526,
+ "id": 518,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -50901,7 +55595,7 @@
}
},
{
- "id": 527,
+ "id": 519,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -50919,7 +55613,7 @@
}
},
{
- "id": 525,
+ "id": 517,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -50941,7 +55635,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [528, 526, 527, 525]
+ "children": [
+ 520,
+ 518,
+ 519,
+ 517
+ ]
}
],
"sources": [
@@ -50955,7 +55654,7 @@
}
},
{
- "id": 521,
+ "id": 513,
"name": "PostgrestMaybeSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -50969,7 +55668,7 @@
],
"typeParameter": [
{
- "id": 522,
+ "id": 514,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -50978,14 +55677,14 @@
],
"type": {
"type": "reference",
- "id": 519,
+ "id": 511,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
- "id": 522,
+ "id": 514,
"name": "T"
},
{
@@ -50999,7 +55698,7 @@
}
},
{
- "id": 517,
+ "id": 509,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -51013,7 +55712,7 @@
],
"typeParameter": [
{
- "id": 518,
+ "id": 510,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -51028,7 +55727,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 518,
+ "id": 510,
"name": "T"
}
],
@@ -51042,7 +55741,7 @@
}
},
{
- "id": 519,
+ "id": 511,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -51056,7 +55755,7 @@
],
"typeParameter": [
{
- "id": 520,
+ "id": 512,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -51071,7 +55770,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 520,
+ "id": 512,
"name": "T"
}
],
@@ -51089,12 +55788,23 @@
{
"title": "Classes",
"kind": 128,
- "children": [483, 1, 111, 48, 393]
+ "children": [
+ 476,
+ 1,
+ 106,
+ 45,
+ 387
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [523, 521, 517, 519]
+ "children": [
+ 515,
+ 513,
+ 509,
+ 511
+ ]
}
],
"sources": [
@@ -51108,9526 +55818,514 @@
{
"id": 0,
"name": "@supabase/realtime-js",
- "kind": 0,
+ "kind": 1,
+ "kindString": "Project",
"flags": {},
"originalName": "",
"children": [
{
- "id": 386,
- "name": "\"RealtimeChannel\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/RealtimeChannel.ts",
+ "id": 355,
+ "name": "Transformers",
+ "kind": 4,
+ "kindString": "Namespace",
+ "flags": {},
"children": [
{
- "id": 387,
- "name": "RealtimeChannel",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 396,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 403,
- "name": "new RealtimeChannel",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 404,
- "name": "topic",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 405,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 406,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 407,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 408,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 19,
- "character": 18
- }
- ]
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 409,
- "name": "socket",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 146,
- "name": "RealtimeClient"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 387,
- "name": "RealtimeChannel"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 15,
- "character": 28
- }
- ]
- },
- {
- "id": 388,
- "name": "bindings",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 8,
- "character": 10
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 392,
- "name": "joinPush",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 12,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "id": 35,
- "name": "Push"
- }
- },
- {
- "id": 391,
- "name": "joinedOnce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 11,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 398,
- "name": "params",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 19,
- "character": 17
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 399,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 400,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 401,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 19,
- "character": 18
- }
- ]
- }
- }
- },
- {
- "id": 395,
- "name": "presence",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 15,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "id": 290,
- "name": "RealtimePresence"
- }
- },
- {
- "id": 394,
- "name": "pushBuffer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 35,
- "name": "Push"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 393,
- "name": "rejoinTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 13,
- "character": 13
- }
- ],
- "type": {
- "type": "reference",
- "id": 101,
- "name": "Timer"
- }
- },
- {
- "id": 402,
- "name": "socket",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 20,
- "character": 17
- }
- ],
- "type": {
- "type": "reference",
- "id": 146,
- "name": "RealtimeClient"
- }
- },
- {
- "id": 390,
- "name": "state",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 10,
- "character": 7
- }
- ],
- "type": {
- "type": "reference",
- "id": 9,
- "name": "CHANNEL_STATES"
- },
- "defaultValue": "CHANNEL_STATES.closed"
- },
- {
- "id": 389,
- "name": "timeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 9,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 397,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 18,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 436,
- "name": "canPush",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 437,
- "name": "canPush",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Returns `true` if the socket is connected and the channel has been joined."
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 160,
- "character": 9
- }
- ]
- },
- {
- "id": 476,
- "name": "isClosed",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 477,
- "name": "isClosed",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 264,
- "character": 10
- }
- ]
- },
- {
- "id": 478,
- "name": "isErrored",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 479,
- "name": "isErrored",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 267,
- "character": 11
- }
- ]
- },
- {
- "id": 480,
- "name": "isJoined",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 481,
- "name": "isJoined",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 270,
- "character": 10
- }
- ]
- },
- {
- "id": 482,
- "name": "isJoining",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 483,
- "name": "isJoining",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 273,
- "character": 11
- }
- ]
- },
- {
- "id": 484,
- "name": "isLeaving",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 485,
- "name": "isLeaving",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 276,
- "character": 11
- }
- ]
- },
- {
- "id": 460,
- "name": "isMember",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 461,
- "name": "isMember",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 462,
- "name": "topic",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 221,
- "character": 10
- }
- ]
- },
- {
- "id": 463,
- "name": "joinRef",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 464,
- "name": "joinRef",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 225,
- "character": 9
- }
- ]
- },
- {
- "id": 429,
- "name": "off",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 430,
- "name": "off",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 431,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 432,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 433,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 434,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 435,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 148,
- "character": 27
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "unknown",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 148,
- "character": 5
- }
- ]
- },
- {
- "id": 421,
- "name": "on",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 422,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 423,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 424,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 425,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 426,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 427,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 428,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "unknown",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 139,
- "character": 4
- }
- ]
- },
- {
- "id": 415,
- "name": "onClose",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 416,
- "name": "onClose",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Registers a callback that will be executed when the channel closes."
- },
- "parameters": [
- {
- "id": 417,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 128,
- "character": 9
- }
- ]
- },
- {
- "id": 418,
- "name": "onError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 419,
- "name": "onError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Registers a callback that will be executed when the channel encounteres an error."
- },
- "parameters": [
- {
- "id": 420,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 135,
- "character": 9
- }
- ]
- },
- {
- "id": 455,
- "name": "onMessage",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 456,
- "name": "onMessage",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Overridable message hook",
- "text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n"
- },
- "parameters": [
- {
- "id": 457,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 458,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 459,
- "name": "ref",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 217,
- "character": 11
- }
- ]
- },
- {
- "id": 438,
- "name": "push",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 439,
- "name": "push",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 440,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 441,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 442,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 443,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 444,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 164,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 445,
- "name": "timeout",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "this.timeout"
- }
- ],
- "type": {
- "type": "reference",
- "id": 35,
- "name": "Push"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 164,
- "character": 6
- }
- ]
- },
- {
- "id": 465,
- "name": "rejoin",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 466,
- "name": "rejoin",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 467,
- "name": "timeout",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "this.timeout"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 229,
- "character": 8
- }
- ]
- },
- {
- "id": 410,
- "name": "rejoinUntilConnected",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 411,
- "name": "rejoinUntilConnected",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 94,
- "character": 22
- }
- ]
- },
- {
- "id": 473,
- "name": "replyEventName",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 474,
- "name": "replyEventName",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 475,
- "name": "ref",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 260,
- "character": 16
- }
- ]
- },
- {
- "id": 412,
- "name": "subscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 413,
- "name": "subscribe",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 414,
- "name": "timeout",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "this.timeout"
- }
- ],
- "type": {
- "type": "reference",
- "id": 35,
- "name": "Push"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 101,
- "character": 11
- }
- ]
- },
- {
- "id": 468,
- "name": "trigger",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 469,
- "name": "trigger",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 470,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 471,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 472,
- "name": "ref",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 238,
- "character": 9
- }
- ]
- },
- {
- "id": 452,
- "name": "unsubscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 453,
- "name": "unsubscribe",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Leaves the channel.",
- "text": "Unsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n"
- },
- "parameters": [
- {
- "id": 454,
- "name": "timeout",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "this.timeout"
- }
- ],
- "type": {
- "type": "reference",
- "id": 35,
- "name": "Push"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 192,
- "character": 13
- }
- ]
- },
- {
- "id": 446,
- "name": "updateJoinPayload",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 447,
- "name": "updateJoinPayload",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 448,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 449,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 450,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 451,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 179,
- "character": 28
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 179,
- "character": 19
- }
- ]
- },
- {
- "id": 486,
- "name": "isEqual",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isStatic": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 487,
- "name": "isEqual",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 488,
- "name": "obj1",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 489,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 490,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 491,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 281,
- "character": 9
- }
- ]
- }
- }
- },
- {
- "id": 492,
- "name": "obj2",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 493,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 494,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 495,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 282,
- "character": 9
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 280,
- "character": 24
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [396]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [388, 392, 391, 398, 395, 394, 393, 402, 390, 389, 397]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 436, 476, 478, 480, 482, 484, 460, 463, 429, 421, 415, 418, 455, 438, 465, 410,
- 473, 412, 468, 452, 446, 486
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 7,
- "character": 36
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [387]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 145,
- "name": "\"RealtimeClient\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/RealtimeClient.ts",
- "children": [
- {
- "id": 146,
- "name": "RealtimeClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 178,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Initializes the Socket."
- },
- "signatures": [
- {
- "id": 179,
- "name": "new RealtimeClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Initializes the Socket."
- },
- "parameters": [
- {
- "id": 180,
- "name": "endPoint",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 181,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 258,
- "name": "Options"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 146,
- "name": "RealtimeClient"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 73,
- "character": 3
- }
- ]
- },
- {
- "id": 147,
- "name": "accessToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 43,
- "character": 13
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 148,
- "name": "channels",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 44,
- "character": 10
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 387,
- "name": "RealtimeChannel"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 170,
- "name": "conn",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 60,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "WebSocket"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 168,
- "name": "decode",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 58,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 167,
- "name": "encode",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 57,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 149,
- "name": "endPoint",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 45,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "\"\""
- },
- {
- "id": 150,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 46,
- "character": 9
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 151,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 152,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 153,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "DEFAULT_HEADERS"
- },
- {
- "id": 160,
- "name": "heartbeatIntervalMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 50,
- "character": 21
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "30000"
- },
- {
- "id": 162,
- "name": "heartbeatTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 52,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "query",
- "queryType": {
- "type": "reference",
- "name": "setInterval"
- }
- }
- ],
- "name": "ReturnType"
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ]
- },
- "defaultValue": "undefined"
- },
- {
- "id": 166,
- "name": "logger",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 56,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- },
- "defaultValue": "noop"
- },
- {
- "id": 161,
- "name": "longpollerTimeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 51,
- "character": 19
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "20000"
- },
- {
- "id": 154,
- "name": "params",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 47,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 155,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 156,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 157,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 163,
- "name": "pendingHeartbeatRef",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 53,
- "character": 21
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 169,
- "name": "reconnectAfterMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 59,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 165,
- "name": "reconnectTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 55,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "id": 101,
- "name": "Timer"
- }
- },
- {
- "id": 164,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 54,
- "character": 5
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 171,
- "name": "sendBuffer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 61,
- "character": 12
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "Function"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 172,
- "name": "serializer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 62,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "id": 115,
- "name": "Serializer"
- },
- "defaultValue": "new Serializer()"
- },
- {
- "id": 158,
- "name": "timeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 48,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "DEFAULT_TIMEOUT"
- },
- {
- "id": 159,
- "name": "transport",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 49,
- "character": 11
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "defaultValue": "w3cwebsocket"
- },
- {
- "id": 247,
- "name": "_appendParams",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 248,
- "name": "_appendParams",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 249,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 250,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 251,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 252,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 253,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 405,
- "character": 11
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 403,
- "character": 23
- }
- ]
- },
- {
- "id": 254,
- "name": "_flushSendBuffer",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 255,
- "name": "_flushSendBuffer",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 416,
- "character": 26
- }
- ]
- },
- {
- "id": 239,
- "name": "_onConnClose",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 240,
- "name": "_onConnClose",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 241,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 383,
- "character": 22
- }
- ]
- },
- {
- "id": 242,
- "name": "_onConnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 243,
- "name": "_onConnError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 244,
- "name": "error",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "ErrorEvent"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 391,
- "character": 22
- }
- ]
- },
- {
- "id": 237,
- "name": "_onConnOpen",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 238,
- "name": "_onConnOpen",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 371,
- "character": 21
- }
- ]
- },
- {
- "id": 256,
- "name": "_sendHeartbeat",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 257,
- "name": "_sendHeartbeat",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 423,
- "character": 24
- }
- ]
- },
- {
- "id": 245,
- "name": "_triggerChanError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 246,
- "name": "_triggerChanError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 397,
- "character": 27
- }
- ]
- },
- {
- "id": 215,
- "name": "channel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 216,
- "name": "channel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 217,
- "name": "topic",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 218,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 282,
- "name": "ChannelParams"
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 387,
- "name": "RealtimeChannel"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 264,
- "character": 9
- }
- ]
- },
- {
- "id": 182,
- "name": "connect",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 183,
- "name": "connect",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Connects the socket, unless already connected."
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 125,
- "character": 9
- }
- ]
- },
- {
- "id": 208,
- "name": "connectionState",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 209,
- "name": "connectionState",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Returns the current state of the socket."
- },
- "type": {
- "type": "reference",
- "id": 24,
- "name": "CONNECTION_STATE"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 233,
- "character": 17
- }
- ]
- },
- {
- "id": 184,
- "name": "disconnect",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 185,
- "name": "disconnect",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Disconnects the socket."
- },
- "parameters": [
- {
- "id": 186,
- "name": "code",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "A numeric status code to send on disconnect."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- },
- {
- "id": 187,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "A custom reason for the disconnect.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 188,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 190,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 151,
- "character": 40
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 189,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 151,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Error"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [190, 189]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 151,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 148,
- "character": 12
- }
- ]
- },
- {
- "id": 227,
- "name": "endPointURL",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 228,
- "name": "endPointURL",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Returns the URL of the websocket."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 320,
- "character": 13
- }
- ]
- },
- {
- "id": 210,
- "name": "isConnected",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 211,
- "name": "isConnected",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Retuns `true` is the connection is open."
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 249,
- "character": 13
- }
- ]
- },
- {
- "id": 234,
- "name": "leaveOpenTopic",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 235,
- "name": "leaveOpenTopic",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Unsubscribe from channels with the specified topic."
- },
- "parameters": [
- {
- "id": 236,
- "name": "topic",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 361,
- "character": 16
- }
- ]
- },
- {
- "id": 191,
- "name": "log",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 192,
- "name": "log",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Logs the message.",
- "text": "For customized logging, `this.logger` can be overriden.\n"
- },
- "parameters": [
- {
- "id": 193,
- "name": "kind",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 194,
- "name": "msg",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 195,
- "name": "data",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 178,
- "character": 5
- }
- ]
- },
- {
- "id": 229,
- "name": "makeRef",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 230,
- "name": "makeRef",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Return the next message ref, accounting for overflows"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 330,
- "character": 9
- }
- ]
- },
- {
- "id": 199,
- "name": "onClose",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 200,
- "name": "onClose",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Registers a callback for connection state change events.",
- "tags": [
- {
- "tag": "example",
- "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 201,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "A function to be called when the event occurs.\n"
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 202,
- "character": 9
- }
- ]
- },
- {
- "id": 222,
- "name": "onConnMessage",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 223,
- "name": "onConnMessage",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 224,
- "name": "rawMessage",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 225,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 226,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 290,
- "character": 34
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [226]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 290,
- "character": 27
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 290,
- "character": 15
- }
- ]
- },
- {
- "id": 202,
- "name": "onError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 203,
- "name": "onError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Registers a callback for connection state change events.",
- "tags": [
- {
- "tag": "example",
- "text": "\n socket.onOpen((error) => console.log(\"An error occurred\"))\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 204,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "A function to be called when the event occurs.\n"
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 214,
- "character": 9
- }
- ]
- },
- {
- "id": 205,
- "name": "onMessage",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 206,
- "name": "onMessage",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Calls a function any time a message is received.",
- "tags": [
- {
- "tag": "example",
- "text": "\n socket.onMessage((message) => console.log(message))\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 207,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "A function to be called when the event occurs.\n"
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 226,
- "character": 11
- }
- ]
- },
- {
- "id": 196,
- "name": "onOpen",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 197,
- "name": "onOpen",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Registers a callback for connection state change event.",
- "tags": [
- {
- "tag": "example",
- "text": "\n socket.onOpen(() => console.log(\"Socket opened.\"))\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 198,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "A function to be called when the event occurs.\n"
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 190,
- "character": 8
- }
- ]
- },
- {
- "id": 219,
- "name": "push",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 220,
- "name": "push",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Push out a message if the socket is connected.",
- "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
- },
- "parameters": [
- {
- "id": 221,
- "name": "data",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 276,
- "name": "Message"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 275,
- "character": 6
- }
- ]
- },
- {
- "id": 212,
- "name": "remove",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 213,
- "name": "remove",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Removes a subscription from the socket."
- },
- "parameters": [
- {
- "id": 214,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "An open subscription.\n"
- },
- "type": {
- "type": "reference",
- "id": 387,
- "name": "RealtimeChannel"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 258,
- "character": 8
- }
- ]
- },
- {
- "id": 231,
- "name": "setAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 232,
- "name": "setAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
- },
- "parameters": [
- {
- "id": 233,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "A JWT string.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 346,
- "character": 9
- }
- ]
- },
- {
- "id": 173,
- "name": "stateChangeCallbacks",
- "kind": 2097152,
- "kindString": "Object literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 175,
- "name": "close",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 70,
- "character": 9
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 176,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 71,
- "character": 9
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 177,
- "name": "message",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 72,
- "character": 11
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 174,
- "name": "open",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 69,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- "defaultValue": "[]"
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [175, 176, 177, 174]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 63,
- "character": 22
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [178]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 147, 148, 170, 168, 167, 149, 150, 160, 162, 166, 161, 154, 163, 169, 165, 164,
- 171, 172, 158, 159
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 247, 254, 239, 242, 237, 256, 245, 215, 182, 208, 184, 227, 210, 234, 191, 229,
- 199, 222, 202, 205, 196, 219, 212, 231
- ]
- },
- {
- "title": "Object literals",
- "kind": 2097152,
- "children": [173]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 42,
- "character": 35
- }
- ]
- },
- {
- "id": 282,
- "name": "ChannelParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 35,
- "character": 18
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 283,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": [
- {
- "id": 285,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 286,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "children": [
- {
- "id": 284,
- "name": "selfBroadcast",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 36,
- "character": 15
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [284]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 35,
- "character": 20
- }
- ]
- }
- }
- },
- {
- "id": 276,
- "name": "Message",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 28,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 277,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 279,
- "name": "event",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 7
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 280,
- "name": "payload",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 31,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 281,
- "name": "ref",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 5
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 278,
- "name": "topic",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 29,
- "character": 7
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [279, 280, 281, 278]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 28,
- "character": 14
- }
- ]
- }
- }
- },
- {
- "id": 258,
- "name": "Options",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 16,
- "character": 19
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 259,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 266,
- "name": "decode",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 23,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 265,
- "name": "encode",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 22,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 268,
- "name": "headers",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 25,
- "character": 9
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 269,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 270,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 271,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 262,
- "name": "heartbeatIntervalMs",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 19,
- "character": 21
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- },
- {
- "id": 264,
- "name": "logger",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 21,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 263,
- "name": "longpollerTimeout",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 20,
- "character": 19
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- },
- {
- "id": 272,
- "name": "params",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 26,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 273,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 274,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 275,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 267,
- "name": "reconnectAfterMs",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 24,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 261,
- "name": "timeout",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 18,
- "character": 9
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- },
- {
- "id": 260,
- "name": "transport",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 17,
- "character": 11
- }
- ],
- "type": {
- "type": "reference",
- "name": "WebSocket"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [266, 265, 268, 262, 264, 263, 272, 267, 261, 260]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 16,
- "character": 21
- }
- ]
- }
- }
- },
- {
- "id": 287,
- "name": "noop",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isConst": true
- },
- "signatures": [
- {
- "id": 288,
- "name": "noop",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 40,
- "character": 10
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [146]
- },
- {
- "title": "Type aliases",
- "kind": 4194304,
- "children": [282, 276, 258]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [287]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 289,
- "name": "\"RealtimePresence\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/RealtimePresence.ts",
- "children": [
- {
- "id": 290,
- "name": "RealtimePresence",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 301,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Initializes the Presence."
- },
- "signatures": [
- {
- "id": 303,
- "name": "new RealtimePresence",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Initializes the Presence."
- },
- "parameters": [
- {
- "id": 304,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The RealtimeChannel"
- },
- "type": {
- "type": "reference",
- "id": 387,
- "name": "RealtimeChannel"
- }
- },
- {
- "id": 305,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
- },
- "type": {
- "type": "reference",
- "name": "PresenceOpts"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 290,
- "name": "RealtimePresence"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 55,
- "character": 3
- }
- ]
- },
- {
- "id": 302,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "comment": {
- "shortText": "The RealtimeChannel"
- },
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 64,
- "character": 28
- }
- ],
- "type": {
- "type": "reference",
- "id": 387,
- "name": "RealtimeChannel"
- }
- },
- {
- "id": 293,
- "name": "joinRef",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 46,
- "character": 9
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 292,
- "name": "pendingDiffs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 45,
- "character": 14
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 376,
- "name": "RawPresenceDiff"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 291,
- "name": "state",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 44,
- "character": 7
- }
- ],
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- },
- {
- "id": 352,
- "name": "inPendingSyncState",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 353,
- "name": "inPendingSyncState",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 327,
- "character": 28
- }
- ]
- },
- {
- "id": 348,
- "name": "list",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 349,
- "name": "list",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "typeParameter": [
- {
- "id": 350,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
- "parameters": [
- {
- "id": 351,
- "name": "by",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 380,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T",
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "name": "PresenceChooser"
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "typeParameter",
- "name": "T",
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 323,
- "character": 6
- }
- ]
- },
- {
- "id": 337,
- "name": "onJoin",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 338,
- "name": "onJoin",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 339,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "PresenceOnJoinCallback"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 311,
- "character": 8
- }
- ]
- },
- {
- "id": 340,
- "name": "onLeave",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 341,
- "name": "onLeave",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 342,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "PresenceOnLeaveCallback"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 315,
- "character": 9
- }
- ]
- },
- {
- "id": 343,
- "name": "onSync",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 344,
- "name": "onSync",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 345,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 346,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 347,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 319,
- "character": 18
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 319,
- "character": 8
- }
- ]
- },
- {
- "id": 331,
- "name": "cloneDeep",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isStatic": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 332,
- "name": "cloneDeep",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 333,
- "name": "obj",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 334,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 335,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 336,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 307,
- "character": 31
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 307,
- "character": 26
- }
- ]
- },
- {
- "id": 318,
- "name": "list",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isStatic": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 319,
- "name": "list",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Returns the array of presences, with selected metadata."
- },
- "typeParameter": [
- {
- "id": 320,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
- "parameters": [
- {
- "id": 321,
- "name": "presences",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- },
- {
- "id": 322,
- "name": "chooser",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 380,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T",
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "name": "PresenceChooser"
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "typeParameter",
- "name": "T",
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 241,
- "character": 13
- }
- ]
- },
- {
- "id": 323,
- "name": "map",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isStatic": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 324,
- "name": "map",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "typeParameter": [
- {
- "id": 325,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
- "parameters": [
- {
- "id": 326,
- "name": "obj",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- },
- {
- "id": 327,
- "name": "func",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 380,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T",
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "name": "PresenceChooser"
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "typeParameter",
- "name": "T",
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 254,
- "character": 20
- }
- ]
- },
- {
- "id": 312,
- "name": "syncDiff",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isStatic": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 313,
- "name": "syncDiff",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Used to sync a diff of presence join and leave events from the\nserver, as they happen.",
- "text": "Like `syncState`, `syncDiff` accepts optional `onJoin` and\n`onLeave` callbacks to react to a user joining or leaving from a\ndevice.\n"
- },
- "parameters": [
- {
- "id": 314,
- "name": "state",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- },
- {
- "id": 315,
- "name": "diff",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 376,
- "name": "RawPresenceDiff"
- },
- {
- "type": "reference",
- "id": 363,
- "name": "PresenceDiff"
- }
- ]
- }
- },
- {
- "id": 316,
- "name": "onJoin",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "PresenceOnJoinCallback"
- }
- },
- {
- "id": 317,
- "name": "onLeave",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "PresenceOnLeaveCallback"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 179,
- "character": 17
- }
- ]
- },
- {
- "id": 306,
- "name": "syncState",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isStatic": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 307,
- "name": "syncState",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Used to sync the list of presences on the server with the\nclient's state.",
- "text": "An optional `onJoin` and `onLeave` callback can be provided to\nreact to changes in the client's local presences across\ndisconnects and reconnects with the server.\n"
- },
- "parameters": [
- {
- "id": 308,
- "name": "currentState",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- },
- {
- "id": 309,
- "name": "newState",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 367,
- "name": "RawPresenceState"
- },
- {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- ]
- }
- },
- {
- "id": 310,
- "name": "onJoin",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "PresenceOnJoinCallback"
- }
- },
- {
- "id": 311,
- "name": "onLeave",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "PresenceOnLeaveCallback"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 122,
- "character": 18
- }
- ]
- },
- {
- "id": 328,
- "name": "transformState",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isStatic": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 329,
- "name": "transformState",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Remove 'metas' key\nChange 'phx_ref' to 'presence_ref'\nRemove 'phx_ref' and 'phx_ref_prev'",
- "tags": [
- {
- "tag": "example",
- "text": "\n// returns {\n abc123: [\n { presence_ref: '2', user_id: 1 },\n { presence_ref: '3', user_id: 2 }\n ]\n}\nRealtimePresence.transformState({\n abc123: {\n metas: [\n { phx_ref: '2', phx_ref_prev: '1' user_id: 1 },\n { phx_ref: '3', user_id: 2 }\n ]\n }\n})\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 330,
- "name": "state",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 367,
- "name": "RawPresenceState"
- },
- {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 282,
- "character": 31
- }
- ]
- },
- {
- "id": 294,
- "name": "caller",
- "kind": 2097152,
- "kindString": "Object literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 295,
- "name": "onJoin",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 296,
- "name": "onJoin",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 52,
- "character": 10
- }
- ]
- },
- {
- "id": 297,
- "name": "onLeave",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 298,
- "name": "onLeave",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 53,
- "character": 11
- }
- ]
- },
- {
- "id": 299,
- "name": "onSync",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 300,
- "name": "onSync",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 54,
- "character": 10
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Functions",
- "kind": 64,
- "children": [295, 297, 299]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 47,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [301]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [302, 293, 292, 291]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [352, 348, 337, 340, 343, 331, 318, 323, 312, 306, 328]
- },
- {
- "title": "Object literals",
- "kind": 2097152,
- "children": [294]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 43,
- "character": 37
- }
- ]
- },
- {
- "id": 354,
- "name": "Presence",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 13,
- "character": 13
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 355,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": [
- {
- "id": 357,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 358,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "children": [
- {
- "id": 356,
- "name": "presence_ref",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 14,
- "character": 14
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [356]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 13,
- "character": 15
- }
- ]
- }
- }
- },
- {
- "id": 380,
- "name": "PresenceChooser",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "typeParameter": [
- {
- "id": 381,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 41,
- "character": 20
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 382,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 383,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 384,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 385,
- "name": "presences",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "typeParameter",
- "name": "T"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 41,
- "character": 25
- }
- ]
- }
- }
- },
- {
- "id": 363,
- "name": "PresenceDiff",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 20,
- "character": 17
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 364,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 365,
- "name": "joins",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 21,
- "character": 7
- }
- ],
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- },
- {
- "id": 366,
- "name": "leaves",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 22,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 359,
- "name": "PresenceState"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [365, 366]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 20,
- "character": 19
- }
- ]
- }
- }
- },
- {
- "id": 359,
- "name": "PresenceState",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 18,
- "character": 18
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 360,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": [
- {
- "id": 361,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 362,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 354,
- "name": "Presence"
- }
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 18,
- "character": 20
- }
- ]
- }
- }
- },
- {
- "id": 376,
- "name": "RawPresenceDiff",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 36,
- "character": 20
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 377,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 378,
- "name": "joins",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 37,
- "character": 7
- }
- ],
- "type": {
- "type": "reference",
- "id": 367,
- "name": "RawPresenceState"
- }
- },
- {
- "id": 379,
- "name": "leaves",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 38,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 367,
- "name": "RawPresenceState"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [378, 379]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 36,
- "character": 22
- }
- ]
- }
- }
- },
- {
- "id": 367,
- "name": "RawPresenceState",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 25,
- "character": 21
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 368,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": [
- {
- "id": 369,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 370,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 530,
- "typeArguments": [
- {
- "type": "stringLiteral",
- "value": "metas"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 371,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": [
- {
- "id": 374,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 375,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "children": [
- {
- "id": 372,
- "name": "phx_ref",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 29,
- "character": 13
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 373,
- "name": "phx_ref_prev",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 30,
- "character": 18
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [372, 373]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 27,
- "character": 12
- }
- ]
- }
- }
- }
- ],
- "name": "Record"
- }
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 25,
- "character": 23
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [290]
- },
- {
- "title": "Type aliases",
- "kind": 4194304,
- "children": [354, 380, 363, 359, 376, 367]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 570,
- "name": "\"index\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/index.ts",
- "sources": [
- {
- "fileName": "index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 3,
- "name": "\"lib/constants\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/constants.ts",
- "children": [
- {
- "id": 15,
- "name": "CHANNEL_EVENTS",
- "kind": 4,
- "kindString": "Enumeration",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 21,
- "name": "access_token",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 32,
- "character": 14
- }
- ],
- "defaultValue": "\"access_token\""
- },
- {
- "id": 16,
- "name": "close",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 27,
- "character": 7
- }
- ],
- "defaultValue": "\"phx_close\""
- },
- {
- "id": 17,
- "name": "error",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 28,
- "character": 7
- }
- ],
- "defaultValue": "\"phx_error\""
- },
- {
- "id": 18,
- "name": "join",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 29,
- "character": 6
- }
- ],
- "defaultValue": "\"phx_join\""
- },
- {
- "id": 20,
- "name": "leave",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 31,
- "character": 7
- }
- ],
- "defaultValue": "\"phx_leave\""
- },
- {
- "id": 19,
- "name": "reply",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 30,
- "character": 7
- }
- ],
- "defaultValue": "\"phx_reply\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration members",
- "kind": 16,
- "children": [21, 16, 17, 18, 20, 19]
- }
- ],
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 26,
- "character": 26
- }
- ]
- },
- {
- "id": 9,
- "name": "CHANNEL_STATES",
- "kind": 4,
- "kindString": "Enumeration",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 10,
- "name": "closed",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 19,
- "character": 8
- }
- ],
- "defaultValue": "\"closed\""
- },
- {
- "id": 11,
- "name": "errored",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 20,
- "character": 9
- }
- ],
- "defaultValue": "\"errored\""
- },
- {
- "id": 12,
- "name": "joined",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 21,
- "character": 8
- }
- ],
- "defaultValue": "\"joined\""
- },
- {
- "id": 13,
- "name": "joining",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 22,
- "character": 9
- }
- ],
- "defaultValue": "\"joining\""
- },
- {
- "id": 14,
- "name": "leaving",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 23,
- "character": 9
- }
- ],
- "defaultValue": "\"leaving\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration members",
- "kind": 16,
- "children": [10, 11, 12, 13, 14]
- }
- ],
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 18,
- "character": 26
- }
- ]
- },
- {
- "id": 24,
- "name": "CONNECTION_STATE",
- "kind": 4,
- "kindString": "Enumeration",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 28,
- "name": "Closed",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 43,
- "character": 8
- }
- ],
- "defaultValue": "\"closed\""
- },
- {
- "id": 27,
- "name": "Closing",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 42,
- "character": 9
- }
- ],
- "defaultValue": "\"closing\""
- },
- {
- "id": 25,
- "name": "Connecting",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 40,
- "character": 12
- }
- ],
- "defaultValue": "\"connecting\""
- },
- {
- "id": 26,
- "name": "Open",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 41,
- "character": 6
- }
- ],
- "defaultValue": "\"open\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration members",
- "kind": 16,
- "children": [28, 27, 25, 26]
- }
- ],
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 39,
- "character": 28
- }
- ]
- },
- {
- "id": 4,
- "name": "SOCKET_STATES",
- "kind": 4,
- "kindString": "Enumeration",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 8,
- "name": "closed",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 15,
- "character": 8
- }
- ],
- "defaultValue": "3"
- },
- {
- "id": 7,
- "name": "closing",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 14,
- "character": 9
- }
- ],
- "defaultValue": "2"
- },
- {
- "id": 5,
- "name": "connecting",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 12,
- "character": 12
- }
- ],
- "defaultValue": "0"
- },
- {
- "id": 6,
- "name": "open",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 13,
- "character": 6
- }
- ],
- "defaultValue": "1"
- }
- ],
- "groups": [
- {
- "title": "Enumeration members",
- "kind": 16,
- "children": [8, 7, 5, 6]
- }
- ],
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 11,
- "character": 25
- }
- ]
- },
- {
- "id": 22,
- "name": "TRANSPORTS",
- "kind": 4,
- "kindString": "Enumeration",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 23,
- "name": "websocket",
- "kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 36,
- "character": 11
- }
- ],
- "defaultValue": "\"websocket\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration members",
- "kind": 16,
- "children": [23]
- }
- ],
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 35,
- "character": 22
- }
- ]
- },
- {
- "id": 32,
- "name": "DEFAULT_TIMEOUT",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 7,
- "character": 28
- }
- ],
- "type": {
- "type": "unknown",
- "name": "10000"
- },
- "defaultValue": "10000"
- },
- {
- "id": 31,
- "name": "VSN",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 5,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "\"1.0.0\""
- },
- {
- "id": 33,
- "name": "WS_CLOSE_NORMAL",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 9,
- "character": 28
- }
- ],
- "type": {
- "type": "unknown",
- "name": "1000"
- },
- "defaultValue": "1000"
- },
- {
- "id": 29,
- "name": "DEFAULT_HEADERS",
- "kind": 2097152,
- "kindString": "Object literal",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "children": [
- {
- "id": 30,
- "name": "X-Client-Info",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 3,
- "character": 48
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "`realtime-js/${version}`"
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [30]
- }
- ],
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 3,
- "character": 28
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Enumerations",
- "kind": 4,
- "children": [15, 9, 24, 4, 22]
- },
- {
- "title": "Variables",
- "kind": 32,
- "children": [32, 31, 33]
- },
- {
- "title": "Object literals",
- "kind": 2097152,
- "children": [29]
- }
- ],
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 34,
- "name": "\"lib/push\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/push.ts",
- "children": [
- {
- "id": 35,
- "name": "Push",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 48,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Initializes the Push"
- },
- "signatures": [
- {
- "id": 56,
- "name": "new Push",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Initializes the Push"
- },
- "parameters": [
- {
- "id": 57,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The Channel"
- },
- "type": {
- "type": "reference",
- "id": 387,
- "name": "RealtimeChannel"
- }
- },
- {
- "id": 58,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The event, for example `\"phx_join\"`"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 59,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The payload, for example `{user_id: 123}`"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 60,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 61,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 62,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 29,
- "character": 19
- }
- ]
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 63,
- "name": "timeout",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The push timeout in milliseconds\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "DEFAULT_TIMEOUT"
- }
- ],
- "type": {
- "type": "reference",
- "id": 35,
- "name": "Push"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 16,
- "character": 32
- }
- ]
- },
- {
- "id": 49,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "comment": {
- "shortText": "The Channel"
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 27,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 387,
- "name": "RealtimeChannel"
- }
- },
- {
- "id": 50,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "comment": {
- "shortText": "The event, for example `\"phx_join\"`"
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 28,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 51,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "comment": {
- "shortText": "The payload, for example `{user_id: 123}`"
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 29,
- "character": 18
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 52,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 53,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 54,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 29,
- "character": 19
- }
- ]
- }
- }
- },
- {
- "id": 43,
- "name": "recHooks",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 12,
- "character": 10
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 44,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 46,
- "name": "callback",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 45,
- "name": "status",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 13,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [46, 45]
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 12,
- "character": 11
- }
- ]
- }
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 39,
- "name": "receivedResp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 8,
- "character": 14
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 40,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 42,
- "name": "response",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 41,
- "name": "status",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 9,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [42, 41]
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 8,
- "character": 15
- }
- ]
- }
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 38,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 7,
- "character": 5
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "\"\""
- },
- {
- "id": 47,
- "name": "refEvent",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 16,
- "character": 10
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 36,
- "name": "sent",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 5,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 55,
- "name": "timeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "comment": {
- "shortText": "The push timeout in milliseconds\n"
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 30,
- "character": 18
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 37,
- "name": "timeoutTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 6,
- "character": 14
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "number"
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ]
- },
- "defaultValue": "undefined"
- },
- {
- "id": 87,
- "name": "_cancelRefEvent",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 88,
- "name": "_cancelRefEvent",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 100,
- "character": 25
- }
- ]
- },
- {
- "id": 89,
- "name": "_cancelTimeout",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 90,
- "name": "_cancelTimeout",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 108,
- "character": 24
- }
- ]
- },
- {
- "id": 97,
- "name": "_hasReceived",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 98,
- "name": "_hasReceived",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 99,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "null"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 125,
- "character": 22
- }
- ]
- },
- {
- "id": 91,
- "name": "_matchReceive",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 92,
- "name": "_matchReceive",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 93,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "originalName": "__0",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 94,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 96,
- "name": "response",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 115,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 95,
- "name": "status",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 114,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [96, 95]
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 113,
- "character": 24
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 113,
- "character": 23
- }
- ]
- },
- {
- "id": 85,
- "name": "destroy",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 86,
- "name": "destroy",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 95,
- "character": 9
- }
- ]
- },
- {
- "id": 75,
- "name": "receive",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 76,
- "name": "receive",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 77,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 78,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "unknown",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 61,
- "character": 9
- }
- ]
- },
- {
- "id": 64,
- "name": "resend",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 65,
- "name": "resend",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 66,
- "name": "timeout",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 33,
- "character": 8
- }
- ]
- },
- {
- "id": 67,
- "name": "send",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 68,
- "name": "send",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 43,
- "character": 6
- }
- ]
- },
- {
- "id": 79,
- "name": "startTimeout",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 80,
- "name": "startTimeout",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 70,
- "character": 14
- }
- ]
- },
- {
- "id": 81,
- "name": "trigger",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 82,
- "name": "trigger",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 83,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 84,
- "name": "response",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 91,
- "character": 9
- }
- ]
- },
- {
- "id": 69,
- "name": "updatePayload",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 70,
- "name": "updatePayload",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 71,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 72,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 73,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 74,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 57,
- "character": 24
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 57,
- "character": 15
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [48]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [49, 50, 51, 43, 39, 38, 47, 36, 55, 37]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [87, 89, 97, 91, 85, 75, 64, 67, 79, 81, 69]
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 4,
- "character": 25
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [35]
- }
- ],
- "sources": [
- {
- "fileName": "lib/push.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 114,
- "name": "\"lib/serializer\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/serializer.ts",
- "children": [
- {
- "id": 115,
- "name": "Serializer",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 116,
- "name": "HEADER_LENGTH",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 5,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "1"
- },
- {
- "id": 121,
- "name": "_binaryDecode",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 122,
- "name": "_binaryDecode",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 123,
- "name": "buffer",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "ArrayBuffer"
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 124,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 127,
- "name": "event",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 33,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 128,
- "name": "payload",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 34,
- "character": 11
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 129,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 130,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 131,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 34,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 125,
- "name": "ref",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 31,
- "character": 7
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "null"
- }
- },
- {
- "id": 126,
- "name": "topic",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 32,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [127, 128, 125, 126]
- }
- ]
- }
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 19,
- "character": 23
- }
- ]
- },
- {
- "id": 132,
- "name": "_decodeBroadcast",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 133,
- "name": "_decodeBroadcast",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 134,
- "name": "buffer",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "ArrayBuffer"
- }
- },
- {
- "id": 135,
- "name": "view",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "DataView"
- }
- },
- {
- "id": 136,
- "name": "decoder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "TextDecoder"
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 137,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 140,
- "name": "event",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 33,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 141,
- "name": "payload",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 34,
- "character": 11
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 142,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 143,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 144,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 34,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 138,
- "name": "ref",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 31,
- "character": 7
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "null"
- }
- },
- {
- "id": 139,
- "name": "topic",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 32,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [140, 141, 138, 139]
- }
- ],
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 30,
- "character": 4
- }
- ]
- }
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 26,
- "character": 26
- }
- ]
- },
- {
- "id": 117,
- "name": "decode",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 118,
- "name": "decode",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 119,
- "name": "rawPayload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "ArrayBuffer"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 120,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 7,
- "character": 8
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [116]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [121, 132, 117]
- }
- ],
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 4,
- "character": 31
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [115]
- }
- ],
- "sources": [
- {
- "fileName": "lib/serializer.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 100,
- "name": "\"lib/timer\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/timer.ts",
- "children": [
- {
- "id": 101,
- "name": "Timer",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Creates a timer that accepts a `timerCalc` function to perform calculated timeout retries, such as exponential backoff.",
- "tags": [
- {
- "tag": "example",
- "text": "\n let reconnectTimer = new Timer(() => this.connect(), function(tries){\n return [1000, 5000, 10000][tries - 1] || 10000\n })\n reconnectTimer.scheduleTimeout() // fires after 1000\n reconnectTimer.scheduleTimeout() // fires after 5000\n reconnectTimer.reset()\n reconnectTimer.scheduleTimeout() // fires after 1000\n"
- }
- ]
- },
- "children": [
- {
- "id": 104,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 107,
- "name": "new Timer",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 108,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 109,
- "name": "timerCalc",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 101,
- "name": "Timer"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/timer.ts",
- "line": 15,
- "character": 19
- }
- ]
- },
- {
- "id": 105,
- "name": "callback",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "sources": [
- {
- "fileName": "lib/timer.ts",
- "line": 17,
- "character": 29
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 102,
- "name": "timer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/timer.ts",
- "line": 14,
- "character": 7
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "number"
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ]
- },
- "defaultValue": "undefined"
- },
- {
- "id": 106,
- "name": "timerCalc",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "sources": [
- {
- "fileName": "lib/timer.ts",
- "line": 17,
- "character": 57
- }
- ],
- "type": {
- "type": "reference",
- "name": "Function"
- }
- },
- {
- "id": 103,
- "name": "tries",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/timer.ts",
- "line": 15,
- "character": 7
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 110,
- "name": "reset",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 111,
- "name": "reset",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/timer.ts",
- "line": 22,
- "character": 7
- }
- ]
- },
- {
- "id": 112,
- "name": "scheduleTimeout",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 113,
- "name": "scheduleTimeout",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/timer.ts",
- "line": 28,
- "character": 17
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [104]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [105, 102, 106, 103]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [110, 112]
- }
- ],
- "sources": [
- {
- "fileName": "lib/timer.ts",
- "line": 13,
- "character": 26
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [101]
- }
- ],
- "sources": [
- {
- "fileName": "lib/timer.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 496,
- "name": "\"lib/transformers\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/transformers.ts",
- "children": [
- {
- "id": 497,
+ "id": 356,
"name": "PostgresTypes",
- "kind": 4,
+ "kind": 8,
"kindString": "Enumeration",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "Helpers to convert the change Payload into native JS types."
},
"children": [
{
- "id": 498,
+ "id": 357,
"name": "abstime",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 9,
- "character": 9
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "abstime"
+ },
"defaultValue": "\"abstime\""
},
{
- "id": 499,
+ "id": 358,
"name": "bool",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 10,
- "character": 6
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "bool"
+ },
"defaultValue": "\"bool\""
},
{
- "id": 500,
+ "id": 359,
"name": "date",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 11,
- "character": 6
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "date"
+ },
"defaultValue": "\"date\""
},
{
- "id": 501,
+ "id": 360,
"name": "daterange",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 12,
- "character": 11
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "daterange"
+ },
"defaultValue": "\"daterange\""
},
{
- "id": 502,
+ "id": 361,
"name": "float4",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 13,
- "character": 8
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "float4"
+ },
"defaultValue": "\"float4\""
},
{
- "id": 503,
+ "id": 362,
"name": "float8",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 14,
- "character": 8
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "float8"
+ },
"defaultValue": "\"float8\""
},
{
- "id": 504,
+ "id": 363,
"name": "int2",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 15,
- "character": 6
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "int2"
+ },
"defaultValue": "\"int2\""
},
{
- "id": 505,
+ "id": 364,
"name": "int4",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 16,
- "character": 6
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "int4"
+ },
"defaultValue": "\"int4\""
},
{
- "id": 506,
+ "id": 365,
"name": "int4range",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 17,
- "character": 11
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "int4range"
+ },
"defaultValue": "\"int4range\""
},
{
- "id": 507,
+ "id": 366,
"name": "int8",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 18,
- "character": 6
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "int8"
+ },
"defaultValue": "\"int8\""
},
{
- "id": 508,
+ "id": 367,
"name": "int8range",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 19,
- "character": 11
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "int8range"
+ },
"defaultValue": "\"int8range\""
},
{
- "id": 509,
+ "id": 368,
"name": "json",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 20,
- "character": 6
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "json"
+ },
"defaultValue": "\"json\""
},
{
- "id": 510,
+ "id": 369,
"name": "jsonb",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 21,
- "character": 7
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "jsonb"
+ },
"defaultValue": "\"jsonb\""
},
{
- "id": 511,
+ "id": 370,
"name": "money",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 22,
- "character": 7
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "money"
+ },
"defaultValue": "\"money\""
},
{
- "id": 512,
+ "id": 371,
"name": "numeric",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 23,
- "character": 9
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "numeric"
+ },
"defaultValue": "\"numeric\""
},
{
- "id": 513,
+ "id": 372,
"name": "oid",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 24,
- "character": 5
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "oid"
+ },
"defaultValue": "\"oid\""
},
{
- "id": 514,
+ "id": 373,
"name": "reltime",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 25,
- "character": 9
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "reltime"
+ },
"defaultValue": "\"reltime\""
},
{
- "id": 515,
+ "id": 374,
"name": "text",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 26,
- "character": 6
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "text"
+ },
"defaultValue": "\"text\""
},
{
- "id": 516,
+ "id": 375,
"name": "time",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 27,
- "character": 6
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "time"
+ },
"defaultValue": "\"time\""
},
{
- "id": 517,
+ "id": 376,
"name": "timestamp",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 28,
- "character": 11
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "timestamp"
+ },
"defaultValue": "\"timestamp\""
},
{
- "id": 518,
+ "id": 377,
"name": "timestamptz",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 29,
- "character": 13
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "timestamptz"
+ },
"defaultValue": "\"timestamptz\""
},
{
- "id": 519,
+ "id": 378,
"name": "timetz",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 30,
- "character": 8
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "timetz"
+ },
"defaultValue": "\"timetz\""
},
{
- "id": 520,
+ "id": 379,
"name": "tsrange",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 31,
- "character": 9
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "tsrange"
+ },
"defaultValue": "\"tsrange\""
},
{
- "id": 521,
+ "id": 380,
"name": "tstzrange",
"kind": 16,
- "kindString": "Enumeration member",
- "flags": {
- "isExported": true
- },
+ "kindString": "Enumeration Member",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 32,
- "character": 11
+ "character": 2
}
],
+ "type": {
+ "type": "literal",
+ "value": "tstzrange"
+ },
"defaultValue": "\"tstzrange\""
}
],
"groups": [
{
- "title": "Enumeration members",
+ "title": "Enumeration Members",
"kind": 16,
"children": [
- 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513,
- 514, 515, 516, 517, 518, 519, 520, 521
+ 357,
+ 358,
+ 359,
+ 360,
+ 361,
+ 362,
+ 363,
+ 364,
+ 365,
+ 366,
+ 367,
+ 368,
+ 369,
+ 370,
+ 371,
+ 372,
+ 373,
+ 374,
+ 375,
+ 376,
+ 377,
+ 378,
+ 379,
+ 380
]
}
],
@@ -60635,301 +56333,30 @@
{
"fileName": "lib/transformers.ts",
"line": 8,
- "character": 25
+ "character": 12
}
]
},
{
- "id": 528,
- "name": "BaseValue",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 42,
- "character": 14
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "null"
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- },
- {
- "type": "intrinsic",
- "name": "boolean"
- }
- ]
- }
- },
- {
- "id": 522,
- "name": "Columns",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 35,
- "character": 12
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 523,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 526,
- "name": "flags",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 38,
- "character": 7
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 524,
- "name": "name",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 36,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 525,
- "name": "type",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 37,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 527,
- "name": "type_modifier",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 39,
- "character": 15
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [526, 524, 525, 527]
- }
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 35,
- "character": 14
- }
- ]
- }
- }
- }
- },
- {
- "id": 530,
- "name": "Record",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 45,
- "character": 11
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 531,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": [
- {
- "id": 532,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 533,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 529,
- "name": "RecordValue"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 45,
- "character": 13
- }
- ]
- }
- }
- },
- {
- "id": 529,
- "name": "RecordValue",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 43,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 528,
- "name": "BaseValue"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 528,
- "name": "BaseValue"
- }
- }
- ]
- }
- },
- {
- "id": 547,
+ "id": 394,
"name": "convertCell",
"kind": 64,
"kindString": "Function",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "comment": {
- "shortText": "If the value of the cell is `null`, returns null.\nOtherwise converts the string value to the correct type.",
- "tags": [
- {
- "tag": "example",
- "text": "convertCell('bool', 't')\n//=> true"
- },
- {
- "tag": "example",
- "text": "convertCell('int8', '10')\n//=> 10"
- },
- {
- "tag": "example",
- "text": "convertCell('_int4', '{1,2,3,4}')\n//=> [1,2,3,4]\n"
- }
- ]
- },
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 118,
+ "character": 13
+ }
+ ],
"signatures": [
{
- "id": 548,
+ "id": 395,
"name": "convertCell",
"kind": 4096,
"kindString": "Call signature",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "If the value of the cell is `null`, returns null.\nOtherwise converts the string value to the correct type.",
"tags": [
@@ -60949,13 +56376,11 @@
},
"parameters": [
{
- "id": 549,
+ "id": 396,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "A postgres column type"
},
@@ -60965,62 +56390,44 @@
}
},
{
- "id": 550,
+ "id": 397,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 118,
- "character": 24
- }
]
},
{
- "id": 534,
+ "id": 381,
"name": "convertChangeData",
"kind": 64,
"kindString": "Function",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "comment": {
- "shortText": "Takes an array of columns and an object of string values then converts each string value\nto its mapped type.",
- "tags": [
- {
- "tag": "example",
- "text": "convertChangeData([{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age:'33'}, {})\n//=>{ first_name: 'Paul', age: 33 }\n"
- }
- ]
- },
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 61,
+ "character": 13
+ }
+ ],
"signatures": [
{
- "id": 535,
+ "id": 382,
"name": "convertChangeData",
"kind": 4096,
"kindString": "Call signature",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "Takes an array of columns and an object of string values then converts each string value\nto its mapped type.",
"tags": [
@@ -61032,70 +56439,62 @@
},
"parameters": [
{
- "id": 536,
+ "id": 383,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"type": {
"type": "reference",
- "id": 522,
"name": "Columns"
}
},
{
- "id": 537,
+ "id": 384,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {},
"type": {
"type": "reference",
- "id": 530,
"name": "Record"
}
},
{
- "id": 538,
+ "id": 385,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "The map of various options that can be applied to the mapper"
},
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 386,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"children": [
{
- "id": 540,
+ "id": 387,
"name": "skipTypes",
- "kind": 32,
- "kindString": "Variable",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {
- "isExported": true,
"isOptional": true
},
+ "comment": {
+ "shortText": "The array of types that should not be converted\n"
+ },
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 64,
- "character": 22
+ "character": 13
}
],
"type": {
@@ -61109,16 +56508,11 @@
],
"groups": [
{
- "title": "Variables",
- "kind": 32,
- "children": [540]
- }
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 64,
- "character": 10
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 387
+ ]
}
]
}
@@ -61128,51 +56522,31 @@
],
"type": {
"type": "reference",
- "id": 530,
"name": "Record"
}
}
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 61,
- "character": 30
- }
]
},
{
- "id": 541,
+ "id": 388,
"name": "convertColumn",
"kind": 64,
"kindString": "Function",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "comment": {
- "shortText": "Converts the value of an individual column.",
- "returns": "Useless information\n",
- "tags": [
- {
- "tag": "example",
- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33"
- },
- {
- "tag": "example",
- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n"
- }
- ]
- },
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 88,
+ "character": 13
+ }
+ ],
"signatures": [
{
- "id": 542,
+ "id": 389,
"name": "convertColumn",
"kind": 4096,
"kindString": "Call signature",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "Converts the value of an individual column.",
"returns": "Useless information\n",
@@ -61189,13 +56563,11 @@
},
"parameters": [
{
- "id": 543,
+ "id": 390,
"name": "columnName",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "The column that you want to convert"
},
@@ -61205,44 +56577,36 @@
}
},
{
- "id": 544,
+ "id": 391,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"type": {
"type": "reference",
- "id": 522,
"name": "Columns"
}
},
{
- "id": 545,
+ "id": 392,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "The map of string values"
},
"type": {
"type": "reference",
- "id": 530,
"name": "Record"
}
},
{
- "id": 546,
+ "id": 393,
"name": "skipTypes",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "An array of types that should not be converted"
},
@@ -61257,98 +56621,31 @@
],
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 88,
- "character": 26
- }
]
},
{
- "id": 551,
- "name": "noop",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isConst": true
- },
- "signatures": [
- {
- "id": 552,
- "name": "noop",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 553,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 529,
- "name": "RecordValue"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 529,
- "name": "RecordValue"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 162,
- "character": 10
- }
- ]
- },
- {
- "id": 563,
+ "id": 407,
"name": "toArray",
"kind": 64,
"kindString": "Function",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "comment": {
- "shortText": "Converts a Postgres Array into a native JS array",
- "tags": [
- {
- "tag": "example",
- "text": "toArray('{}', 'int4')\n//=> []"
- },
- {
- "tag": "example",
- "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']"
- },
- {
- "tag": "example",
- "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n"
- }
- ]
- },
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 206,
+ "character": 13
+ }
+ ],
"signatures": [
{
- "id": 564,
+ "id": 408,
"name": "toArray",
"kind": 4096,
"kindString": "Call signature",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "Converts a Postgres Array into a native JS array",
"tags": [
@@ -61368,27 +56665,22 @@
},
"parameters": [
{
- "id": 565,
+ "id": 409,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
},
{
- "id": 566,
+ "id": 410,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "string"
@@ -61397,193 +56689,151 @@
],
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 206,
- "character": 20
- }
]
},
{
- "id": 554,
+ "id": 398,
"name": "toBoolean",
"kind": 64,
"kindString": "Function",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "signatures": [
- {
- "id": 555,
- "name": "toBoolean",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 556,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 529,
- "name": "RecordValue"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 529,
- "name": "RecordValue"
- }
- }
- ],
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 165,
- "character": 22
+ "character": 13
}
- ]
- },
- {
- "id": 560,
- "name": "toJson",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isExported": true,
- "isConst": true
- },
+ ],
"signatures": [
{
- "id": 561,
- "name": "toJson",
+ "id": 399,
+ "name": "toBoolean",
"kind": 4096,
"kindString": "Call signature",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"parameters": [
{
- "id": 562,
+ "id": 400,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
- ],
+ ]
+ },
+ {
+ "id": 404,
+ "name": "toJson",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
"sources": [
{
"fileName": "lib/transformers.ts",
"line": 184,
- "character": 19
+ "character": 13
}
- ]
- },
- {
- "id": 557,
- "name": "toNumber",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isExported": true,
- "isConst": true
- },
+ ],
"signatures": [
{
- "id": 558,
- "name": "toNumber",
+ "id": 405,
+ "name": "toJson",
"kind": 4096,
"kindString": "Call signature",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"parameters": [
{
- "id": 559,
+ "id": 406,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 175,
- "character": 21
- }
]
},
{
- "id": 567,
+ "id": 401,
+ "name": "toNumber",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 175,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 402,
+ "name": "toNumber",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 403,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 411,
"name": "toTimestampString",
"kind": 64,
"kindString": "Function",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "comment": {
- "shortText": "Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\nSee https://github.com/supabase/supabase/issues/18",
- "tags": [
- {
- "tag": "example",
- "text": "toTimestampString('2019-09-10 00:00:00')\n//=> '2019-09-10T00:00:00'\n"
- }
- ]
- },
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 241,
+ "character": 13
+ }
+ ],
"signatures": [
{
- "id": 568,
+ "id": 412,
"name": "toTimestampString",
"kind": 4096,
"kindString": "Call signature",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"comment": {
"shortText": "Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\nSee https://github.com/supabase/supabase/issues/18",
"tags": [
@@ -61595,115 +56845,4873 @@
},
"parameters": [
{
- "id": 569,
+ "id": 413,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 529,
"name": "RecordValue"
}
}
- ],
- "sources": [
- {
- "fileName": "lib/transformers.ts",
- "line": 241,
- "character": 30
- }
]
}
],
"groups": [
{
"title": "Enumerations",
- "kind": 4,
- "children": [497]
- },
- {
- "title": "Type aliases",
- "kind": 4194304,
- "children": [528, 522, 530, 529]
+ "kind": 8,
+ "children": [
+ 356
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [547, 534, 541, 551, 563, 554, 560, 557, 567]
+ "children": [
+ 394,
+ 381,
+ 388,
+ 407,
+ 398,
+ 404,
+ 401,
+ 411
+ ]
}
],
"sources": [
{
"fileName": "lib/transformers.ts",
- "line": 1,
+ "line": 8,
"character": 0
}
]
},
{
- "id": 1,
- "name": "\"lib/version\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/version.ts",
+ "id": 134,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
"children": [
{
- "id": 2,
- "name": "version",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isConst": true
- },
+ "id": 145,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
"sources": [
{
- "fileName": "lib/version.ts",
- "line": 1,
- "character": 20
+ "fileName": "RealtimeChannel.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 146,
+ "name": "new RealtimeChannel",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 147,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 148,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 149,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 150,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 151,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 152,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 153,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 9,
+ "character": 2
}
],
"type": {
- "type": "stringLiteral",
- "value": "0.0.0-automated"
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 155,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 156,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 163,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 159,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 12,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 160,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 12,
+ "character": 14
+ }
+ ],
+ "indexSignature": {
+ "id": 161,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 162,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 164,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 163,
+ 159,
+ 164,
+ 158
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 10,
+ "character": 19
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
},
- "defaultValue": "\"0.0.0-automated\""
+ "defaultValue": "{}"
+ },
+ {
+ "id": 168,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 167,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 173,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 174,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 175,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 176,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 171,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 292,
+ "name": "default"
+ }
+ },
+ {
+ "id": 170,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 169,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 177,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ },
+ {
+ "id": 166,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 165,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 172,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 223,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 269,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 224,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` if the socket is connected and the channel has been joined."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 274,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 438,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 275,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 276,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 441,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 277,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 444,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 279,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 280,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 447,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 281,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 282,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 450,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 283,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 258,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 358,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 259,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 260,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 261,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 362,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 262,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 216,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 254,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 217,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 218,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 219,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 220,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 221,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 222,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 208,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 209,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 210,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 211,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 212,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 213,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 214,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 215,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 202,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 225,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 203,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback that will be executed when the channel closes."
+ },
+ "parameters": [
+ {
+ "id": 204,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 205,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 232,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 206,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback that will be executed when the channel encounteres an error."
+ },
+ "parameters": [
+ {
+ "id": 207,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 253,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 354,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 254,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Overridable message hook",
+ "text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n"
+ },
+ "parameters": [
+ {
+ "id": 255,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 256,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 257,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ },
+ {
+ "id": 184,
+ "name": "presenceState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 192,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 185,
+ "name": "presenceState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 273,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 226,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 227,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 228,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 229,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 230,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 231,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 232,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 263,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 366,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 264,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 265,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 178,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 179,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 271,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 434,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 272,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 273,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 233,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 288,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 234,
+ "name": "send",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 235,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 236,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 237,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 289,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 237
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 238,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 239,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 240,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 241,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 242,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 243,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 180,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 90,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 181,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 182,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 183,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 186,
+ "name": "track",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 196,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 187,
+ "name": "track",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 188,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 189,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 190,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 191,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 192,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 193,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 194,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 195,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 266,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 375,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 267,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 268,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 269,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 270,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 250,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 314,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 251,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Leaves the channel.",
+ "text": "Unsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n"
+ },
+ "parameters": [
+ {
+ "id": 252,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 196,
+ "name": "untrack",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 210,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 197,
+ "name": "untrack",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 198,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 199,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 200,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 201,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 244,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 245,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 246,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 247,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 248,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 249,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
}
],
"groups": [
{
- "title": "Variables",
- "kind": 32,
- "children": [2]
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 145
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 153,
+ 168,
+ 167,
+ 173,
+ 171,
+ 170,
+ 169,
+ 177,
+ 166,
+ 165,
+ 172
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 223,
+ 274,
+ 276,
+ 278,
+ 280,
+ 282,
+ 258,
+ 261,
+ 216,
+ 208,
+ 202,
+ 205,
+ 253,
+ 184,
+ 225,
+ 263,
+ 178,
+ 271,
+ 233,
+ 180,
+ 186,
+ 266,
+ 250,
+ 196,
+ 244
+ ]
}
],
"sources": [
{
- "fileName": "lib/version.ts",
- "line": 1,
- "character": 0
+ "fileName": "RealtimeChannel.ts",
+ "line": 8,
+ "character": 21
}
]
+ },
+ {
+ "id": 1,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 87,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 4,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 5,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 117,
+ "name": "Options"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 6,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 7,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 28,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 26,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 25,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 8,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 9,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 10,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 11,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 12,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 19,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 20,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 24,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 13,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 14,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 15,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 16,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 21,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 27,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 23,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 22,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 29,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 30,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 31,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 32,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 34,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 35,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 36,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 65,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 33,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 34,
+ 35,
+ 36,
+ 33
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 17,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 18,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 74,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 272,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 75,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 76,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 77,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "ChannelParams"
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 37,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 120,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 38,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 67,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 241,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 68,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 39,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 142,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 40,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 41,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 42,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 86,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 332,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 87,
+ "name": "endPointURL",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the URL of the websocket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 43,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 157,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 44,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 69,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 257,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 70,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retuns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 93,
+ "name": "leaveOpenTopic",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 373,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "leaveOpenTopic",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribe from channels with the specified topic."
+ },
+ "parameters": [
+ {
+ "id": 95,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 50,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 186,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 51,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overriden.\n"
+ },
+ "parameters": [
+ {
+ "id": 52,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 53,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 54,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 88,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 342,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 89,
+ "name": "makeRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return the next message ref, accounting for overflows"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 58,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 210,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 59,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback for connection state change events.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 60,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 81,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 302,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 82,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 83,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 84,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 85,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 302,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 85
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 61,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 222,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 62,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback for connection state change events.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen((error) => console.log(\"An error occurred\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 63,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 64,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 234,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 65,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Calls a function any time a message is received.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onMessage((message) => console.log(message))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 66,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 55,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 56,
+ "name": "onOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback for connection state change event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen(() => console.log(\"Socket opened.\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 57,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 78,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 287,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 79,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 80,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "Message"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 71,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 266,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 72,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 73,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 48,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 172,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 49,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 45,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 161,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 46,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 47,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 90,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 358,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 91,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 92,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 2
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 6,
+ 7,
+ 28,
+ 26,
+ 25,
+ 8,
+ 9,
+ 19,
+ 20,
+ 24,
+ 13,
+ 21,
+ 27,
+ 23,
+ 22,
+ 29,
+ 30,
+ 31,
+ 17,
+ 18
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 74,
+ 37,
+ 67,
+ 39,
+ 86,
+ 43,
+ 69,
+ 93,
+ 50,
+ 88,
+ 58,
+ 81,
+ 61,
+ 64,
+ 55,
+ 78,
+ 71,
+ 48,
+ 45,
+ 90
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 324,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 325,
+ "name": "new RealtimePresence",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Presence."
+ },
+ "parameters": [
+ {
+ "id": 326,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The RealtimeChannel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOpts",
+ "package": "@types/phoenix",
+ "name": "PresenceOpts"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 292,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 331,
+ "name": "caller",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 332,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 333,
+ "name": "onJoin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 48,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 334,
+ "name": "onLeave",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 49,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ },
+ {
+ "id": 335,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 336,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 333,
+ 334
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 335
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 337,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ },
+ {
+ "id": 330,
+ "name": "joinRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 329,
+ "name": "pendingDiffs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 328,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 349,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 345,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 350,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 351,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 352,
+ "name": "by",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 351,
+ "name": "T"
+ }
+ ],
+ "name": "PresenceChooser"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 351,
+ "name": "T"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "onJoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 333,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 339,
+ "name": "onJoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 340,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 341,
+ "name": "onLeave",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 337,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 342,
+ "name": "onLeave",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 343,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 341,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 346,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 347,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 348,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 305,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 263,
+ "character": 9
+ }
+ ],
+ "signatures": [
+ {
+ "id": 306,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the array of presences, with selected metadata."
+ },
+ "typeParameter": [
+ {
+ "id": 307,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 308,
+ "name": "presences",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 309,
+ "name": "chooser",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 307,
+ "name": "T"
+ }
+ ],
+ "name": "PresenceChooser"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 307,
+ "name": "T"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 299,
+ "name": "syncDiff",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 201,
+ "character": 9
+ }
+ ],
+ "signatures": [
+ {
+ "id": 300,
+ "name": "syncDiff",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Used to sync a diff of presence join and leave events from the\nserver, as they happen.",
+ "text": "Like `syncState`, `syncDiff` accepts optional `onJoin` and\n`onLeave` callbacks to react to a user joining or leaving from a\ndevice.\n"
+ },
+ "parameters": [
+ {
+ "id": 301,
+ "name": "state",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 302,
+ "name": "diff",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "PresenceDiff"
+ },
+ {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ ]
+ }
+ },
+ {
+ "id": 303,
+ "name": "onJoin",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 304,
+ "name": "onLeave",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 293,
+ "name": "syncState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 144,
+ "character": 9
+ }
+ ],
+ "signatures": [
+ {
+ "id": 294,
+ "name": "syncState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Used to sync the list of presences on the server with the\nclient's state.",
+ "text": "An optional `onJoin` and `onLeave` callback can be provided to\nreact to changes in the client's local presences across\ndisconnects and reconnects with the server.\n"
+ },
+ "parameters": [
+ {
+ "id": 295,
+ "name": "currentState",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 296,
+ "name": "newState",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "PresenceState"
+ },
+ {
+ "type": "reference",
+ "name": "RawPresenceState"
+ }
+ ]
+ }
+ },
+ {
+ "id": 297,
+ "name": "onJoin",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 298,
+ "name": "onLeave",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 324
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 331,
+ 337,
+ 330,
+ 329,
+ 328
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 349,
+ 338,
+ 341,
+ 344,
+ 305,
+ 299,
+ 293
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 43,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 117,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 118,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 123,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 126,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 127,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 128,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 129,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 121,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 122,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 130,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 131,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 120,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 119,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 124,
+ 123,
+ 126,
+ 121,
+ 122,
+ 130,
+ 125,
+ 120,
+ 119
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 22
+ }
+ ]
+ }
+ }
}
],
"groups": [
{
- "title": "Modules",
- "kind": 1,
- "children": [386, 145, 289, 570, 3, 34, 114, 100, 496, 1]
+ "title": "Namespaces",
+ "kind": 4,
+ "children": [
+ 355
+ ]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 134,
+ 1,
+ 292
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 117
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
}
]
},
@@ -61738,8 +61746,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 17,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L17"
+ "character": 2
}
],
"signatures": [
@@ -61803,8 +61810,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 2,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L2"
+ "character": 12
}
],
"type": {
@@ -61828,8 +61834,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 15,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L15"
+ "character": 2
}
],
"type": {
@@ -61847,8 +61852,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 23,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L23"
+ "character": 2
}
],
"signatures": [
@@ -61877,8 +61881,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 26,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L26"
+ "character": 6
}
],
"type": {
@@ -61897,8 +61900,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 25,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L25"
+ "character": 6
}
],
"type": {
@@ -61917,8 +61919,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 27,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L27"
+ "character": 6
}
],
"type": {
@@ -61931,15 +61932,12 @@
"groups": [
{
"title": "Properties",
- "children": [385, 384, 386]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 24,
- "character": 11,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L24"
+ "kind": 1024,
+ "children": [
+ 385,
+ 384,
+ 386
+ ]
}
]
}
@@ -61951,23 +61949,32 @@
"groups": [
{
"title": "Constructors",
- "children": [376]
+ "kind": 512,
+ "children": [
+ 376
+ ]
},
{
"title": "Properties",
- "children": [387, 380]
+ "kind": 1024,
+ "children": [
+ 387,
+ 380
+ ]
},
{
"title": "Methods",
- "children": [381]
+ "kind": 2048,
+ "children": [
+ 381
+ ]
}
],
"sources": [
{
"fileName": "src/lib/errors.ts",
"line": 14,
- "character": 13,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L14"
+ "character": 13
}
],
"extendedTypes": [
@@ -61995,8 +62002,7 @@
{
"fileName": "src/StorageClient.ts",
"line": 6,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/StorageClient.ts#L6"
+ "character": 2
}
],
"signatures": [
@@ -62032,14 +62038,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/StorageClient.ts",
- "line": 6,
- "character": 36,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/StorageClient.ts#L6"
- }
- ],
"indexSignature": {
"id": 251,
"name": "__index",
@@ -62083,13 +62081,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 17731,
- "character": 17
- }
- ],
"signatures": [
{
"id": 255,
@@ -62106,9 +62097,9 @@
"flags": {},
"type": {
"type": "reference",
- "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInfo"
}
},
{
@@ -62121,9 +62112,9 @@
},
"type": {
"type": "reference",
- "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInit"
}
}
],
@@ -62132,14 +62123,14 @@
"typeArguments": [
{
"type": "reference",
- "name": "Response",
"qualifiedName": "Response",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Response"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -62177,8 +62168,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 10,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L10"
+ "character": 12
}
],
"type": {
@@ -62189,13 +62179,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 17731,
- "character": 17
- }
- ],
"signatures": [
{
"id": 268,
@@ -62212,9 +62195,9 @@
"flags": {},
"type": {
"type": "reference",
- "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInfo"
}
},
{
@@ -62227,9 +62210,9 @@
},
"type": {
"type": "reference",
- "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInit"
}
}
],
@@ -62238,14 +62221,14 @@
"typeArguments": [
{
"type": "reference",
- "name": "Response",
"qualifiedName": "Response",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Response"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -62269,8 +62252,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 9,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L9"
+ "character": 12
}
],
"type": {
@@ -62281,14 +62263,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 21,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L9"
- }
- ],
"indexSignature": {
"id": 264,
"name": "__index",
@@ -62332,8 +62306,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 8,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L8"
+ "character": 12
}
],
"type": {
@@ -62356,8 +62329,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 78,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L78"
+ "character": 8
}
],
"signatures": [
@@ -62368,23 +62340,8 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a new Storage bucket"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "newly created bucket id"
- }
- ]
- }
- ]
+ "shortText": "Creates a new Storage bucket",
+ "returns": "newly created bucket id\n"
},
"parameters": [
{
@@ -62394,12 +62351,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A unique identifier for the bucket you are creating."
- }
- ]
+ "shortText": "A unique identifier for the bucket you are creating."
},
"type": {
"type": "intrinsic",
@@ -62431,8 +62383,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 80,
- "character": 15,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L80"
+ "character": 15
}
],
"type": {
@@ -62444,15 +62395,10 @@
"groups": [
{
"title": "Properties",
- "children": [293]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
- "character": 13,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L80"
+ "kind": 1024,
+ "children": [
+ 293
+ ]
}
]
}
@@ -62485,8 +62431,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 83,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L83"
+ "character": 8
}
],
"type": {
@@ -62502,9 +62447,9 @@
"value": "name"
}
],
- "name": "Pick",
"qualifiedName": "Pick",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Pick"
}
},
{
@@ -62517,8 +62462,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 84,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L84"
+ "character": 8
}
],
"type": {
@@ -62530,15 +62474,11 @@
"groups": [
{
"title": "Properties",
- "children": [295, 296]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 82,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L82"
+ "kind": 1024,
+ "children": [
+ 295,
+ 296
+ ]
}
]
}
@@ -62562,8 +62502,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 87,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L87"
+ "character": 8
}
],
"type": {
@@ -62581,8 +62520,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 88,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L88"
+ "character": 8
}
],
"type": {
@@ -62595,15 +62533,11 @@
"groups": [
{
"title": "Properties",
- "children": [298, 299]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 86,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L86"
+ "kind": 1024,
+ "children": [
+ 298,
+ 299
+ ]
}
]
}
@@ -62611,9 +62545,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
},
"inheritedFrom": {
"type": "reference",
@@ -62638,8 +62572,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 183,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L183"
+ "character": 8
}
],
"signatures": [
@@ -62650,20 +62583,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first "
- },
- {
- "kind": "code",
- "text": "`empty()`"
- },
- {
- "kind": "text",
- "text": " the bucket."
- }
- ]
+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."
},
"parameters": [
{
@@ -62673,12 +62593,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The unique identifier of the bucket you would like to delete."
- }
- ]
+ "shortText": "The unique identifier of the bucket you would like to delete.\n"
},
"type": {
"type": "intrinsic",
@@ -62711,8 +62626,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 187,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187"
+ "character": 8
}
],
"type": {
@@ -62734,8 +62648,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 187,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187"
+ "character": 16
}
],
"type": {
@@ -62747,15 +62660,10 @@
"groups": [
{
"title": "Properties",
- "children": [331]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187"
+ "kind": 1024,
+ "children": [
+ 331
+ ]
}
]
}
@@ -62771,8 +62679,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 188,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L188"
+ "character": 8
}
],
"type": {
@@ -62784,15 +62691,11 @@
"groups": [
{
"title": "Properties",
- "children": [329, 332]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 186,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L186"
+ "kind": 1024,
+ "children": [
+ 329,
+ 332
+ ]
}
]
}
@@ -62816,8 +62719,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 191,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L191"
+ "character": 8
}
],
"type": {
@@ -62835,8 +62737,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 192,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L192"
+ "character": 8
}
],
"type": {
@@ -62849,15 +62750,11 @@
"groups": [
{
"title": "Properties",
- "children": [334, 335]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L190"
+ "kind": 1024,
+ "children": [
+ 334,
+ 335
+ ]
}
]
}
@@ -62865,9 +62762,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
},
"inheritedFrom": {
"type": "reference",
@@ -62892,8 +62789,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 148,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L148"
+ "character": 8
}
],
"signatures": [
@@ -62904,12 +62800,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Removes all objects inside a single bucket."
- }
- ]
+ "shortText": "Removes all objects inside a single bucket."
},
"parameters": [
{
@@ -62919,12 +62810,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The unique identifier of the bucket you would like to empty."
- }
- ]
+ "shortText": "The unique identifier of the bucket you would like to empty.\n"
},
"type": {
"type": "intrinsic",
@@ -62957,8 +62843,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 152,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152"
+ "character": 8
}
],
"type": {
@@ -62980,8 +62865,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 152,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152"
+ "character": 16
}
],
"type": {
@@ -62993,15 +62877,10 @@
"groups": [
{
"title": "Properties",
- "children": [320]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152"
+ "kind": 1024,
+ "children": [
+ 320
+ ]
}
]
}
@@ -63017,8 +62896,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 153,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L153"
+ "character": 8
}
],
"type": {
@@ -63030,15 +62908,11 @@
"groups": [
{
"title": "Properties",
- "children": [318, 321]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 151,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L151"
+ "kind": 1024,
+ "children": [
+ 318,
+ 321
+ ]
}
]
}
@@ -63062,8 +62936,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 156,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L156"
+ "character": 8
}
],
"type": {
@@ -63081,8 +62954,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 157,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L157"
+ "character": 8
}
],
"type": {
@@ -63095,15 +62967,11 @@
"groups": [
{
"title": "Properties",
- "children": [323, 324]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L155"
+ "kind": 1024,
+ "children": [
+ 323,
+ 324
+ ]
}
]
}
@@ -63111,9 +62979,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
},
"inheritedFrom": {
"type": "reference",
@@ -63138,8 +63006,7 @@
{
"fileName": "src/StorageClient.ts",
"line": 15,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/StorageClient.ts#L15"
+ "character": 2
}
],
"signatures": [
@@ -63150,12 +63017,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Perform file operation in a bucket."
- }
- ]
+ "shortText": "Perform file operation in a bucket."
},
"parameters": [
{
@@ -63165,12 +63027,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The bucket id to operate on."
- }
- ]
+ "shortText": "The bucket id to operate on.\n"
},
"type": {
"type": "intrinsic",
@@ -63196,8 +63053,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 48,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L48"
+ "character": 8
}
],
"signatures": [
@@ -63208,12 +63064,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Retrieves the details of an existing Storage bucket."
- }
- ]
+ "shortText": "Retrieves the details of an existing Storage bucket."
},
"parameters": [
{
@@ -63223,12 +63074,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The unique identifier of the bucket you would like to retrieve."
- }
- ]
+ "shortText": "The unique identifier of the bucket you would like to retrieve.\n"
},
"type": {
"type": "intrinsic",
@@ -63261,8 +63107,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 52,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L52"
+ "character": 8
}
],
"type": {
@@ -63281,8 +63126,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 53,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L53"
+ "character": 8
}
],
"type": {
@@ -63294,15 +63138,11 @@
"groups": [
{
"title": "Properties",
- "children": [283, 284]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 51,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L51"
+ "kind": 1024,
+ "children": [
+ 283,
+ 284
+ ]
}
]
}
@@ -63326,8 +63166,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 56,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L56"
+ "character": 8
}
],
"type": {
@@ -63345,8 +63184,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 57,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L57"
+ "character": 8
}
],
"type": {
@@ -63359,15 +63197,11 @@
"groups": [
{
"title": "Properties",
- "children": [286, 287]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 55,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L55"
+ "kind": 1024,
+ "children": [
+ 286,
+ 287
+ ]
}
]
}
@@ -63375,9 +63209,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
},
"inheritedFrom": {
"type": "reference",
@@ -63402,8 +63236,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 21,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L21"
+ "character": 8
}
],
"signatures": [
@@ -63414,12 +63247,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Retrieves the details of all Storage buckets within an existing project."
- }
- ]
+ "shortText": "Retrieves the details of all Storage buckets within an existing project."
},
"type": {
"type": "reference",
@@ -63446,8 +63274,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 23,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L23"
+ "character": 8
}
],
"type": {
@@ -63469,8 +63296,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 24,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L24"
+ "character": 8
}
],
"type": {
@@ -63482,15 +63308,11 @@
"groups": [
{
"title": "Properties",
- "children": [274, 275]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 22,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L22"
+ "kind": 1024,
+ "children": [
+ 274,
+ 275
+ ]
}
]
}
@@ -63514,8 +63336,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 27,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L27"
+ "character": 8
}
],
"type": {
@@ -63533,8 +63354,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 28,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L28"
+ "character": 8
}
],
"type": {
@@ -63547,15 +63367,11 @@
"groups": [
{
"title": "Properties",
- "children": [277, 278]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 26,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L26"
+ "kind": 1024,
+ "children": [
+ 277,
+ 278
+ ]
}
]
}
@@ -63563,9 +63379,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
},
"inheritedFrom": {
"type": "reference",
@@ -63590,8 +63406,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 113,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L113"
+ "character": 8
}
],
"signatures": [
@@ -63602,12 +63417,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Updates a new Storage bucket"
- }
- ]
+ "shortText": "Updates a new Storage bucket"
},
"parameters": [
{
@@ -63617,12 +63427,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A unique identifier for the bucket you are updating."
- }
- ]
+ "shortText": "A unique identifier for the bucket you are updating.\n"
},
"type": {
"type": "intrinsic",
@@ -63654,8 +63459,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 115,
- "character": 15,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L115"
+ "character": 15
}
],
"type": {
@@ -63667,15 +63471,10 @@
"groups": [
{
"title": "Properties",
- "children": [305]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
- "character": 13,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L115"
+ "kind": 1024,
+ "children": [
+ 305
+ ]
}
]
}
@@ -63707,8 +63506,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 118,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118"
+ "character": 8
}
],
"type": {
@@ -63730,8 +63528,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 118,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118"
+ "character": 16
}
],
"type": {
@@ -63743,15 +63540,10 @@
"groups": [
{
"title": "Properties",
- "children": [309]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118"
+ "kind": 1024,
+ "children": [
+ 309
+ ]
}
]
}
@@ -63767,8 +63559,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 119,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L119"
+ "character": 8
}
],
"type": {
@@ -63780,15 +63571,11 @@
"groups": [
{
"title": "Properties",
- "children": [307, 310]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L117"
+ "kind": 1024,
+ "children": [
+ 307,
+ 310
+ ]
}
]
}
@@ -63812,8 +63599,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 122,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L122"
+ "character": 8
}
],
"type": {
@@ -63831,8 +63617,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 123,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L123"
+ "character": 8
}
],
"type": {
@@ -63845,15 +63630,11 @@
"groups": [
{
"title": "Properties",
- "children": [312, 313]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L121"
+ "kind": 1024,
+ "children": [
+ 312,
+ 313
+ ]
}
]
}
@@ -63861,9 +63642,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
},
"inheritedFrom": {
"type": "reference",
@@ -63882,23 +63663,39 @@
"groups": [
{
"title": "Constructors",
- "children": [246]
+ "kind": 512,
+ "children": [
+ 246
+ ]
},
{
"title": "Properties",
- "children": [266, 262, 261]
+ "kind": 1024,
+ "children": [
+ 266,
+ 262,
+ 261
+ ]
},
{
"title": "Methods",
- "children": [288, 325, 314, 258, 279, 271, 300]
+ "kind": 2048,
+ "children": [
+ 288,
+ 325,
+ 314,
+ 258,
+ 279,
+ 271,
+ 300
+ ]
}
],
"sources": [
{
"fileName": "src/StorageClient.ts",
"line": 5,
- "character": 13,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/StorageClient.ts#L5"
+ "character": 13
}
],
"extendedTypes": [
@@ -63926,8 +63723,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 4,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L4"
+ "character": 2
}
],
"signatures": [
@@ -63978,8 +63774,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 2,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L2"
+ "character": 12
}
],
"type": {
@@ -63992,27 +63787,32 @@
"groups": [
{
"title": "Constructors",
- "children": [371]
+ "kind": 512,
+ "children": [
+ 371
+ ]
},
{
"title": "Properties",
- "children": [374]
+ "kind": 1024,
+ "children": [
+ 374
+ ]
}
],
"sources": [
{
"fileName": "src/lib/errors.ts",
"line": 1,
- "character": 13,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L1"
+ "character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "name": "Error",
"qualifiedName": "Error",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Error"
}
],
"extendedBy": [
@@ -64045,8 +63845,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 35,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L35"
+ "character": 2
}
],
"signatures": [
@@ -64110,8 +63909,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 2,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L2"
+ "character": 12
}
],
"type": {
@@ -64135,8 +63933,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 33,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L33"
+ "character": 2
}
],
"type": {
@@ -64148,19 +63945,25 @@
"groups": [
{
"title": "Constructors",
- "children": [389]
+ "kind": 512,
+ "children": [
+ 389
+ ]
},
{
"title": "Properties",
- "children": [394, 393]
+ "kind": 1024,
+ "children": [
+ 394,
+ 393
+ ]
}
],
"sources": [
{
"fileName": "src/lib/errors.ts",
"line": 32,
- "character": 13,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L32"
+ "character": 13
}
],
"extendedTypes": [
@@ -64188,8 +63991,7 @@
{
"fileName": "src/lib/types.ts",
"line": 5,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L5"
+ "character": 2
}
],
"type": {
@@ -64207,8 +64009,7 @@
{
"fileName": "src/lib/types.ts",
"line": 2,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L2"
+ "character": 2
}
],
"type": {
@@ -64226,8 +64027,7 @@
{
"fileName": "src/lib/types.ts",
"line": 3,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L3"
+ "character": 2
}
],
"type": {
@@ -64245,8 +64045,7 @@
{
"fileName": "src/lib/types.ts",
"line": 4,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L4"
+ "character": 2
}
],
"type": {
@@ -64264,8 +64063,7 @@
{
"fileName": "src/lib/types.ts",
"line": 7,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L7"
+ "character": 2
}
],
"type": {
@@ -64283,8 +64081,7 @@
{
"fileName": "src/lib/types.ts",
"line": 6,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L6"
+ "character": 2
}
],
"type": {
@@ -64296,15 +64093,22 @@
"groups": [
{
"title": "Properties",
- "children": [340, 337, 338, 339, 342, 341]
+ "kind": 1024,
+ "children": [
+ 340,
+ 337,
+ 338,
+ 339,
+ 342,
+ 341
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 1,
- "character": 17,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L1"
+ "character": 17
}
]
},
@@ -64325,8 +64129,7 @@
{
"fileName": "src/lib/types.ts",
"line": 12,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L12"
+ "character": 2
}
],
"type": {
@@ -64344,8 +64147,7 @@
{
"fileName": "src/lib/types.ts",
"line": 19,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L19"
+ "character": 2
}
],
"type": {
@@ -64364,8 +64166,7 @@
{
"fileName": "src/lib/types.ts",
"line": 16,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L16"
+ "character": 2
}
],
"type": {
@@ -64383,8 +64184,7 @@
{
"fileName": "src/lib/types.ts",
"line": 14,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L14"
+ "character": 2
}
],
"type": {
@@ -64402,8 +64202,7 @@
{
"fileName": "src/lib/types.ts",
"line": 17,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L17"
+ "character": 2
}
],
"type": {
@@ -64421,8 +64220,7 @@
{
"fileName": "src/lib/types.ts",
"line": 18,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L18"
+ "character": 2
}
],
"type": {
@@ -64437,9 +64235,9 @@
"name": "any"
}
],
- "name": "Record",
"qualifiedName": "Record",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Record"
}
},
{
@@ -64452,8 +64250,7 @@
{
"fileName": "src/lib/types.ts",
"line": 11,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L11"
+ "character": 2
}
],
"type": {
@@ -64471,8 +64268,7 @@
{
"fileName": "src/lib/types.ts",
"line": 13,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L13"
+ "character": 2
}
],
"type": {
@@ -64490,8 +64286,7 @@
{
"fileName": "src/lib/types.ts",
"line": 15,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L15"
+ "character": 2
}
],
"type": {
@@ -64503,15 +64298,25 @@
"groups": [
{
"title": "Properties",
- "children": [345, 352, 349, 347, 350, 351, 344, 346, 348]
+ "kind": 1024,
+ "children": [
+ 345,
+ 352,
+ 349,
+ 347,
+ 350,
+ 351,
+ 344,
+ 346,
+ 348
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 10,
- "character": 17,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L10"
+ "character": 17
}
]
},
@@ -64534,8 +64339,7 @@
{
"fileName": "src/lib/types.ts",
"line": 28,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L28"
+ "character": 2
}
],
"type": {
@@ -64555,8 +64359,7 @@
{
"fileName": "src/lib/types.ts",
"line": 29,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L29"
+ "character": 2
}
],
"type": {
@@ -64576,8 +64379,7 @@
{
"fileName": "src/lib/types.ts",
"line": 30,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L30"
+ "character": 2
}
],
"type": {
@@ -64589,15 +64391,19 @@
"groups": [
{
"title": "Properties",
- "children": [357, 358, 359]
+ "kind": 1024,
+ "children": [
+ 357,
+ 358,
+ 359
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 27,
- "character": 17,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L27"
+ "character": 17
}
]
},
@@ -64618,8 +64424,7 @@
{
"fileName": "src/lib/types.ts",
"line": 49,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L49"
+ "character": 2
}
],
"type": {
@@ -64631,15 +64436,17 @@
"groups": [
{
"title": "Properties",
- "children": [366]
+ "kind": 1024,
+ "children": [
+ 366
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 48,
- "character": 17,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L48"
+ "character": 17
}
]
},
@@ -64659,19 +64466,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The number of files you want to be returned."
- }
- ]
+ "shortText": "The number of files you want to be returned."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 35,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L35"
+ "character": 2
}
],
"type": {
@@ -64688,19 +64489,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The starting position."
- }
- ]
+ "shortText": "The starting position."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 38,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L38"
+ "character": 2
}
],
"type": {
@@ -64717,19 +64512,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The search string to filter files by."
- }
- ]
+ "shortText": "The search string to filter files by."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 44,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L44"
+ "character": 2
}
],
"type": {
@@ -64746,19 +64535,13 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The column to sort by. Can be any column inside a FileObject."
- }
- ]
+ "shortText": "The column to sort by. Can be any column inside a FileObject."
},
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 41,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L41"
+ "character": 2
}
],
"type": {
@@ -64771,15 +64554,20 @@
"groups": [
{
"title": "Properties",
- "children": [361, 362, 364, 363]
+ "kind": 1024,
+ "children": [
+ 361,
+ 362,
+ 364,
+ 363
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 33,
- "character": 17,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L33"
+ "character": 17
}
]
},
@@ -64802,8 +64590,7 @@
{
"fileName": "src/lib/types.ts",
"line": 23,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L23"
+ "character": 2
}
],
"type": {
@@ -64823,8 +64610,7 @@
{
"fileName": "src/lib/types.ts",
"line": 24,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L24"
+ "character": 2
}
],
"type": {
@@ -64836,15 +64622,18 @@
"groups": [
{
"title": "Properties",
- "children": [354, 355]
+ "kind": 1024,
+ "children": [
+ 354,
+ 355
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
"line": 22,
- "character": 17,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L22"
+ "character": 17
}
]
},
@@ -64858,8 +64647,7 @@
{
"fileName": "src/lib/errors.ts",
"line": 10,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L10"
+ "character": 16
}
],
"signatures": [
@@ -64899,23 +64687,39 @@
"groups": [
{
"title": "Classes",
- "children": [375, 245, 370, 388]
+ "kind": 128,
+ "children": [
+ 375,
+ 245,
+ 370,
+ 388
+ ]
},
{
"title": "Interfaces",
- "children": [336, 343, 356, 365, 360, 353]
+ "kind": 256,
+ "children": [
+ 336,
+ 343,
+ 356,
+ 365,
+ 360,
+ 353
+ ]
},
{
"title": "Functions",
- "children": [367]
+ "kind": 64,
+ "children": [
+ 367
+ ]
}
],
"sources": [
{
"fileName": "src/index.ts",
"line": 1,
- "character": 0,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/index.ts#L1"
+ "character": 0
}
]
},
@@ -64943,8 +64747,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 12,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L12"
+ "character": 2
}
],
"signatures": [
@@ -64980,14 +64783,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 12,
- "character": 36,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L12"
- }
- ],
"indexSignature": {
"id": 9,
"name": "__index",
@@ -65031,13 +64826,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 17731,
- "character": 17
- }
- ],
"signatures": [
{
"id": 13,
@@ -65054,9 +64842,9 @@
"flags": {},
"type": {
"type": "reference",
- "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInfo"
}
},
{
@@ -65069,9 +64857,9 @@
},
"type": {
"type": "reference",
- "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInit"
}
}
],
@@ -65080,14 +64868,14 @@
"typeArguments": [
{
"type": "reference",
- "name": "Response",
"qualifiedName": "Response",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Response"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -65115,8 +64903,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 10,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L10"
+ "character": 12
}
],
"type": {
@@ -65127,13 +64914,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 17731,
- "character": 17
- }
- ],
"signatures": [
{
"id": 23,
@@ -65150,9 +64930,9 @@
"flags": {},
"type": {
"type": "reference",
- "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInfo"
}
},
{
@@ -65165,9 +64945,9 @@
},
"type": {
"type": "reference",
- "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInit"
}
}
],
@@ -65176,14 +64956,14 @@
"typeArguments": [
{
"type": "reference",
- "name": "Response",
"qualifiedName": "Response",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Response"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -65202,8 +64982,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 9,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L9"
+ "character": 12
}
],
"type": {
@@ -65214,14 +64993,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 21,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L9"
- }
- ],
"indexSignature": {
"id": 19,
"name": "__index",
@@ -65260,8 +65031,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 8,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L8"
+ "character": 12
}
],
"type": {
@@ -65279,8 +65049,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 78,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L78"
+ "character": 8
}
],
"signatures": [
@@ -65291,23 +65060,8 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a new Storage bucket"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "newly created bucket id"
- }
- ]
- }
- ]
+ "shortText": "Creates a new Storage bucket",
+ "returns": "newly created bucket id\n"
},
"parameters": [
{
@@ -65317,12 +65071,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A unique identifier for the bucket you are creating."
- }
- ]
+ "shortText": "A unique identifier for the bucket you are creating."
},
"type": {
"type": "intrinsic",
@@ -65354,8 +65103,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 80,
- "character": 15,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L80"
+ "character": 15
}
],
"type": {
@@ -65367,15 +65115,10 @@
"groups": [
{
"title": "Properties",
- "children": [48]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
- "character": 13,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L80"
+ "kind": 1024,
+ "children": [
+ 48
+ ]
}
]
}
@@ -65408,8 +65151,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 83,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L83"
+ "character": 8
}
],
"type": {
@@ -65425,9 +65167,9 @@
"value": "name"
}
],
- "name": "Pick",
"qualifiedName": "Pick",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Pick"
}
},
{
@@ -65440,8 +65182,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 84,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L84"
+ "character": 8
}
],
"type": {
@@ -65453,15 +65194,11 @@
"groups": [
{
"title": "Properties",
- "children": [50, 51]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 82,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L82"
+ "kind": 1024,
+ "children": [
+ 50,
+ 51
+ ]
}
]
}
@@ -65485,8 +65222,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 87,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L87"
+ "character": 8
}
],
"type": {
@@ -65504,8 +65240,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 88,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L88"
+ "character": 8
}
],
"type": {
@@ -65518,15 +65253,11 @@
"groups": [
{
"title": "Properties",
- "children": [53, 54]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 86,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L86"
+ "kind": 1024,
+ "children": [
+ 53,
+ 54
+ ]
}
]
}
@@ -65534,9 +65265,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -65551,8 +65282,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 183,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L183"
+ "character": 8
}
],
"signatures": [
@@ -65563,20 +65293,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first "
- },
- {
- "kind": "code",
- "text": "`empty()`"
- },
- {
- "kind": "text",
- "text": " the bucket."
- }
- ]
+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."
},
"parameters": [
{
@@ -65586,12 +65303,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The unique identifier of the bucket you would like to delete."
- }
- ]
+ "shortText": "The unique identifier of the bucket you would like to delete.\n"
},
"type": {
"type": "intrinsic",
@@ -65624,8 +65336,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 187,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187"
+ "character": 8
}
],
"type": {
@@ -65647,8 +65358,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 187,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187"
+ "character": 16
}
],
"type": {
@@ -65660,15 +65370,10 @@
"groups": [
{
"title": "Properties",
- "children": [86]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187"
+ "kind": 1024,
+ "children": [
+ 86
+ ]
}
]
}
@@ -65684,8 +65389,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 188,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L188"
+ "character": 8
}
],
"type": {
@@ -65697,15 +65401,11 @@
"groups": [
{
"title": "Properties",
- "children": [84, 87]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 186,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L186"
+ "kind": 1024,
+ "children": [
+ 84,
+ 87
+ ]
}
]
}
@@ -65729,8 +65429,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 191,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L191"
+ "character": 8
}
],
"type": {
@@ -65748,8 +65447,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 192,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L192"
+ "character": 8
}
],
"type": {
@@ -65762,15 +65460,11 @@
"groups": [
{
"title": "Properties",
- "children": [89, 90]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L190"
+ "kind": 1024,
+ "children": [
+ 89,
+ 90
+ ]
}
]
}
@@ -65778,9 +65472,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -65795,8 +65489,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 148,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L148"
+ "character": 8
}
],
"signatures": [
@@ -65807,12 +65500,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Removes all objects inside a single bucket."
- }
- ]
+ "shortText": "Removes all objects inside a single bucket."
},
"parameters": [
{
@@ -65822,12 +65510,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The unique identifier of the bucket you would like to empty."
- }
- ]
+ "shortText": "The unique identifier of the bucket you would like to empty.\n"
},
"type": {
"type": "intrinsic",
@@ -65860,8 +65543,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 152,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152"
+ "character": 8
}
],
"type": {
@@ -65883,8 +65565,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 152,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152"
+ "character": 16
}
],
"type": {
@@ -65896,15 +65577,10 @@
"groups": [
{
"title": "Properties",
- "children": [75]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152"
+ "kind": 1024,
+ "children": [
+ 75
+ ]
}
]
}
@@ -65920,8 +65596,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 153,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L153"
+ "character": 8
}
],
"type": {
@@ -65933,15 +65608,11 @@
"groups": [
{
"title": "Properties",
- "children": [73, 76]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 151,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L151"
+ "kind": 1024,
+ "children": [
+ 73,
+ 76
+ ]
}
]
}
@@ -65965,8 +65636,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 156,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L156"
+ "character": 8
}
],
"type": {
@@ -65984,8 +65654,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 157,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L157"
+ "character": 8
}
],
"type": {
@@ -65998,15 +65667,11 @@
"groups": [
{
"title": "Properties",
- "children": [78, 79]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L155"
+ "kind": 1024,
+ "children": [
+ 78,
+ 79
+ ]
}
]
}
@@ -66014,9 +65679,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -66031,8 +65696,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 48,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L48"
+ "character": 8
}
],
"signatures": [
@@ -66043,12 +65707,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Retrieves the details of an existing Storage bucket."
- }
- ]
+ "shortText": "Retrieves the details of an existing Storage bucket."
},
"parameters": [
{
@@ -66058,12 +65717,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The unique identifier of the bucket you would like to retrieve."
- }
- ]
+ "shortText": "The unique identifier of the bucket you would like to retrieve.\n"
},
"type": {
"type": "intrinsic",
@@ -66096,8 +65750,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 52,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L52"
+ "character": 8
}
],
"type": {
@@ -66116,8 +65769,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 53,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L53"
+ "character": 8
}
],
"type": {
@@ -66129,15 +65781,11 @@
"groups": [
{
"title": "Properties",
- "children": [38, 39]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 51,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L51"
+ "kind": 1024,
+ "children": [
+ 38,
+ 39
+ ]
}
]
}
@@ -66161,8 +65809,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 56,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L56"
+ "character": 8
}
],
"type": {
@@ -66180,8 +65827,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 57,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L57"
+ "character": 8
}
],
"type": {
@@ -66194,15 +65840,11 @@
"groups": [
{
"title": "Properties",
- "children": [41, 42]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 55,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L55"
+ "kind": 1024,
+ "children": [
+ 41,
+ 42
+ ]
}
]
}
@@ -66210,9 +65852,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -66227,8 +65869,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 21,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L21"
+ "character": 8
}
],
"signatures": [
@@ -66239,12 +65880,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Retrieves the details of all Storage buckets within an existing project."
- }
- ]
+ "shortText": "Retrieves the details of all Storage buckets within an existing project."
},
"type": {
"type": "reference",
@@ -66271,8 +65907,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 23,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L23"
+ "character": 8
}
],
"type": {
@@ -66294,8 +65929,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 24,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L24"
+ "character": 8
}
],
"type": {
@@ -66307,15 +65941,11 @@
"groups": [
{
"title": "Properties",
- "children": [29, 30]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 22,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L22"
+ "kind": 1024,
+ "children": [
+ 29,
+ 30
+ ]
}
]
}
@@ -66339,8 +65969,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 27,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L27"
+ "character": 8
}
],
"type": {
@@ -66358,8 +65987,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 28,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L28"
+ "character": 8
}
],
"type": {
@@ -66372,15 +66000,11 @@
"groups": [
{
"title": "Properties",
- "children": [32, 33]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 26,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L26"
+ "kind": 1024,
+ "children": [
+ 32,
+ 33
+ ]
}
]
}
@@ -66388,9 +66012,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -66405,8 +66029,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 113,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L113"
+ "character": 8
}
],
"signatures": [
@@ -66417,12 +66040,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Updates a new Storage bucket"
- }
- ]
+ "shortText": "Updates a new Storage bucket"
},
"parameters": [
{
@@ -66432,12 +66050,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A unique identifier for the bucket you are updating."
- }
- ]
+ "shortText": "A unique identifier for the bucket you are updating.\n"
},
"type": {
"type": "intrinsic",
@@ -66469,8 +66082,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 115,
- "character": 15,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L115"
+ "character": 15
}
],
"type": {
@@ -66482,15 +66094,10 @@
"groups": [
{
"title": "Properties",
- "children": [60]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
- "character": 13,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L115"
+ "kind": 1024,
+ "children": [
+ 60
+ ]
}
]
}
@@ -66522,8 +66129,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 118,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118"
+ "character": 8
}
],
"type": {
@@ -66545,8 +66151,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 118,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118"
+ "character": 16
}
],
"type": {
@@ -66558,15 +66163,10 @@
"groups": [
{
"title": "Properties",
- "children": [64]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118"
+ "kind": 1024,
+ "children": [
+ 64
+ ]
}
]
}
@@ -66582,8 +66182,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 119,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L119"
+ "character": 8
}
],
"type": {
@@ -66595,15 +66194,11 @@
"groups": [
{
"title": "Properties",
- "children": [62, 65]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L117"
+ "kind": 1024,
+ "children": [
+ 62,
+ 65
+ ]
}
]
}
@@ -66627,8 +66222,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 122,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L122"
+ "character": 8
}
],
"type": {
@@ -66646,8 +66240,7 @@
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 123,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L123"
+ "character": 8
}
],
"type": {
@@ -66660,15 +66253,11 @@
"groups": [
{
"title": "Properties",
- "children": [67, 68]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L121"
+ "kind": 1024,
+ "children": [
+ 67,
+ 68
+ ]
}
]
}
@@ -66676,9 +66265,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -66687,23 +66276,38 @@
"groups": [
{
"title": "Constructors",
- "children": [4]
+ "kind": 512,
+ "children": [
+ 4
+ ]
},
{
"title": "Properties",
- "children": [21, 17, 16]
+ "kind": 1024,
+ "children": [
+ 21,
+ 17,
+ 16
+ ]
},
{
"title": "Methods",
- "children": [43, 80, 69, 34, 26, 55]
+ "kind": 2048,
+ "children": [
+ 43,
+ 80,
+ 69,
+ 34,
+ 26,
+ 55
+ ]
}
],
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 7,
- "character": 21,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L7"
+ "character": 21
}
],
"extendedBy": [
@@ -66718,15 +66322,17 @@
"groups": [
{
"title": "Classes",
- "children": [3]
+ "kind": 128,
+ "children": [
+ 3
+ ]
}
],
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
"line": 1,
- "character": 0,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L1"
+ "character": 0
}
]
},
@@ -66754,8 +66360,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 27,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L27"
+ "character": 2
}
],
"signatures": [
@@ -66791,14 +66396,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 29,
- "character": 13,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L29"
- }
- ],
"indexSignature": {
"id": 98,
"name": "__index",
@@ -66855,13 +66452,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 17731,
- "character": 17
- }
- ],
"signatures": [
{
"id": 103,
@@ -66878,9 +66468,9 @@
"flags": {},
"type": {
"type": "reference",
- "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInfo"
}
},
{
@@ -66893,9 +66483,9 @@
},
"type": {
"type": "reference",
- "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInit"
}
}
],
@@ -66904,14 +66494,14 @@
"typeArguments": [
{
"type": "reference",
- "name": "Response",
"qualifiedName": "Response",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Response"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -66940,8 +66530,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 24,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L24"
+ "character": 12
}
],
"type": {
@@ -66961,8 +66550,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 25,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L25"
+ "character": 12
}
],
"type": {
@@ -66973,13 +66561,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 17731,
- "character": 17
- }
- ],
"signatures": [
{
"id": 114,
@@ -66996,9 +66577,9 @@
"flags": {},
"type": {
"type": "reference",
- "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInfo"
}
},
{
@@ -67011,9 +66592,9 @@
},
"type": {
"type": "reference",
- "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript"
+ "package": "typescript",
+ "name": "RequestInit"
}
}
],
@@ -67022,14 +66603,14 @@
"typeArguments": [
{
"type": "reference",
- "name": "Response",
"qualifiedName": "Response",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Response"
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -67048,8 +66629,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 23,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L23"
+ "character": 12
}
],
"type": {
@@ -67060,14 +66640,6 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 23,
- "character": 21,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L23"
- }
- ],
"indexSignature": {
"id": 109,
"name": "__index",
@@ -67106,8 +66678,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 22,
- "character": 12,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L22"
+ "character": 12
}
],
"type": {
@@ -67125,8 +66696,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 238,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L238"
+ "character": 8
}
],
"signatures": [
@@ -67137,12 +66707,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Copies an existing file."
- }
- ]
+ "shortText": "Copies an existing file."
},
"parameters": [
{
@@ -67152,20 +66717,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The original file path, including the current file name. For example "
- },
- {
- "kind": "code",
- "text": "`folder/image.png`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ]
+ "shortText": "The original file path, including the current file name. For example `folder/image.png`."
},
"type": {
"type": "intrinsic",
@@ -67179,20 +66731,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The new file path, including the new file name. For example "
- },
- {
- "kind": "code",
- "text": "`folder/image-copy.png`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ]
+ "shortText": "The new file path, including the new file name. For example `folder/image-copy.png`.\n"
},
"type": {
"type": "intrinsic",
@@ -67225,8 +66764,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 243,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L243"
+ "character": 8
}
],
"type": {
@@ -67248,8 +66786,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 243,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L243"
+ "character": 16
}
],
"type": {
@@ -67261,15 +66798,10 @@
"groups": [
{
"title": "Properties",
- "children": [176]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L243"
+ "kind": 1024,
+ "children": [
+ 176
+ ]
}
]
}
@@ -67285,8 +66817,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 244,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L244"
+ "character": 8
}
],
"type": {
@@ -67298,15 +66829,11 @@
"groups": [
{
"title": "Properties",
- "children": [174, 177]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 242,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L242"
+ "kind": 1024,
+ "children": [
+ 174,
+ 177
+ ]
}
]
}
@@ -67330,8 +66857,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 247,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L247"
+ "character": 8
}
],
"type": {
@@ -67349,8 +66875,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 248,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L248"
+ "character": 8
}
],
"type": {
@@ -67363,15 +66888,11 @@
"groups": [
{
"title": "Properties",
- "children": [179, 180]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 246,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L246"
+ "kind": 1024,
+ "children": [
+ 179,
+ 180
+ ]
}
]
}
@@ -67379,9 +66900,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -67396,8 +66917,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 274,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L274"
+ "character": 8
}
],
"signatures": [
@@ -67408,12 +66928,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Create signed URL to download file without requiring permissions. This URL can be valid for a set number of seconds."
- }
- ]
+ "shortText": "Create signed URL to download file without requiring permissions. This URL can be valid for a set number of seconds."
},
"parameters": [
{
@@ -67423,20 +66938,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The file path to be downloaded, including the current file name. For example "
- },
- {
- "kind": "code",
- "text": "`folder/image.png`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ]
+ "shortText": "The file path to be downloaded, including the current file name. For example `folder/image.png`."
},
"type": {
"type": "intrinsic",
@@ -67450,20 +66952,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The number of seconds until the signed URL expires. For example, "
- },
- {
- "kind": "code",
- "text": "`60`"
- },
- {
- "kind": "text",
- "text": " for a URL which is valid for one minute."
- }
- ]
+ "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n"
},
"type": {
"type": "intrinsic",
@@ -67496,8 +66985,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 279,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L279"
+ "character": 8
}
],
"type": {
@@ -67519,8 +67007,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 279,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L279"
+ "character": 16
}
],
"type": {
@@ -67532,15 +67019,10 @@
"groups": [
{
"title": "Properties",
- "children": [188]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L279"
+ "kind": 1024,
+ "children": [
+ 188
+ ]
}
]
}
@@ -67556,8 +67038,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 280,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L280"
+ "character": 8
}
],
"type": {
@@ -67569,15 +67050,11 @@
"groups": [
{
"title": "Properties",
- "children": [186, 189]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 278,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L278"
+ "kind": 1024,
+ "children": [
+ 186,
+ 189
+ ]
}
]
}
@@ -67601,8 +67078,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 283,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L283"
+ "character": 8
}
],
"type": {
@@ -67620,8 +67096,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 284,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L284"
+ "character": 8
}
],
"type": {
@@ -67634,15 +67109,11 @@
"groups": [
{
"title": "Properties",
- "children": [191, 192]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 282,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L282"
+ "kind": 1024,
+ "children": [
+ 191,
+ 192
+ ]
}
]
}
@@ -67650,9 +67121,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -67667,8 +67138,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 313,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L313"
+ "character": 8
}
],
"signatures": [
@@ -67679,12 +67149,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds."
- }
- ]
+ "shortText": "Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds."
},
"parameters": [
{
@@ -67694,20 +67159,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The file paths to be downloaded, including the current file names. For example "
- },
- {
- "kind": "code",
- "text": "`['folder/image.png', 'folder2/image2.png']`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ]
+ "shortText": "The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`."
},
"type": {
"type": "array",
@@ -67724,20 +67176,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The number of seconds until the signed URLs expire. For example, "
- },
- {
- "kind": "code",
- "text": "`60`"
- },
- {
- "kind": "text",
- "text": " for URLs which are valid for one minute."
- }
- ]
+ "shortText": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.\n"
},
"type": {
"type": "intrinsic",
@@ -67770,8 +67209,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 318,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318"
+ "character": 8
}
],
"type": {
@@ -67795,8 +67233,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 318,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318"
+ "character": 16
}
],
"type": {
@@ -67823,8 +67260,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 318,
- "character": 38,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318"
+ "character": 38
}
],
"type": {
@@ -67851,8 +67287,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 318,
- "character": 59,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318"
+ "character": 59
}
],
"type": {
@@ -67864,15 +67299,12 @@
"groups": [
{
"title": "Properties",
- "children": [200, 201, 202]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318"
+ "kind": 1024,
+ "children": [
+ 200,
+ 201,
+ 202
+ ]
}
]
}
@@ -67889,8 +67321,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 319,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L319"
+ "character": 8
}
],
"type": {
@@ -67902,15 +67333,11 @@
"groups": [
{
"title": "Properties",
- "children": [198, 203]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 317,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L317"
+ "kind": 1024,
+ "children": [
+ 198,
+ 203
+ ]
}
]
}
@@ -67934,8 +67361,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 322,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L322"
+ "character": 8
}
],
"type": {
@@ -67953,8 +67379,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 323,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L323"
+ "character": 8
}
],
"type": {
@@ -67967,15 +67392,11 @@
"groups": [
{
"title": "Properties",
- "children": [205, 206]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L321"
+ "kind": 1024,
+ "children": [
+ 205,
+ 206
+ ]
}
]
}
@@ -67983,9 +67404,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -68000,8 +67421,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 354,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L354"
+ "character": 8
}
],
"signatures": [
@@ -68012,12 +67432,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Downloads a file."
- }
- ]
+ "shortText": "Downloads a file."
},
"parameters": [
{
@@ -68027,20 +67442,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The file path to be downloaded, including the path and file name. For example "
- },
- {
- "kind": "code",
- "text": "`folder/image.png`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ]
+ "shortText": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"
},
"type": {
"type": "intrinsic",
@@ -68073,15 +67475,14 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 358,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L358"
+ "character": 8
}
],
"type": {
"type": "reference",
- "name": "Blob",
"qualifiedName": "Blob",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Blob"
}
},
{
@@ -68094,8 +67495,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 359,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L359"
+ "character": 8
}
],
"type": {
@@ -68107,15 +67507,11 @@
"groups": [
{
"title": "Properties",
- "children": [211, 212]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 357,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L357"
+ "kind": 1024,
+ "children": [
+ 211,
+ 212
+ ]
}
]
}
@@ -68139,8 +67535,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 362,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L362"
+ "character": 8
}
],
"type": {
@@ -68158,8 +67553,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 363,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L363"
+ "character": 8
}
],
"type": {
@@ -68172,15 +67566,11 @@
"groups": [
{
"title": "Properties",
- "children": [214, 215]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 361,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L361"
+ "kind": 1024,
+ "children": [
+ 214,
+ 215
+ ]
}
]
}
@@ -68188,9 +67578,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -68205,8 +67595,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 388,
- "character": 2,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L388"
+ "character": 2
}
],
"signatures": [
@@ -68217,12 +67606,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Retrieve URLs for assets in public buckets and encapsulates it in a return object"
- }
- ]
+ "shortText": "Retrieve URLs for assets in public buckets and encapsulates it in a return object"
},
"parameters": [
{
@@ -68232,20 +67616,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The file path to be downloaded, including the path and file name. For example "
- },
- {
- "kind": "code",
- "text": "`folder/image.png`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ]
+ "shortText": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"
},
"type": {
"type": "intrinsic",
@@ -68270,8 +67641,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 496,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L496"
+ "character": 8
}
],
"signatures": [
@@ -68282,12 +67652,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Lists all the files within a bucket."
- }
- ]
+ "shortText": "Lists all the files within a bucket."
},
"parameters": [
{
@@ -68299,12 +67664,7 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The folder path."
- }
- ]
+ "shortText": "The folder path."
},
"type": {
"type": "intrinsic",
@@ -68320,44 +67680,7 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Search options, including "
- },
- {
- "kind": "code",
- "text": "`limit`"
- },
- {
- "kind": "text",
- "text": ", "
- },
- {
- "kind": "code",
- "text": "`offset`"
- },
- {
- "kind": "text",
- "text": ", "
- },
- {
- "kind": "code",
- "text": "`sortBy`"
- },
- {
- "kind": "text",
- "text": ", and "
- },
- {
- "kind": "code",
- "text": "`search`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ]
+ "shortText": "Search options, including `limit`, `offset`, `sortBy`, and `search`."
},
"type": {
"type": "reference",
@@ -68374,20 +67697,7 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Fetch parameters, currently only supports "
- },
- {
- "kind": "code",
- "text": "`signal`"
- },
- {
- "kind": "text",
- "text": ", which is an AbortController's signal"
- }
- ]
+ "shortText": "Fetch parameters, currently only supports `signal`, which is an AbortController's signal\n"
},
"type": {
"type": "reference",
@@ -68420,8 +67730,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 502,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L502"
+ "character": 8
}
],
"type": {
@@ -68443,8 +67752,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 503,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L503"
+ "character": 8
}
],
"type": {
@@ -68456,15 +67764,11 @@
"groups": [
{
"title": "Properties",
- "children": [234, 235]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 501,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L501"
+ "kind": 1024,
+ "children": [
+ 234,
+ 235
+ ]
}
]
}
@@ -68488,8 +67792,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 506,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L506"
+ "character": 8
}
],
"type": {
@@ -68507,8 +67810,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 507,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L507"
+ "character": 8
}
],
"type": {
@@ -68521,15 +67823,11 @@
"groups": [
{
"title": "Properties",
- "children": [237, 238]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 505,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L505"
+ "kind": 1024,
+ "children": [
+ 237,
+ 238
+ ]
}
]
}
@@ -68537,9 +67835,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -68554,8 +67852,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 202,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L202"
+ "character": 8
}
],
"signatures": [
@@ -68566,12 +67863,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Moves an existing file."
- }
- ]
+ "shortText": "Moves an existing file."
},
"parameters": [
{
@@ -68581,20 +67873,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The original file path, including the current file name. For example "
- },
- {
- "kind": "code",
- "text": "`folder/image.png`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ]
+ "shortText": "The original file path, including the current file name. For example `folder/image.png`."
},
"type": {
"type": "intrinsic",
@@ -68608,20 +67887,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The new file path, including the new file name. For example "
- },
- {
- "kind": "code",
- "text": "`folder/image-new.png`"
- },
- {
- "kind": "text",
- "text": "."
- }
- ]
+ "shortText": "The new file path, including the new file name. For example `folder/image-new.png`.\n"
},
"type": {
"type": "intrinsic",
@@ -68654,8 +67920,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 207,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L207"
+ "character": 8
}
],
"type": {
@@ -68677,8 +67942,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 207,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L207"
+ "character": 16
}
],
"type": {
@@ -68690,15 +67954,10 @@
"groups": [
{
"title": "Properties",
- "children": [164]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L207"
+ "kind": 1024,
+ "children": [
+ 164
+ ]
}
]
}
@@ -68714,8 +67973,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 208,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L208"
+ "character": 8
}
],
"type": {
@@ -68727,15 +67985,11 @@
"groups": [
{
"title": "Properties",
- "children": [162, 165]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 206,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L206"
+ "kind": 1024,
+ "children": [
+ 162,
+ 165
+ ]
}
]
}
@@ -68759,8 +68013,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 211,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L211"
+ "character": 8
}
],
"type": {
@@ -68778,8 +68031,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 212,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L212"
+ "character": 8
}
],
"type": {
@@ -68792,15 +68044,11 @@
"groups": [
{
"title": "Properties",
- "children": [167, 168]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 210,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L210"
+ "kind": 1024,
+ "children": [
+ 167,
+ 168
+ ]
}
]
}
@@ -68808,9 +68056,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -68825,8 +68073,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 398,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L398"
+ "character": 8
}
],
"signatures": [
@@ -68837,12 +68084,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Deletes files within the same bucket"
- }
- ]
+ "shortText": "Deletes files within the same bucket"
},
"parameters": [
{
@@ -68852,20 +68094,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "An array of files to be deleted, including the path and file name. For example ["
- },
- {
- "kind": "code",
- "text": "`folder/image.png`"
- },
- {
- "kind": "text",
- "text": "]."
- }
- ]
+ "shortText": "An array of files to be deleted, including the path and file name. For example [`folder/image.png`].\n"
},
"type": {
"type": "array",
@@ -68901,8 +68130,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 402,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L402"
+ "character": 8
}
],
"type": {
@@ -68924,8 +68152,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 403,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L403"
+ "character": 8
}
],
"type": {
@@ -68937,15 +68164,11 @@
"groups": [
{
"title": "Properties",
- "children": [223, 224]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 401,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L401"
+ "kind": 1024,
+ "children": [
+ 223,
+ 224
+ ]
}
]
}
@@ -68969,8 +68192,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 406,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L406"
+ "character": 8
}
],
"type": {
@@ -68988,8 +68210,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 407,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L407"
+ "character": 8
}
],
"type": {
@@ -69002,15 +68223,11 @@
"groups": [
{
"title": "Properties",
- "children": [226, 227]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 405,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L405"
+ "kind": 1024,
+ "children": [
+ 226,
+ 227
+ ]
}
]
}
@@ -69018,9 +68235,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -69035,8 +68252,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 169,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L169"
+ "character": 8
}
],
"signatures": [
@@ -69047,12 +68263,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Replaces an existing file at the specified path with a new one."
- }
- ]
+ "shortText": "Replaces an existing file at the specified path with a new one."
},
"parameters": [
{
@@ -69062,20 +68273,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The relative file path. Should be of the format "
- },
- {
- "kind": "code",
- "text": "`folder/subfolder/filename.png`"
- },
- {
- "kind": "text",
- "text": ". The bucket must already exist before attempting to upload."
- }
- ]
+ "shortText": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
},
"type": {
"type": "intrinsic",
@@ -69089,12 +68287,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The body of the file to be stored in the bucket."
- }
- ]
+ "shortText": "The body of the file to be stored in the bucket."
},
"type": {
"type": "union",
@@ -69105,65 +68298,65 @@
},
{
"type": "reference",
- "name": "ArrayBuffer",
"qualifiedName": "ArrayBuffer",
- "package": "typescript"
+ "package": "typescript",
+ "name": "ArrayBuffer"
},
{
"type": "reference",
- "name": "ArrayBufferView",
"qualifiedName": "ArrayBufferView",
- "package": "typescript"
+ "package": "typescript",
+ "name": "ArrayBufferView"
},
{
"type": "reference",
- "name": "Blob",
"qualifiedName": "Blob",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Blob"
},
{
"type": "reference",
- "name": "Buffer",
"qualifiedName": "Buffer",
- "package": "@types/node"
+ "package": "@types/node",
+ "name": "Buffer"
},
{
"type": "reference",
- "name": "File",
"qualifiedName": "File",
- "package": "typescript"
+ "package": "typescript",
+ "name": "File"
},
{
"type": "reference",
- "name": "FormData",
"qualifiedName": "FormData",
- "package": "typescript"
+ "package": "typescript",
+ "name": "FormData"
},
{
"type": "reference",
- "name": "ReadableStream",
"qualifiedName": "NodeJS.ReadableStream",
- "package": "@types/node"
+ "package": "@types/node",
+ "name": "ReadableStream"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "name": "Uint8Array",
"qualifiedName": "Uint8Array",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Uint8Array"
}
],
- "name": "ReadableStream",
"qualifiedName": "ReadableStream",
- "package": "typescript"
+ "package": "typescript",
+ "name": "ReadableStream"
},
{
"type": "reference",
- "name": "URLSearchParams",
"qualifiedName": "URLSearchParams",
- "package": "typescript"
+ "package": "typescript",
+ "name": "URLSearchParams"
}
]
}
@@ -69177,92 +68370,7 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "HTTP headers.\n"
- },
- {
- "kind": "code",
- "text": "`cacheControl`"
- },
- {
- "kind": "text",
- "text": ": string, the "
- },
- {
- "kind": "code",
- "text": "`Cache-Control: max-age=`"
- },
- {
- "kind": "text",
- "text": " seconds value.\n"
- },
- {
- "kind": "code",
- "text": "`contentType`"
- },
- {
- "kind": "text",
- "text": ": string, the "
- },
- {
- "kind": "code",
- "text": "`Content-Type`"
- },
- {
- "kind": "text",
- "text": " header value. Should be specified if using a "
- },
- {
- "kind": "code",
- "text": "`fileBody`"
- },
- {
- "kind": "text",
- "text": " that is neither "
- },
- {
- "kind": "code",
- "text": "`Blob`"
- },
- {
- "kind": "text",
- "text": " nor "
- },
- {
- "kind": "code",
- "text": "`File`"
- },
- {
- "kind": "text",
- "text": " nor "
- },
- {
- "kind": "code",
- "text": "`FormData`"
- },
- {
- "kind": "text",
- "text": ", otherwise will default to "
- },
- {
- "kind": "code",
- "text": "`text/plain;charset=UTF-8`"
- },
- {
- "kind": "text",
- "text": ".\n"
- },
- {
- "kind": "code",
- "text": "`upsert`"
- },
- {
- "kind": "text",
- "text": ": boolean, whether to perform an upsert."
- }
- ]
+ "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
},
"type": {
"type": "reference",
@@ -69296,8 +68404,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 185,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L185"
+ "character": 8
}
],
"type": {
@@ -69319,8 +68426,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 185,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L185"
+ "character": 16
}
],
"type": {
@@ -69332,15 +68438,10 @@
"groups": [
{
"title": "Properties",
- "children": [152]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L185"
+ "kind": 1024,
+ "children": [
+ 152
+ ]
}
]
}
@@ -69356,8 +68457,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 186,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L186"
+ "character": 8
}
],
"type": {
@@ -69369,15 +68469,11 @@
"groups": [
{
"title": "Properties",
- "children": [150, 153]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 184,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L184"
+ "kind": 1024,
+ "children": [
+ 150,
+ 153
+ ]
}
]
}
@@ -69401,8 +68497,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 189,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L189"
+ "character": 8
}
],
"type": {
@@ -69420,8 +68515,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 190,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L190"
+ "character": 8
}
],
"type": {
@@ -69434,15 +68528,11 @@
"groups": [
{
"title": "Properties",
- "children": [155, 156]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 188,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L188"
+ "kind": 1024,
+ "children": [
+ 155,
+ 156
+ ]
}
]
}
@@ -69450,9 +68540,9 @@
]
}
],
- "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Promise"
}
}
]
@@ -69467,8 +68557,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 132,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L132"
+ "character": 8
}
],
"signatures": [
@@ -69479,12 +68568,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Uploads a file to an existing bucket."
- }
- ]
+ "shortText": "Uploads a file to an existing bucket."
},
"parameters": [
{
@@ -69494,20 +68578,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The relative file path. Should be of the format "
- },
- {
- "kind": "code",
- "text": "`folder/subfolder/filename.png`"
- },
- {
- "kind": "text",
- "text": ". The bucket must already exist before attempting to upload."
- }
- ]
+ "shortText": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
},
"type": {
"type": "intrinsic",
@@ -69521,12 +68592,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The body of the file to be stored in the bucket."
- }
- ]
+ "shortText": "The body of the file to be stored in the bucket."
},
"type": {
"type": "union",
@@ -69537,65 +68603,65 @@
},
{
"type": "reference",
- "name": "ArrayBuffer",
"qualifiedName": "ArrayBuffer",
- "package": "typescript"
+ "package": "typescript",
+ "name": "ArrayBuffer"
},
{
"type": "reference",
- "name": "ArrayBufferView",
"qualifiedName": "ArrayBufferView",
- "package": "typescript"
+ "package": "typescript",
+ "name": "ArrayBufferView"
},
{
"type": "reference",
- "name": "Blob",
"qualifiedName": "Blob",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Blob"
},
{
"type": "reference",
- "name": "Buffer",
"qualifiedName": "Buffer",
- "package": "@types/node"
+ "package": "@types/node",
+ "name": "Buffer"
},
{
"type": "reference",
- "name": "File",
"qualifiedName": "File",
- "package": "typescript"
+ "package": "typescript",
+ "name": "File"
},
{
"type": "reference",
- "name": "FormData",
"qualifiedName": "FormData",
- "package": "typescript"
+ "package": "typescript",
+ "name": "FormData"
},
{
"type": "reference",
- "name": "ReadableStream",
"qualifiedName": "NodeJS.ReadableStream",
- "package": "@types/node"
+ "package": "@types/node",
+ "name": "ReadableStream"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "name": "Uint8Array",
"qualifiedName": "Uint8Array",
- "package": "typescript"
+ "package": "typescript",
+ "name": "Uint8Array"
}
],
- "name": "ReadableStream",
"qualifiedName": "ReadableStream",
- "package": "typescript"
+ "package": "typescript",
+ "name": "ReadableStream"
},
{
"type": "reference",
- "name": "URLSearchParams",
"qualifiedName": "URLSearchParams",
- "package": "typescript"
+ "package": "typescript",
+ "name": "URLSearchParams"
}
]
}
@@ -69609,92 +68675,7 @@
"isOptional": true
},
"comment": {
- "summary": [
- {
- "kind": "text",
- "text": "HTTP headers.\n"
- },
- {
- "kind": "code",
- "text": "`cacheControl`"
- },
- {
- "kind": "text",
- "text": ": string, the "
- },
- {
- "kind": "code",
- "text": "`Cache-Control: max-age=`"
- },
- {
- "kind": "text",
- "text": " seconds value.\n"
- },
- {
- "kind": "code",
- "text": "`contentType`"
- },
- {
- "kind": "text",
- "text": ": string, the "
- },
- {
- "kind": "code",
- "text": "`Content-Type`"
- },
- {
- "kind": "text",
- "text": " header value. Should be specified if using a "
- },
- {
- "kind": "code",
- "text": "`fileBody`"
- },
- {
- "kind": "text",
- "text": " that is neither "
- },
- {
- "kind": "code",
- "text": "`Blob`"
- },
- {
- "kind": "text",
- "text": " nor "
- },
- {
- "kind": "code",
- "text": "`File`"
- },
- {
- "kind": "text",
- "text": " nor "
- },
- {
- "kind": "code",
- "text": "`FormData`"
- },
- {
- "kind": "text",
- "text": ", otherwise will default to "
- },
- {
- "kind": "code",
- "text": "`text/plain;charset=UTF-8`"
- },
- {
- "kind": "text",
- "text": ".\n"
- },
- {
- "kind": "code",
- "text": "`upsert`"
- },
- {
- "kind": "text",
- "text": ": boolean, whether to perform an upsert."
- }
- ]
+ "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
},
"type": {
"type": "reference",
@@ -69728,8 +68709,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 148,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L148"
+ "character": 8
}
],
"type": {
@@ -69751,8 +68731,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 148,
- "character": 16,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L148"
+ "character": 16
}
],
"type": {
@@ -69764,15 +68743,10 @@
"groups": [
{
"title": "Properties",
- "children": [139]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
- "character": 14,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L148"
+ "kind": 1024,
+ "children": [
+ 139
+ ]
}
]
}
@@ -69788,8 +68762,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 149,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L149"
+ "character": 8
}
],
"type": {
@@ -69801,15 +68774,11 @@
"groups": [
{
"title": "Properties",
- "children": [137, 140]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 147,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L147"
+ "kind": 1024,
+ "children": [
+ 137,
+ 140
+ ]
}
]
}
@@ -69833,8 +68802,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 152,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L152"
+ "character": 8
}
],
"type": {
@@ -69852,8 +68820,7 @@
{
"fileName": "src/packages/StorageFileApi.ts",
"line": 153,
- "character": 8,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L153"
+ "character": 8
}
],
"type": {
@@ -69866,15 +68833,11 @@
"groups": [
{
"title": "Properties",
- "children": [142, 143]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 151,
- "character": 6,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L151"
+ "kind": 1024,
+ "children": [
+ 142,
+ 143
+ ]
}
]
}
@@ -69882,325 +68845,6 @@
]
}
],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [93]
- },
- {
- "title": "Properties",
- "children": [111, 112, 107, 106]
- },
- {
- "title": "Methods",
- "children": [169, 181, 193, 207, 216, 228, 157, 219, 144, 131]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 21,
- "character": 21,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L21"
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "children": [92]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 1,
- "character": 0,
- "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L1"
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Modules",
- "children": [1, 2, 91]
- }
- ]
- },
- {
- "id": 0,
- "name": "@supabase/functions-js",
- "kind": 1,
- "kindString": "Project",
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 1,
- "name": "FunctionsClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 2,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 9,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 3,
- "name": "new FunctionsClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 4,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 5,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 6,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 8,
- "name": "customFetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 16,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 9,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 10,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 11,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 12,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 7,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 15,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [8, 7]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "name": "FunctionsClient"
- }
- }
- ]
- },
- {
- "id": 15,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 7,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 16,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 17,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 18,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 19,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
"qualifiedName": "Promise",
"package": "typescript",
"name": "Promise"
@@ -70208,345 +68852,1470 @@
}
]
}
- }
- },
- {
- "id": 14,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
+ ],
+ "groups": [
{
- "fileName": "src/index.ts",
- "line": 6,
- "character": 12
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 93
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 111,
+ 112,
+ 107,
+ 106
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 169,
+ 181,
+ 193,
+ 207,
+ 216,
+ 228,
+ 157,
+ 219,
+ 144,
+ 131
+ ]
}
],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 13,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
"sources": [
{
- "fileName": "src/index.ts",
- "line": 5,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 23,
- "name": "invoke",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 40,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 24,
- "name": "invoke",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Invokes a function"
- },
- "typeParameter": [
- {
- "id": 25,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "parameters": [
- {
- "id": 26,
- "name": "functionName",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "the name of the function to invoke"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 27,
- "name": "invokeOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "object with the following properties\n`headers`: object representing the headers to send with the request\n`body`: the body of the request\n`responseType`: how the response should be parsed. The default is `json`\n"
- },
- "type": {
- "type": "reference",
- "name": "FunctionInvokeOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 28,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 29,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 43,
- "character": 15
- }
- ],
- "type": {
- "type": "reference",
- "id": 25,
- "name": "T"
- }
- },
- {
- "id": 30,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 43,
- "character": 24
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [29, 30]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 31,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 32,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 43,
- "character": 42
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 33,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 43,
- "character": 54
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [32, 33]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 20,
- "name": "setAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 28,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 21,
- "name": "setAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates the authorization header",
- "tags": [
- {
- "tag": "params",
- "text": "token - the new jwt token sent in the authorisation header\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 22,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 21,
+ "character": 21
}
]
}
],
"groups": [
{
- "title": "Constructors",
- "kind": 512,
- "children": [2]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [15, 14, 13]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [23, 20]
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 92
+ ]
}
],
"sources": [
{
- "fileName": "src/index.ts",
- "line": 4,
- "character": 13
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 1,
+ "character": 0
}
]
}
],
"groups": [
{
- "title": "Classes",
- "kind": 128,
- "children": [1]
+ "title": "Modules",
+ "kind": 2,
+ "children": [
+ 1,
+ 2,
+ 91
+ ]
+ }
+ ]
+ },
+ {
+ "id": 0,
+ "name": "@supabase/functions-js",
+ "kind": 1,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "index",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 62,
+ "name": "FunctionsError",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 3,
+ "character": 2
+ }
+ ],
+ "target": 6
+ },
+ {
+ "id": 63,
+ "name": "FunctionsFetchError",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "target": 13
+ },
+ {
+ "id": 64,
+ "name": "FunctionsHttpError",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "target": 23
+ },
+ {
+ "id": 65,
+ "name": "FunctionsRelayError",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "target": 18
+ },
+ {
+ "id": 66,
+ "name": "FunctionsResponse",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 7,
+ "character": 2
+ }
+ ],
+ "target": 4
+ },
+ {
+ "id": 35,
+ "name": "FunctionsClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 36,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 16,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 37,
+ "name": "new FunctionsClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 38,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 39,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 40,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 42,
+ "name": "customFetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 23,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 43,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 44,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 45,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 46,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 41,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 22,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 42,
+ 41
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 49,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 50,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 51,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 52,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 53,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 48,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 47,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 57,
+ "name": "invoke",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 45,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 58,
+ "name": "invoke",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Invokes a function"
+ },
+ "typeParameter": [
+ {
+ "id": 59,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 60,
+ "name": "functionName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "the name of the function to invoke"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 61,
+ "name": "invokeOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionInvokeOptions"
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 4,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 59,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 54,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 55,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the authorization header",
+ "tags": [
+ {
+ "tag": "params",
+ "text": "token - the new jwt token sent in the authorisation header\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 56,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 36
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 49,
+ 48,
+ 47
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 57,
+ 54
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 11,
+ "character": 13
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [
+ 62,
+ 63,
+ 64,
+ 65,
+ 66
+ ]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 35
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "name": "types",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 6,
+ "name": "FunctionsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 7,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 8,
+ "name": "new FunctionsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 9,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 10,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "'FunctionsError'"
+ },
+ {
+ "id": 11,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 6,
+ "name": "FunctionsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 12,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 7
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 13,
+ "name": "FunctionsFetchError"
+ },
+ {
+ "type": "reference",
+ "id": 18,
+ "name": "FunctionsRelayError"
+ },
+ {
+ "type": "reference",
+ "id": 23,
+ "name": "FunctionsHttpError"
+ }
+ ]
+ },
+ {
+ "id": 13,
+ "name": "FunctionsFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 14,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 15,
+ "name": "new FunctionsFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 16,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "FunctionsFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 8,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 7,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 17,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 12,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 14
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 17
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 26,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 23,
+ "name": "FunctionsHttpError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 24,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 39,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 25,
+ "name": "new FunctionsHttpError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 26,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 23,
+ "name": "FunctionsHttpError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 8,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 7,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 27,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 12,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 24
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 27
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 38,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 18,
+ "name": "FunctionsRelayError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 19,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 20,
+ "name": "new FunctionsRelayError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 21,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 18,
+ "name": "FunctionsRelayError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 8,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 7,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 22,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 12,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 19
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 22
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 3,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 1,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 43,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 28,
+ "name": "FunctionInvokeOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 29,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 34,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "File",
+ "package": "typescript",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "ArrayBuffer",
+ "package": "typescript",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "FormData",
+ "package": "typescript",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Uint8Array",
+ "package": "typescript",
+ "name": "Uint8Array"
+ }
+ ],
+ "qualifiedName": "ReadableStream",
+ "package": "typescript",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 30,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 31,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 45,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 32,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 33,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 34,
+ 30
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 4,
+ "name": "FunctionsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 5,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "FunctionsResponseFailure"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 6,
+ 13,
+ 23,
+ 18
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 3,
+ 28,
+ 4
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
}
],
- "sources": [
+ "groups": [
{
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
+ "title": "Modules",
+ "kind": 2,
+ "children": [
+ 1,
+ 2
+ ]
}
]
}
diff --git a/spec/enrichments/tsdoc_v2/functions.json b/spec/enrichments/tsdoc_v2/functions.json
new file mode 100644
index 00000000000..e413d2a9b61
--- /dev/null
+++ b/spec/enrichments/tsdoc_v2/functions.json
@@ -0,0 +1,1392 @@
+{
+ "id": 0,
+ "name": "@supabase/functions-js",
+ "kind": 1,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "index",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 62,
+ "name": "FunctionsError",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 3,
+ "character": 2
+ }
+ ],
+ "target": 6
+ },
+ {
+ "id": 63,
+ "name": "FunctionsFetchError",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "target": 13
+ },
+ {
+ "id": 64,
+ "name": "FunctionsHttpError",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "target": 23
+ },
+ {
+ "id": 65,
+ "name": "FunctionsRelayError",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "target": 18
+ },
+ {
+ "id": 66,
+ "name": "FunctionsResponse",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 7,
+ "character": 2
+ }
+ ],
+ "target": 4
+ },
+ {
+ "id": 35,
+ "name": "FunctionsClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 36,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 16,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 37,
+ "name": "new FunctionsClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 38,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 39,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 40,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 42,
+ "name": "customFetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 23,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 43,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 44,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 45,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 46,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 41,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 22,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 42,
+ 41
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 49,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 50,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 51,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 52,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 53,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 48,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 47,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 57,
+ "name": "invoke",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 45,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 58,
+ "name": "invoke",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Invokes a function"
+ },
+ "typeParameter": [
+ {
+ "id": 59,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 60,
+ "name": "functionName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "the name of the function to invoke"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 61,
+ "name": "invokeOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionInvokeOptions"
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 4,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 59,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 54,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 55,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the authorization header",
+ "tags": [
+ {
+ "tag": "params",
+ "text": "token - the new jwt token sent in the authorisation header\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 56,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 36
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 49,
+ 48,
+ 47
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 57,
+ 54
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 11,
+ "character": 13
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [
+ 62,
+ 63,
+ 64,
+ 65,
+ 66
+ ]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 35
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "name": "types",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 6,
+ "name": "FunctionsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 7,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 8,
+ "name": "new FunctionsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 9,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 10,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "'FunctionsError'"
+ },
+ {
+ "id": 11,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 6,
+ "name": "FunctionsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 12,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 7
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 13,
+ "name": "FunctionsFetchError"
+ },
+ {
+ "type": "reference",
+ "id": 18,
+ "name": "FunctionsRelayError"
+ },
+ {
+ "type": "reference",
+ "id": 23,
+ "name": "FunctionsHttpError"
+ }
+ ]
+ },
+ {
+ "id": 13,
+ "name": "FunctionsFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 14,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 15,
+ "name": "new FunctionsFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 16,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "FunctionsFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 8,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 7,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 17,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 12,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 14
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 17
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 26,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 23,
+ "name": "FunctionsHttpError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 24,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 39,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 25,
+ "name": "new FunctionsHttpError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 26,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 23,
+ "name": "FunctionsHttpError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 8,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 7,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 27,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 12,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 24
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 27
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 38,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 18,
+ "name": "FunctionsRelayError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 19,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 20,
+ "name": "new FunctionsRelayError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 21,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 18,
+ "name": "FunctionsRelayError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 8,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 7,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 22,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 12,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 19
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 22
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 3,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 1,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 43,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 28,
+ "name": "FunctionInvokeOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 29,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 34,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "File",
+ "package": "typescript",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "ArrayBuffer",
+ "package": "typescript",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "FormData",
+ "package": "typescript",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Uint8Array",
+ "package": "typescript",
+ "name": "Uint8Array"
+ }
+ ],
+ "qualifiedName": "ReadableStream",
+ "package": "typescript",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 30,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 31,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 45,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 32,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 33,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 34,
+ 30
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 4,
+ "name": "FunctionsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 5,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "FunctionsResponseFailure"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 6,
+ 13,
+ 23,
+ 18
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 3,
+ 28,
+ 4
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 2,
+ "children": [
+ 1,
+ 2
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.json
new file mode 100644
index 00000000000..13a06b10d6e
--- /dev/null
+++ b/spec/enrichments/tsdoc_v2/gotrue.json
@@ -0,0 +1,14815 @@
+{
+ "id": 0,
+ "name": "@supabase/gotrue-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 675,
+ "name": "AuthApiError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 676,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 677,
+ "name": "new AuthApiError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 678,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 679,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 675,
+ "name": "AuthApiError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 672,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 671,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 687,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 680,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 681,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 682,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 683,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 685,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 684,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 686,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 27,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 685,
+ 684,
+ 686
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 676
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 687,
+ 680
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 681
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 14,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 670,
+ "name": "AuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 671,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 672,
+ "name": "new AuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 673,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 674,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 671
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 674
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 1,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 675,
+ "name": "AuthApiError"
+ },
+ {
+ "type": "reference",
+ "id": 688,
+ "name": "AuthUnknownError"
+ },
+ {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 722,
+ "name": "AuthInvalidCredentialsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 723,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 724,
+ "name": "new AuthInvalidCredentialsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 725,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthInvalidCredentialsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 697,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 696,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 734,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 709,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 726,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 701,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 727,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 702,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 728,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 729,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 730,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 732,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 54,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 731,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 53,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 733,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 732,
+ 731,
+ 733
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 704,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 703,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 723
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 734,
+ 726,
+ 727
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 728
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 66,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 735,
+ "name": "AuthRetryableFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 736,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 737,
+ "name": "new AuthRetryableFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 738,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 739,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 735,
+ "name": "AuthRetryableFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 697,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 696,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 748,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 709,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 740,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 701,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 741,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 702,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 742,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 743,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 744,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 746,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 54,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 745,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 53,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 747,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 746,
+ 745,
+ 747
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 704,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 703,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 736
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 748,
+ 740,
+ 741
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 742
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 72,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 710,
+ "name": "AuthSessionMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 711,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 712,
+ "name": "new AuthSessionMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 710,
+ "name": "AuthSessionMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 697,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 696,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 721,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 709,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 713,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 701,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 714,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 702,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 715,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 716,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 717,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 719,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 54,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 718,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 53,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 720,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 719,
+ 718,
+ 720
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 704,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 703,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 711
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 721,
+ 713,
+ 714
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 715
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 688,
+ "name": "AuthUnknownError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 689,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 690,
+ "name": "new AuthUnknownError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 691,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 692,
+ "name": "originalError",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 688,
+ "name": "AuthUnknownError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 672,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 671,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 694,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 693,
+ "name": "originalError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 689
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 694,
+ 693
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 695,
+ "name": "CustomAuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 696,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 697,
+ "name": "new CustomAuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 698,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 699,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 700,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 695,
+ "name": "CustomAuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 672,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 671,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 709,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 701,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 702,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 703,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 704,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 705,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 707,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 54,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 706,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 53,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 708,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 707,
+ 706,
+ 708
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 696
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 709,
+ 701,
+ 702
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 703
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 42,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 710,
+ "name": "AuthSessionMissingError"
+ },
+ {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthInvalidCredentialsError"
+ },
+ {
+ "type": "reference",
+ "id": 735,
+ "name": "AuthRetryableFetchError"
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "GoTrueApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new GoTrueApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 4,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 5,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 11,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 30,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 12,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 13,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 14,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 15,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 8,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 9,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 10,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 6,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 26,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 11,
+ 7,
+ 6
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 21,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 19,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 22,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 23,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 24,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 25,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 17,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 18,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 19,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 20,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 16,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 26,
+ "name": "_createRequestHeaders",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 42,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 27,
+ "name": "_createRequestHeaders",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods"
+ },
+ "parameters": [
+ {
+ "id": 28,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 29,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 230,
+ "name": "createUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 669,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 231,
+ "name": "createUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "parameters": [
+ {
+ "id": 232,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The data you want to create the user with.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 582,
+ "name": "AdminUserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 235,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 672,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ },
+ {
+ "id": 236,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 672,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 234,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 672,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 235,
+ 236,
+ 234
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 237,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 239,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 672,
+ "character": 60
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 240,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 672,
+ "character": 72
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 238,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 672,
+ "character": 48
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 239,
+ 240,
+ 238
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 268,
+ "name": "deleteUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 771,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 269,
+ "name": "deleteUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Delete a user. Requires a `service_role` key.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "parameters": [
+ {
+ "id": 270,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user uid you want to remove.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 271,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 273,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 774,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 272,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 773,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 273,
+ 272
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 274,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 276,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 776,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 275,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 776,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 276,
+ 275
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 212,
+ "name": "generateLink",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 618,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 213,
+ "name": "generateLink",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Generates links to be sent via email or other."
+ },
+ "parameters": [
+ {
+ "id": 214,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ }
+ ]
+ }
+ },
+ {
+ "id": 215,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 216,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 217,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 219,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata. For signup only."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 623,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 218,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "User password. For signup only."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 622,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 220,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\").\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 624,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 219,
+ 218,
+ 220
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 221,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 222,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 628,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ },
+ {
+ "id": 223,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 629,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 222,
+ 223
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 224,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 225,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 632,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 226,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 633,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 225,
+ 226
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 227,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 228,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 635,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 229,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 635,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 228,
+ 229
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 30,
+ "name": "getUrlForProvider",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 31,
+ "name": "getUrlForProvider",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Generates the relevant login URL for a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 32,
+ "name": "provider",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 33,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 34,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 38,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 39,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 40,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 35,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 57,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 36,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 58,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 37,
+ 35,
+ 36
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 277,
+ "name": "getUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 806,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 278,
+ "name": "getUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Gets the current user details.",
+ "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n"
+ },
+ "parameters": [
+ {
+ "id": 279,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 280,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 282,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 809,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 281,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 808,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 282,
+ 281
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 283,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 285,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 811,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 284,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 811,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 285,
+ 284
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 249,
+ "name": "getUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 715,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 250,
+ "name": "getUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get user by id."
+ },
+ "parameters": [
+ {
+ "id": 251,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 252,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 254,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 717,
+ "character": 27
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 253,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 717,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 254,
+ 253
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 255,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 257,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 717,
+ "character": 57
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 256,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 717,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 257,
+ 256
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 176,
+ "name": "inviteUserByEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 505,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 177,
+ "name": "inviteUserByEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends an invite link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 178,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 179,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 180,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 182,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 509,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 181,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 508,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 182,
+ 181
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 185,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 514,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 184,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 513,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 185,
+ 184
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 186,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 188,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 516,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 187,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 516,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 188,
+ 187
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 241,
+ "name": "listUsers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 693,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 242,
+ "name": "listUsers",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get a list of users.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 243,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 245,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 693,
+ "character": 46
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 244,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 693,
+ "character": 31
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 245,
+ 244
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 246,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 248,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 693,
+ "character": 77
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 247,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 693,
+ "character": 64
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 248,
+ 247
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 203,
+ "name": "refreshAccessToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 584,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 204,
+ "name": "refreshAccessToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Generates a new JWT."
+ },
+ "parameters": [
+ {
+ "id": 205,
+ "name": "refreshToken",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid refresh token that was returned on login.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 206,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 208,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 587,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 207,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 586,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 208,
+ 207
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 209,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 211,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 589,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 210,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 589,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 211,
+ 210
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 189,
+ "name": "resetPasswordForEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 545,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 190,
+ "name": "resetPasswordForEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends a reset request to an email address."
+ },
+ "parameters": [
+ {
+ "id": 191,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 192,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 193,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 195,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 549,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 194,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 548,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 195,
+ 194
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 196,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 197,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 553,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 198,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 199,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 554,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 197,
+ 199
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 200,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 201,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 556,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 202,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 556,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 201,
+ 202
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 111,
+ "name": "sendMagicLinkEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 307,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 112,
+ "name": "sendMagicLinkEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends a magic login link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 113,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 114,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 115,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 118,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 312,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 117,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 311,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 116,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 310,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 118,
+ 117,
+ 116
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 119,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 120,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 316,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 121,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 122,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 317,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 120,
+ 122
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 319,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 125,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 319,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 124,
+ 125
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 126,
+ "name": "sendMobileOTP",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 354,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 127,
+ "name": "sendMobileOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"
+ },
+ "parameters": [
+ {
+ "id": 128,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number WITH international prefix"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 129,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 130,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 132,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 358,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 131,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 357,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 132,
+ 131
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 133,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 134,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 362,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 135,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 136,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 363,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 134,
+ 136
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 365,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 139,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 365,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 138,
+ 139
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 59,
+ "name": "signInWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 140,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 60,
+ "name": "signInWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs in an existing user using their email address."
+ },
+ "parameters": [
+ {
+ "id": 61,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 62,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 63,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 64,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 65,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 144,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 65
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 66,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 67,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 148,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 68,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 149,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 67,
+ 68
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 69,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 70,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 151,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 71,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 151,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 70,
+ 71
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 102,
+ "name": "signInWithOpenIDConnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 267,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 103,
+ "name": "signInWithOpenIDConnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs in an OpenID Connect user using their id_token."
+ },
+ "parameters": [
+ {
+ "id": 104,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 653,
+ "name": "OpenIDConnectCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 105,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 107,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 276,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 106,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 275,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 107,
+ 106
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 108,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 110,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 278,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 109,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 110,
+ 109
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 89,
+ "name": "signInWithPhone",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 90,
+ "name": "signInWithPhone",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs in an existing user using their phone number and password."
+ },
+ "parameters": [
+ {
+ "id": 91,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The phone number of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 92,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 93,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 94,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 95,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on your site.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 231,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 95
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 98,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 236,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 97,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 235,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 98,
+ 97
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 99,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 101,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 238,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 100,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 238,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 101,
+ 100
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 140,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 394,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 141,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 142,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 143,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 144,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 394,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 144
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 41,
+ "name": "signUpWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 86,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 42,
+ "name": "signUpWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user using their email address.",
+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 44,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 45,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 46,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 49,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 92,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 48,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 47,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 90,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 49,
+ 48,
+ 47
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 50,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 51,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 96,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ },
+ {
+ "id": 52,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 97,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 51,
+ 52
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 53,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 54,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 100,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 55,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 101,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 54,
+ 55
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 57,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 103,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 58,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 103,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 57,
+ 58
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 72,
+ "name": "signUpWithPhone",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 178,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 73,
+ "name": "signUpWithPhone",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Signs up a new user using their phone number and a password."
+ },
+ "parameters": [
+ {
+ "id": 74,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The phone number of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 75,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 76,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 77,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 79,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 183,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 78,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 182,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 79,
+ 78
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 81,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 187,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 82,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 188,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 81,
+ 82
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 83,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 84,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 191,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ },
+ {
+ "id": 85,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 192,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 84,
+ 85
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 86,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 87,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 194,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 88,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 194,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 87,
+ 88
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 286,
+ "name": "updateUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 832,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 287,
+ "name": "updateUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 288,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 289,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The data you want to update.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 576,
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 290,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 292,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 838,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 291,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 837,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 292,
+ 291
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 293,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 295,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 840,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 294,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 840,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 295,
+ 294
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 258,
+ "name": "updateUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 739,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 259,
+ "name": "updateUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 260,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 261,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 582,
+ "name": "AdminUserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 262,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 264,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 745,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 263,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 744,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 264,
+ 263
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 265,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 267,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 747,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 266,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 747,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 267,
+ 266
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 145,
+ "name": "verifyMobileOTP",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 418,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 146,
+ "name": "verifyMobileOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `verifyOTP` instead!"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 147,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number WITH international prefix"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 148,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "token that user was sent to their mobile phone"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 149,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 150,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 151,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 422,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 151
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 152,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 153,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 426,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ },
+ {
+ "id": 154,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 427,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 153,
+ 154
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 155,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 156,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 430,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 157,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 431,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 156,
+ 157
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 158,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 159,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 433,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 160,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 433,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 159,
+ 160
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 161,
+ "name": "verifyOTP",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 463,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 162,
+ "name": "verifyOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Send User supplied Email / Mobile OTP to be verified"
+ },
+ "parameters": [
+ {
+ "id": 163,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 640,
+ "name": "VerifyOTPParams"
+ }
+ },
+ {
+ "id": 164,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 165,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 166,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 466,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 166
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 167,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 168,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 470,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ },
+ {
+ "id": 169,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 471,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 168,
+ 169
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 170,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 171,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 474,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 172,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 475,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 171,
+ 172
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 173,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 174,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 477,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 175,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 477,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 174,
+ 175
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 2
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 21,
+ 17,
+ 16
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 26,
+ 230,
+ 268,
+ 212,
+ 30,
+ 277,
+ 249,
+ 176,
+ 241,
+ 203,
+ 189,
+ 111,
+ 126,
+ 59,
+ 102,
+ 89,
+ 140,
+ 41,
+ 72,
+ 286,
+ 258,
+ 145,
+ 161
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 14,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 296,
+ "name": "GoTrueClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 297,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 98,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 298,
+ "name": "new GoTrueClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 299,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 300,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 308,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 103,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 307,
+ "name": "detectSessionInUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 102,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 312,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 107,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 313,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 314,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "A custom fetch implementation.\n"
+ },
+ "parameters": [
+ {
+ "id": 315,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 316,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Any additional headers to send to the GoTrue server."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 100,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 304,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 305,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 311,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set to \"false\" if you want to disable multi-tab/window events."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 106,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 309,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 104,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 310,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 105,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
+ }
+ },
+ {
+ "id": 306,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional key name used for storing tokens in local storage"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 101,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 301,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The URL of the GoTrue server."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 99,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 308,
+ 307,
+ 312,
+ 302,
+ 311,
+ 309,
+ 310,
+ 306,
+ 301
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 296,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 317,
+ "name": "api",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ },
+ {
+ "id": 320,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 77,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 319,
+ "name": "inMemorySession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "comment": {
+ "shortText": "The session object for the currently logged in user or null.\nOnly used if persistSession is false."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 75,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ ]
+ }
+ },
+ {
+ "id": 325,
+ "name": "networkRetries",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 83,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 321,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 78,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 324,
+ "name": "refreshTokenTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 81,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timeout",
+ "package": "@types/node",
+ "name": "Timeout"
+ }
+ },
+ {
+ "id": 326,
+ "name": "refreshingDeferred",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 84,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 660,
+ "name": "CallRefreshTokenResult"
+ }
+ ],
+ "name": "Deferred"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 323,
+ "name": "stateChangeEmitters",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 80,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 592,
+ "name": "Subscription"
+ }
+ ],
+ "qualifiedName": "Map",
+ "package": "typescript",
+ "name": "Map"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 79,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
+ }
+ },
+ {
+ "id": 318,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "comment": {
+ "shortText": "The storage key used to identity the values saved in localStorage"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 69,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 480,
+ "name": "_callRefreshToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 775,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 481,
+ "name": "_callRefreshToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 482,
+ "name": "refreshToken",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 660,
+ "name": "CallRefreshTokenResult"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 421,
+ "name": "_doesSessionExist",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 599,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 422,
+ "name": "_doesSessionExist",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 423,
+ "name": "maybeSession",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "maybeSession",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 424,
+ "name": "_handleEmailSignIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 610,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 425,
+ "name": "_handleEmailSignIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 426,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 427,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 428,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 429,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 430,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 614,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 430
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 503,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 467,
+ "name": "_handleOpenIDConnectSignIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 686,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 468,
+ "name": "_handleOpenIDConnectSignIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 469,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 653,
+ "name": "OpenIDConnectCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 470,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 473,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 696,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 472,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 695,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ ]
+ }
+ },
+ {
+ "id": 471,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 694,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 473,
+ 472,
+ 471
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 474,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 477,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 698,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 476,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 698,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 475,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 698,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 477,
+ 476,
+ 475
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 431,
+ "name": "_handlePhoneSignIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 638,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 432,
+ "name": "_handlePhoneSignIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 433,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 434,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 437,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 642,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 437
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 438,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 439,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 649,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 440,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 441,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 649,
+ "character": 46
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 442,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 649,
+ "character": 61
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 441,
+ 442
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 443,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 439,
+ 443
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 444,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 445,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 656,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 446,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 447,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 448,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 656,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ },
+ "defaultValue": "session.user"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 447,
+ 448
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 449,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 656,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 445,
+ 449
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 450,
+ "name": "_handleProviderSignIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 666,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 451,
+ "name": "_handleProviderSignIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 452,
+ "name": "provider",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 453,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 454,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 457,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 671,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 458,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 459,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 460,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 455,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 669,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 456,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 670,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 457,
+ 455,
+ 456
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 461,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 462,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 683,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 463,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 464,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 465,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 464,
+ 465
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 466,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 683,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 462,
+ 466
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 499,
+ "name": "_handleVisibilityChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 883,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 500,
+ "name": "_handleVisibilityChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "literal",
+ "value": false
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 483,
+ "name": "_notifyAllSubscribers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 815,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 484,
+ "name": "_notifyAllSubscribers",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 485,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 502,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 486,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 490,
+ "name": "_persistSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 843,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 491,
+ "name": "_persistSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 492,
+ "name": "currentSession",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 478,
+ "name": "_recoverAndRefresh",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 730,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 479,
+ "name": "_recoverAndRefresh",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 493,
+ "name": "_removeSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 847,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 494,
+ "name": "_removeSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 487,
+ "name": "_saveSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 823,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 488,
+ "name": "_saveSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"
+ },
+ "parameters": [
+ {
+ "id": 489,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 495,
+ "name": "_startAutoRefreshToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 863,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 496,
+ "name": "_startAutoRefreshToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Clear and re-create refresh token timer"
+ },
+ "parameters": [
+ {
+ "id": 497,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "time intervals in milliseconds\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 498,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "getSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 341,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the session data, refreshing it if necessary."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 352,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 354,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 344,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 353,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 343,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 354,
+ 353
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 355,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 357,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 348,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 356,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 347,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 357,
+ 356
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 358,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 360,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 352,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 359,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 351,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 360,
+ 359
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 393,
+ "name": "getSessionFromUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 489,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 394,
+ "name": "getSessionFromUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Gets the session data from a URL string"
+ },
+ "parameters": [
+ {
+ "id": 395,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 396,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 397,
+ "name": "storeSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optionally store the session in the browser\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 489,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 397
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 398,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 400,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 492,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 399,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 491,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 400,
+ 399
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 401,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 403,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 494,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 402,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 494,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 403,
+ 402
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 361,
+ "name": "getUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 391,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 362,
+ "name": "getUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the user data, refreshing the session if necessary."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 363,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 365,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 394,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 364,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 393,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 365,
+ 364
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 366,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 368,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 398,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 367,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 397,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 368,
+ 367
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 369,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 371,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 402,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 370,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 401,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 371,
+ 370
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 408,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 573,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 409,
+ "name": "onAuthStateChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Receive a notification every time an auth event happens.",
+ "returns": "A subscription object which can be used to unsubscribe itself.\n"
+ },
+ "parameters": [
+ {
+ "id": 410,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 411,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 412,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 413,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 502,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 414,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 415,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 417,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 576,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 416,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 575,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 592,
+ "name": "Subscription"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 417,
+ 416
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 418,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 420,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 578,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 419,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 578,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 420,
+ 419
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 381,
+ "name": "setSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 455,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 382,
+ "name": "setSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the session data from refresh_token and returns current Session and Error"
+ },
+ "parameters": [
+ {
+ "id": 383,
+ "name": "refresh_token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "a JWT token\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 384,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 386,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 458,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 385,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 457,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 386,
+ 385
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 387,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 389,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 460,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 388,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 460,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 389,
+ 388
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 390,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 392,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 461,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 391,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 461,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 392,
+ 391
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "signInWithOAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 240,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 339,
+ "name": "signInWithOAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in an existing user via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 340,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 629,
+ "name": "SignInWithOAuthCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 516,
+ "name": "OAuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 341,
+ "name": "signInWithOtp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 256,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 342,
+ "name": "signInWithOtp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Passwordless method for logging in an existing user."
+ },
+ "parameters": [
+ {
+ "id": 343,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 618,
+ "name": "SignInWithPasswordlessCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 503,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 335,
+ "name": "signInWithPassword",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 203,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 336,
+ "name": "signInWithPassword",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in an existing user, or login via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 337,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 607,
+ "name": "SignInWithPasswordCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 503,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 404,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 554,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 405,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
+ "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`. There is no way to revoke a user's session JWT before it automatically expires\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 407,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 554,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 407
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 327,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 142,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 328,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user."
+ },
+ "parameters": [
+ {
+ "id": 329,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 600,
+ "name": "UserCredentials"
+ }
+ },
+ {
+ "id": 330,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 331,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 334,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 147,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 333,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 146,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 332,
+ "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": 145,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 334,
+ 333,
+ 332
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 503,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 372,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 420,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 373,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 374,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 576,
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 375,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 377,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 423,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 376,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 422,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 377,
+ 376
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 380,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 425,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 379,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 425,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 380,
+ 379
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "verifyOTP",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 295,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "verifyOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in a user given a User supplied OTP received via mobile."
+ },
+ "parameters": [
+ {
+ "id": 346,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 640,
+ "name": "VerifyOTPParams"
+ }
+ },
+ {
+ "id": 347,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 348,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 349,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 298,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 349
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 503,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 297
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 317,
+ 320,
+ 319,
+ 325,
+ 321,
+ 324,
+ 326,
+ 323,
+ 322,
+ 318
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 480,
+ 421,
+ 424,
+ 467,
+ 431,
+ 450,
+ 499,
+ 483,
+ 490,
+ 478,
+ 493,
+ 487,
+ 495,
+ 350,
+ 393,
+ 361,
+ 408,
+ 381,
+ 338,
+ 341,
+ 335,
+ 404,
+ 327,
+ 372,
+ 344
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 60,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 582,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 584,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for app_metadata that.",
+ "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 165,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 591,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 140,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 581,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 587,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 120,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 577,
+ "name": "UserAttributes.email"
+ }
+ },
+ {
+ "id": 590,
+ "name": "email_change_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An email change token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 135,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 580,
+ "name": "UserAttributes.email_change_token"
+ }
+ },
+ {
+ "id": 585,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 172,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 589,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 130,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 579,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 588,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 578,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 586,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their phone number.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 179,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 583,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata.",
+ "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 155,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 584,
+ 591,
+ 587,
+ 590,
+ 585,
+ 589,
+ 588,
+ 586,
+ 583
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 143,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 576,
+ "name": "UserAttributes"
+ }
+ ]
+ },
+ {
+ "id": 653,
+ "name": "OpenIDConnectCredentials",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 657,
+ "name": "client_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 265,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 654,
+ "name": "id_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 262,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 658,
+ "name": "issuer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 266,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 655,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 656,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 264,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 657,
+ 654,
+ 658,
+ 655,
+ 656
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 261,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 529,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 531,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 533,
+ "name": "expires_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 70,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 532,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 530,
+ "name": "provider_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 534,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 536,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 531,
+ 533,
+ 532,
+ 530,
+ 534,
+ 535,
+ 536
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 60,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 633,
+ "name": "SignInWithOAuthOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 636,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 242,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 637,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 638,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 639,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 634,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 240,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 635,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 241,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 636,
+ 634,
+ 635
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 239,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 616,
+ "name": "SignInWithPasswordOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 617,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 617
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 217,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 625,
+ "name": "SignInWithPasswordlessOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 628,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 233,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 626,
+ "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": 231,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 627,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 232,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 628,
+ 626,
+ 627
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 592,
+ "name": "Subscription",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 593,
+ "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": 186,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 594,
+ "name": "callback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 190,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 595,
+ "name": "callback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "parameters": [
+ {
+ "id": 596,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 502,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 597,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 598,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 194,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 599,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Call this to remove the listener."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 593
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 594,
+ 598
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 182,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 548,
+ "name": "User",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 565,
+ "name": "action_link",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 103,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 550,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 90,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 551,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 552,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 552
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 553,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 554,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 559,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 560,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 98,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 569,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 107,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 568,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 566,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 104,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 562,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 100,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 570,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 108,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 549,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 89,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 575,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 113,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 537,
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 564,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 572,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 563,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 101,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 567,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 105,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 571,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 109,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 561,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 99,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 573,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 111,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 574,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 555,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 94,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 556,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 557,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 558,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 565,
+ 550,
+ 559,
+ 560,
+ 569,
+ 568,
+ 566,
+ 562,
+ 570,
+ 549,
+ 575,
+ 564,
+ 572,
+ 563,
+ 567,
+ 571,
+ 561,
+ 573,
+ 574,
+ 555
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 88,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 576,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 581,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 140,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 577,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 120,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 580,
+ "name": "email_change_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An email change token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 135,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 579,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 130,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 578,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 581,
+ 577,
+ 580,
+ 579,
+ 578
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 116,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 582,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ },
+ {
+ "id": 600,
+ "name": "UserCredentials",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 601,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 606,
+ "name": "oidc",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 204,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 653,
+ "name": "OpenIDConnectCredentials"
+ }
+ },
+ {
+ "id": 603,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 200,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 602,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 199,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 605,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The name of the provider."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 203,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 604,
+ "name": "refreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 601,
+ 606,
+ 603,
+ 602,
+ 605,
+ 604
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 197,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 537,
+ "name": "UserIdentity",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 545,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 538,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 77,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 540,
+ "name": "identity_data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 79,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 541,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 542,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 543,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 546,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 544,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 547,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 539,
+ "name": "user_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 78,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 545,
+ 538,
+ 540,
+ 546,
+ 544,
+ 547,
+ 539
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 646,
+ "name": "VerifyEmailOTPParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 647,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 253,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 648,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 254,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 649,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 650,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 256,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 652,
+ "name": "EmailOTPType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 647,
+ 648,
+ 649,
+ 650
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 252,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 641,
+ "name": "VerifyMobileOTPParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 642,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 247,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 643,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 248,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 644,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 249,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 645,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 651,
+ "name": "MobileOTPType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 642,
+ 643,
+ 644,
+ 645
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 246,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 502,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 21,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "PASSWORD_RECOVERY"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_IN"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "TOKEN_REFRESHED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_UPDATED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_DELETED"
+ }
+ ]
+ }
+ },
+ {
+ "id": 503,
+ "name": "AuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 29,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 504,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 505,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 31,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 506,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 508,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 33,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 507,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 548,
+ "name": "User"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 508,
+ 507
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 31,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 509,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 35,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 505,
+ 509
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 30,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 510,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 511,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 38,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 512,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 514,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 40,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 513,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 39,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 514,
+ 513
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 38,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 515,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 42,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 511,
+ 515
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 37,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 660,
+ "name": "CallRefreshTokenResult",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 280,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 661,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 663,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 283,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 662,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 282,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 529,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 663,
+ 662
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 281,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 664,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 666,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 287,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 665,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 286,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 666,
+ 665
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 652,
+ "name": "EmailOTPType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 259,
+ "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": 651,
+ "name": "MobileOTPType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 258,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ },
+ {
+ "id": 516,
+ "name": "OAuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 517,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 518,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 47,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 519,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 520,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 521,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 49,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 520,
+ 521
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 47,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 522,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 51,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 518,
+ 522
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 523,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 524,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 54,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 525,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 526,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 527,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 526,
+ 527
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 54,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 528,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 58,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 524,
+ 528
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 53,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 501,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 3,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "bitbucket"
+ },
+ {
+ "type": "literal",
+ "value": "discord"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "literal",
+ "value": "github"
+ },
+ {
+ "type": "literal",
+ "value": "gitlab"
+ },
+ {
+ "type": "literal",
+ "value": "google"
+ },
+ {
+ "type": "literal",
+ "value": "keycloak"
+ },
+ {
+ "type": "literal",
+ "value": "linkedin"
+ },
+ {
+ "type": "literal",
+ "value": "notion"
+ },
+ {
+ "type": "literal",
+ "value": "slack"
+ },
+ {
+ "type": "literal",
+ "value": "spotify"
+ },
+ {
+ "type": "literal",
+ "value": "twitch"
+ },
+ {
+ "type": "literal",
+ "value": "twitter"
+ },
+ {
+ "type": "literal",
+ "value": "workos"
+ }
+ ]
+ }
+ },
+ {
+ "id": 629,
+ "name": "SignInWithOAuthCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 235,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 630,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 632,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 237,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 633,
+ "name": "SignInWithOAuthOptions"
+ }
+ },
+ {
+ "id": 631,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 501,
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 632,
+ 631
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 235,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 607,
+ "name": "SignInWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 206,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 608,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 609,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 208,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 611,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 210,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 616,
+ "name": "SignInWithPasswordOptions"
+ }
+ },
+ {
+ "id": 610,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 209,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 609,
+ 611,
+ 610
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 207,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 612,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 615,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 215,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 616,
+ "name": "SignInWithPasswordOptions"
+ }
+ },
+ {
+ "id": 614,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 214,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 613,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 213,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 615,
+ 614,
+ 613
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 212,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 618,
+ "name": "SignInWithPasswordlessCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 220,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 619,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 620,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 222,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 621,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 625,
+ "name": "SignInWithPasswordlessOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 620,
+ 621
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 622,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 624,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 227,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 625,
+ "name": "SignInWithPasswordlessOptions"
+ }
+ },
+ {
+ "id": 623,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 226,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 624,
+ 623
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 659,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 278,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
+ }
+ },
+ {
+ "id": 640,
+ "name": "VerifyOTPParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 245,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 641,
+ "name": "VerifyMobileOTPParams"
+ },
+ {
+ "type": "reference",
+ "id": 646,
+ "name": "VerifyEmailOTPParams"
+ }
+ ]
+ }
+ },
+ {
+ "id": 667,
+ "name": "isAuthError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 10,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 668,
+ "name": "isAuthError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 669,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 670,
+ "name": "AuthError"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 675,
+ 670,
+ 722,
+ 735,
+ 710,
+ 688,
+ 695,
+ 1,
+ 296
+ ]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 582,
+ 653,
+ 529,
+ 633,
+ 616,
+ 625,
+ 592,
+ 548,
+ 576,
+ 600,
+ 537,
+ 646,
+ 641
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 502,
+ 503,
+ 660,
+ 652,
+ 651,
+ 516,
+ 501,
+ 629,
+ 607,
+ 618,
+ 659,
+ 640
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 667
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+}
\ No newline at end of file
diff --git a/spec/enrichments/tsdoc_v2/postgrest.json b/spec/enrichments/tsdoc_v2/postgrest.json
new file mode 100644
index 00000000000..55097e29850
--- /dev/null
+++ b/spec/enrichments/tsdoc_v2/postgrest.json
@@ -0,0 +1,11058 @@
+{
+ "id": 0,
+ "name": "@supabase/postgrest-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 476,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isAbstract": true
+ },
+ "children": [
+ {
+ "id": 477,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 478,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 479,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 480,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 476,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 479,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 476,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 479,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 493,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 485,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ },
+ {
+ "id": 488,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 489,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 490,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 491,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 492,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 483,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 481,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "GET"
+ },
+ {
+ "type": "literal",
+ "value": "HEAD"
+ },
+ {
+ "type": "literal",
+ "value": "POST"
+ },
+ {
+ "type": "literal",
+ "value": "PATCH"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 484,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 11,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 486,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 487,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ },
+ {
+ "id": 482,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 496,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 497,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 498,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "id": 509,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 479,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "id": 499,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 500,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 501,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 502,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 503,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 509,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 479,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "TResult1"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 504,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 505,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 506,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 507,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "TResult2"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "TResult2"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "TResult2"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "implementationOf": {
+ "type": "reference",
+ "name": "PromiseLike.then"
+ }
+ }
+ ],
+ "implementationOf": {
+ "type": "reference",
+ "name": "PromiseLike.then"
+ }
+ },
+ {
+ "id": 494,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 495,
+ "name": "throwOnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
+ "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 476,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 479,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 477
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 493,
+ 485,
+ 488,
+ 483,
+ 481,
+ 484,
+ 486,
+ 487,
+ 482
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 496,
+ 494
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 5,
+ "character": 30
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 508,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 387,
+ "name": "PostgrestTransformBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 509,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 479,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "PostgrestClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new PostgrestClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "typeParameter": [
+ {
+ "id": 4,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 5,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 6,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 7,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "URL of the PostgREST endpoint."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 8,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 12,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 38,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 13,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 14,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 15,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 16,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 10,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 36,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 11,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 37,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 12,
+ 10,
+ 11
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 20,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 21,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 22,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 23,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 24,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 18,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 19,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ }
+ },
+ {
+ "id": 17,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 25,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 26,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 27,
+ "name": "TableName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 28,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericTable"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 29,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The table name to operate on.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "TableName"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 45,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "Table"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 30,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 31,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 45,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 32,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 75,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 33,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "typeParameter": [
+ {
+ "id": 34,
+ "name": "FunctionName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 35,
+ "name": "Function_",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericFunction"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 36,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The function name to call."
+ },
+ "type": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionName"
+ }
+ },
+ {
+ "id": 37,
+ "name": "args",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The parameters to pass to the function call."
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Args"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 35,
+ "name": "Function_"
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 38,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters."
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 39,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 41,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 86,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 40,
+ "name": "head",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "When set to true, no data will be returned."
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 85,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 41,
+ 40
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Returns"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 35,
+ "name": "Function_"
+ }
+ },
+ "extendsType": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "trueType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Returns"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 35,
+ "name": "Function_"
+ }
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 2
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 20,
+ 18,
+ 19,
+ 17
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 25,
+ 32
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 7,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 42,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 43,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ }
+ ]
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 44,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 106,
+ "name": "PostgrestFilterBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 107,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 108,
+ "name": "new PostgrestFilterBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 109,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 110,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 111,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 476,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 389,
+ "name": "default.constructor"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 388,
+ "name": "default.constructor"
+ }
+ },
+ {
+ "id": 370,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 459,
+ "name": "default.allowEmpty"
+ }
+ },
+ {
+ "id": 362,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 451,
+ "name": "default.body"
+ }
+ },
+ {
+ "id": 365,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 366,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 367,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 369,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 454,
+ "name": "default.fetch"
+ }
+ },
+ {
+ "id": 360,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 449,
+ "name": "default.headers"
+ }
+ },
+ {
+ "id": 358,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "GET"
+ },
+ {
+ "type": "literal",
+ "value": "HEAD"
+ },
+ {
+ "type": "literal",
+ "value": "POST"
+ },
+ {
+ "type": "literal",
+ "value": "PATCH"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 447,
+ "name": "default.method"
+ }
+ },
+ {
+ "id": 361,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 11,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 450,
+ "name": "default.schema"
+ }
+ },
+ {
+ "id": 363,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 452,
+ "name": "default.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 364,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 453,
+ "name": "default.signal"
+ }
+ },
+ {
+ "id": 359,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 448,
+ "name": "default.url"
+ }
+ },
+ {
+ "id": 338,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 110,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 339,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 340,
+ "name": "signal",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 428,
+ "name": "default.abortSignal"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 427,
+ "name": "default.abortSignal"
+ }
+ },
+ {
+ "id": 216,
+ "name": "containedBy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 217,
+ "name": "containedBy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 218,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 219,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 218,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 220,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 218,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 221,
+ "name": "containedBy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 222,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 223,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 208,
+ "name": "contains",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 209,
+ "name": "contains",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 210,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 211,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 210,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 212,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 210,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 213,
+ "name": "contains",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 214,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 215,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 345,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 138,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 346,
+ "name": "csv",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Set the response type to CSV."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 511,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 435,
+ "name": "default.csv"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 434,
+ "name": "default.csv"
+ }
+ },
+ {
+ "id": 128,
+ "name": "eq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 129,
+ "name": "eq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 130,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 131,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 130,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 132,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 130,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 133,
+ "name": "eq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 134,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 135,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 349,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 160,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 350,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Obtains the EXPLAIN plan for this request."
+ },
+ "parameters": [
+ {
+ "id": 351,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 352,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 353,
+ "name": "analyze",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 167,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 356,
+ "name": "buffers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 170,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 355,
+ "name": "settings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 169,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 354,
+ "name": "verbose",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 168,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 357,
+ "name": "wal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 353,
+ 356,
+ 355,
+ 354,
+ 357
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 509,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 439,
+ "name": "default.explain"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 438,
+ "name": "default.explain"
+ }
+ },
+ {
+ "id": 288,
+ "name": "filter",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 406,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 289,
+ "name": "filter",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose `column` satisfies the filter."
+ },
+ "typeParameter": [
+ {
+ "id": 290,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 291,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 290,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 292,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operator to filter with."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "FilterOperator"
+ },
+ {
+ "type": "literal",
+ "value": "not.eq"
+ },
+ {
+ "type": "literal",
+ "value": "not.neq"
+ },
+ {
+ "type": "literal",
+ "value": "not.gt"
+ },
+ {
+ "type": "literal",
+ "value": "not.gte"
+ },
+ {
+ "type": "literal",
+ "value": "not.lt"
+ },
+ {
+ "type": "literal",
+ "value": "not.lte"
+ },
+ {
+ "type": "literal",
+ "value": "not.like"
+ },
+ {
+ "type": "literal",
+ "value": "not.ilike"
+ },
+ {
+ "type": "literal",
+ "value": "not.is"
+ },
+ {
+ "type": "literal",
+ "value": "not.in"
+ },
+ {
+ "type": "literal",
+ "value": "not.cs"
+ },
+ {
+ "type": "literal",
+ "value": "not.cd"
+ },
+ {
+ "type": "literal",
+ "value": "not.sl"
+ },
+ {
+ "type": "literal",
+ "value": "not.sr"
+ },
+ {
+ "type": "literal",
+ "value": "not.nxl"
+ },
+ {
+ "type": "literal",
+ "value": "not.nxr"
+ },
+ {
+ "type": "literal",
+ "value": "not.adj"
+ },
+ {
+ "type": "literal",
+ "value": "not.ov"
+ },
+ {
+ "type": "literal",
+ "value": "not.fts"
+ },
+ {
+ "type": "literal",
+ "value": "not.plfts"
+ },
+ {
+ "type": "literal",
+ "value": "not.phfts"
+ },
+ {
+ "type": "literal",
+ "value": "not.wfts"
+ }
+ ]
+ }
+ },
+ {
+ "id": 293,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 294,
+ "name": "filter",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 295,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 296,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 297,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 347,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 146,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 348,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Set the response type to GeoJSON."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 511,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 437,
+ "name": "default.geojson"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 436,
+ "name": "default.geojson"
+ }
+ },
+ {
+ "id": 144,
+ "name": "gt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 100,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 145,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is greater than the\nspecified `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 146,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 147,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 146,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 148,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 146,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 149,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 151,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 152,
+ "name": "gte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 114,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 153,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is greater than or\nequal to the specified `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 154,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 155,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 154,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 156,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 154,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 157,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 158,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 159,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 184,
+ "name": "ilike",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 170,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 185,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case insensitive)."
+ },
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 186,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 188,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 189,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 190,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 191,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 200,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 201,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is found on the\nspecified `values`."
+ },
+ "typeParameter": [
+ {
+ "id": 202,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 203,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 202,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 204,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to filter with.\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 202,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 205,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 206,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 207,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 192,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 184,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 193,
+ "name": "is",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "A check for exact equality (null, true, false), finds all rows whose\nvalue on the stated `column` exactly match the specified `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 194,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 195,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 194,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 196,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 194,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 194,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "literal",
+ "value": false
+ }
+ ]
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 194,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "literal",
+ "value": true
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 197,
+ "name": "is",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 198,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 199,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 176,
+ "name": "like",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 156,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 177,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case sensitive)."
+ },
+ "typeParameter": [
+ {
+ "id": 178,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 179,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 178,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 180,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 181,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 182,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 183,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 325,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 326,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 327,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The maximum no. of rows to limit to."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 328,
+ "name": "foreignTable",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The foreign table to use (for foreign columns).\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 329,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 330,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 85,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 330
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 415,
+ "name": "default.limit"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 414,
+ "name": "default.limit"
+ }
+ },
+ {
+ "id": 160,
+ "name": "lt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 128,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 161,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is less than the\nspecified `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 162,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 163,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 162,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 164,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 162,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 165,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 166,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 167,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 168,
+ "name": "lte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 142,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 169,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is less than or equal\nto the specified `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 170,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 171,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 170,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 172,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 170,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 173,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 175,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 298,
+ "name": "match",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 423,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 299,
+ "name": "match",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose columns match the specified `query` object."
+ },
+ "typeParameter": [
+ {
+ "id": 300,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 301,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The object to filter with, with column names as keys mapped\n to their filter values.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 300,
+ "name": "ColumnName"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 300,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 302,
+ "name": "match",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 303,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 343,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 129,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 344,
+ "name": "maybeSingle",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 513,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 433,
+ "name": "default.maybeSingle"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 432,
+ "name": "default.maybeSingle"
+ }
+ },
+ {
+ "id": 136,
+ "name": "neq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 86,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 137,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` doesn't match the\nspecified `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 138,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 139,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 138,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 140,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 138,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 141,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 142,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 143,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 112,
+ "name": "not",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 113,
+ "name": "not",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows which doesn't satisfy the filter."
+ },
+ "typeParameter": [
+ {
+ "id": 114,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 115,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 114,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 116,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "name": "FilterOperator"
+ }
+ },
+ {
+ "id": 117,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 114,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 118,
+ "name": "not",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 119,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 120,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 121,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 122,
+ "name": "or",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 123,
+ "name": "or",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows satisfying at least one of the filters."
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "filters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The filters to use, separated by commas."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 125,
+ "name": "foreignTable",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The foreign table to use (if `column` is a foreign column).\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 127,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 59,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 127
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 309,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 310,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "typeParameter": [
+ {
+ "id": 311,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 312,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 311,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 313,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 314,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 315,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 53,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 317,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 53,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 316,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 53,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 315,
+ 317,
+ 316
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 399,
+ "name": "default.order"
+ }
+ },
+ {
+ "id": 318,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 319,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 320,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 321,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 322,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 324,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 323,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 322,
+ 324,
+ 323
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 407,
+ "name": "default.order"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 398,
+ "name": "default.order"
+ }
+ },
+ {
+ "id": 264,
+ "name": "overlaps",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 346,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 265,
+ "name": "overlaps",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose array or range value on the stated `column` overlaps\n(has a value in common) with the specified `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 266,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 267,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 266,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 268,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 266,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 269,
+ "name": "overlaps",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 270,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 271,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 331,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 98,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 332,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 333,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The starting index from which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 334,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The last index to which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 335,
+ "name": "foreignTable",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The foreign table to use (for foreign columns).\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 336,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 337,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 98,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 337
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 421,
+ "name": "default.range"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 420,
+ "name": "default.range"
+ }
+ },
+ {
+ "id": 256,
+ "name": "rangeAdjacent",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 332,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 257,
+ "name": "rangeAdjacent",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
+ },
+ "typeParameter": [
+ {
+ "id": 258,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 259,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 258,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 260,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 261,
+ "name": "rangeAdjacent",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 262,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 263,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 232,
+ "name": "rangeGt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 290,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 233,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
+ },
+ "typeParameter": [
+ {
+ "id": 234,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 235,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 234,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 236,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 237,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 238,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 239,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 240,
+ "name": "rangeGte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 304,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 241,
+ "name": "rangeGte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`."
+ },
+ "typeParameter": [
+ {
+ "id": 242,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 243,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 242,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 244,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 245,
+ "name": "rangeGte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 246,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 247,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 224,
+ "name": "rangeLt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 276,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 225,
+ "name": "rangeLt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`."
+ },
+ "typeParameter": [
+ {
+ "id": 226,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 227,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 226,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 228,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 229,
+ "name": "rangeLt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 230,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 231,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 248,
+ "name": "rangeLte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 318,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 249,
+ "name": "rangeLte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`."
+ },
+ "typeParameter": [
+ {
+ "id": 250,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 251,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 250,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 252,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 253,
+ "name": "rangeLte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 254,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 255,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 304,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 305,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "typeParameter": [
+ {
+ "id": 306,
+ "name": "Query",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 307,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 306,
+ "name": "Query"
+ },
+ "extendsType": {
+ "type": "literal",
+ "value": "*"
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "*"
+ },
+ "falseType": {
+ "type": "reference",
+ "id": 306,
+ "name": "Query"
+ }
+ }
+ ],
+ "name": "GetResult"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 308,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The columns to retrieve, separated by commas.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "Query"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 307,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 394,
+ "name": "default.select"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 393,
+ "name": "default.select"
+ }
+ },
+ {
+ "id": 341,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 119,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 342,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 511,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 431,
+ "name": "default.single"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 430,
+ "name": "default.single"
+ }
+ },
+ {
+ "id": 272,
+ "name": "textSearch",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 371,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 273,
+ "name": "textSearch",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Finds all rows whose text or tsvector value on the stated `column` matches\nthe tsquery in `query`."
+ },
+ "typeParameter": [
+ {
+ "id": 274,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 275,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 274,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 276,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 277,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 278,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 279,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 374,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 280,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 374,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "plain"
+ },
+ {
+ "type": "literal",
+ "value": "phrase"
+ },
+ {
+ "type": "literal",
+ "value": "websearch"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 279,
+ 280
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 281,
+ "name": "textSearch",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 282,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 283,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 284,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 285,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 286,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 379,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 287,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 379,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "plain"
+ },
+ {
+ "type": "literal",
+ "value": "phrase"
+ },
+ {
+ "type": "literal",
+ "value": "websearch"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 286,
+ 287
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 375,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "id": 509,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "id": 376,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 377,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 379,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 380,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 509,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "TResult1"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 381,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 382,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 383,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 384,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "TResult2"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "TResult2"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "TResult2"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 463,
+ "name": "default.then"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 462,
+ "name": "default.then"
+ }
+ },
+ {
+ "id": 371,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 372,
+ "name": "throwOnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
+ "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 461,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 460,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 107
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 370,
+ 362,
+ 365,
+ 360,
+ 358,
+ 361,
+ 363,
+ 364,
+ 359
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 338,
+ 216,
+ 208,
+ 345,
+ 128,
+ 349,
+ 288,
+ 347,
+ 144,
+ 152,
+ 184,
+ 200,
+ 192,
+ 176,
+ 325,
+ 160,
+ 168,
+ 298,
+ 343,
+ 136,
+ 112,
+ 122,
+ 309,
+ 264,
+ 331,
+ 256,
+ 232,
+ 240,
+ 224,
+ 248,
+ 304,
+ 341,
+ 272,
+ 373,
+ 371
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 31,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 385,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 386,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ ]
+ },
+ {
+ "id": 45,
+ "name": "PostgrestQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 46,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 13,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 47,
+ "name": "new PostgrestQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 48,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericTable"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 49,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 50,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 51,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 54,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 22,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 55,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 56,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 57,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 58,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 52,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 20,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 53,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 21,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 54,
+ 52,
+ 53
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 45,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 63,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 11,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 64,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 65,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 66,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 67,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 60,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 8,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 61,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 62,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 10,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ },
+ {
+ "id": 59,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 7,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 100,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 213,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 101,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs a DELETE on the table."
+ },
+ "parameters": [
+ {
+ "id": 102,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Count algorithm to use to count rows in a table.\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 103,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 104,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 216,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 104
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 77,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 87,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 78,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "typeParameter": [
+ {
+ "id": 79,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 80,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 79,
+ "name": "Row"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 79,
+ "name": "Row"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 81,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Count algorithm to use to count rows in a table.\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 83,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 92,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 83
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 68,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 38,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 69,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "typeParameter": [
+ {
+ "id": 70,
+ "name": "Query",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 71,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 70,
+ "name": "Query"
+ },
+ "extendsType": {
+ "type": "literal",
+ "value": "*"
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "*"
+ },
+ "falseType": {
+ "type": "reference",
+ "id": 70,
+ "name": "Query"
+ }
+ }
+ ],
+ "name": "GetResult"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 72,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The columns to retrieve, separated by commas."
+ },
+ "type": {
+ "type": "reference",
+ "id": 70,
+ "name": "Query"
+ }
+ },
+ {
+ "id": 73,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 74,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 76,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 48,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 75,
+ "name": "head",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 47,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 76,
+ 75
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "reference",
+ "id": 71,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 93,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 178,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "typeParameter": [
+ {
+ "id": 95,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 96,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to update."
+ },
+ "type": {
+ "type": "reference",
+ "id": 95,
+ "name": "Row"
+ }
+ },
+ {
+ "id": 97,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Count algorithm to use to count rows in a table.\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 98,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 99,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 183,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 99
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 84,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 135,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 85,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs an UPSERT into the table."
+ },
+ "typeParameter": [
+ {
+ "id": 86,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 87,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 86,
+ "name": "Row"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 86,
+ "name": "Row"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 88,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 89,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 91,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 143,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 92,
+ "name": "ignoreDuplicates",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 144,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 90,
+ "name": "onConflict",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 142,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 91,
+ 92,
+ 90
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 48,
+ "name": "Table"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 46
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 63,
+ 60,
+ 61,
+ 62,
+ 59
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 100,
+ 77,
+ 68,
+ 93,
+ 84
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 6,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 105,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericTable"
+ }
+ }
+ ]
+ },
+ {
+ "id": 387,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "Post-filters (transforms)"
+ },
+ "children": [
+ {
+ "id": 388,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 389,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 390,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 391,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 392,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 476,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 478,
+ "name": "default.constructor"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 477,
+ "name": "default.constructor"
+ }
+ },
+ {
+ "id": 459,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 493,
+ "name": "default.allowEmpty"
+ }
+ },
+ {
+ "id": 451,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 485,
+ "name": "default.body"
+ }
+ },
+ {
+ "id": 454,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 456,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 457,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 458,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 488,
+ "name": "default.fetch"
+ }
+ },
+ {
+ "id": 449,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 483,
+ "name": "default.headers"
+ }
+ },
+ {
+ "id": 447,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "GET"
+ },
+ {
+ "type": "literal",
+ "value": "HEAD"
+ },
+ {
+ "type": "literal",
+ "value": "POST"
+ },
+ {
+ "type": "literal",
+ "value": "PATCH"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 481,
+ "name": "default.method"
+ }
+ },
+ {
+ "id": 450,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 11,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 484,
+ "name": "default.schema"
+ }
+ },
+ {
+ "id": 452,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 486,
+ "name": "default.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 453,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 487,
+ "name": "default.signal"
+ }
+ },
+ {
+ "id": 448,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 482,
+ "name": "default.url"
+ }
+ },
+ {
+ "id": 427,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 110,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 428,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 429,
+ "name": "signal",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 434,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 138,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 435,
+ "name": "csv",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Set the response type to CSV."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 511,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ }
+ ]
+ },
+ {
+ "id": 438,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 160,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 439,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Obtains the EXPLAIN plan for this request."
+ },
+ "parameters": [
+ {
+ "id": 440,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 441,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 442,
+ "name": "analyze",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 167,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 445,
+ "name": "buffers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 170,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 444,
+ "name": "settings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 169,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 443,
+ "name": "verbose",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 168,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 446,
+ "name": "wal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 442,
+ 445,
+ 444,
+ 443,
+ 446
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 509,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ }
+ ]
+ },
+ {
+ "id": 436,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 146,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 437,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Set the response type to GeoJSON."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 511,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ }
+ ]
+ },
+ {
+ "id": 414,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 415,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 416,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The maximum no. of rows to limit to."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 417,
+ "name": "foreignTable",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The foreign table to use (for foreign columns).\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 418,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 419,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 85,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 419
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 432,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 129,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 433,
+ "name": "maybeSingle",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 513,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ }
+ ]
+ },
+ {
+ "id": 398,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 399,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "typeParameter": [
+ {
+ "id": 400,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 401,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order on."
+ },
+ "type": {
+ "type": "reference",
+ "id": 311,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 402,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 403,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 404,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 53,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 406,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 53,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 405,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 53,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 404,
+ 406,
+ 405
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 407,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 408,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 409,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 410,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 411,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 413,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 412,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 411,
+ 413,
+ 412
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 420,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 98,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 421,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 422,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The starting index from which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The last index to which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 424,
+ "name": "foreignTable",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The foreign table to use (for foreign columns).\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 425,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 426,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 98,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 426
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 393,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 394,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "typeParameter": [
+ {
+ "id": 395,
+ "name": "Query",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 396,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "Table"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 306,
+ "name": "Query"
+ },
+ "extendsType": {
+ "type": "literal",
+ "value": "*"
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "*"
+ },
+ "falseType": {
+ "type": "reference",
+ "id": 306,
+ "name": "Query"
+ }
+ }
+ ],
+ "name": "GetResult"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 397,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The columns to retrieve, separated by commas.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "Query"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 307,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 430,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 119,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 431,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 511,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ }
+ ]
+ },
+ {
+ "id": 462,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 463,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 464,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "id": 509,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "id": 465,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 466,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 467,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 468,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 469,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 509,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "TResult1"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 470,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 471,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 472,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 473,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "TResult2"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "TResult2"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "TResult2"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 497,
+ "name": "default.then"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 496,
+ "name": "default.then"
+ }
+ },
+ {
+ "id": 460,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 461,
+ "name": "throwOnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
+ "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 387,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "Table"
+ },
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 495,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 494,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 388
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 459,
+ 451,
+ 454,
+ 449,
+ 447,
+ 450,
+ 452,
+ 453,
+ 448
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 427,
+ 434,
+ 438,
+ 436,
+ 414,
+ 432,
+ 398,
+ 420,
+ 393,
+ 430,
+ 462,
+ 460
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 9,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 474,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 475,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 476,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 391,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 106,
+ "name": "PostgrestFilterBuilder"
+ }
+ ]
+ },
+ {
+ "id": 515,
+ "name": "PostgrestError",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 516,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 520,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 12,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 518,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 10,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 519,
+ "name": "hint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 11,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 517,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 9,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 520,
+ 518,
+ 519,
+ 517
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 8,
+ "character": 29
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 513,
+ "name": "PostgrestMaybeSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 45,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 514,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 511,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 514,
+ "name": "T"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 509,
+ "name": "PostgrestResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 35,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 510,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 510,
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ },
+ {
+ "id": 511,
+ "name": "PostgrestSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 42,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 512,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 512,
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 476,
+ 1,
+ 106,
+ 45,
+ 387
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 515,
+ 513,
+ 509,
+ 511
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+}
\ No newline at end of file
diff --git a/spec/enrichments/tsdoc_v2/realtime.json b/spec/enrichments/tsdoc_v2/realtime.json
new file mode 100644
index 00000000000..f0a0c426048
--- /dev/null
+++ b/spec/enrichments/tsdoc_v2/realtime.json
@@ -0,0 +1,5900 @@
+{
+ "id": 0,
+ "name": "@supabase/realtime-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 355,
+ "name": "Transformers",
+ "kind": 4,
+ "kindString": "Namespace",
+ "flags": {},
+ "children": [
+ {
+ "id": 356,
+ "name": "PostgresTypes",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "comment": {
+ "shortText": "Helpers to convert the change Payload into native JS types."
+ },
+ "children": [
+ {
+ "id": 357,
+ "name": "abstime",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 9,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "abstime"
+ },
+ "defaultValue": "\"abstime\""
+ },
+ {
+ "id": 358,
+ "name": "bool",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 10,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "bool"
+ },
+ "defaultValue": "\"bool\""
+ },
+ {
+ "id": 359,
+ "name": "date",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 11,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "date"
+ },
+ "defaultValue": "\"date\""
+ },
+ {
+ "id": 360,
+ "name": "daterange",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 12,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "daterange"
+ },
+ "defaultValue": "\"daterange\""
+ },
+ {
+ "id": 361,
+ "name": "float4",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 13,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "float4"
+ },
+ "defaultValue": "\"float4\""
+ },
+ {
+ "id": 362,
+ "name": "float8",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "float8"
+ },
+ "defaultValue": "\"float8\""
+ },
+ {
+ "id": 363,
+ "name": "int2",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int2"
+ },
+ "defaultValue": "\"int2\""
+ },
+ {
+ "id": 364,
+ "name": "int4",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int4"
+ },
+ "defaultValue": "\"int4\""
+ },
+ {
+ "id": 365,
+ "name": "int4range",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int4range"
+ },
+ "defaultValue": "\"int4range\""
+ },
+ {
+ "id": 366,
+ "name": "int8",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int8"
+ },
+ "defaultValue": "\"int8\""
+ },
+ {
+ "id": 367,
+ "name": "int8range",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int8range"
+ },
+ "defaultValue": "\"int8range\""
+ },
+ {
+ "id": 368,
+ "name": "json",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "json"
+ },
+ "defaultValue": "\"json\""
+ },
+ {
+ "id": 369,
+ "name": "jsonb",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "jsonb"
+ },
+ "defaultValue": "\"jsonb\""
+ },
+ {
+ "id": 370,
+ "name": "money",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "money"
+ },
+ "defaultValue": "\"money\""
+ },
+ {
+ "id": 371,
+ "name": "numeric",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "numeric"
+ },
+ "defaultValue": "\"numeric\""
+ },
+ {
+ "id": 372,
+ "name": "oid",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "oid"
+ },
+ "defaultValue": "\"oid\""
+ },
+ {
+ "id": 373,
+ "name": "reltime",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "reltime"
+ },
+ "defaultValue": "\"reltime\""
+ },
+ {
+ "id": 374,
+ "name": "text",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 26,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "text"
+ },
+ "defaultValue": "\"text\""
+ },
+ {
+ "id": 375,
+ "name": "time",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "time"
+ },
+ "defaultValue": "\"time\""
+ },
+ {
+ "id": 376,
+ "name": "timestamp",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "timestamp"
+ },
+ "defaultValue": "\"timestamp\""
+ },
+ {
+ "id": 377,
+ "name": "timestamptz",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "timestamptz"
+ },
+ "defaultValue": "\"timestamptz\""
+ },
+ {
+ "id": 378,
+ "name": "timetz",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "timetz"
+ },
+ "defaultValue": "\"timetz\""
+ },
+ {
+ "id": 379,
+ "name": "tsrange",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "tsrange"
+ },
+ "defaultValue": "\"tsrange\""
+ },
+ {
+ "id": 380,
+ "name": "tstzrange",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "tstzrange"
+ },
+ "defaultValue": "\"tstzrange\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [
+ 357,
+ 358,
+ 359,
+ 360,
+ 361,
+ 362,
+ 363,
+ 364,
+ 365,
+ 366,
+ 367,
+ 368,
+ 369,
+ 370,
+ 371,
+ 372,
+ 373,
+ 374,
+ 375,
+ 376,
+ 377,
+ 378,
+ 379,
+ 380
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 8,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 394,
+ "name": "convertCell",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 118,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 395,
+ "name": "convertCell",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "If the value of the cell is `null`, returns null.\nOtherwise converts the string value to the correct type.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "convertCell('bool', 't')\n//=> true"
+ },
+ {
+ "tag": "example",
+ "text": "convertCell('int8', '10')\n//=> 10"
+ },
+ {
+ "tag": "example",
+ "text": "convertCell('_int4', '{1,2,3,4}')\n//=> [1,2,3,4]\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 396,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A postgres column type"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 397,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 381,
+ "name": "convertChangeData",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 61,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 382,
+ "name": "convertChangeData",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Takes an array of columns and an object of string values then converts each string value\nto its mapped type.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "convertChangeData([{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age:'33'}, {})\n//=>{ first_name: 'Paul', age: 33 }\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 383,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "Columns"
+ }
+ },
+ {
+ "id": 384,
+ "name": "record",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {},
+ "type": {
+ "type": "reference",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 385,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The map of various options that can be applied to the mapper"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 386,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 387,
+ "name": "skipTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The array of types that should not be converted\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 64,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 387
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Record"
+ }
+ }
+ ]
+ },
+ {
+ "id": 388,
+ "name": "convertColumn",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 88,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 389,
+ "name": "convertColumn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Converts the value of an individual column.",
+ "returns": "Useless information\n",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33"
+ },
+ {
+ "tag": "example",
+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 390,
+ "name": "columnName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column that you want to convert"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 391,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "Columns"
+ }
+ },
+ {
+ "id": 392,
+ "name": "record",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The map of string values"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 393,
+ "name": "skipTypes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "An array of types that should not be converted"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 407,
+ "name": "toArray",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 206,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 408,
+ "name": "toArray",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Converts a Postgres Array into a native JS array",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "toArray('{}', 'int4')\n//=> []"
+ },
+ {
+ "tag": "example",
+ "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']"
+ },
+ {
+ "tag": "example",
+ "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 409,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ },
+ {
+ "id": 410,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 398,
+ "name": "toBoolean",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 165,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 399,
+ "name": "toBoolean",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 400,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 404,
+ "name": "toJson",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 184,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 405,
+ "name": "toJson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 406,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 401,
+ "name": "toNumber",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 175,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 402,
+ "name": "toNumber",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 403,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 411,
+ "name": "toTimestampString",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 241,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 412,
+ "name": "toTimestampString",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\nSee https://github.com/supabase/supabase/issues/18",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "toTimestampString('2019-09-10 00:00:00')\n//=> '2019-09-10T00:00:00'\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 413,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "kind": 8,
+ "children": [
+ 356
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 394,
+ 381,
+ 388,
+ 407,
+ 398,
+ 404,
+ 401,
+ 411
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 8,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 134,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 145,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 146,
+ "name": "new RealtimeChannel",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 147,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 148,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 149,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 150,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 151,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 152,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 153,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 9,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 155,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 156,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 163,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 159,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 12,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 160,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 12,
+ "character": 14
+ }
+ ],
+ "indexSignature": {
+ "id": 161,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 162,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 164,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 163,
+ 159,
+ 164,
+ 158
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 10,
+ "character": 19
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 168,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 167,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 173,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 174,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 175,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 176,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 171,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 292,
+ "name": "default"
+ }
+ },
+ {
+ "id": 170,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 169,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 177,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ },
+ {
+ "id": 166,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 165,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 172,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 223,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 269,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 224,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` if the socket is connected and the channel has been joined."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 274,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 438,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 275,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 276,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 441,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 277,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 444,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 279,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 280,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 447,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 281,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 282,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 450,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 283,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 258,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 358,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 259,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 260,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 261,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 362,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 262,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 216,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 254,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 217,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 218,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 219,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 220,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 221,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 222,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 208,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 209,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 210,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 211,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 212,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 213,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 214,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 215,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 202,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 225,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 203,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback that will be executed when the channel closes."
+ },
+ "parameters": [
+ {
+ "id": 204,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 205,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 232,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 206,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback that will be executed when the channel encounteres an error."
+ },
+ "parameters": [
+ {
+ "id": 207,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 253,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 354,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 254,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Overridable message hook",
+ "text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n"
+ },
+ "parameters": [
+ {
+ "id": 255,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 256,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 257,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ },
+ {
+ "id": 184,
+ "name": "presenceState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 192,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 185,
+ "name": "presenceState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 273,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 226,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 227,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 228,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 229,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 230,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 231,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 232,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 263,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 366,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 264,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 265,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 178,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 179,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 271,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 434,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 272,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 273,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 233,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 288,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 234,
+ "name": "send",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 235,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 236,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 237,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 289,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 237
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 238,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 239,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 240,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 241,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 242,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 243,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 180,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 90,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 181,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 182,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 183,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 186,
+ "name": "track",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 196,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 187,
+ "name": "track",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 188,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 189,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 190,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 191,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 192,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 193,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 194,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 195,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 266,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 375,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 267,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 268,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 269,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 270,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 250,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 314,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 251,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Leaves the channel.",
+ "text": "Unsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n"
+ },
+ "parameters": [
+ {
+ "id": 252,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 196,
+ "name": "untrack",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 210,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 197,
+ "name": "untrack",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 198,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 199,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 200,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 201,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 244,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 245,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 246,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 247,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 248,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 249,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 145
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 153,
+ 168,
+ 167,
+ 173,
+ 171,
+ 170,
+ 169,
+ 177,
+ 166,
+ 165,
+ 172
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 223,
+ 274,
+ 276,
+ 278,
+ 280,
+ 282,
+ 258,
+ 261,
+ 216,
+ 208,
+ 202,
+ 205,
+ 253,
+ 184,
+ 225,
+ 263,
+ 178,
+ 271,
+ 233,
+ 180,
+ 186,
+ 266,
+ 250,
+ 196,
+ 244
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 8,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 87,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 4,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 5,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 117,
+ "name": "Options"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 6,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 7,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 28,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 26,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 25,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 8,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 9,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 10,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 11,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 12,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 19,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 20,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 24,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 13,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 14,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 15,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 16,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 21,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 27,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 23,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 22,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 29,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 30,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 31,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 32,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 34,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 35,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 36,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 65,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 33,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 34,
+ 35,
+ 36,
+ 33
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 17,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 18,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 74,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 272,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 75,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 76,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 77,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "ChannelParams"
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 37,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 120,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 38,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 67,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 241,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 68,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 39,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 142,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 40,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 41,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 42,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 86,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 332,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 87,
+ "name": "endPointURL",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the URL of the websocket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 43,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 157,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 44,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 69,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 257,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 70,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retuns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 93,
+ "name": "leaveOpenTopic",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 373,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "leaveOpenTopic",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribe from channels with the specified topic."
+ },
+ "parameters": [
+ {
+ "id": 95,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 50,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 186,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 51,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overriden.\n"
+ },
+ "parameters": [
+ {
+ "id": 52,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 53,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 54,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 88,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 342,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 89,
+ "name": "makeRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return the next message ref, accounting for overflows"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 58,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 210,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 59,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback for connection state change events.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 60,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 81,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 302,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 82,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 83,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 84,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 85,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 302,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 85
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 61,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 222,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 62,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback for connection state change events.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen((error) => console.log(\"An error occurred\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 63,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 64,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 234,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 65,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Calls a function any time a message is received.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onMessage((message) => console.log(message))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 66,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 55,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 56,
+ "name": "onOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Registers a callback for connection state change event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen(() => console.log(\"Socket opened.\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 57,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 78,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 287,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 79,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 80,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "Message"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 71,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 266,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 72,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 73,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 48,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 172,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 49,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 45,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 161,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 46,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 47,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 90,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 358,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 91,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 92,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 2
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 6,
+ 7,
+ 28,
+ 26,
+ 25,
+ 8,
+ 9,
+ 19,
+ 20,
+ 24,
+ 13,
+ 21,
+ 27,
+ 23,
+ 22,
+ 29,
+ 30,
+ 31,
+ 17,
+ 18
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 74,
+ 37,
+ 67,
+ 39,
+ 86,
+ 43,
+ 69,
+ 93,
+ 50,
+ 88,
+ 58,
+ 81,
+ 61,
+ 64,
+ 55,
+ 78,
+ 71,
+ 48,
+ 45,
+ 90
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 324,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 325,
+ "name": "new RealtimePresence",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Presence."
+ },
+ "parameters": [
+ {
+ "id": 326,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The RealtimeChannel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOpts",
+ "package": "@types/phoenix",
+ "name": "PresenceOpts"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 292,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 331,
+ "name": "caller",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 332,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 333,
+ "name": "onJoin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 48,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 334,
+ "name": "onLeave",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 49,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ },
+ {
+ "id": 335,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 336,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 333,
+ 334
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 335
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 337,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 134,
+ "name": "default"
+ }
+ },
+ {
+ "id": 330,
+ "name": "joinRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 329,
+ "name": "pendingDiffs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 328,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 349,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 345,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 350,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 351,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 352,
+ "name": "by",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 351,
+ "name": "T"
+ }
+ ],
+ "name": "PresenceChooser"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 351,
+ "name": "T"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "onJoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 333,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 339,
+ "name": "onJoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 340,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 341,
+ "name": "onLeave",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 337,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 342,
+ "name": "onLeave",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 343,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 341,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 346,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 347,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 348,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 305,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 263,
+ "character": 9
+ }
+ ],
+ "signatures": [
+ {
+ "id": 306,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the array of presences, with selected metadata."
+ },
+ "typeParameter": [
+ {
+ "id": 307,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 308,
+ "name": "presences",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 309,
+ "name": "chooser",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 307,
+ "name": "T"
+ }
+ ],
+ "name": "PresenceChooser"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 307,
+ "name": "T"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 299,
+ "name": "syncDiff",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 201,
+ "character": 9
+ }
+ ],
+ "signatures": [
+ {
+ "id": 300,
+ "name": "syncDiff",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Used to sync a diff of presence join and leave events from the\nserver, as they happen.",
+ "text": "Like `syncState`, `syncDiff` accepts optional `onJoin` and\n`onLeave` callbacks to react to a user joining or leaving from a\ndevice.\n"
+ },
+ "parameters": [
+ {
+ "id": 301,
+ "name": "state",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 302,
+ "name": "diff",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "PresenceDiff"
+ },
+ {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ ]
+ }
+ },
+ {
+ "id": 303,
+ "name": "onJoin",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 304,
+ "name": "onLeave",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 293,
+ "name": "syncState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 144,
+ "character": 9
+ }
+ ],
+ "signatures": [
+ {
+ "id": 294,
+ "name": "syncState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Used to sync the list of presences on the server with the\nclient's state.",
+ "text": "An optional `onJoin` and `onLeave` callback can be provided to\nreact to changes in the client's local presences across\ndisconnects and reconnects with the server.\n"
+ },
+ "parameters": [
+ {
+ "id": 295,
+ "name": "currentState",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 296,
+ "name": "newState",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "PresenceState"
+ },
+ {
+ "type": "reference",
+ "name": "RawPresenceState"
+ }
+ ]
+ }
+ },
+ {
+ "id": 297,
+ "name": "onJoin",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 298,
+ "name": "onLeave",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 324
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 331,
+ 337,
+ 330,
+ 329,
+ 328
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 349,
+ 338,
+ 341,
+ 344,
+ 305,
+ 299,
+ 293
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 43,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 117,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 118,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 123,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 126,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 127,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 128,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 129,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 121,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 122,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 130,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 131,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 120,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 119,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 124,
+ 123,
+ 126,
+ 121,
+ 122,
+ 130,
+ 125,
+ 120,
+ 119
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 22
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Namespaces",
+ "kind": 4,
+ "children": [
+ 355
+ ]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 134,
+ 1,
+ 292
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 117
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+}
\ No newline at end of file
diff --git a/spec/enrichments/tsdoc_v2/storage.json b/spec/enrichments/tsdoc_v2/storage.json
new file mode 100644
index 00000000000..10d8fae77c4
--- /dev/null
+++ b/spec/enrichments/tsdoc_v2/storage.json
@@ -0,0 +1,7212 @@
+{
+ "id": 0,
+ "name": "@supabase/storage-js",
+ "kind": 1,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "index",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 375,
+ "name": "StorageApiError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 376,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 377,
+ "name": "new StorageApiError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 378,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 379,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 375,
+ "name": "StorageApiError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 372,
+ "name": "StorageError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 371,
+ "name": "StorageError.constructor"
+ }
+ },
+ {
+ "id": 387,
+ "name": "__isStorageError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 374,
+ "name": "StorageError.__isStorageError"
+ }
+ },
+ {
+ "id": 380,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 381,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 382,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 383,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 385,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 384,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 386,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 27,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 385,
+ 384,
+ 386
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 376
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 387,
+ 380
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 381
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 14,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ ]
+ },
+ {
+ "id": 245,
+ "name": "StorageClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 246,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/StorageClient.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 247,
+ "name": "new StorageClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 248,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 249,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 250,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 251,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 252,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 253,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 254,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 255,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 256,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 257,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 245,
+ "name": "StorageClient"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 5,
+ "name": "default.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 4,
+ "name": "default.constructor"
+ }
+ },
+ {
+ "id": 266,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 267,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 268,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 269,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 270,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 21,
+ "name": "default.fetch"
+ }
+ },
+ {
+ "id": 262,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 263,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 264,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 265,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 17,
+ "name": "default.headers"
+ }
+ },
+ {
+ "id": 261,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 16,
+ "name": "default.url"
+ }
+ },
+ {
+ "id": 288,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 78,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 289,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new Storage bucket",
+ "returns": "newly created bucket id\n"
+ },
+ "parameters": [
+ {
+ "id": 290,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are creating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 291,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 292,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 293,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 80,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 293
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 294,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 295,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "Bucket"
+ },
+ {
+ "type": "literal",
+ "value": "name"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 296,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 84,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 295,
+ 296
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 87,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 299,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 88,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 298,
+ 299
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "default.createBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 43,
+ "name": "default.createBucket"
+ }
+ },
+ {
+ "id": 325,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 183,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 326,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."
+ },
+ "parameters": [
+ {
+ "id": 327,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to delete.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 328,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 329,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 187,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 330,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 331,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 187,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 331
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 332,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 188,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 329,
+ 332
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 333,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 334,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 191,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 335,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 192,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 334,
+ 335
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 81,
+ "name": "default.deleteBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 80,
+ "name": "default.deleteBucket"
+ }
+ },
+ {
+ "id": 314,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 148,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 315,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes all objects inside a single bucket."
+ },
+ "parameters": [
+ {
+ "id": 316,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to empty.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 317,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 318,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 152,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 320,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 152,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 320
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 321,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 153,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 318,
+ 321
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 322,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 323,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 156,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 324,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 157,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 323,
+ 324
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 70,
+ "name": "default.emptyBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 69,
+ "name": "default.emptyBucket"
+ }
+ },
+ {
+ "id": 258,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/StorageClient.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 259,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform file operation in a bucket."
+ },
+ "parameters": [
+ {
+ "id": 260,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The bucket id to operate on.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 279,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 280,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves the details of an existing Storage bucket."
+ },
+ "parameters": [
+ {
+ "id": 281,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to retrieve.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 282,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 283,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 336,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 284,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 53,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 283,
+ 284
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 285,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 286,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 287,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 286,
+ 287
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "default.getBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "default.getBucket"
+ }
+ },
+ {
+ "id": 271,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 272,
+ "name": "listBuckets",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves the details of all Storage buckets within an existing project."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 273,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 274,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 336,
+ "name": "Bucket"
+ }
+ }
+ },
+ {
+ "id": 275,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 274,
+ 275
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 276,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 277,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 27,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 278,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 28,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 277,
+ 278
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 27,
+ "name": "default.listBuckets"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 26,
+ "name": "default.listBuckets"
+ }
+ },
+ {
+ "id": 300,
+ "name": "updateBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 113,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 301,
+ "name": "updateBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates a new Storage bucket"
+ },
+ "parameters": [
+ {
+ "id": 302,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are updating.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 303,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 304,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 305,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 115,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 305
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 306,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 118,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 308,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 309,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 118,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 309
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 310,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 119,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 307,
+ 310
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 311,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 312,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 122,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 313,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 123,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 312,
+ 313
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 56,
+ "name": "default.updateBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 55,
+ "name": "default.updateBucket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 246
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 266,
+ 262,
+ 261
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 288,
+ 325,
+ 314,
+ 258,
+ 279,
+ 271,
+ 300
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/StorageClient.ts",
+ "line": 5,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 3,
+ "name": "default"
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "StorageError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 371,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 372,
+ "name": "new StorageError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 373,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 374,
+ "name": "__isStorageError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 371
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 374
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 1,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "StorageApiError"
+ },
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "StorageUnknownError"
+ }
+ ]
+ },
+ {
+ "id": 388,
+ "name": "StorageUnknownError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 389,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 390,
+ "name": "new StorageUnknownError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 391,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 392,
+ "name": "originalError",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 388,
+ "name": "StorageUnknownError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 372,
+ "name": "StorageError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 371,
+ "name": "StorageError.constructor"
+ }
+ },
+ {
+ "id": 394,
+ "name": "__isStorageError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 374,
+ "name": "StorageError.__isStorageError"
+ }
+ },
+ {
+ "id": 393,
+ "name": "originalError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 389
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 394,
+ 393
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ ]
+ },
+ {
+ "id": 336,
+ "name": "Bucket",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 340,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 337,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 2,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 338,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 3,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 339,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 342,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 7,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 341,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 340,
+ 337,
+ 338,
+ 339,
+ 342,
+ 341
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 343,
+ "name": "FileObject",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 345,
+ "name": "bucket_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
+ "name": "buckets",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 336,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 349,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 347,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 350,
+ "name": "last_accessed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 351,
+ "name": "metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 344,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 11,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 346,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 13,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 348,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 345,
+ 352,
+ 349,
+ 347,
+ 350,
+ 351,
+ 344,
+ 346,
+ 348
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 10,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 356,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 357,
+ "name": "cacheControl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 358,
+ "name": "contentType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 359,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 357,
+ 358,
+ 359
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 27,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 365,
+ "name": "Metadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 366,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 366
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 48,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 360,
+ "name": "SearchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The number of files you want to be returned."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 362,
+ "name": "offset",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The starting position."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 38,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 364,
+ "name": "search",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The search string to filter files by."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 363,
+ "name": "sortBy",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The column to sort by. Can be any column inside a FileObject."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 353,
+ "name": "SortBy"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 361,
+ 362,
+ 364,
+ 363
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 33,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 353,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 354,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 355,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 354,
+ 355
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 22,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 367,
+ "name": "isStorageError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 10,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 368,
+ "name": "isStorageError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 369,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 375,
+ 245,
+ 370,
+ 388
+ ]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 336,
+ 343,
+ 356,
+ 365,
+ 360,
+ 353
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 367
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "name": "packages/StorageBucketApi",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 3,
+ "name": "default",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 4,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 12,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 5,
+ "name": "new default",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 6,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 8,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 9,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 10,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 11,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 12,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 13,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 14,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 15,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 3,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 21,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 22,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 23,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 24,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 25,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 17,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 18,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 19,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 20,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 16,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 43,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 78,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 44,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new Storage bucket",
+ "returns": "newly created bucket id\n"
+ },
+ "parameters": [
+ {
+ "id": 45,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are creating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 46,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 47,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 48,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 80,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 48
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 49,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 50,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "Bucket"
+ },
+ {
+ "type": "literal",
+ "value": "name"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 51,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 84,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 50,
+ 51
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 53,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 87,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 54,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 88,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 53,
+ 54
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 80,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 183,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 81,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."
+ },
+ "parameters": [
+ {
+ "id": 82,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to delete.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 83,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 84,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 187,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 85,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 86,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 187,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 86
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 87,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 188,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 84,
+ 87
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 88,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 89,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 191,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 90,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 192,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 89,
+ 90
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 69,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 148,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 70,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes all objects inside a single bucket."
+ },
+ "parameters": [
+ {
+ "id": 71,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to empty.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 72,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 73,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 152,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 74,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 75,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 152,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 75
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 76,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 153,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 73,
+ 76
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 77,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 78,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 156,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 79,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 157,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 78,
+ 79
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 34,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 35,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves the details of an existing Storage bucket."
+ },
+ "parameters": [
+ {
+ "id": 36,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to retrieve.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 37,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 38,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 336,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 39,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 53,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 38,
+ 39
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 40,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 41,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 42,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 41,
+ 42
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 26,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 27,
+ "name": "listBuckets",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves the details of all Storage buckets within an existing project."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 28,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 29,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 336,
+ "name": "Bucket"
+ }
+ }
+ },
+ {
+ "id": 30,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 29,
+ 30
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 31,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 32,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 27,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 33,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 28,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 32,
+ 33
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 55,
+ "name": "updateBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 113,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 56,
+ "name": "updateBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates a new Storage bucket"
+ },
+ "parameters": [
+ {
+ "id": 57,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are updating.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 58,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 59,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 60,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 115,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 60
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 61,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 62,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 118,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 63,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 64,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 118,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 64
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 65,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 119,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 62,
+ 65
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 66,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 67,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 122,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 68,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 123,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 67,
+ 68
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 4
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 21,
+ 17,
+ 16
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 43,
+ 80,
+ 69,
+ 34,
+ 26,
+ 55
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 7,
+ "character": 21
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 245,
+ "name": "StorageClient"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 3
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 91,
+ "name": "packages/StorageFileApi",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 92,
+ "name": "default",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 93,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "new default",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 95,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 96,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 97,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 98,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 99,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 100,
+ "name": "bucketId",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 101,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 102,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 103,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 104,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 105,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 111,
+ "name": "bucketId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 112,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 25,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 113,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 114,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 115,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 116,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 107,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 23,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 108,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 109,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 110,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 106,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 22,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 169,
+ "name": "copy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 238,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 170,
+ "name": "copy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Copies an existing file."
+ },
+ "parameters": [
+ {
+ "id": 171,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The original file path, including the current file name. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 172,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The new file path, including the new file name. For example `folder/image-copy.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 173,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 174,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 175,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 176,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 243,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 176
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 177,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 244,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 174,
+ 177
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 178,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 179,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 247,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 180,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 248,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 179,
+ 180
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 181,
+ "name": "createSignedUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 274,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 182,
+ "name": "createSignedUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create signed URL to download file without requiring permissions. This URL can be valid for a set number of seconds."
+ },
+ "parameters": [
+ {
+ "id": 183,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The file path to be downloaded, including the current file name. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 184,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 185,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 186,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 279,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 187,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 188,
+ "name": "signedURL",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 279,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 188
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 189,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 280,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 186,
+ 189
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 191,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 283,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 192,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 284,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 191,
+ 192
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 193,
+ "name": "createSignedUrls",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 313,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 194,
+ "name": "createSignedUrls",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds."
+ },
+ "parameters": [
+ {
+ "id": 195,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`."
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 196,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 197,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 198,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 318,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 199,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 200,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 318,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 201,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 318,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 202,
+ "name": "signedURL",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 318,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 200,
+ 201,
+ 202
+ ]
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 203,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 319,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 198,
+ 203
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 204,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 205,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 322,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 206,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 323,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 205,
+ 206
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 207,
+ "name": "download",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 354,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 208,
+ "name": "download",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Downloads a file."
+ },
+ "parameters": [
+ {
+ "id": 209,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 210,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 211,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 358,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ }
+ },
+ {
+ "id": 212,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 359,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 211,
+ 212
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 213,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 214,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 362,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 215,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 363,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 214,
+ 215
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 216,
+ "name": "getPublicUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 388,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 217,
+ "name": "getPublicUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieve URLs for assets in public buckets and encapsulates it in a return object"
+ },
+ "parameters": [
+ {
+ "id": 218,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 228,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 496,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 229,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Lists all the files within a bucket."
+ },
+ "parameters": [
+ {
+ "id": 230,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The folder path."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 231,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Search options, including `limit`, `offset`, `sortBy`, and `search`."
+ },
+ "type": {
+ "type": "reference",
+ "id": 360,
+ "name": "SearchOptions"
+ }
+ },
+ {
+ "id": 232,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Fetch parameters, currently only supports `signal`, which is an AbortController's signal\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "FetchParameters"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 234,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 502,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 343,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 235,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 503,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 234,
+ 235
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 236,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 237,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 506,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 238,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 507,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 237,
+ 238
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 157,
+ "name": "move",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 202,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 158,
+ "name": "move",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Moves an existing file."
+ },
+ "parameters": [
+ {
+ "id": 159,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The original file path, including the current file name. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 160,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The new file path, including the new file name. For example `folder/image-new.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 162,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 207,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 163,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 164,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 207,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 164
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 165,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 208,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 162,
+ 165
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 166,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 167,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 211,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 168,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 212,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 167,
+ 168
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 219,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 398,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 220,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes files within the same bucket"
+ },
+ "parameters": [
+ {
+ "id": 221,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "An array of files to be deleted, including the path and file name. For example [`folder/image.png`].\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 222,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 223,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 402,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 343,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 224,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 403,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 223,
+ 224
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 225,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 226,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 406,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 227,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 407,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 226,
+ 227
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 144,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 169,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 145,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Replaces an existing file at the specified path with a new one."
+ },
+ "parameters": [
+ {
+ "id": 146,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 147,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "ArrayBuffer",
+ "package": "typescript",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "ArrayBufferView",
+ "package": "typescript",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Buffer",
+ "package": "@types/node",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "File",
+ "package": "typescript",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "FormData",
+ "package": "typescript",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "NodeJS.ReadableStream",
+ "package": "@types/node",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Uint8Array",
+ "package": "typescript",
+ "name": "Uint8Array"
+ }
+ ],
+ "qualifiedName": "ReadableStream",
+ "package": "typescript",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URLSearchParams",
+ "package": "typescript",
+ "name": "URLSearchParams"
+ }
+ ]
+ }
+ },
+ {
+ "id": 148,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 356,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 149,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 150,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 185,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 152,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 185,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 152
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 153,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 186,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 150,
+ 153
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 189,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 156,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 190,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 155,
+ 156
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 131,
+ "name": "upload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 132,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 132,
+ "name": "upload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Uploads a file to an existing bucket."
+ },
+ "parameters": [
+ {
+ "id": 133,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 134,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "ArrayBuffer",
+ "package": "typescript",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "ArrayBufferView",
+ "package": "typescript",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Buffer",
+ "package": "@types/node",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "File",
+ "package": "typescript",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "FormData",
+ "package": "typescript",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "NodeJS.ReadableStream",
+ "package": "@types/node",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Uint8Array",
+ "package": "typescript",
+ "name": "Uint8Array"
+ }
+ ],
+ "qualifiedName": "ReadableStream",
+ "package": "typescript",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URLSearchParams",
+ "package": "typescript",
+ "name": "URLSearchParams"
+ }
+ ]
+ }
+ },
+ {
+ "id": 135,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 356,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 136,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 137,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 148,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 138,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 139,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 148,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 139
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 140,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 149,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 137,
+ 140
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 141,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 142,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 152,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 143,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 153,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 370,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 142,
+ 143
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 93
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 111,
+ 112,
+ 107,
+ 106
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 169,
+ 181,
+ 193,
+ 207,
+ 216,
+ 228,
+ 157,
+ 219,
+ 144,
+ 131
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 21,
+ "character": 21
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 92
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 2,
+ "children": [
+ 1,
+ 2,
+ 91
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/spec/enrichments/tsdoc_v2/supabase.json b/spec/enrichments/tsdoc_v2/supabase.json
new file mode 100644
index 00000000000..5f1f0caa0f0
--- /dev/null
+++ b/spec/enrichments/tsdoc_v2/supabase.json
@@ -0,0 +1,29941 @@
+{
+ "id": 0,
+ "name": "@supabase/supabase-js",
+ "kind": 1,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "index",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 747,
+ "name": "Session",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "target": 141
+ },
+ {
+ "id": 255,
+ "name": "SupabaseClientOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 14,
+ "character": 14
+ }
+ ],
+ "target": 79
+ },
+ {
+ "id": 759,
+ "name": "User",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "target": 113
+ },
+ {
+ "id": 1360,
+ "name": "Transformers",
+ "kind": 4,
+ "kindString": "Namespace",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1361,
+ "name": "PostgresTypes",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Helpers to convert the change Payload into native JS types."
+ },
+ "children": [
+ {
+ "id": 1362,
+ "name": "abstime",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 5,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "abstime"
+ },
+ "defaultValue": "\"abstime\""
+ },
+ {
+ "id": 1363,
+ "name": "bool",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 6,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "bool"
+ },
+ "defaultValue": "\"bool\""
+ },
+ {
+ "id": 1364,
+ "name": "date",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 7,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "date"
+ },
+ "defaultValue": "\"date\""
+ },
+ {
+ "id": 1365,
+ "name": "daterange",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 8,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "daterange"
+ },
+ "defaultValue": "\"daterange\""
+ },
+ {
+ "id": 1366,
+ "name": "float4",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 9,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "float4"
+ },
+ "defaultValue": "\"float4\""
+ },
+ {
+ "id": 1367,
+ "name": "float8",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "float8"
+ },
+ "defaultValue": "\"float8\""
+ },
+ {
+ "id": 1368,
+ "name": "int2",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int2"
+ },
+ "defaultValue": "\"int2\""
+ },
+ {
+ "id": 1369,
+ "name": "int4",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 12,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int4"
+ },
+ "defaultValue": "\"int4\""
+ },
+ {
+ "id": 1370,
+ "name": "int4range",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int4range"
+ },
+ "defaultValue": "\"int4range\""
+ },
+ {
+ "id": 1371,
+ "name": "int8",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 14,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int8"
+ },
+ "defaultValue": "\"int8\""
+ },
+ {
+ "id": 1372,
+ "name": "int8range",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 15,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "int8range"
+ },
+ "defaultValue": "\"int8range\""
+ },
+ {
+ "id": 1373,
+ "name": "json",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 16,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "json"
+ },
+ "defaultValue": "\"json\""
+ },
+ {
+ "id": 1374,
+ "name": "jsonb",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "jsonb"
+ },
+ "defaultValue": "\"jsonb\""
+ },
+ {
+ "id": 1375,
+ "name": "money",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 18,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "money"
+ },
+ "defaultValue": "\"money\""
+ },
+ {
+ "id": 1376,
+ "name": "numeric",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "numeric"
+ },
+ "defaultValue": "\"numeric\""
+ },
+ {
+ "id": 1377,
+ "name": "oid",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "oid"
+ },
+ "defaultValue": "\"oid\""
+ },
+ {
+ "id": 1378,
+ "name": "reltime",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "reltime"
+ },
+ "defaultValue": "\"reltime\""
+ },
+ {
+ "id": 1379,
+ "name": "text",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 22,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "text"
+ },
+ "defaultValue": "\"text\""
+ },
+ {
+ "id": 1380,
+ "name": "time",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "time"
+ },
+ "defaultValue": "\"time\""
+ },
+ {
+ "id": 1381,
+ "name": "timestamp",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 24,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "timestamp"
+ },
+ "defaultValue": "\"timestamp\""
+ },
+ {
+ "id": 1382,
+ "name": "timestamptz",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 25,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "timestamptz"
+ },
+ "defaultValue": "\"timestamptz\""
+ },
+ {
+ "id": 1383,
+ "name": "timetz",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 26,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "timetz"
+ },
+ "defaultValue": "\"timetz\""
+ },
+ {
+ "id": 1384,
+ "name": "tsrange",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "tsrange"
+ },
+ "defaultValue": "\"tsrange\""
+ },
+ {
+ "id": 1385,
+ "name": "tstzrange",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "tstzrange"
+ },
+ "defaultValue": "\"tstzrange\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [
+ 1362,
+ 1363,
+ 1364,
+ 1365,
+ 1366,
+ 1367,
+ 1368,
+ 1369,
+ 1370,
+ 1371,
+ 1372,
+ 1373,
+ 1374,
+ 1375,
+ 1376,
+ 1377,
+ 1378,
+ 1379,
+ 1380,
+ 1381,
+ 1382,
+ 1383,
+ 1384,
+ 1385
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 4,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 1399,
+ "name": "convertCell",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 84,
+ "character": 21
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1400,
+ "name": "convertCell",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "If the value of the cell is `null`, returns null.\nOtherwise converts the string value to the correct type.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "convertCell('bool', 't')\n//=> true"
+ },
+ {
+ "tag": "example",
+ "text": "convertCell('int8', '10')\n//=> 10"
+ },
+ {
+ "tag": "example",
+ "text": "convertCell('_int4', '{1,2,3,4}')\n//=> [1,2,3,4]\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1401,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A postgres column type"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1402,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1386,
+ "name": "convertChangeData",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 53,
+ "character": 21
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1387,
+ "name": "convertChangeData",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Takes an array of columns and an object of string values then converts each string value\nto its mapped type.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "convertChangeData([{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age:'33'}, {})\n//=>{ first_name: 'Paul', age: 33 }\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1388,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Columns",
+ "package": "@supabase/realtime-js",
+ "name": "Columns"
+ }
+ },
+ {
+ "id": 1389,
+ "name": "record",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Record",
+ "package": "@supabase/realtime-js",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 1390,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The map of various options that can be applied to the mapper"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1391,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1392,
+ "name": "skipTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The array of types that should not be converted\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 54,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1392
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Record",
+ "package": "@supabase/realtime-js",
+ "name": "Record"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1393,
+ "name": "convertColumn",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 70,
+ "character": 21
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1394,
+ "name": "convertColumn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Converts the value of an individual column.",
+ "returns": "Useless information\n",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33"
+ },
+ {
+ "tag": "example",
+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1395,
+ "name": "columnName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The column that you want to convert"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1396,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Columns",
+ "package": "@supabase/realtime-js",
+ "name": "Columns"
+ }
+ },
+ {
+ "id": 1397,
+ "name": "record",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The map of string values"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Record",
+ "package": "@supabase/realtime-js",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 1398,
+ "name": "skipTypes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "An array of types that should not be converted"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1412,
+ "name": "toArray",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 98,
+ "character": 21
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1413,
+ "name": "toArray",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Converts a Postgres Array into a native JS array",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "toArray('{}', 'int4')\n//=> []"
+ },
+ {
+ "tag": "example",
+ "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']"
+ },
+ {
+ "tag": "example",
+ "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1414,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ },
+ {
+ "id": 1415,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1403,
+ "name": "toBoolean",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 85,
+ "character": 21
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1404,
+ "name": "toBoolean",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1405,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1409,
+ "name": "toJson",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 87,
+ "character": 21
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1410,
+ "name": "toJson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1411,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1406,
+ "name": "toNumber",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 86,
+ "character": 21
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1407,
+ "name": "toNumber",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1408,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1416,
+ "name": "toTimestampString",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 106,
+ "character": 21
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1417,
+ "name": "toTimestampString",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\nSee https://github.com/supabase/supabase/issues/18",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "toTimestampString('2019-09-10 00:00:00')\n//=> '2019-09-10T00:00:00'\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1418,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RecordValue",
+ "package": "@supabase/realtime-js",
+ "name": "RecordValue"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "kind": 8,
+ "children": [
+ 1361
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 1399,
+ 1386,
+ 1393,
+ 1412,
+ 1403,
+ 1409,
+ 1406,
+ 1416
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts",
+ "line": 4,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 878,
+ "name": "AuthApiError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 889,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 8,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 890,
+ "name": "new AuthApiError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 891,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 892,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 878,
+ "qualifiedName": "AuthApiError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthApiError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 872,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 871,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 900,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 874,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 902,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 876,
+ "name": "AuthError.message"
+ }
+ },
+ {
+ "id": 901,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1022,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 875,
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 903,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 877,
+ "name": "AuthError.stack"
+ }
+ },
+ {
+ "id": 893,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 7,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 883,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 884,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 885,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 886,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 887,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 865,
+ "name": "AuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 888,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 870,
+ "name": "AuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 894,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 9,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 895,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 896,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 898,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 897,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 899,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 12,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 898,
+ 897,
+ 899
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 879,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 880,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 881,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 882,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 862,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 861,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 889
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 900,
+ 902,
+ 901,
+ 903,
+ 893,
+ 883,
+ 888
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 894,
+ 879
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 6,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 860,
+ "name": "AuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 871,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 3,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 872,
+ "name": "new AuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 873,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 874,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 876,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.message"
+ }
+ },
+ {
+ "id": 875,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1022,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.name"
+ }
+ },
+ {
+ "id": 877,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.stack"
+ }
+ },
+ {
+ "id": 865,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 866,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 867,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 868,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 869,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.prepareStackTrace"
+ }
+ },
+ {
+ "id": 870,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.stackTraceLimit"
+ }
+ },
+ {
+ "id": 861,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 862,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 863,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 864,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Error.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 871
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 874,
+ 876,
+ 875,
+ 877,
+ 865,
+ 870
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 861
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 1,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 878,
+ "name": "AuthApiError"
+ },
+ {
+ "type": "reference",
+ "id": 904,
+ "name": "AuthUnknownError"
+ },
+ {
+ "type": "reference",
+ "id": 924,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 951,
+ "name": "AuthEventMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 962,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 30,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 963,
+ "name": "new AuthEventMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 951,
+ "qualifiedName": "AuthEventMissingError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthEventMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 936,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 935,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 972,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 948,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 973,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 949,
+ "name": "CustomAuthError.message"
+ }
+ },
+ {
+ "id": 964,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 940,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 974,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 950,
+ "name": "CustomAuthError.stack"
+ }
+ },
+ {
+ "id": 965,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 941,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 956,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 957,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 958,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 959,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 960,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 929,
+ "name": "CustomAuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 961,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 934,
+ "name": "CustomAuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 966,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 967,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 968,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 970,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 969,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 971,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 970,
+ 969,
+ 971
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 943,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 942,
+ "name": "CustomAuthError.toJSON"
+ }
+ },
+ {
+ "id": 952,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 953,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 954,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 955,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 926,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 925,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 962
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 972,
+ 973,
+ 964,
+ 974,
+ 965,
+ 956,
+ 961
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 966,
+ 952
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 29,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1023,
+ "name": "AuthInvalidCredentialsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1034,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 39,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1035,
+ "name": "new AuthInvalidCredentialsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1036,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1023,
+ "qualifiedName": "AuthInvalidCredentialsError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthInvalidCredentialsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 936,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 935,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1045,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 948,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1046,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 949,
+ "name": "CustomAuthError.message"
+ }
+ },
+ {
+ "id": 1037,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 940,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1047,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 950,
+ "name": "CustomAuthError.stack"
+ }
+ },
+ {
+ "id": 1038,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 941,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1028,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1029,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 1030,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1031,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 1032,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 929,
+ "name": "CustomAuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 1033,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 934,
+ "name": "CustomAuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 1039,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1040,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1041,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1043,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1042,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1044,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1043,
+ 1042,
+ 1044
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 943,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 942,
+ "name": "CustomAuthError.toJSON"
+ }
+ },
+ {
+ "id": 1024,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 1025,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 1026,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 1027,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 926,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 925,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 1034
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1045,
+ 1046,
+ 1037,
+ 1047,
+ 1038,
+ 1028,
+ 1033
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 1039,
+ 1024
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 38,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 999,
+ "name": "AuthNoCookieError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1010,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1011,
+ "name": "new AuthNoCookieError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 999,
+ "qualifiedName": "AuthNoCookieError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthNoCookieError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 936,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 935,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1020,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 948,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1021,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 949,
+ "name": "CustomAuthError.message"
+ }
+ },
+ {
+ "id": 1012,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 940,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1022,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 950,
+ "name": "CustomAuthError.stack"
+ }
+ },
+ {
+ "id": 1013,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 941,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1004,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1005,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 1006,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1007,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 1008,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 929,
+ "name": "CustomAuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 1009,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 934,
+ "name": "CustomAuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 1014,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1015,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1016,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1018,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1017,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1019,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1018,
+ 1017,
+ 1019
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 943,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 942,
+ "name": "CustomAuthError.toJSON"
+ }
+ },
+ {
+ "id": 1000,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 1001,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 1002,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 1003,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 926,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 925,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 1010
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1020,
+ 1021,
+ 1012,
+ 1022,
+ 1013,
+ 1004,
+ 1009
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 1014,
+ 1000
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 35,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 975,
+ "name": "AuthSessionMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 986,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 33,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 987,
+ "name": "new AuthSessionMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 975,
+ "qualifiedName": "AuthSessionMissingError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthSessionMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 936,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 935,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 996,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 948,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 997,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 949,
+ "name": "CustomAuthError.message"
+ }
+ },
+ {
+ "id": 988,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 940,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 998,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 950,
+ "name": "CustomAuthError.stack"
+ }
+ },
+ {
+ "id": 989,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 941,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 980,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 981,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 982,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 983,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 984,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 929,
+ "name": "CustomAuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 985,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 934,
+ "name": "CustomAuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 990,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 991,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 992,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 994,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 993,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 995,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 994,
+ 993,
+ 995
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 943,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 942,
+ "name": "CustomAuthError.toJSON"
+ }
+ },
+ {
+ "id": 976,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 977,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 978,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 979,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 926,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 925,
+ "name": "CustomAuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 986
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 996,
+ 997,
+ 988,
+ 998,
+ 989,
+ 980,
+ 985
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 990,
+ 976
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 32,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 904,
+ "name": "AuthUnknownError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 915,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 916,
+ "name": "new AuthUnknownError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 917,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 918,
+ "name": "originalError",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 904,
+ "qualifiedName": "AuthUnknownError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthUnknownError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 872,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 871,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 920,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 874,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 922,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 876,
+ "name": "AuthError.message"
+ }
+ },
+ {
+ "id": 921,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1022,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 875,
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 919,
+ "name": "originalError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 16,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ },
+ {
+ "id": 923,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 877,
+ "name": "AuthError.stack"
+ }
+ },
+ {
+ "id": 909,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 910,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 911,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 912,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 913,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 865,
+ "name": "AuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 914,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 870,
+ "name": "AuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 905,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 906,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 907,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 908,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 862,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 861,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 915
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 920,
+ 922,
+ 921,
+ 919,
+ 923,
+ 909,
+ 914
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 905
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 15,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 924,
+ "name": "CustomAuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 935,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 22,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 936,
+ "name": "new CustomAuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 937,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 938,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 939,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 924,
+ "qualifiedName": "CustomAuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "CustomAuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 872,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 871,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 948,
+ "name": "__isAuthError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 874,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 949,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1023,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 876,
+ "name": "AuthError.message"
+ }
+ },
+ {
+ "id": 940,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 875,
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 950,
+ "name": "stack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.es5.d.ts",
+ "line": 1024,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 877,
+ "name": "AuthError.stack"
+ }
+ },
+ {
+ "id": 941,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 929,
+ "name": "prepareStackTrace",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 930,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 931,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Optional override for formatting stack traces",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 932,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ },
+ {
+ "id": 933,
+ "name": "stackTraces",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "NodeJS.CallSite",
+ "package": "@types/node",
+ "name": "CallSite"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 865,
+ "name": "AuthError.prepareStackTrace"
+ }
+ },
+ {
+ "id": 934,
+ "name": "stackTraceLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 870,
+ "name": "AuthError.stackTraceLimit"
+ }
+ },
+ {
+ "id": 942,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 943,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 944,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 946,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 945,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 947,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 946,
+ 945,
+ 947
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 925,
+ "name": "captureStackTrace",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 926,
+ "name": "captureStackTrace",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create .stack property on a target object"
+ },
+ "parameters": [
+ {
+ "id": 927,
+ "name": "targetObject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 928,
+ "name": "constructorOpt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 862,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 861,
+ "name": "AuthError.captureStackTrace"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 935
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 948,
+ 949,
+ 940,
+ 950,
+ 941,
+ 929,
+ 934
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 942,
+ 925
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 19,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 951,
+ "name": "AuthEventMissingError"
+ },
+ {
+ "type": "reference",
+ "id": 975,
+ "name": "AuthSessionMissingError"
+ },
+ {
+ "type": "reference",
+ "id": 999,
+ "name": "AuthNoCookieError"
+ },
+ {
+ "type": "reference",
+ "id": 1023,
+ "name": "AuthInvalidCredentialsError"
+ }
+ ]
+ },
+ {
+ "id": 256,
+ "name": "GoTrueApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 257,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 258,
+ "name": "new GoTrueApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 259,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 260,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 266,
+ "name": "cookieOptions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 16,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 784,
+ "qualifiedName": "CookieOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "CookieOptions"
+ }
+ },
+ {
+ "id": 267,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 17,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 268,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 269,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 270,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 271,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 262,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 263,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 264,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 265,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 261,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 12,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 266,
+ 267,
+ 262,
+ 261
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 256,
+ "qualifiedName": "GoTrueApi",
+ "package": "@supabase/gotrue-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 283,
+ "name": "_createRequestHeaders",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods",
+ "tags": [
+ {
+ "tag": "param",
+ "text": "A valid, logged-in JWT.\n",
+ "param": "jwt"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 284,
+ "name": "cookieName",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 25,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 277,
+ "name": "cookieOptions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 9,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 784,
+ "qualifiedName": "CookieOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "CookieOptions"
+ }
+ },
+ {
+ "id": 278,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 10,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 279,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 280,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 281,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 282,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 273,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 6,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 274,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 275,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 276,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 272,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 5,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 500,
+ "name": "createUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 298,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 501,
+ "name": "createUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Creates a new user.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "parameters": [
+ {
+ "id": 502,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The data you want to create the user with.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 766,
+ "qualifiedName": "AdminUserAttributes",
+ "package": "@supabase/gotrue-js",
+ "name": "AdminUserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 503,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 505,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 300,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ },
+ {
+ "id": 506,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 301,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 504,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 299,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 505,
+ 506,
+ 504
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 507,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 509,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 304,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 510,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 305,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 508,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 303,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 509,
+ 510,
+ 508
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 471,
+ "name": "deleteAuthCookie",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 259,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 472,
+ "name": "deleteAuthCookie",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Deletes the Auth Cookies and redirects to the"
+ },
+ "parameters": [
+ {
+ "id": 473,
+ "name": "req",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The request object."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 474,
+ "name": "res",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The response object."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 475,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 476,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 477,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 260,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 477
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ },
+ {
+ "id": 552,
+ "name": "deleteUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 369,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 553,
+ "name": "deleteUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Delete a user. Requires a `service_role` key.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "parameters": [
+ {
+ "id": 554,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The user uid you want to remove.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 555,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 557,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 371,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 556,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 370,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 557,
+ 556
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 558,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 560,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 374,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 559,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 373,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 560,
+ 559
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 482,
+ "name": "generateLink",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 277,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 483,
+ "name": "generateLink",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Generates links to be sent via email or other."
+ },
+ "parameters": [
+ {
+ "id": 484,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ }
+ ]
+ }
+ },
+ {
+ "id": 485,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 486,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 487,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 489,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata. For signup only."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 279,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 488,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "User password. For signup only."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 490,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\").\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 280,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 489,
+ 488,
+ 490
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 491,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 492,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 282,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ },
+ {
+ "id": 493,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 283,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 492,
+ 493
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 494,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 495,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 285,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ },
+ {
+ "id": 496,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 286,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 495,
+ 496
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 497,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 498,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 499,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 289,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 498,
+ 499
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 478,
+ "name": "getAuthCookieString",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 268,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 479,
+ "name": "getAuthCookieString",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Helper method to generate the Auth Cookie string for you in case you can't use `setAuthCookie`.",
+ "returns": "The Cookie string that needs to be set as the value for the `Set-Cookie` header.\n"
+ },
+ "parameters": [
+ {
+ "id": 480,
+ "name": "req",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The request object."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 481,
+ "name": "res",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The response object."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 285,
+ "name": "getUrlForProvider",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 32,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 286,
+ "name": "getUrlForProvider",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Generates the relevant login URL for a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 287,
+ "name": "provider",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "type": {
+ "type": "reference",
+ "id": 719,
+ "qualifiedName": "Provider",
+ "package": "@supabase/gotrue-js",
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 288,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 289,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 292,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 35,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 293,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 294,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 295,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 290,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 33,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 291,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 34,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 292,
+ 290,
+ 291
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 561,
+ "name": "getUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 385,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 562,
+ "name": "getUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Gets the current user details.",
+ "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n"
+ },
+ "parameters": [
+ {
+ "id": 563,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 564,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 566,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 387,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 565,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 386,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 566,
+ 565
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 567,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 569,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 390,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 568,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 389,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 569,
+ 568
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 528,
+ "name": "getUserByCookie",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 337,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 529,
+ "name": "getUserByCookie",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)."
+ },
+ "parameters": [
+ {
+ "id": 530,
+ "name": "req",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 531,
+ "name": "res",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 532,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 535,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 340,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ ]
+ }
+ },
+ {
+ "id": 536,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 341,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 533,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 338,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 534,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 339,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 535,
+ 536,
+ 533,
+ 534
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 537,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 540,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 345,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ ]
+ }
+ },
+ {
+ "id": 541,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 346,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 538,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 343,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 539,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 344,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 540,
+ 541,
+ 538,
+ 539
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 519,
+ "name": "getUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 326,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 520,
+ "name": "getUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Get user by id."
+ },
+ "parameters": [
+ {
+ "id": 521,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 522,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 524,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 328,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 523,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 327,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 524,
+ 523
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 525,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 527,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 331,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 526,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 330,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 527,
+ 526
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 431,
+ "name": "inviteUserByEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 210,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 432,
+ "name": "inviteUserByEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Sends an invite link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 433,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 434,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 435,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 437,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 212,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 436,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 211,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 437,
+ 436
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 438,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 440,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 215,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 439,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 214,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 440,
+ 439
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 441,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 443,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 218,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 442,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 217,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 443,
+ 442
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 511,
+ "name": "listUsers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 312,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 512,
+ "name": "listUsers",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Get a list of users.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 513,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 515,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 314,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 514,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 313,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 515,
+ 514
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 516,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 518,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 317,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 517,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 316,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 518,
+ 517
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 458,
+ "name": "refreshAccessToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 239,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 459,
+ "name": "refreshAccessToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Generates a new JWT."
+ },
+ "parameters": [
+ {
+ "id": 460,
+ "name": "refreshToken",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A valid refresh token that was returned on login.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 461,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 463,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 241,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 462,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 240,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 463,
+ 462
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 464,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 466,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 244,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 465,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 466,
+ 465
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 444,
+ "name": "resetPasswordForEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 225,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 445,
+ "name": "resetPasswordForEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Sends a reset request to an email address."
+ },
+ "parameters": [
+ {
+ "id": 446,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 447,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 448,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 450,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 449,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 226,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 450,
+ 449
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 451,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 452,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 229,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 453,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ }
+ }
+ }
+ },
+ {
+ "id": 454,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 230,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 452,
+ 454
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 456,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 232,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 457,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 233,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 456,
+ 457
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 366,
+ "name": "sendMagicLinkEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 133,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "sendMagicLinkEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Sends a magic login link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 368,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 370,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 373,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 136,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 372,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 135,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 371,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 134,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 373,
+ 372,
+ 371
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 374,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 375,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 138,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 376,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ }
+ }
+ }
+ },
+ {
+ "id": 377,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 139,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 375,
+ 377
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 379,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 141,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 380,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 142,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 379,
+ 380
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 381,
+ "name": "sendMobileOTP",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 149,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 382,
+ "name": "sendMobileOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"
+ },
+ "parameters": [
+ {
+ "id": 383,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The user's phone number WITH international prefix"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 384,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 385,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 387,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 151,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 386,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 150,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 387,
+ 386
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 388,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 389,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 153,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 390,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ }
+ }
+ }
+ },
+ {
+ "id": 391,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 154,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 389,
+ 391
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 392,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 393,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 156,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 394,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 157,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 393,
+ 394
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 467,
+ "name": "setAuthCookie",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 252,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 468,
+ "name": "setAuthCookie",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."
+ },
+ "parameters": [
+ {
+ "id": 469,
+ "name": "req",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The request object."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 470,
+ "name": "res",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The response object.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 314,
+ "name": "signInWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 315,
+ "name": "signInWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Logs in an existing user using their email address."
+ },
+ "parameters": [
+ {
+ "id": 316,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 317,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 318,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 320,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 70,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 320
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 321,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 322,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 72,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ },
+ {
+ "id": 323,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 73,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 322,
+ 323
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 324,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 325,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 75,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 76,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 325,
+ 326
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "signInWithOpenIDConnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 120,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "signInWithOpenIDConnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Logs in an OpenID Connect user using their id_token."
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 843,
+ "qualifiedName": "OpenIDConnectCredentials",
+ "package": "@supabase/gotrue-js",
+ "name": "OpenIDConnectCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 360,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 362,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 122,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 361,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 121,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 362,
+ 361
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 363,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 365,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 125,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 364,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 365,
+ 364
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "signInWithPhone",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 103,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "signInWithPhone",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Logs in an existing user using their phone number and password."
+ },
+ "parameters": [
+ {
+ "id": 346,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The phone number of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 347,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 348,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 349,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 350,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on your site.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 104,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 350
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 353,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 107,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 352,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 106,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 353,
+ 352
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 354,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 356,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 110,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 355,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 109,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 356,
+ 355
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 395,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 163,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 396,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 397,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 398,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 399,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 164,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 399
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 296,
+ "name": "signUpWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 49,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 297,
+ "name": "signUpWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Creates a new user using their email address.",
+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"
+ },
+ "parameters": [
+ {
+ "id": 298,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 299,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 300,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 301,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 304,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 303,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 51,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 302,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 50,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 304,
+ 303,
+ 302
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 305,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 306,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 54,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ },
+ {
+ "id": 307,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 55,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 306,
+ 307
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 308,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 309,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ },
+ {
+ "id": 310,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 58,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 309,
+ 310
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 311,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 312,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 60,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 313,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 61,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 312,
+ 313
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 327,
+ "name": "signUpWithPhone",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 84,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 328,
+ "name": "signUpWithPhone",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Signs up a new user using their phone number and a password."
+ },
+ "parameters": [
+ {
+ "id": 329,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The phone number of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 330,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The password of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 331,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 332,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 334,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 86,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 333,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 85,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 334,
+ 333
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 335,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 336,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 88,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ },
+ {
+ "id": 337,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 89,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 336,
+ 337
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 338,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 339,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 91,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 92,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 339,
+ 340
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 342,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 94,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 343,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 95,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 342,
+ 343
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 570,
+ "name": "updateUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 397,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 571,
+ "name": "updateUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 572,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A valid, logged-in JWT."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 573,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The data you want to update.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 760,
+ "qualifiedName": "UserAttributes",
+ "package": "@supabase/gotrue-js",
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 574,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 576,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 399,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 575,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 398,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 576,
+ 575
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 577,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 579,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 402,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 578,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 401,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 579,
+ 578
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 542,
+ "name": "updateUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 355,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 543,
+ "name": "updateUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 544,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 545,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 766,
+ "qualifiedName": "AdminUserAttributes",
+ "package": "@supabase/gotrue-js",
+ "name": "AdminUserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 546,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 548,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 357,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 547,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 356,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 548,
+ 547
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 549,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 551,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 360,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 550,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 359,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 551,
+ 550
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 400,
+ "name": "verifyMobileOTP",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 172,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 401,
+ "name": "verifyMobileOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `verifyOTP` instead!"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 402,
+ "name": "phone",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The user's phone number WITH international prefix"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 403,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "token that user was sent to their mobile phone"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 404,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 405,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 406,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 173,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 406
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 407,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 408,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 175,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ },
+ {
+ "id": 409,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 176,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 408,
+ 409
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 410,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 411,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 178,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ },
+ {
+ "id": 412,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 179,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 411,
+ 412
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 413,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 414,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 181,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 415,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 182,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 414,
+ 415
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 416,
+ "name": "verifyOTP",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 192,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 417,
+ "name": "verifyOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Send User supplied Email / Mobile OTP to be verified"
+ },
+ "parameters": [
+ {
+ "id": 418,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 830,
+ "qualifiedName": "VerifyOTPParams",
+ "package": "@supabase/gotrue-js",
+ "name": "VerifyOTPParams"
+ }
+ },
+ {
+ "id": 419,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 420,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 421,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 193,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 421
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 422,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 423,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 195,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ },
+ {
+ "id": 424,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 196,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 423,
+ 424
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 425,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 426,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 198,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ },
+ {
+ "id": 427,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 199,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 426,
+ 427
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 429,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 201,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 430,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 202,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 429,
+ 430
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 257
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 283,
+ 284,
+ 277,
+ 278,
+ 273,
+ 272
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 500,
+ 471,
+ 552,
+ 482,
+ 478,
+ 285,
+ 561,
+ 528,
+ 519,
+ 431,
+ 511,
+ 458,
+ 444,
+ 366,
+ 381,
+ 467,
+ 314,
+ 357,
+ 344,
+ 395,
+ 296,
+ 327,
+ 570,
+ 542,
+ 400,
+ 416
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts",
+ "line": 4,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 580,
+ "name": "GoTrueClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 581,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 41,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 582,
+ "name": "new GoTrueClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 583,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 584,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 592,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 596,
+ "name": "cookieOptions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {},
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 784,
+ "qualifiedName": "CookieOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "CookieOptions"
+ }
+ },
+ {
+ "id": 591,
+ "name": "detectSessionInUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 47,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 597,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 53,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 598,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 599,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A custom fetch implementation.\n"
+ },
+ "parameters": [
+ {
+ "id": 600,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 601,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 586,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Any additional headers to send to the GoTrue server."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 43,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 587,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 588,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 589,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 595,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set to \"false\" if you want to disable multi-tab/window events."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 51,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 593,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 49,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 594,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 50,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "qualifiedName": "PromisifyMethods",
+ "package": "@supabase/gotrue-js",
+ "name": "PromisifyMethods"
+ }
+ },
+ {
+ "id": 590,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional key name used for storing tokens in local storage"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 46,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 585,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The URL of the GoTrue server."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 592,
+ 596,
+ 591,
+ 597,
+ 586,
+ 595,
+ 593,
+ 594,
+ 590,
+ 585
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 580,
+ "qualifiedName": "GoTrueClient",
+ "package": "@supabase/gotrue-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 712,
+ "name": "_callRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 199,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 706,
+ "name": "_doesSessionExist",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 189,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 707,
+ "name": "_handleEmailSignIn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 190,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 710,
+ "name": "_handleOpenIDConnectSignIn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 193,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 708,
+ "name": "_handlePhoneSignIn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 191,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 709,
+ "name": "_handleProviderSignIn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 192,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 718,
+ "name": "_handleVisibilityChange",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 213,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 713,
+ "name": "_notifyAllSubscribers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 200,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 715,
+ "name": "_persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 206,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 711,
+ "name": "_recoverAndRefresh",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 198,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 716,
+ "name": "_removeSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 207,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 714,
+ "name": "_saveSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 205,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 717,
+ "name": "_startAutoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Clear and re-create refresh token timer",
+ "tags": [
+ {
+ "tag": "param",
+ "text": "time intervals in milliseconds\n",
+ "param": "value"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 212,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 602,
+ "name": "api",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 256,
+ "qualifiedName": "GoTrueApi",
+ "package": "@supabase/gotrue-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 605,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 21,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 604,
+ "name": "inMemorySession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The session object for the currently logged in user or null.\nOnly used if persistSession is false."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 20,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ ]
+ }
+ },
+ {
+ "id": 610,
+ "name": "networkRetries",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 26,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 606,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 22,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 609,
+ "name": "refreshTokenTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 25,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timeout",
+ "package": "@types/node",
+ "name": "Timeout"
+ }
+ },
+ {
+ "id": 611,
+ "name": "refreshingDeferred",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 27,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 850,
+ "qualifiedName": "CallRefreshTokenResult",
+ "package": "@supabase/gotrue-js",
+ "name": "CallRefreshTokenResult"
+ }
+ ],
+ "qualifiedName": "Deferred",
+ "package": "@supabase/gotrue-js",
+ "name": "Deferred"
+ }
+ ]
+ }
+ },
+ {
+ "id": 608,
+ "name": "stateChangeEmitters",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 24,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 776,
+ "qualifiedName": "Subscription",
+ "package": "@supabase/gotrue-js",
+ "name": "Subscription"
+ }
+ ],
+ "qualifiedName": "Map",
+ "package": "typescript",
+ "name": "Map"
+ }
+ },
+ {
+ "id": 607,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 23,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "qualifiedName": "PromisifyMethods",
+ "package": "@supabase/gotrue-js",
+ "name": "PromisifyMethods"
+ }
+ },
+ {
+ "id": 603,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The storage key used to identity the values saved in localStorage"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 15,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 635,
+ "name": "getSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 109,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 636,
+ "name": "getSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Returns the session data, refreshing it if necessary."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 637,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 639,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 111,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 638,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 110,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 639,
+ 638
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 640,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 642,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 114,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 641,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 113,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 642,
+ 641
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 643,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 645,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 117,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 644,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 116,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 645,
+ 644
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 678,
+ "name": "getSessionFromUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 160,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 679,
+ "name": "getSessionFromUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Gets the session data from a URL string"
+ },
+ "parameters": [
+ {
+ "id": 680,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 681,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 682,
+ "name": "storeSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optionally store the session in the browser\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 161,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 682
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 683,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 685,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 164,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 684,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 163,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 685,
+ 684
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 686,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 688,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 167,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 687,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 166,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 688,
+ 687
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 646,
+ "name": "getUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 122,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 647,
+ "name": "getUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Returns the user data, refreshing the session if necessary."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 648,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 650,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 649,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 123,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 650,
+ 649
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 651,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 653,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 127,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 652,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 126,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 653,
+ 652
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 654,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 656,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 130,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 655,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 129,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 656,
+ 655
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 693,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 182,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 694,
+ "name": "onAuthStateChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Receive a notification every time an auth event happens.",
+ "returns": "A subscription object which can be used to unsubscribe itself.\n"
+ },
+ "parameters": [
+ {
+ "id": 695,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 696,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 697,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 698,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 720,
+ "qualifiedName": "AuthChangeEvent",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 699,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 700,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 702,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 184,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 701,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 183,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 776,
+ "qualifiedName": "Subscription",
+ "package": "@supabase/gotrue-js",
+ "name": "Subscription"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 702,
+ 701
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 703,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 705,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 187,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 704,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 186,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 705,
+ 704
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 666,
+ "name": "setSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 146,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 667,
+ "name": "setSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Sets the session data from refresh_token and returns current Session and Error"
+ },
+ "parameters": [
+ {
+ "id": 668,
+ "name": "refresh_token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "a JWT token\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 669,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 671,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 148,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 670,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 147,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 671,
+ 670
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 672,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 674,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 151,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 673,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 150,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 674,
+ 673
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 675,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 677,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 154,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 676,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 153,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 677,
+ 676
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 623,
+ "name": "signInWithOAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 86,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 624,
+ "name": "signInWithOAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Log in an existing user via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 625,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 819,
+ "qualifiedName": "SignInWithOAuthCredentials",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithOAuthCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 734,
+ "qualifiedName": "OAuthResponse",
+ "package": "@supabase/gotrue-js",
+ "name": "OAuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 626,
+ "name": "signInWithOtp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 94,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 627,
+ "name": "signInWithOtp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Passwordless method for logging in an existing user."
+ },
+ "parameters": [
+ {
+ "id": 628,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 808,
+ "qualifiedName": "SignInWithPasswordlessCredentials",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithPasswordlessCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 721,
+ "qualifiedName": "AuthResponse",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 620,
+ "name": "signInWithPassword",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 77,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 621,
+ "name": "signInWithPassword",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Log in an existing user, or login via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 622,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 797,
+ "qualifiedName": "SignInWithPasswordCredentials",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithPasswordCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 721,
+ "qualifiedName": "AuthResponse",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 689,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 175,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 690,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
+ "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`. There is no way to revoke a user's session JWT before it automatically expires\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 691,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 692,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 176,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 692
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 612,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 613,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Creates a new user."
+ },
+ "parameters": [
+ {
+ "id": 614,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 790,
+ "qualifiedName": "UserCredentials",
+ "package": "@supabase/gotrue-js",
+ "name": "UserCredentials"
+ }
+ },
+ {
+ "id": 615,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 616,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 619,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 67,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 618,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 66,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 617,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "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": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 65,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 619,
+ 618,
+ 617
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 721,
+ "qualifiedName": "AuthResponse",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 657,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 135,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 658,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 659,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 760,
+ "qualifiedName": "UserAttributes",
+ "package": "@supabase/gotrue-js",
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 660,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 662,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 137,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 661,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 136,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 662,
+ 661
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 663,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 665,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 140,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 664,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 139,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 665,
+ 664
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 629,
+ "name": "verifyOTP",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 103,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 630,
+ "name": "verifyOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Log in a user given a User supplied OTP received via mobile."
+ },
+ "parameters": [
+ {
+ "id": 631,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 830,
+ "qualifiedName": "VerifyOTPParams",
+ "package": "@supabase/gotrue-js",
+ "name": "VerifyOTPParams"
+ }
+ },
+ {
+ "id": 632,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 633,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 634,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile address to send the user to after they are confirmed.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 104,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 634
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 721,
+ "qualifiedName": "AuthResponse",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 581
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 712,
+ 706,
+ 707,
+ 710,
+ 708,
+ 709,
+ 718,
+ 713,
+ 715,
+ 711,
+ 716,
+ 714,
+ 717,
+ 602,
+ 605,
+ 604,
+ 610,
+ 606,
+ 609,
+ 611,
+ 608,
+ 607,
+ 603
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 635,
+ 678,
+ 646,
+ 693,
+ 666,
+ 623,
+ 626,
+ 620,
+ 689,
+ 612,
+ 657,
+ 629
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 6,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 1167,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1169,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 29,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1170,
+ "name": "new RealtimeChannel",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1171,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1172,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1173,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1174,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1175,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1176,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 1048,
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1183,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 12,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1184,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1185,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1186,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1187,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1193,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1189,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 15,
+ "character": 20
+ }
+ ],
+ "indexSignature": {
+ "id": 1191,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1192,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1194,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 19,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1188,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1193,
+ 1189,
+ 1194,
+ 1188
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 13,
+ "character": 23
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1308,
+ "name": "getPayloadRecords",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 101,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1198,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 25,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Push",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 1197,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 24,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 1178,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 8,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1180,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1181,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1201,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1309,
+ "qualifiedName": "RealtimePresence",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 1200,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Push",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ },
+ {
+ "id": 1199,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 26,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Timer",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 1182,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1048,
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 1196,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "CHANNEL_STATES",
+ "package": "@supabase/realtime-js",
+ "name": "CHANNEL_STATES"
+ }
+ },
+ {
+ "id": 1195,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 22,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1177,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 7,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1168,
+ "name": "isEqual",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 100,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1247,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 60,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1248,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Returns `true` if the socket is connected and the channel has been joined."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1298,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 95,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1299,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1300,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 96,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1301,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1302,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 97,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1303,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1304,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 98,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1305,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1306,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 99,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1307,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1282,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 90,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1283,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1284,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1285,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1286,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1240,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 54,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1241,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1242,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1243,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1244,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1245,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1246,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1232,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1233,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1234,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1235,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1236,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1237,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1238,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1239,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1226,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1227,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Registers a callback that will be executed when the channel closes."
+ },
+ "parameters": [
+ {
+ "id": 1228,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1229,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1230,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Registers a callback that will be executed when the channel encounteres an error."
+ },
+ "parameters": [
+ {
+ "id": 1231,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1277,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 89,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1278,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Overridable message hook",
+ "text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n"
+ },
+ "parameters": [
+ {
+ "id": 1279,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1280,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1281,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1208,
+ "name": "presenceState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1209,
+ "name": "presenceState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1249,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1250,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1251,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1252,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1253,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1254,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1255,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1256,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Push",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1287,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 92,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1288,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1289,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1202,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 32,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1203,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1295,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 94,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1296,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1297,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1257,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1258,
+ "name": "send",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1259,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1260,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1261,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 65,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1261
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 1262,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1263,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1264,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1265,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1266,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1267,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1204,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 33,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1205,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1206,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1207,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1210,
+ "name": "track",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 35,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1211,
+ "name": "track",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1212,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1213,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1214,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1215,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1216,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1217,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1218,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1219,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1290,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 93,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1291,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1292,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1293,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1294,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1274,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 82,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1275,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Leaves the channel.",
+ "text": "Unsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n"
+ },
+ "parameters": [
+ {
+ "id": 1276,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1220,
+ "name": "untrack",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 40,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1221,
+ "name": "untrack",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1222,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1223,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1224,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1225,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1268,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 70,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1269,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1270,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1271,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1272,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1273,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 1169
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1183,
+ 1308,
+ 1198,
+ 1197,
+ 1178,
+ 1201,
+ 1200,
+ 1199,
+ 1182,
+ 1196,
+ 1195,
+ 1177,
+ 1168
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 1247,
+ 1298,
+ 1300,
+ 1302,
+ 1304,
+ 1306,
+ 1282,
+ 1285,
+ 1240,
+ 1232,
+ 1226,
+ 1229,
+ 1277,
+ 1208,
+ 1249,
+ 1287,
+ 1202,
+ 1295,
+ 1257,
+ 1204,
+ 1210,
+ 1290,
+ 1274,
+ 1220,
+ 1268
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 6,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 1048,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1049,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 74,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1050,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 1051,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1052,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 1150,
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "Options"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1048,
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1147,
+ "name": "_appendParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 177,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1148,
+ "name": "_flushSendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 178,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1144,
+ "name": "_onConnClose",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 174,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1145,
+ "name": "_onConnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 175,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1143,
+ "name": "_onConnOpen",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 173,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1149,
+ "name": "_sendHeartbeat",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 179,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1146,
+ "name": "_triggerChanError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 176,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1053,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 31,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1054,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 32,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ },
+ {
+ "id": 1075,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1073,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 49,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1072,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 48,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1055,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 33,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1056,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1057,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1058,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1059,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1066,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 42,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1067,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1071,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 47,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1060,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1061,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 1062,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1063,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1068,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 44,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1074,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1070,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Timer",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 1069,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 45,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1076,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 1077,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 53,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Serializer",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 1078,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 54,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1079,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1081,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 1082,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 1083,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 58,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 1080,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 55,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1081,
+ 1082,
+ 1083,
+ 1080
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1064,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 40,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1065,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 41,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1121,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 145,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1122,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1123,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1124,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "ChannelParams",
+ "package": "@supabase/realtime-js",
+ "name": "ChannelParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1084,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 78,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1085,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1114,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 134,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1115,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "CONNECTION_STATE",
+ "package": "@supabase/realtime-js",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1086,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 85,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1087,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 1088,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1089,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1133,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 158,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1134,
+ "name": "endPointURL",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Returns the URL of the websocket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1090,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 86,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1091,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 1116,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 138,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1117,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Retuns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1140,
+ "name": "leaveOpenTopic",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 172,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1141,
+ "name": "leaveOpenTopic",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Unsubscribe from channels with the specified topic."
+ },
+ "parameters": [
+ {
+ "id": 1142,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1097,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 94,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1098,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overriden.\n"
+ },
+ "parameters": [
+ {
+ "id": 1099,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1100,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1101,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1135,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 162,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1136,
+ "name": "makeRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Return the next message ref, accounting for overflows"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1105,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 112,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1106,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Registers a callback for connection state change events.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1107,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1128,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 152,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1129,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1130,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1131,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1132,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 153,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1132
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1108,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 121,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1109,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Registers a callback for connection state change events.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen((error) => console.log(\"An error occurred\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1110,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1111,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 130,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1112,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Calls a function any time a message is received.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onMessage((message) => console.log(message))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1113,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1102,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 103,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1103,
+ "name": "onOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Registers a callback for connection state change event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen(() => console.log(\"Socket opened.\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 1104,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1125,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 151,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1126,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 1127,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Message",
+ "package": "@supabase/realtime-js",
+ "name": "Message"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1118,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 144,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1119,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 1120,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1095,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 88,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1096,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1092,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 87,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1093,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1094,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1137,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 168,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1138,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 1139,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 1049
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1147,
+ 1148,
+ 1144,
+ 1145,
+ 1143,
+ 1149,
+ 1146,
+ 1053,
+ 1054,
+ 1075,
+ 1073,
+ 1072,
+ 1055,
+ 1056,
+ 1066,
+ 1067,
+ 1071,
+ 1060,
+ 1068,
+ 1074,
+ 1070,
+ 1069,
+ 1076,
+ 1077,
+ 1078,
+ 1064,
+ 1065
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 1121,
+ 1084,
+ 1114,
+ 1086,
+ 1133,
+ 1090,
+ 1116,
+ 1140,
+ 1097,
+ 1135,
+ 1105,
+ 1128,
+ 1108,
+ 1111,
+ 1102,
+ 1125,
+ 1118,
+ 1095,
+ 1092,
+ 1137
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 30,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 1309,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1330,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1331,
+ "name": "new RealtimePresence",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Initializes the Presence."
+ },
+ "parameters": [
+ {
+ "id": 1332,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The RealtimeChannel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 1333,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOpts",
+ "package": "@types/phoenix",
+ "name": "PresenceOpts"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1309,
+ "qualifiedName": "RealtimePresence",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1338,
+ "name": "caller",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 31,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1339,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1340,
+ "name": "onJoin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 32,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 1341,
+ "name": "onLeave",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 33,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ },
+ {
+ "id": 1342,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 34,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1343,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1340,
+ 1341
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 1342
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1334,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 1359,
+ "name": "inPendingSyncState",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 94,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1337,
+ "name": "joinRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 30,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1336,
+ "name": "pendingDiffs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 29,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "RawPresenceDiff",
+ "package": "@supabase/realtime-js",
+ "name": "RawPresenceDiff"
+ }
+ }
+ },
+ {
+ "id": 1335,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 1329,
+ "name": "cloneDeep",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 89,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1327,
+ "name": "map",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 66,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1328,
+ "name": "transformState",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isStatic": true,
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Remove 'metas' key\nChange 'phx_ref' to 'presence_ref'\nRemove 'phx_ref' and 'phx_ref_prev'",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n// returns {\n abc123: [\n { presence_ref: '2', user_id: 1 },\n { presence_ref: '3', user_id: 2 }\n ]\n}\nRealtimePresence.transformState({\n abc123: {\n metas: [\n { phx_ref: '2', phx_ref_prev: '1' user_id: 1 },\n { phx_ref: '3', user_id: 2 }\n ]\n }\n})\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 88,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1355,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 93,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1356,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "typeParameter": [
+ {
+ "id": 1357,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1358,
+ "name": "by",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 1357,
+ "qualifiedName": "T",
+ "package": "@supabase/realtime-js",
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "PresenceChooser",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceChooser"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 1357,
+ "qualifiedName": "T",
+ "package": "@supabase/realtime-js",
+ "name": "T"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 1344,
+ "name": "onJoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 90,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1345,
+ "name": "onJoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1346,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1347,
+ "name": "onLeave",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1348,
+ "name": "onLeave",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1349,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1350,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 92,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1351,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1352,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1353,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "signatures": [
+ {
+ "id": 1354,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1322,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 65,
+ "character": 11
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1323,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Returns the array of presences, with selected metadata."
+ },
+ "typeParameter": [
+ {
+ "id": 1324,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1325,
+ "name": "presences",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 1326,
+ "name": "chooser",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 1324,
+ "qualifiedName": "T",
+ "package": "@supabase/realtime-js",
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "PresenceChooser",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceChooser"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 1324,
+ "qualifiedName": "T",
+ "package": "@supabase/realtime-js",
+ "name": "T"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 1316,
+ "name": "syncDiff",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 61,
+ "character": 11
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1317,
+ "name": "syncDiff",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Used to sync a diff of presence join and leave events from the\nserver, as they happen.",
+ "text": "Like `syncState`, `syncDiff` accepts optional `onJoin` and\n`onLeave` callbacks to react to a user joining or leaving from a\ndevice.\n"
+ },
+ "parameters": [
+ {
+ "id": 1318,
+ "name": "state",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 1319,
+ "name": "diff",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RawPresenceDiff",
+ "package": "@supabase/realtime-js",
+ "name": "RawPresenceDiff"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "PresenceDiff",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceDiff"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1320,
+ "name": "onJoin",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 1321,
+ "name": "onLeave",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1310,
+ "name": "syncState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isStatic": true,
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 52,
+ "character": 11
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1311,
+ "name": "syncState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Used to sync the list of presences on the server with the\nclient's state.",
+ "text": "An optional `onJoin` and `onLeave` callback can be provided to\nreact to changes in the client's local presences across\ndisconnects and reconnects with the server.\n"
+ },
+ "parameters": [
+ {
+ "id": 1312,
+ "name": "currentState",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceState"
+ }
+ },
+ {
+ "id": 1313,
+ "name": "newState",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "PresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceState"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "RawPresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "RawPresenceState"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1314,
+ "name": "onJoin",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 1315,
+ "name": "onLeave",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceState",
+ "package": "@supabase/realtime-js",
+ "name": "PresenceState"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 1330
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1338,
+ 1334,
+ 1359,
+ 1337,
+ 1336,
+ 1335,
+ 1329,
+ 1327,
+ 1328
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 1355,
+ 1344,
+ 1347,
+ 1350,
+ 1322,
+ 1316,
+ 1310
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 26,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 161,
+ "name": "SupabaseClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "Supabase Client.",
+ "text": "An isomorphic Javascript client for interacting with Postgres.\n"
+ },
+ "children": [
+ {
+ "id": 162,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 77,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 163,
+ "name": "new SupabaseClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 165,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 166,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 107,
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 165,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 107,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 167,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 168,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 169,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 165,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 161,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 165,
+ "name": "SchemaName"
+ },
+ {
+ "type": "reference",
+ "id": 166,
+ "name": "Schema"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 170,
+ "name": "auth",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupabaseAuthClient"
+ }
+ },
+ {
+ "id": 172,
+ "name": "authUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 52,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 183,
+ "name": "changedAccessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 59,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 178,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 58,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 182,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 174,
+ "name": "functionsUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 54,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 184,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 185,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 186,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 187,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 175,
+ "name": "realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 55,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1048,
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "realtimeUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 51,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 176,
+ "name": "rest",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 56,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 165,
+ "name": "SchemaName"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 165,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "qualifiedName": "GenericSchema",
+ "package": "@supabase/postgrest-js",
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "qualifiedName": "PostgrestClient",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 177,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 57,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 173,
+ "name": "storageUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 53,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 189,
+ "name": "supabaseKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 188,
+ "name": "supabaseUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 190,
+ "name": "functions",
+ "kind": 262144,
+ "kindString": "Accessor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 132,
+ "character": 6
+ }
+ ],
+ "getSignature": [
+ {
+ "id": 191,
+ "name": "functions",
+ "kind": 524288,
+ "kindString": "Get signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Supabase Functions allows you to deploy and invoke edge functions."
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "FunctionsClient",
+ "package": "@supabase/functions-js",
+ "name": "FunctionsClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 192,
+ "name": "storage",
+ "kind": 262144,
+ "kindString": "Accessor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 142,
+ "character": 6
+ }
+ ],
+ "getSignature": [
+ {
+ "id": 193,
+ "name": "storage",
+ "kind": 524288,
+ "kindString": "Get signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "StorageClient",
+ "package": "@supabase/storage-js",
+ "name": "StorageClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "_getAccessToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 225,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 226,
+ "name": "_getAccessToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 247,
+ "name": "_handleTokenChanged",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 274,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 248,
+ "name": "_handleTokenChanged",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 249,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 720,
+ "qualifiedName": "AuthChangeEvent",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 250,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 251,
+ "name": "source",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "CLIENT"
+ },
+ {
+ "type": "literal",
+ "value": "STORAGE"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 236,
+ "name": "_initRealtimeClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 260,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 237,
+ "name": "_initRealtimeClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 238,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 1150,
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "Options"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1048,
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 227,
+ "name": "_initSupabaseAuthClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 231,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 228,
+ "name": "_initSupabaseAuthClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 229,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 60,
+ "name": "SupabaseAuthClientOptions"
+ }
+ },
+ {
+ "id": 230,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 231,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 232,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 233,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 234,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 235,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupabaseAuthClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 239,
+ "name": "_listenForAuthEvents",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 267,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 240,
+ "name": "_listenForAuthEvents",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 241,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 243,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 184,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 242,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 183,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 776,
+ "qualifiedName": "Subscription",
+ "package": "@supabase/gotrue-js",
+ "name": "Subscription"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 243,
+ 242
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 244,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 246,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 187,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 245,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 186,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 246,
+ 245
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 211,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 197,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 212,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes."
+ },
+ "parameters": [
+ {
+ "id": 213,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The name of the Realtime channel."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 214,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The options to pass to the Realtime channel.\n\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 215,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 216,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 217,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 194,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 151,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 195,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 196,
+ "name": "TableName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 197,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 98,
+ "name": "GenericTable"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The table name to operate on.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 196,
+ "name": "TableName"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "Table"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 199,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 200,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 218,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 204,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 219,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns all Realtime channels."
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 221,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 224,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribes and removes all Realtime channels from Realtime client."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 220,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 221,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribes and removes Realtime channel from Realtime client."
+ },
+ "parameters": [
+ {
+ "id": 222,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The name of the Realtime channel.\n\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 1167,
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 201,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 169,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 202,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "typeParameter": [
+ {
+ "id": 203,
+ "name": "FunctionName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 204,
+ "name": "Function_",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 103,
+ "name": "GenericFunction"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 205,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The function name to call."
+ },
+ "type": {
+ "type": "reference",
+ "id": 203,
+ "name": "FunctionName"
+ }
+ },
+ {
+ "id": 206,
+ "name": "args",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Args"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 204,
+ "name": "Function_"
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 207,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 208,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 210,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 177,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 209,
+ "name": "head",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 176,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 210,
+ 209
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Returns"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 204,
+ "name": "Function_"
+ }
+ },
+ "extendsType": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "trueType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Returns"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 204,
+ "name": "Function_"
+ }
+ }
+ ],
+ "qualifiedName": "PostgrestFilterBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 162
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 170,
+ 172,
+ 183,
+ 178,
+ 174,
+ 184,
+ 175,
+ 171,
+ 176,
+ 177,
+ 173,
+ 189,
+ 188
+ ]
+ },
+ {
+ "title": "Accessors",
+ "kind": 262144,
+ "children": [
+ 190,
+ 192
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 225,
+ 247,
+ 236,
+ 227,
+ 239,
+ 211,
+ 194,
+ 218,
+ 223,
+ 220,
+ 201
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 37,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 252,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 253,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ }
+ }
+ ]
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 254,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 107,
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 165,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 107,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 165,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 164,
+ "name": "Database"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 766,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 768,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for app_metadata that.",
+ "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 126,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 775,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 103,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 765,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 771,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 87,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 761,
+ "name": "UserAttributes.email"
+ }
+ },
+ {
+ "id": 774,
+ "name": "email_change_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An email change token."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 99,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 764,
+ "name": "UserAttributes.email_change_token"
+ }
+ },
+ {
+ "id": 769,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 132,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 773,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 95,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 763,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 772,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 762,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 770,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their phone number.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 767,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata.",
+ "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 117,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 768,
+ 775,
+ 771,
+ 774,
+ 769,
+ 773,
+ 772,
+ 770,
+ 767
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 105,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 760,
+ "qualifiedName": "UserAttributes",
+ "package": "@supabase/gotrue-js",
+ "name": "UserAttributes"
+ }
+ ]
+ },
+ {
+ "id": 141,
+ "name": "AuthSession",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 143,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 32,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 145,
+ "name": "expires_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 40,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 144,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 142,
+ "name": "provider_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 31,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 146,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 41,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 147,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 42,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 148,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 143,
+ 145,
+ 144,
+ 142,
+ 146,
+ 147,
+ 148
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 30,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 113,
+ "name": "AuthUser",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 130,
+ "name": "action_link",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 71,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 115,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 58,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 116,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 117,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 59,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 117
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 118,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 119,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 124,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 65,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 125,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 66,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 134,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 133,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 74,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 131,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 72,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 127,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 135,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 76,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 114,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 57,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 140,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 81,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 748,
+ "qualifiedName": "UserIdentity",
+ "package": "@supabase/gotrue-js",
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 129,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 70,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 137,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 78,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 128,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 132,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 73,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 136,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 77,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 126,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 67,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 138,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 79,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 139,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 80,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 120,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 121,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 122,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 123,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 130,
+ 115,
+ 124,
+ 125,
+ 134,
+ 133,
+ 131,
+ 127,
+ 135,
+ 114,
+ 140,
+ 129,
+ 137,
+ 128,
+ 132,
+ 136,
+ 126,
+ 138,
+ 139,
+ 120
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 56,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 784,
+ "name": "CookieOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 787,
+ "name": "domain",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The cookie domain this should run on. Leave it blank to restrict it to your domain."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 160,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 786,
+ "name": "lifetime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The cookie lifetime (expiration) in seconds. Set to 8 hours by default."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 158,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 785,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The Cookie name prefix. Defaults to `sb` meaning the cookies will be `sb-access-token` and `sb-refresh-token`."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 156,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 788,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 161,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 789,
+ "name": "sameSite",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "SameSite configuration for the session cookie. Defaults to 'lax', but can be changed to 'strict' or 'none'. Set it to false if you want to disable the SameSite setting."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 163,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 787,
+ 786,
+ 785,
+ 788,
+ 789
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 154,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 843,
+ "name": "OpenIDConnectCredentials",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 847,
+ "name": "client_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 229,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 844,
+ "name": "id_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 226,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 848,
+ "name": "issuer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 230,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 845,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 227,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 846,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 228,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 719,
+ "qualifiedName": "Provider",
+ "package": "@supabase/gotrue-js",
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 847,
+ 844,
+ 848,
+ 845,
+ 846
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 225,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 823,
+ "name": "SignInWithOAuthOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 826,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 206,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 827,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 828,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 829,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 824,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 204,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 825,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 205,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 826,
+ 824,
+ 825
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 203,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 806,
+ "name": "SignInWithPasswordOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 807,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 184,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 807
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 183,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 815,
+ "name": "SignInWithPasswordlessOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 818,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 197,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 816,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The redirect url embedded in the email link"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 195,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 817,
+ "name": "shouldCreateUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 196,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 818,
+ 816,
+ 817
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 193,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 776,
+ "name": "Subscription",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 777,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The subscriber UUID. This will be set by the client."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 144,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 778,
+ "name": "callback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 148,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 779,
+ "name": "callback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "parameters": [
+ {
+ "id": 780,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 720,
+ "qualifiedName": "AuthChangeEvent",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 781,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 782,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 152,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 783,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Call this to remove the listener."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 777
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 778,
+ 782
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 140,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 760,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 765,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 103,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 761,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 87,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 764,
+ "name": "email_change_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An email change token."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 99,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 763,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 95,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 762,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 765,
+ 761,
+ 764,
+ 763,
+ 762
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 83,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 766,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ },
+ {
+ "id": 790,
+ "name": "UserCredentials",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 791,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 166,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 796,
+ "name": "oidc",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 172,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 843,
+ "qualifiedName": "OpenIDConnectCredentials",
+ "package": "@supabase/gotrue-js",
+ "name": "OpenIDConnectCredentials"
+ }
+ },
+ {
+ "id": 793,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 168,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 792,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 167,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 795,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The name of the provider."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 719,
+ "qualifiedName": "Provider",
+ "package": "@supabase/gotrue-js",
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 794,
+ "name": "refreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 169,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 791,
+ 796,
+ 793,
+ 792,
+ 795,
+ 794
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 165,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 748,
+ "name": "UserIdentity",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 756,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 749,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 751,
+ "name": "identity_data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 48,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 752,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "indexSignature": {
+ "id": 753,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 754,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 757,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 53,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 755,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 758,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 54,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 750,
+ "name": "user_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 47,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 756,
+ 749,
+ 751,
+ 757,
+ 755,
+ 758,
+ 750
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 45,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 836,
+ "name": "VerifyEmailOTPParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 837,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 218,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 838,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 219,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 839,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 220,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 840,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 221,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 842,
+ "qualifiedName": "EmailOTPType",
+ "package": "@supabase/gotrue-js",
+ "name": "EmailOTPType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 837,
+ 838,
+ 839,
+ 840
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 217,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 831,
+ "name": "VerifyMobileOTPParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 832,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 212,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 833,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 213,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 834,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 214,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 835,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 215,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 841,
+ "qualifiedName": "MobileOTPType",
+ "package": "@supabase/gotrue-js",
+ "name": "MobileOTPType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 832,
+ 833,
+ 834,
+ 835
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 211,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 720,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 3,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "PASSWORD_RECOVERY"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_IN"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "TOKEN_REFRESHED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_UPDATED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_DELETED"
+ }
+ ]
+ }
+ },
+ {
+ "id": 721,
+ "name": "AuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 4,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 722,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 723,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 5,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 724,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 726,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 7,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 725,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 6,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 113,
+ "qualifiedName": "User",
+ "package": "@supabase/gotrue-js",
+ "name": "User"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 726,
+ 725
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 5,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 727,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 9,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 723,
+ 727
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 4,
+ "character": 35
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 728,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 729,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 730,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 732,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 731,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 12,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 732,
+ 731
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 11,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 733,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 15,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 729,
+ 733
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 850,
+ "name": "CallRefreshTokenResult",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 238,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 851,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 853,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 240,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 852,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 239,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "qualifiedName": "Session",
+ "package": "@supabase/gotrue-js",
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 853,
+ 852
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 238,
+ "character": 45
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 854,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 856,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 243,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 855,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 242,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 856,
+ 855
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 241,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 842,
+ "name": "EmailOTPType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 224,
+ "character": 20
+ }
+ ],
+ "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": 841,
+ "name": "MobileOTPType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 223,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ },
+ {
+ "id": 734,
+ "name": "OAuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 17,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 735,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 736,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 18,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 737,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 738,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 19,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 719,
+ "qualifiedName": "Provider",
+ "package": "@supabase/gotrue-js",
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 739,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 20,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 738,
+ 739
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 18,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 740,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 22,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 736,
+ 740
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 17,
+ "character": 36
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 741,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 742,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 24,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 743,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 744,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 25,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 719,
+ "qualifiedName": "Provider",
+ "package": "@supabase/gotrue-js",
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 745,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 744,
+ 745
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 24,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 746,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 742,
+ 746
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 155,
+ "name": "PostgrestError",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts",
+ "line": 7,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 156,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 160,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts",
+ "line": 9,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 159,
+ "name": "hint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 157,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts",
+ "line": 8,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 160,
+ 158,
+ 159,
+ 157
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts",
+ "line": 7,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 153,
+ "name": "PostgrestMaybeSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts",
+ "line": 39,
+ "character": 20
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 154,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExternal": true
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 151,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 154,
+ "qualifiedName": "T",
+ "package": "@supabase/postgrest-js",
+ "name": "T"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PostgrestSingleResponse",
+ "package": "@supabase/postgrest-js",
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 149,
+ "name": "PostgrestResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts",
+ "line": 32,
+ "character": 20
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 150,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExternal": true
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 150,
+ "qualifiedName": "T",
+ "package": "@supabase/postgrest-js",
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "PostgrestResponseSuccess",
+ "package": "@supabase/postgrest-js",
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "PostgrestResponseFailure",
+ "package": "@supabase/postgrest-js",
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ },
+ {
+ "id": 151,
+ "name": "PostgrestSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts",
+ "line": 38,
+ "character": 20
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 152,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExternal": true
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 152,
+ "qualifiedName": "T",
+ "package": "@supabase/postgrest-js",
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "PostgrestSingleResponseSuccess",
+ "package": "@supabase/postgrest-js",
+ "name": "PostgrestSingleResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "PostgrestResponseFailure",
+ "package": "@supabase/postgrest-js",
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ },
+ {
+ "id": 719,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 2,
+ "character": 20
+ }
+ ],
+ "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": 1150,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 5,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 1157,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1156,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1159,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1160,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "indexSignature": {
+ "id": 1161,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1162,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1154,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 8,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1155,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 9,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1163,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 16,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1164,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 16,
+ "character": 13
+ }
+ ],
+ "indexSignature": {
+ "id": 1165,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 1166,
+ "name": "key",
+ "kind": 32768,
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 1158,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 12,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 1153,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 7,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1152,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 6,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 1157,
+ 1156,
+ 1159,
+ 1154,
+ 1155,
+ 1163,
+ 1158,
+ 1153,
+ 1152
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 5,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 819,
+ "name": "SignInWithOAuthCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 199,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 820,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 822,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 201,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 823,
+ "qualifiedName": "SignInWithOAuthOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithOAuthOptions"
+ }
+ },
+ {
+ "id": 821,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 200,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 719,
+ "qualifiedName": "Provider",
+ "package": "@supabase/gotrue-js",
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 822,
+ 821
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 199,
+ "character": 49
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 797,
+ "name": "SignInWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 174,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 798,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 799,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 175,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 801,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 177,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 806,
+ "qualifiedName": "SignInWithPasswordOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithPasswordOptions"
+ }
+ },
+ {
+ "id": 800,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 176,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 799,
+ 801,
+ 800
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 174,
+ "character": 52
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 802,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 805,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 181,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 806,
+ "qualifiedName": "SignInWithPasswordOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithPasswordOptions"
+ }
+ },
+ {
+ "id": 804,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 180,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 803,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 179,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 805,
+ 804,
+ 803
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 178,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 808,
+ "name": "SignInWithPasswordlessCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 186,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 809,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 810,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 187,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 811,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 188,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 815,
+ "qualifiedName": "SignInWithPasswordlessOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithPasswordlessOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 810,
+ 811
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 186,
+ "character": 56
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 812,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExternal": true
+ },
+ "children": [
+ {
+ "id": 814,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 191,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 815,
+ "qualifiedName": "SignInWithPasswordlessOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "SignInWithPasswordlessOptions"
+ }
+ },
+ {
+ "id": 813,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 190,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 814,
+ 813
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 189,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 849,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 237,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "qualifiedName": "PromisifyMethods",
+ "package": "@supabase/gotrue-js",
+ "name": "PromisifyMethods"
+ }
+ },
+ {
+ "id": 830,
+ "name": "VerifyOTPParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts",
+ "line": 210,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 831,
+ "qualifiedName": "VerifyMobileOTPParams",
+ "package": "@supabase/gotrue-js",
+ "name": "VerifyMobileOTPParams"
+ },
+ {
+ "type": "reference",
+ "id": 836,
+ "qualifiedName": "VerifyEmailOTPParams",
+ "package": "@supabase/gotrue-js",
+ "name": "VerifyEmailOTPParams"
+ }
+ ]
+ }
+ },
+ {
+ "id": 2,
+ "name": "createClient",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 19,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "createClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new Supabase Client."
+ },
+ "typeParameter": [
+ {
+ "id": 4,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 5,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 6,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 107,
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 107,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 7,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 8,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 9,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 161,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 857,
+ "name": "isAuthError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts",
+ "line": 5,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 858,
+ "name": "isAuthError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExternal": true
+ },
+ "parameters": [
+ {
+ "id": 859,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExternal": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 860,
+ "qualifiedName": "AuthError",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthError"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [
+ 747,
+ 255,
+ 759
+ ]
+ },
+ {
+ "title": "Namespaces",
+ "kind": 4,
+ "children": [
+ 1360
+ ]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 878,
+ 860,
+ 951,
+ 1023,
+ 999,
+ 975,
+ 904,
+ 924,
+ 256,
+ 580,
+ 1167,
+ 1048,
+ 1309,
+ 161
+ ]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 766,
+ 141,
+ 113,
+ 784,
+ 843,
+ 823,
+ 806,
+ 815,
+ 776,
+ 760,
+ 790,
+ 748,
+ 836,
+ 831
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 720,
+ 721,
+ 850,
+ 842,
+ 841,
+ 734,
+ 155,
+ 153,
+ 149,
+ 151,
+ 719,
+ 1150,
+ 819,
+ 797,
+ 808,
+ 849,
+ 830
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 2,
+ 857
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 10,
+ "name": "lib/constants",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 11,
+ "name": "DEFAULT_HEADERS",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 3,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 12,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 13,
+ "name": "X-Client-Info",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 3,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 13
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 11
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 2,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 14,
+ "name": "lib/fetch",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 30,
+ "name": "fetchWithAuth",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/fetch.ts",
+ "line": 25,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 31,
+ "name": "fetchWithAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 32,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 33,
+ "name": "getAccessToken",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 34,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 35,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 36,
+ "name": "customFetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 37,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 38,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 39,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 40,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 41,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 42,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 43,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 44,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 15,
+ "name": "resolveFetch",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/fetch.ts",
+ "line": 5,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 16,
+ "name": "resolveFetch",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 17,
+ "name": "customFetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 18,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 19,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 20,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 21,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 22,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 23,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 24,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 25,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 26,
+ "name": "resolveHeadersConstructor",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/fetch.ts",
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 27,
+ "name": "resolveHeadersConstructor",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 28,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 29,
+ "name": "prototype",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 8291,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Headers",
+ "package": "typescript",
+ "name": "Headers"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 29
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 30,
+ 15,
+ 26
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/fetch.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 45,
+ "name": "lib/helpers",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 51,
+ "name": "applySettingDefaults",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 18,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 52,
+ "name": "applySettingDefaults",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 53,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 54,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 53,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 53,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 55,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 54,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ },
+ {
+ "id": 56,
+ "name": "defaults",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 54,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ]
+ },
+ {
+ "id": 57,
+ "name": "isBrowser",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 16,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 58,
+ "name": "isBrowser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 48,
+ "name": "stripTrailingSlash",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 12,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 49,
+ "name": "stripTrailingSlash",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 50,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 46,
+ "name": "uuid",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 4,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 47,
+ "name": "uuid",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 51,
+ 57,
+ 48,
+ 46
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 2,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 59,
+ "name": "lib/types",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 60,
+ "name": "SupabaseAuthClientOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 68,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.autoRefreshToken"
+ }
+ },
+ {
+ "id": 72,
+ "name": "cookieOptions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 784,
+ "qualifiedName": "CookieOptions",
+ "package": "@supabase/gotrue-js",
+ "name": "CookieOptions"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.cookieOptions"
+ }
+ },
+ {
+ "id": 67,
+ "name": "detectSessionInUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 47,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.detectSessionInUrl"
+ }
+ },
+ {
+ "id": 73,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 53,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 74,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 75,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 76,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 77,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.fetch"
+ }
+ },
+ {
+ "id": 62,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 43,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 63,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 64,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 65,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.headers"
+ }
+ },
+ {
+ "id": 71,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 51,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.multiTab"
+ }
+ },
+ {
+ "id": 69,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 49,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.persistSession"
+ }
+ },
+ {
+ "id": 70,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 50,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "qualifiedName": "PromisifyMethods",
+ "package": "@supabase/gotrue-js",
+ "name": "PromisifyMethods"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.storage"
+ }
+ },
+ {
+ "id": 66,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 46,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.storageKey"
+ }
+ },
+ {
+ "id": 61,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExternal": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "GoTrueClientOptions.url"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 68,
+ 72,
+ 67,
+ 73,
+ 62,
+ 71,
+ 69,
+ 70,
+ 66,
+ 61
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "name": "GoTrueClientOptions"
+ }
+ ]
+ },
+ {
+ "id": 78,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 103,
+ "name": "GenericFunction",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 104,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 105,
+ "name": "Args",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 106,
+ "name": "Returns",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 105,
+ 106
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 107,
+ "name": "GenericSchema",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 108,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 110,
+ "name": "Functions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 103,
+ "name": "GenericFunction"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 109,
+ "name": "Tables",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 98,
+ "name": "GenericTable"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 110,
+ 109
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 98,
+ "name": "GenericTable",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 99,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 101,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 100,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 102,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 101,
+ 100,
+ 102
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 60,
+ "character": 27
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 97,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 84,
+ "name": "auth",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 85,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 86,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Automatically refreshes the token for logged in users."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 22,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 91,
+ "name": "cookieOptions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Options passed to the gotrue-js instance"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 42,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "cookieOptions"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 60,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 89,
+ "name": "detectSessionInUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 88,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Whether to persist a logged in session to storage."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 30,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 90,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A storage provider. Used to store the logged in session."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "storage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 60,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 87,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional key name used for storing tokens in local storage"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 26,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 86,
+ 91,
+ 89,
+ 88,
+ 90,
+ 87
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
+ "character": 9
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 81,
+ "name": "db",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to 'public'."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 83,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 15,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 97,
+ "name": "SchemaName"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 83
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 14,
+ "character": 7
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 93,
+ "name": "global",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 94,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 95,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 96,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 95,
+ 96
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 48,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 92,
+ "name": "realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Options passed to the realtime-js instance"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1150,
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 84,
+ 81,
+ 93,
+ 92
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 10,
+ "character": 48
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 60
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 78,
+ 103,
+ 107,
+ 98,
+ 79
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 111,
+ "name": "lib/version",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 112,
+ "name": "version",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/version.ts",
+ "line": 1,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "0.0.0-automated"
+ },
+ "defaultValue": "'0.0.0-automated'"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 112
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/version.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 2,
+ "children": [
+ 1,
+ 10,
+ 14,
+ 45,
+ 59,
+ 111
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/spec/supabase_js_v2_legacy.yml b/spec/supabase_js_v2_legacy.yml
index 7261ea4015a..44e9c85b242 100644
--- a/spec/supabase_js_v2_legacy.yml
+++ b/spec/supabase_js_v2_legacy.yml
@@ -758,7 +758,7 @@ pages:
title: 'invoke()'
description: |
Invokes a Supabase Function.
- $ref: '@supabase/functions-js.FunctionsClient.invoke'
+ $ref: '@supabase/functions-js.index.FunctionsClient.invoke'
notes: |
- Requires an Authorization header.
- Invoke params generally match the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) spec.
@@ -1150,7 +1150,7 @@ pages:
subscribe():
title: 'on().subscribe()'
- $ref: '@supabase/supabase-js.lib/SupabaseRealtimeChannel.SupabaseRealtimeChannel.on'
+ $ref: '@supabase/realtime-js.RealtimeChannel.on'
notes: |
- Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime).
- If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`