Skip to content

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

fetches the lastest tsdoc spec

Paul Copplestone69a608664670
diff --git a/web/spec/combined.json b/web/spec/combined.json
index cb7c137b756..8f6310cd2e1 100644
--- a/web/spec/combined.json
+++ b/web/spec/combined.json
@@ -5807,7 +5807,7 @@
"originalName": "",
"children": [
{
- "id": 155,
+ "id": 191,
"name": "\"GoTrueApi\"",
"kind": 1,
"kindString": "Module",
@@ -5817,7 +5817,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts",
"children": [
{
- "id": 156,
+ "id": 192,
"name": "GoTrueApi",
"kind": 128,
"kindString": "Class",
@@ -5826,7 +5826,7 @@
},
"children": [
{
- "id": 163,
+ "id": 199,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -5835,7 +5835,7 @@
},
"signatures": [
{
- "id": 164,
+ "id": 200,
"name": "new GoTrueApi",
"kind": 16384,
"kindString": "Constructor signature",
@@ -5844,7 +5844,7 @@
},
"parameters": [
{
- "id": 165,
+ "id": 201,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5855,7 +5855,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 166,
+ "id": 202,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5864,7 +5864,7 @@
},
"children": [
{
- "id": 172,
+ "id": 208,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -5874,7 +5874,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 16,
+ "line": 17,
"character": 17
}
],
@@ -5887,14 +5887,14 @@
},
{
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "CookieOptions"
}
]
}
},
{
- "id": 168,
+ "id": 204,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -5904,14 +5904,14 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 15,
+ "line": 16,
"character": 11
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 169,
+ "id": 205,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5920,7 +5920,7 @@
},
"indexSignature": [
{
- "id": 170,
+ "id": 206,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -5929,7 +5929,7 @@
},
"parameters": [
{
- "id": 171,
+ "id": 207,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -5952,7 +5952,7 @@
}
},
{
- "id": 167,
+ "id": 203,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -5962,7 +5962,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 14,
+ "line": 15,
"character": 7
}
],
@@ -5978,16 +5978,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 172,
- 168,
- 167
+ 208,
+ 204,
+ 203
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 13,
+ "line": 14,
"character": 14
}
]
@@ -5997,7 +5997,7 @@
],
"type": {
"type": "reference",
- "id": 156,
+ "id": 192,
"name": "GoTrueApi"
}
}
@@ -6005,13 +6005,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 11,
+ "line": 12,
"character": 40
}
]
},
{
- "id": 162,
+ "id": 198,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
@@ -6022,18 +6022,18 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 11,
+ "line": 12,
"character": 25
}
],
"type": {
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "CookieOptions"
}
},
{
- "id": 158,
+ "id": 194,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -6044,14 +6044,14 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 8,
+ "line": 9,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 159,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6060,7 +6060,7 @@
},
"indexSignature": [
{
- "id": 160,
+ "id": 196,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -6069,7 +6069,7 @@
},
"parameters": [
{
- "id": 161,
+ "id": 197,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -6091,7 +6091,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 8,
+ "line": 9,
"character": 20
}
]
@@ -6099,7 +6099,7 @@
}
},
{
- "id": 157,
+ "id": 193,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -6110,7 +6110,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 7,
+ "line": 8,
"character": 15
}
],
@@ -6120,7 +6120,7 @@
}
},
{
- "id": 223,
+ "id": 259,
"name": "_createRequestHeaders",
"kind": 2048,
"kindString": "Method",
@@ -6130,7 +6130,7 @@
},
"signatures": [
{
- "id": 224,
+ "id": 260,
"name": "_createRequestHeaders",
"kind": 4096,
"kindString": "Call signature",
@@ -6142,7 +6142,7 @@
},
"parameters": [
{
- "id": 225,
+ "id": 261,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -6161,7 +6161,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 226,
+ "id": 262,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6175,13 +6175,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 160,
+ "line": 165,
"character": 31
}
]
},
{
- "id": 232,
+ "id": 268,
"name": "getUrlForProvider",
"kind": 2048,
"kindString": "Method",
@@ -6190,7 +6190,7 @@
},
"signatures": [
{
- "id": 233,
+ "id": 269,
"name": "getUrlForProvider",
"kind": 4096,
"kindString": "Call signature",
@@ -6202,7 +6202,7 @@
},
"parameters": [
{
- "id": 234,
+ "id": 270,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -6214,12 +6214,12 @@
},
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
},
{
- "id": 235,
+ "id": 271,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -6229,7 +6229,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 272,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6238,7 +6238,7 @@
},
"children": [
{
- "id": 237,
+ "id": 273,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -6249,7 +6249,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 192,
+ "line": 197,
"character": 16
}
],
@@ -6268,7 +6268,7 @@
}
},
{
- "id": 238,
+ "id": 274,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -6279,7 +6279,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 193,
+ "line": 198,
"character": 12
}
],
@@ -6303,15 +6303,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 237,
- 238
+ 273,
+ 274
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 196,
"character": 12
}
]
@@ -6328,13 +6328,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 189,
+ "line": 194,
"character": 19
}
]
},
{
- "id": 239,
+ "id": 275,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -6343,7 +6343,7 @@
},
"signatures": [
{
- "id": 240,
+ "id": 276,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -6355,7 +6355,7 @@
},
"parameters": [
{
- "id": 241,
+ "id": 277,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -6377,7 +6377,7 @@
{
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 278,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6386,7 +6386,7 @@
},
"children": [
{
- "id": 244,
+ "id": 280,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6396,7 +6396,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 212,
+ "line": 217,
"character": 38
}
],
@@ -6405,7 +6405,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -6416,7 +6416,7 @@
}
},
{
- "id": 245,
+ "id": 281,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6426,7 +6426,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 212,
+ "line": 217,
"character": 58
}
],
@@ -6445,7 +6445,7 @@
}
},
{
- "id": 243,
+ "id": 279,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -6455,7 +6455,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 212,
+ "line": 217,
"character": 19
}
],
@@ -6464,7 +6464,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -6480,16 +6480,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 244,
- 245,
- 243
+ 280,
+ 281,
+ 279
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 212,
+ "line": 217,
"character": 13
}
]
@@ -6503,13 +6503,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 210,
+ "line": 215,
"character": 15
}
]
},
{
- "id": 264,
+ "id": 300,
"name": "getUserByCookie",
"kind": 2048,
"kindString": "Method",
@@ -6518,7 +6518,7 @@
},
"signatures": [
{
- "id": 265,
+ "id": 301,
"name": "getUserByCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -6530,7 +6530,7 @@
},
"parameters": [
{
- "id": 266,
+ "id": 302,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -6549,7 +6549,7 @@
{
"type": "reflection",
"declaration": {
- "id": 267,
+ "id": 303,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6558,7 +6558,7 @@
},
"children": [
{
- "id": 269,
+ "id": 305,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6568,7 +6568,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 291,
+ "line": 298,
"character": 38
}
],
@@ -6577,7 +6577,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -6588,7 +6588,7 @@
}
},
{
- "id": 270,
+ "id": 306,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6598,7 +6598,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 291,
+ "line": 298,
"character": 58
}
],
@@ -6617,7 +6617,7 @@
}
},
{
- "id": 268,
+ "id": 304,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -6627,7 +6627,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 291,
+ "line": 298,
"character": 19
}
],
@@ -6636,7 +6636,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -6652,16 +6652,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 269,
- 270,
- 268
+ 305,
+ 306,
+ 304
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 291,
+ "line": 298,
"character": 13
}
]
@@ -6675,13 +6675,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 289,
+ "line": 296,
"character": 23
}
]
},
{
- "id": 203,
+ "id": 239,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
@@ -6690,7 +6690,7 @@
},
"signatures": [
{
- "id": 204,
+ "id": 240,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -6702,7 +6702,7 @@
},
"parameters": [
{
- "id": 205,
+ "id": 241,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -6718,7 +6718,7 @@
}
},
{
- "id": 206,
+ "id": 242,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -6728,7 +6728,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 207,
+ "id": 243,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6737,7 +6737,7 @@
},
"children": [
{
- "id": 208,
+ "id": 244,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -6748,7 +6748,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 117,
+ "line": 122,
"character": 16
}
],
@@ -6772,14 +6772,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 208
+ 244
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 116,
+ "line": 121,
"character": 12
}
]
@@ -6794,7 +6794,7 @@
{
"type": "reflection",
"declaration": {
- "id": 209,
+ "id": 245,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6803,7 +6803,7 @@
},
"children": [
{
- "id": 210,
+ "id": 246,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6813,7 +6813,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 119,
+ "line": 124,
"character": 19
}
],
@@ -6823,7 +6823,7 @@
{
"type": "reflection",
"declaration": {
- "id": 211,
+ "id": 247,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6833,7 +6833,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 119,
+ "line": 124,
"character": 20
}
]
@@ -6847,7 +6847,7 @@
}
},
{
- "id": 212,
+ "id": 248,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6857,7 +6857,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 119,
+ "line": 124,
"character": 37
}
],
@@ -6881,15 +6881,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 210,
- 212
+ 246,
+ 248
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 119,
+ "line": 124,
"character": 13
}
]
@@ -6903,13 +6903,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 114,
+ "line": 119,
"character": 25
}
]
},
{
- "id": 254,
+ "id": 290,
"name": "refreshAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -6918,7 +6918,7 @@
},
"signatures": [
{
- "id": 255,
+ "id": 291,
"name": "refreshAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -6930,7 +6930,7 @@
},
"parameters": [
{
- "id": 256,
+ "id": 292,
"name": "refreshToken",
"kind": 32768,
"kindString": "Parameter",
@@ -6952,7 +6952,7 @@
{
"type": "reflection",
"declaration": {
- "id": 257,
+ "id": 293,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6961,7 +6961,7 @@
},
"children": [
{
- "id": 258,
+ "id": 294,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6971,7 +6971,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 246,
+ "line": 251,
"character": 19
}
],
@@ -6991,7 +6991,7 @@
}
},
{
- "id": 259,
+ "id": 295,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -7001,7 +7001,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 246,
+ "line": 251,
"character": 42
}
],
@@ -7025,15 +7025,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 258,
- 259
+ 294,
+ 295
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 246,
+ "line": 251,
"character": 13
}
]
@@ -7047,13 +7047,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 244,
+ "line": 249,
"character": 26
}
]
},
{
- "id": 213,
+ "id": 249,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -7062,7 +7062,7 @@
},
"signatures": [
{
- "id": 214,
+ "id": 250,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -7074,7 +7074,7 @@
},
"parameters": [
{
- "id": 215,
+ "id": 251,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -7090,7 +7090,7 @@
}
},
{
- "id": 216,
+ "id": 252,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7100,7 +7100,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 217,
+ "id": 253,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7109,7 +7109,7 @@
},
"children": [
{
- "id": 218,
+ "id": 254,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -7120,7 +7120,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 140,
+ "line": 145,
"character": 16
}
],
@@ -7144,14 +7144,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 218
+ 254
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 139,
+ "line": 144,
"character": 12
}
]
@@ -7166,7 +7166,7 @@
{
"type": "reflection",
"declaration": {
- "id": 219,
+ "id": 255,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7175,7 +7175,7 @@
},
"children": [
{
- "id": 220,
+ "id": 256,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -7185,7 +7185,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 142,
+ "line": 147,
"character": 19
}
],
@@ -7195,7 +7195,7 @@
{
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 257,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7205,7 +7205,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 142,
+ "line": 147,
"character": 20
}
]
@@ -7219,7 +7219,7 @@
}
},
{
- "id": 222,
+ "id": 258,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -7229,7 +7229,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 142,
+ "line": 147,
"character": 37
}
],
@@ -7253,15 +7253,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 220,
- 222
+ 256,
+ 258
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 142,
+ "line": 147,
"character": 13
}
]
@@ -7275,13 +7275,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 137,
+ "line": 142,
"character": 29
}
]
},
{
- "id": 193,
+ "id": 229,
"name": "sendMagicLinkEmail",
"kind": 2048,
"kindString": "Method",
@@ -7290,7 +7290,7 @@
},
"signatures": [
{
- "id": 194,
+ "id": 230,
"name": "sendMagicLinkEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -7302,7 +7302,7 @@
},
"parameters": [
{
- "id": 195,
+ "id": 231,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -7318,7 +7318,7 @@
}
},
{
- "id": 196,
+ "id": 232,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7328,7 +7328,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 233,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7337,7 +7337,7 @@
},
"children": [
{
- "id": 198,
+ "id": 234,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -7348,7 +7348,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 94,
+ "line": 99,
"character": 16
}
],
@@ -7372,14 +7372,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 198
+ 234
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 93,
+ "line": 98,
"character": 12
}
]
@@ -7394,7 +7394,7 @@
{
"type": "reflection",
"declaration": {
- "id": 199,
+ "id": 235,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7403,7 +7403,7 @@
},
"children": [
{
- "id": 200,
+ "id": 236,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -7413,7 +7413,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 96,
+ "line": 101,
"character": 19
}
],
@@ -7423,7 +7423,7 @@
{
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7433,7 +7433,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 96,
+ "line": 101,
"character": 20
}
]
@@ -7447,7 +7447,7 @@
}
},
{
- "id": 202,
+ "id": 238,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -7457,7 +7457,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 96,
+ "line": 101,
"character": 37
}
],
@@ -7481,15 +7481,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 200,
- 202
+ 236,
+ 238
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 96,
+ "line": 101,
"character": 13
}
]
@@ -7503,13 +7503,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 91,
+ "line": 96,
"character": 26
}
]
},
{
- "id": 260,
+ "id": 296,
"name": "setAuthCookie",
"kind": 2048,
"kindString": "Method",
@@ -7518,7 +7518,7 @@
},
"signatures": [
{
- "id": 261,
+ "id": 297,
"name": "setAuthCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -7530,7 +7530,7 @@
},
"parameters": [
{
- "id": 262,
+ "id": 298,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -7543,7 +7543,7 @@
}
},
{
- "id": 263,
+ "id": 299,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -7565,13 +7565,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 263,
+ "line": 270,
"character": 15
}
]
},
{
- "id": 183,
+ "id": 219,
"name": "signInWithEmail",
"kind": 2048,
"kindString": "Method",
@@ -7580,7 +7580,7 @@
},
"signatures": [
{
- "id": 184,
+ "id": 220,
"name": "signInWithEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -7592,7 +7592,7 @@
},
"parameters": [
{
- "id": 185,
+ "id": 221,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -7608,7 +7608,7 @@
}
},
{
- "id": 186,
+ "id": 222,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -7624,7 +7624,7 @@
}
},
{
- "id": 187,
+ "id": 223,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7634,7 +7634,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 188,
+ "id": 224,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7643,7 +7643,7 @@
},
"children": [
{
- "id": 189,
+ "id": 225,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -7654,7 +7654,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 67,
+ "line": 70,
"character": 16
}
],
@@ -7678,14 +7678,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 189
+ 225
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 66,
+ "line": 69,
"character": 12
}
]
@@ -7700,7 +7700,7 @@
{
"type": "reflection",
"declaration": {
- "id": 190,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7709,7 +7709,7 @@
},
"children": [
{
- "id": 191,
+ "id": 227,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -7719,7 +7719,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 69,
+ "line": 72,
"character": 19
}
],
@@ -7739,7 +7739,7 @@
}
},
{
- "id": 192,
+ "id": 228,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -7749,7 +7749,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 69,
+ "line": 72,
"character": 42
}
],
@@ -7773,15 +7773,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 191,
- 192
+ 227,
+ 228
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 69,
+ "line": 72,
"character": 13
}
]
@@ -7795,13 +7795,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 63,
+ "line": 66,
"character": 23
}
]
},
{
- "id": 227,
+ "id": 263,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -7810,7 +7810,7 @@
},
"signatures": [
{
- "id": 228,
+ "id": 264,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -7822,7 +7822,7 @@
},
"parameters": [
{
- "id": 229,
+ "id": 265,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -7844,7 +7844,7 @@
{
"type": "reflection",
"declaration": {
- "id": 230,
+ "id": 266,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7853,7 +7853,7 @@
},
"children": [
{
- "id": 231,
+ "id": 267,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -7863,7 +7863,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 170,
+ "line": 175,
"character": 45
}
],
@@ -7887,14 +7887,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 231
+ 267
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 170,
+ "line": 175,
"character": 38
}
]
@@ -7908,13 +7908,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 170,
+ "line": 175,
"character": 15
}
]
},
{
- "id": 173,
+ "id": 209,
"name": "signUpWithEmail",
"kind": 2048,
"kindString": "Method",
@@ -7923,7 +7923,7 @@
},
"signatures": [
{
- "id": 174,
+ "id": 210,
"name": "signUpWithEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -7936,7 +7936,7 @@
},
"parameters": [
{
- "id": 175,
+ "id": 211,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -7952,7 +7952,7 @@
}
},
{
- "id": 176,
+ "id": 212,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -7968,7 +7968,7 @@
}
},
{
- "id": 177,
+ "id": 213,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7978,7 +7978,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 178,
+ "id": 214,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7987,7 +7987,7 @@
},
"children": [
{
- "id": 179,
+ "id": 215,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -7998,7 +7998,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 42,
+ "line": 43,
"character": 16
}
],
@@ -8022,14 +8022,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 179
+ 215
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 41,
+ "line": 42,
"character": 12
}
]
@@ -8044,7 +8044,7 @@
{
"type": "reflection",
"declaration": {
- "id": 180,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8053,7 +8053,7 @@
},
"children": [
{
- "id": 181,
+ "id": 217,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -8063,7 +8063,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 44,
+ "line": 45,
"character": 19
}
],
@@ -8077,7 +8077,7 @@
},
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -8088,7 +8088,7 @@
}
},
{
- "id": 182,
+ "id": 218,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -8098,7 +8098,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 44,
+ "line": 45,
"character": 49
}
],
@@ -8122,15 +8122,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 181,
- 182
+ 217,
+ 218
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 44,
+ "line": 45,
"character": 13
}
]
@@ -8144,13 +8144,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 38,
+ "line": 39,
"character": 23
}
]
},
{
- "id": 246,
+ "id": 282,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -8159,7 +8159,7 @@
},
"signatures": [
{
- "id": 247,
+ "id": 283,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -8171,7 +8171,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 284,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -8187,7 +8187,7 @@
}
},
{
- "id": 249,
+ "id": 285,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -8199,7 +8199,7 @@
},
"type": {
"type": "reference",
- "id": 71,
+ "id": 72,
"name": "UserAttributes"
}
}
@@ -8210,7 +8210,7 @@
{
"type": "reflection",
"declaration": {
- "id": 250,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8219,7 +8219,7 @@
},
"children": [
{
- "id": 252,
+ "id": 288,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -8229,7 +8229,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 229,
+ "line": 234,
"character": 38
}
],
@@ -8238,7 +8238,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -8249,7 +8249,7 @@
}
},
{
- "id": 253,
+ "id": 289,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -8259,7 +8259,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 229,
+ "line": 234,
"character": 58
}
],
@@ -8278,7 +8278,7 @@
}
},
{
- "id": 251,
+ "id": 287,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -8288,7 +8288,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 229,
+ "line": 234,
"character": 19
}
],
@@ -8297,7 +8297,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -8313,16 +8313,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 252,
- 253,
- 251
+ 288,
+ 289,
+ 287
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 229,
+ "line": 234,
"character": 13
}
]
@@ -8336,7 +8336,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 226,
+ "line": 231,
"character": 18
}
]
@@ -8347,42 +8347,42 @@
"title": "Constructors",
"kind": 512,
"children": [
- 163
+ 199
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 162,
- 158,
- 157
+ 198,
+ 194,
+ 193
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 223,
- 232,
+ 259,
+ 268,
+ 275,
+ 300,
239,
- 264,
- 203,
- 254,
- 213,
- 193,
- 260,
- 183,
- 227,
- 173,
- 246
+ 290,
+ 249,
+ 229,
+ 296,
+ 219,
+ 263,
+ 209,
+ 282
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 6,
+ "line": 7,
"character": 30
}
]
@@ -8393,7 +8393,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 156
+ 192
]
}
],
@@ -8406,7 +8406,7 @@
]
},
{
- "id": 306,
+ "id": 310,
"name": "\"GoTrueClient\"",
"kind": 1,
"kindString": "Module",
@@ -8416,7 +8416,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
"children": [
{
- "id": 307,
+ "id": 311,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
@@ -8425,7 +8425,7 @@
},
"children": [
{
- "id": 315,
+ "id": 319,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8437,7 +8437,7 @@
},
"signatures": [
{
- "id": 316,
+ "id": 320,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -8449,7 +8449,7 @@
},
"parameters": [
{
- "id": 317,
+ "id": 321,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -8459,7 +8459,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 322,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8468,7 +8468,7 @@
},
"children": [
{
- "id": 325,
+ "id": 329,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -8505,7 +8505,7 @@
}
},
{
- "id": 328,
+ "id": 332,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -8522,12 +8522,12 @@
],
"type": {
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "CookieOptions"
}
},
{
- "id": 324,
+ "id": 328,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -8564,7 +8564,7 @@
}
},
{
- "id": 320,
+ "id": 324,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -8592,7 +8592,7 @@
{
"type": "reflection",
"declaration": {
- "id": 321,
+ "id": 325,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8601,7 +8601,7 @@
},
"indexSignature": [
{
- "id": 322,
+ "id": 326,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -8610,7 +8610,7 @@
},
"parameters": [
{
- "id": 323,
+ "id": 327,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8635,7 +8635,7 @@
}
},
{
- "id": 327,
+ "id": 331,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -8659,7 +8659,7 @@
}
},
{
- "id": 326,
+ "id": 330,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -8696,7 +8696,7 @@
}
},
{
- "id": 319,
+ "id": 323,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -8734,13 +8734,13 @@
"title": "Variables",
"kind": 32,
"children": [
- 325,
+ 329,
+ 332,
328,
324,
- 320,
- 327,
- 326,
- 319
+ 331,
+ 330,
+ 323
]
}
],
@@ -8757,7 +8757,7 @@
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 311,
"name": "GoTrueClient"
}
}
@@ -8771,7 +8771,7 @@
]
},
{
- "id": 308,
+ "id": 312,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -8790,12 +8790,12 @@
],
"type": {
"type": "reference",
- "id": 156,
+ "id": 192,
"name": "GoTrueApi"
}
},
{
- "id": 311,
+ "id": 315,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -8816,7 +8816,7 @@
}
},
{
- "id": 310,
+ "id": 314,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -8850,7 +8850,7 @@
}
},
{
- "id": 309,
+ "id": 313,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -8873,7 +8873,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -8884,7 +8884,7 @@
}
},
{
- "id": 313,
+ "id": 317,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -8905,7 +8905,7 @@
}
},
{
- "id": 312,
+ "id": 316,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -8926,7 +8926,7 @@
}
},
{
- "id": 314,
+ "id": 318,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -8950,7 +8950,7 @@
},
{
"type": "reference",
- "id": 76,
+ "id": 77,
"name": "Subscription"
}
],
@@ -8959,7 +8959,7 @@
"defaultValue": "new Map()"
},
{
- "id": 447,
+ "id": 452,
"name": "_callRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -8969,7 +8969,7 @@
},
"signatures": [
{
- "id": 448,
+ "id": 453,
"name": "_callRefreshToken",
"kind": 4096,
"kindString": "Call signature",
@@ -8978,7 +8978,7 @@
},
"parameters": [
{
- "id": 449,
+ "id": 454,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -9010,7 +9010,7 @@
{
"type": "reflection",
"declaration": {
- "id": 450,
+ "id": 455,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9019,7 +9019,7 @@
},
"children": [
{
- "id": 451,
+ "id": 456,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9029,7 +9029,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 477,
+ "line": 505,
"character": 19
}
],
@@ -9040,7 +9040,7 @@
}
},
{
- "id": 452,
+ "id": 457,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9050,7 +9050,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 477,
+ "line": 505,
"character": 26
}
],
@@ -9066,8 +9066,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 451,
- 452
+ 456,
+ 457
]
}
]
@@ -9076,7 +9076,7 @@
{
"type": "reflection",
"declaration": {
- "id": 453,
+ "id": 458,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9085,7 +9085,7 @@
},
"children": [
{
- "id": 454,
+ "id": 459,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9095,7 +9095,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 479,
+ "line": 507,
"character": 19
}
],
@@ -9106,7 +9106,7 @@
"defaultValue": "null"
},
{
- "id": 455,
+ "id": 460,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9116,7 +9116,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 479,
+ "line": 507,
"character": 32
}
],
@@ -9131,8 +9131,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 454,
- 455
+ 459,
+ 460
]
}
]
@@ -9148,13 +9148,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 454,
+ "line": 482,
"character": 33
}
]
},
{
- "id": 400,
+ "id": 404,
"name": "_handleEmailSignIn",
"kind": 2048,
"kindString": "Method",
@@ -9164,7 +9164,7 @@
},
"signatures": [
{
- "id": 401,
+ "id": 405,
"name": "_handleEmailSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -9173,7 +9173,7 @@
},
"parameters": [
{
- "id": 402,
+ "id": 406,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -9186,7 +9186,7 @@
}
},
{
- "id": 403,
+ "id": 407,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -9199,7 +9199,7 @@
}
},
{
- "id": 404,
+ "id": 408,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9209,7 +9209,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 405,
+ "id": 409,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9218,7 +9218,7 @@
},
"children": [
{
- "id": 406,
+ "id": 410,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -9229,7 +9229,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 345,
+ "line": 353,
"character": 16
}
],
@@ -9253,14 +9253,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 406
+ 410
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 344,
+ "line": 352,
"character": 12
}
]
@@ -9278,7 +9278,7 @@
{
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 411,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9287,7 +9287,7 @@
},
"children": [
{
- "id": 408,
+ "id": 412,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9297,7 +9297,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 359,
+ "line": 367,
"character": 19
}
],
@@ -9308,7 +9308,7 @@
}
},
{
- "id": 411,
+ "id": 415,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9318,7 +9318,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 359,
+ "line": 367,
"character": 58
}
],
@@ -9329,7 +9329,7 @@
"defaultValue": "null"
},
{
- "id": 410,
+ "id": 414,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -9339,7 +9339,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 359,
+ "line": 367,
"character": 45
}
],
@@ -9351,7 +9351,7 @@
"defaultValue": "data"
},
{
- "id": 409,
+ "id": 413,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9361,13 +9361,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 359,
+ "line": 367,
"character": 25
}
],
"type": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
"defaultValue": "data.user"
@@ -9378,10 +9378,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 408,
- 411,
- 410,
- 409
+ 412,
+ 415,
+ 414,
+ 413
]
}
]
@@ -9390,7 +9390,7 @@
{
"type": "reflection",
"declaration": {
- "id": 412,
+ "id": 416,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9399,7 +9399,7 @@
},
"children": [
{
- "id": 413,
+ "id": 417,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9409,7 +9409,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 361,
+ "line": 369,
"character": 19
}
],
@@ -9420,7 +9420,7 @@
"defaultValue": "null"
},
{
- "id": 416,
+ "id": 420,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9430,7 +9430,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 361,
+ "line": 369,
"character": 59
}
],
@@ -9440,7 +9440,7 @@
}
},
{
- "id": 415,
+ "id": 419,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -9450,7 +9450,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 361,
+ "line": 369,
"character": 46
}
],
@@ -9461,7 +9461,7 @@
"defaultValue": "null"
},
{
- "id": 414,
+ "id": 418,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9471,7 +9471,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 361,
+ "line": 369,
"character": 31
}
],
@@ -9487,10 +9487,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 413,
- 416,
- 415,
- 414
+ 417,
+ 420,
+ 419,
+ 418
]
}
]
@@ -9506,13 +9506,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 341,
+ "line": 349,
"character": 34
}
]
},
{
- "id": 417,
+ "id": 421,
"name": "_handleProviderSignIn",
"kind": 2048,
"kindString": "Method",
@@ -9522,7 +9522,7 @@
},
"signatures": [
{
- "id": 418,
+ "id": 422,
"name": "_handleProviderSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -9531,7 +9531,7 @@
},
"parameters": [
{
- "id": 419,
+ "id": 423,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -9540,12 +9540,12 @@
},
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
},
{
- "id": 420,
+ "id": 424,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9555,7 +9555,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 421,
+ "id": 425,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9564,7 +9564,7 @@
},
"children": [
{
- "id": 422,
+ "id": 426,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -9575,7 +9575,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 368,
+ "line": 376,
"character": 16
}
],
@@ -9594,7 +9594,7 @@
}
},
{
- "id": 423,
+ "id": 427,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -9605,7 +9605,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 369,
+ "line": 377,
"character": 12
}
],
@@ -9629,15 +9629,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 422,
- 423
+ 426,
+ 427
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 367,
+ "line": 375,
"character": 12
}
]
@@ -9652,7 +9652,7 @@
{
"type": "reflection",
"declaration": {
- "id": 424,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9661,7 +9661,7 @@
},
"children": [
{
- "id": 427,
+ "id": 431,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9671,7 +9671,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 34
}
],
@@ -9682,7 +9682,7 @@
"defaultValue": "null"
},
{
- "id": 430,
+ "id": 434,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9692,7 +9692,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 74
}
],
@@ -9703,7 +9703,7 @@
"defaultValue": "null"
},
{
- "id": 425,
+ "id": 429,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -9713,18 +9713,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 23
}
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
},
{
- "id": 428,
+ "id": 432,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -9734,7 +9734,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 49
}
],
@@ -9745,7 +9745,7 @@
"defaultValue": "null"
},
{
- "id": 426,
+ "id": 430,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -9755,7 +9755,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 28
}
],
@@ -9765,7 +9765,7 @@
}
},
{
- "id": 429,
+ "id": 433,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9775,7 +9775,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 61
}
],
@@ -9791,12 +9791,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 427,
+ 431,
+ 434,
+ 429,
+ 432,
430,
- 425,
- 428,
- 426,
- 429
+ 433
]
}
]
@@ -9805,7 +9805,7 @@
{
"type": "reflection",
"declaration": {
- "id": 431,
+ "id": 435,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9814,7 +9814,7 @@
},
"children": [
{
- "id": 432,
+ "id": 436,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9824,7 +9824,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 386,
+ "line": 394,
"character": 19
}
],
@@ -9835,7 +9835,7 @@
"defaultValue": "null"
},
{
- "id": 435,
+ "id": 439,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9845,7 +9845,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 386,
+ "line": 394,
"character": 59
}
],
@@ -9855,7 +9855,7 @@
}
},
{
- "id": 434,
+ "id": 438,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -9865,7 +9865,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 386,
+ "line": 394,
"character": 46
}
],
@@ -9876,7 +9876,7 @@
"defaultValue": "null"
},
{
- "id": 433,
+ "id": 437,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9886,7 +9886,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 386,
+ "line": 394,
"character": 31
}
],
@@ -9902,10 +9902,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 432,
- 435,
- 434,
- 433
+ 436,
+ 439,
+ 438,
+ 437
]
}
]
@@ -9918,13 +9918,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 365,
+ "line": 373,
"character": 31
}
]
},
{
- "id": 456,
+ "id": 461,
"name": "_notifyAllSubscribers",
"kind": 2048,
"kindString": "Method",
@@ -9934,7 +9934,7 @@
},
"signatures": [
{
- "id": 457,
+ "id": 462,
"name": "_notifyAllSubscribers",
"kind": 4096,
"kindString": "Call signature",
@@ -9943,7 +9943,7 @@
},
"parameters": [
{
- "id": 458,
+ "id": 463,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -9952,7 +9952,7 @@
},
"type": {
"type": "reference",
- "id": 97,
+ "id": 98,
"name": "AuthChangeEvent"
}
}
@@ -9966,13 +9966,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 483,
+ "line": 511,
"character": 31
}
]
},
{
- "id": 439,
+ "id": 443,
"name": "_persistSession",
"kind": 2048,
"kindString": "Method",
@@ -9982,7 +9982,7 @@
},
"signatures": [
{
- "id": 440,
+ "id": 444,
"name": "_persistSession",
"kind": 4096,
"kindString": "Call signature",
@@ -9991,7 +9991,7 @@
},
"parameters": [
{
- "id": 441,
+ "id": 445,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -10003,19 +10003,6 @@
"id": 45,
"name": "Session"
}
- },
- {
- "id": 442,
- "name": "secondsToExpiry",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
}
],
"type": {
@@ -10027,14 +10014,14 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 404,
+ "line": 407,
"character": 25
}
]
},
{
- "id": 445,
- "name": "_recoverSession",
+ "id": 450,
+ "name": "_recoverAndRefresh",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -10043,13 +10030,16 @@
},
"signatures": [
{
- "id": 446,
- "name": "_recoverSession",
+ "id": 451,
+ "name": "_recoverAndRefresh",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
+ "comment": {
+ "shortText": "Recovers the session from LocalStorage and refreshes"
+ },
"type": {
"type": "reference",
"typeArguments": [
@@ -10074,13 +10064,57 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 417,
- "character": 31
+ "line": 445,
+ "character": 34
}
]
},
{
- "id": 443,
+ "id": 448,
+ "name": "_recoverSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 449,
+ "name": "_recoverSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 422,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 446,
"name": "_removeSession",
"kind": 2048,
"kindString": "Method",
@@ -10090,7 +10124,7 @@
},
"signatures": [
{
- "id": 444,
+ "id": 447,
"name": "_removeSession",
"kind": 4096,
"kindString": "Call signature",
@@ -10112,13 +10146,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 411,
+ "line": 412,
"character": 30
}
]
},
{
- "id": 436,
+ "id": 440,
"name": "_saveSession",
"kind": 2048,
"kindString": "Method",
@@ -10128,7 +10162,7 @@
},
"signatures": [
{
- "id": 437,
+ "id": 441,
"name": "_saveSession",
"kind": 4096,
"kindString": "Call signature",
@@ -10137,7 +10171,7 @@
},
"parameters": [
{
- "id": 438,
+ "id": 442,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -10160,13 +10194,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 390,
+ "line": 398,
"character": 22
}
]
},
{
- "id": 378,
+ "id": 382,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -10175,7 +10209,7 @@
},
"signatures": [
{
- "id": 379,
+ "id": 383,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -10187,7 +10221,7 @@
},
"parameters": [
{
- "id": 380,
+ "id": 384,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10205,7 +10239,7 @@
{
"type": "reflection",
"declaration": {
- "id": 381,
+ "id": 385,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10214,7 +10248,7 @@
},
"children": [
{
- "id": 382,
+ "id": 386,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -10228,7 +10262,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 256,
+ "line": 260,
"character": 16
}
],
@@ -10256,7 +10290,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 382
+ 386
]
}
]
@@ -10272,7 +10306,7 @@
{
"type": "reflection",
"declaration": {
- "id": 383,
+ "id": 387,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10281,7 +10315,7 @@
},
"children": [
{
- "id": 384,
+ "id": 388,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10291,7 +10325,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 257,
+ "line": 261,
"character": 20
}
],
@@ -10311,7 +10345,7 @@
}
},
{
- "id": 385,
+ "id": 389,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10321,7 +10355,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 257,
+ "line": 261,
"character": 43
}
],
@@ -10345,15 +10379,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 384,
- 385
+ 388,
+ 389
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 257,
+ "line": 261,
"character": 14
}
]
@@ -10367,13 +10401,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 255,
+ "line": 259,
"character": 25
}
]
},
{
- "id": 390,
+ "id": 394,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -10382,7 +10416,7 @@
},
"signatures": [
{
- "id": 391,
+ "id": 395,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -10395,7 +10429,7 @@
},
"parameters": [
{
- "id": 392,
+ "id": 396,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -10405,7 +10439,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 393,
+ "id": 397,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10414,7 +10448,7 @@
},
"signatures": [
{
- "id": 394,
+ "id": 398,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -10423,7 +10457,7 @@
},
"parameters": [
{
- "id": 395,
+ "id": 399,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -10432,12 +10466,12 @@
},
"type": {
"type": "reference",
- "id": 97,
+ "id": 98,
"name": "AuthChangeEvent"
}
},
{
- "id": 396,
+ "id": 400,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -10469,7 +10503,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 322,
+ "line": 330,
"character": 13
}
]
@@ -10480,7 +10514,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 397,
+ "id": 401,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10489,7 +10523,7 @@
},
"children": [
{
- "id": 398,
+ "id": 402,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10499,7 +10533,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 323,
+ "line": 331,
"character": 11
}
],
@@ -10508,7 +10542,7 @@
"types": [
{
"type": "reference",
- "id": 76,
+ "id": 77,
"name": "Subscription"
},
{
@@ -10519,7 +10553,7 @@
}
},
{
- "id": 399,
+ "id": 403,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10529,7 +10563,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 323,
+ "line": 331,
"character": 39
}
],
@@ -10553,15 +10587,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 398,
- 399
+ 402,
+ 403
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 323,
+ "line": 331,
"character": 4
}
]
@@ -10572,13 +10606,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 321,
+ "line": 329,
"character": 19
}
]
},
{
- "id": 365,
+ "id": 369,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -10587,7 +10621,7 @@
},
"signatures": [
{
- "id": 366,
+ "id": 370,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -10603,7 +10637,7 @@
{
"type": "reflection",
"declaration": {
- "id": 367,
+ "id": 371,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10612,7 +10646,7 @@
},
"children": [
{
- "id": 368,
+ "id": 372,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10622,7 +10656,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 208,
+ "line": 209,
"character": 8
}
],
@@ -10642,7 +10676,7 @@
}
},
{
- "id": 370,
+ "id": 374,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10652,7 +10686,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 210,
+ "line": 211,
"character": 9
}
],
@@ -10671,7 +10705,7 @@
}
},
{
- "id": 369,
+ "id": 373,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -10681,7 +10715,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 209,
+ "line": 210,
"character": 8
}
],
@@ -10690,7 +10724,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -10706,16 +10740,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 368,
- 370,
- 369
+ 372,
+ 374,
+ 373
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 207,
+ "line": 208,
"character": 34
}
]
@@ -10729,13 +10763,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 207,
+ "line": 208,
"character": 22
}
]
},
{
- "id": 363,
+ "id": 367,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -10744,7 +10778,7 @@
},
"signatures": [
{
- "id": 364,
+ "id": 368,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -10773,13 +10807,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 200,
+ "line": 201,
"character": 9
}
]
},
{
- "id": 343,
+ "id": 347,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -10788,7 +10822,7 @@
},
"signatures": [
{
- "id": 344,
+ "id": 348,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -10800,7 +10834,7 @@
},
"parameters": [
{
- "id": 345,
+ "id": 349,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -10811,7 +10845,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 346,
+ "id": 350,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10820,7 +10854,7 @@
},
"children": [
{
- "id": 347,
+ "id": 351,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -10833,7 +10867,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 149,
+ "line": 150,
"character": 11
}
],
@@ -10852,7 +10886,7 @@
}
},
{
- "id": 348,
+ "id": 352,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -10865,7 +10899,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 149,
+ "line": 150,
"character": 21
}
],
@@ -10884,7 +10918,7 @@
}
},
{
- "id": 349,
+ "id": 353,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -10897,7 +10931,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 149,
+ "line": 150,
"character": 31
}
],
@@ -10941,16 +10975,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 347,
- 348,
- 349
+ 351,
+ 352,
+ 353
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 15
}
]
@@ -10958,7 +10992,7 @@
}
},
{
- "id": 350,
+ "id": 354,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10968,7 +11002,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 351,
+ "id": 355,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10977,7 +11011,7 @@
},
"children": [
{
- "id": 352,
+ "id": 356,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -10988,7 +11022,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 151,
+ "line": 152,
"character": 16
}
],
@@ -11007,7 +11041,7 @@
}
},
{
- "id": 353,
+ "id": 357,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -11018,7 +11052,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 152,
+ "line": 153,
"character": 12
}
],
@@ -11042,15 +11076,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 352,
- 353
+ 356,
+ 357
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 150,
+ "line": 151,
"character": 12
}
]
@@ -11065,7 +11099,7 @@
{
"type": "reflection",
"declaration": {
- "id": 354,
+ "id": 358,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11074,7 +11108,7 @@
},
"children": [
{
- "id": 360,
+ "id": 364,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -11084,7 +11118,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 160,
+ "line": 161,
"character": 8
}
],
@@ -11104,7 +11138,7 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11114,7 +11148,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 159,
+ "line": 160,
"character": 9
}
],
@@ -11133,7 +11167,7 @@
}
},
{
- "id": 357,
+ "id": 361,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -11144,18 +11178,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 157,
+ "line": 158,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
},
{
- "id": 355,
+ "id": 359,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -11165,7 +11199,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 155,
+ "line": 156,
"character": 11
}
],
@@ -11185,7 +11219,7 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -11196,7 +11230,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 159,
"character": 7
}
],
@@ -11215,7 +11249,7 @@
}
},
{
- "id": 356,
+ "id": 360,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -11225,7 +11259,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 156,
+ "line": 157,
"character": 8
}
],
@@ -11234,7 +11268,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -11250,19 +11284,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 360,
+ 364,
+ 363,
+ 361,
359,
- 357,
- 355,
- 358,
- 356
+ 362,
+ 360
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 154,
+ "line": 155,
"character": 13
}
]
@@ -11276,13 +11310,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 14
}
]
},
{
- "id": 386,
+ "id": 390,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -11291,7 +11325,7 @@
},
"signatures": [
{
- "id": 387,
+ "id": 391,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -11308,7 +11342,7 @@
{
"type": "reflection",
"declaration": {
- "id": 388,
+ "id": 392,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11317,7 +11351,7 @@
},
"children": [
{
- "id": 389,
+ "id": 393,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11327,7 +11361,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 307,
+ "line": 315,
"character": 34
}
],
@@ -11351,14 +11385,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 389
+ 393
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 307,
+ "line": 315,
"character": 27
}
]
@@ -11372,13 +11406,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 307,
+ "line": 315,
"character": 15
}
]
},
{
- "id": 329,
+ "id": 333,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -11387,7 +11421,7 @@
},
"signatures": [
{
- "id": 330,
+ "id": 334,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -11399,7 +11433,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 335,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -11410,7 +11444,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11419,7 +11453,7 @@
},
"children": [
{
- "id": 333,
+ "id": 337,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -11432,7 +11466,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 94,
+ "line": 95,
"character": 11
}
],
@@ -11451,7 +11485,7 @@
}
},
{
- "id": 334,
+ "id": 338,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -11464,7 +11498,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 94,
+ "line": 95,
"character": 21
}
],
@@ -11488,15 +11522,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 333,
- 334
+ 337,
+ 338
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 93,
+ "line": 94,
"character": 15
}
]
@@ -11504,7 +11538,7 @@
}
},
{
- "id": 335,
+ "id": 339,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -11514,7 +11548,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 336,
+ "id": 340,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11523,7 +11557,7 @@
},
"children": [
{
- "id": 337,
+ "id": 341,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -11534,7 +11568,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 96,
+ "line": 97,
"character": 16
}
],
@@ -11558,14 +11592,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 337
+ 341
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 95,
+ "line": 96,
"character": 12
}
]
@@ -11580,7 +11614,7 @@
{
"type": "reflection",
"declaration": {
- "id": 338,
+ "id": 342,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11589,7 +11623,7 @@
},
"children": [
{
- "id": 342,
+ "id": 346,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -11599,7 +11633,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 102,
+ "line": 103,
"character": 8
}
],
@@ -11613,7 +11647,7 @@
},
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -11624,7 +11658,7 @@
}
},
{
- "id": 341,
+ "id": 345,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11634,7 +11668,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 101,
+ "line": 102,
"character": 9
}
],
@@ -11653,7 +11687,7 @@
}
},
{
- "id": 340,
+ "id": 344,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -11663,7 +11697,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 100,
+ "line": 101,
"character": 11
}
],
@@ -11683,7 +11717,7 @@
}
},
{
- "id": 339,
+ "id": 343,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -11693,7 +11727,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 99,
+ "line": 100,
"character": 8
}
],
@@ -11702,7 +11736,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -11718,17 +11752,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 342,
- 341,
- 340,
- 339
+ 346,
+ 345,
+ 344,
+ 343
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 98,
+ "line": 99,
"character": 13
}
]
@@ -11742,13 +11776,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 93,
+ "line": 94,
"character": 14
}
]
},
{
- "id": 371,
+ "id": 375,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -11757,7 +11791,7 @@
},
"signatures": [
{
- "id": 372,
+ "id": 376,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -11769,7 +11803,7 @@
},
"parameters": [
{
- "id": 373,
+ "id": 377,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -11778,7 +11812,7 @@
},
"type": {
"type": "reference",
- "id": 71,
+ "id": 72,
"name": "UserAttributes"
}
}
@@ -11789,7 +11823,7 @@
{
"type": "reflection",
"declaration": {
- "id": 374,
+ "id": 378,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11798,7 +11832,7 @@
},
"children": [
{
- "id": 375,
+ "id": 379,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -11808,7 +11842,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 232,
+ "line": 233,
"character": 19
}
],
@@ -11817,7 +11851,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -11828,7 +11862,7 @@
}
},
{
- "id": 377,
+ "id": 381,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11838,7 +11872,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 232,
+ "line": 233,
"character": 58
}
],
@@ -11857,7 +11891,7 @@
}
},
{
- "id": 376,
+ "id": 380,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -11867,7 +11901,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 232,
+ "line": 233,
"character": 38
}
],
@@ -11876,7 +11910,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -11892,16 +11926,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 375,
- 377,
- 376
+ 379,
+ 381,
+ 380
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 232,
+ "line": 233,
"character": 13
}
]
@@ -11915,13 +11949,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 230,
+ "line": 231,
"character": 14
}
]
},
{
- "id": 361,
+ "id": 365,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -11930,7 +11964,7 @@
},
"signatures": [
{
- "id": 362,
+ "id": 366,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -11946,7 +11980,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -11960,7 +11994,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 193,
+ "line": 194,
"character": 6
}
]
@@ -11971,43 +12005,44 @@
"title": "Constructors",
"kind": 512,
"children": [
- 315
+ 319
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 308,
- 311,
- 310,
- 309,
- 313,
312,
- 314
+ 315,
+ 314,
+ 313,
+ 317,
+ 316,
+ 318
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 447,
- 400,
- 417,
- 456,
- 439,
- 445,
+ 452,
+ 404,
+ 421,
+ 461,
443,
- 436,
- 378,
+ 450,
+ 448,
+ 446,
+ 440,
+ 382,
+ 394,
+ 369,
+ 367,
+ 347,
390,
- 365,
- 363,
- 343,
- 386,
- 329,
- 371,
- 361
+ 333,
+ 375,
+ 365
]
}
],
@@ -12020,7 +12055,7 @@
]
},
{
- "id": 459,
+ "id": 464,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -12029,7 +12064,7 @@
},
"children": [
{
- "id": 461,
+ "id": 466,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -12048,7 +12083,7 @@
"defaultValue": "true"
},
{
- "id": 464,
+ "id": 469,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -12067,7 +12102,7 @@
"defaultValue": "true"
},
{
- "id": 465,
+ "id": 470,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -12082,7 +12117,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 466,
+ "id": 471,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12092,7 +12127,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 463,
+ "id": 468,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -12111,7 +12146,7 @@
"defaultValue": "globalThis.localStorage"
},
{
- "id": 462,
+ "id": 467,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -12130,7 +12165,7 @@
"defaultValue": "true"
},
{
- "id": 460,
+ "id": 465,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -12154,12 +12189,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 461,
- 464,
- 465,
- 463,
- 462,
- 460
+ 466,
+ 469,
+ 470,
+ 468,
+ 467,
+ 465
]
}
],
@@ -12181,14 +12216,14 @@
"title": "Classes",
"kind": 128,
"children": [
- 307
+ 311
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 459
+ 464
]
}
],
@@ -12201,7 +12236,7 @@
]
},
{
- "id": 467,
+ "id": 472,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -12211,37 +12246,37 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
"children": [
{
- "id": 469,
+ "id": 474,
"name": "AuthChangeEvent",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 97
+ "target": 98
},
{
- "id": 474,
+ "id": 479,
"name": "CookieOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 86
+ "target": 87
},
{
- "id": 468,
+ "id": 473,
"name": "Provider",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 96
+ "target": 97
},
{
- "id": 470,
+ "id": 475,
"name": "Session",
"kind": 16777216,
"kindString": "Reference",
@@ -12251,44 +12286,44 @@
"target": 45
},
{
- "id": 473,
+ "id": 478,
"name": "Subscription",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 76
+ "target": 77
},
{
- "id": 471,
+ "id": 476,
"name": "User",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 52
+ "target": 53
},
{
- "id": 472,
+ "id": 477,
"name": "UserAttributes",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 71
+ "target": 72
},
{
- "id": 475,
+ "id": 480,
"name": "UserCredentials",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 92
+ "target": 93
}
],
"groups": [
@@ -12296,14 +12331,14 @@
"title": "References",
"kind": 16777216,
"children": [
- 469,
474,
- 468,
- 470,
+ 479,
473,
- 471,
- 472,
- 475
+ 475,
+ 478,
+ 476,
+ 477,
+ 480
]
}
],
@@ -12316,7 +12351,7 @@
]
},
{
- "id": 98,
+ "id": 99,
"name": "\"lib/constants\"",
"kind": 1,
"kindString": "Module",
@@ -12326,7 +12361,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts",
"children": [
{
- "id": 100,
+ "id": 101,
"name": "AUDIENCE",
"kind": 32,
"kindString": "Variable",
@@ -12348,7 +12383,7 @@
"defaultValue": "\"\""
},
{
- "id": 101,
+ "id": 102,
"name": "DEFAULT_HEADERS",
"kind": 32,
"kindString": "Variable",
@@ -12366,7 +12401,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12377,7 +12412,7 @@
}
},
{
- "id": 103,
+ "id": 104,
"name": "EXPIRY_MARGIN",
"kind": 32,
"kindString": "Variable",
@@ -12399,7 +12434,7 @@
"defaultValue": "60 * 1000"
},
{
- "id": 99,
+ "id": 100,
"name": "GOTRUE_URL",
"kind": 32,
"kindString": "Variable",
@@ -12421,7 +12456,7 @@
"defaultValue": "\"http://localhost:9999\""
},
{
- "id": 104,
+ "id": 105,
"name": "STORAGE_KEY",
"kind": 32,
"kindString": "Variable",
@@ -12443,7 +12478,7 @@
"defaultValue": "\"supabase.auth.token\""
},
{
- "id": 105,
+ "id": 106,
"name": "COOKIE_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -12453,7 +12488,7 @@
},
"children": [
{
- "id": 108,
+ "id": 109,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -12474,7 +12509,7 @@
"defaultValue": "\"\""
},
{
- "id": 107,
+ "id": 108,
"name": "lifetime",
"kind": 32,
"kindString": "Variable",
@@ -12495,7 +12530,7 @@
"defaultValue": "60 * 60 * 8"
},
{
- "id": 106,
+ "id": 107,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -12516,7 +12551,7 @@
"defaultValue": "\"sb:token\""
},
{
- "id": 109,
+ "id": 110,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -12537,7 +12572,7 @@
"defaultValue": "\"/\""
},
{
- "id": 110,
+ "id": 111,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -12563,11 +12598,11 @@
"title": "Variables",
"kind": 32,
"children": [
+ 109,
108,
107,
- 106,
- 109,
- 110
+ 110,
+ 111
]
}
],
@@ -12589,18 +12624,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 100,
101,
- 103,
- 99,
- 104
+ 102,
+ 104,
+ 100,
+ 105
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 105
+ 106
]
}
],
@@ -12613,7 +12648,7 @@
]
},
{
- "id": 111,
+ "id": 112,
"name": "\"lib/cookies\"",
"kind": 1,
"kindString": "Module",
@@ -12623,7 +12658,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts",
"children": [
{
- "id": 112,
+ "id": 113,
"name": "Cookie",
"kind": 4194304,
"kindString": "Type alias",
@@ -12638,14 +12673,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 113,
+ "id": 114,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 117,
+ "id": 118,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -12674,7 +12709,7 @@
}
},
{
- "id": 116,
+ "id": 117,
"name": "maxAge",
"kind": 32,
"kindString": "Variable",
@@ -12692,7 +12727,7 @@
}
},
{
- "id": 114,
+ "id": 115,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -12710,7 +12745,7 @@
}
},
{
- "id": 118,
+ "id": 119,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -12739,7 +12774,7 @@
}
},
{
- "id": 119,
+ "id": 120,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -12768,7 +12803,7 @@
}
},
{
- "id": 115,
+ "id": 116,
"name": "value",
"kind": 32,
"kindString": "Variable",
@@ -12791,12 +12826,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 117,
- 116,
- 114,
118,
+ 117,
+ 115,
119,
- 115
+ 120,
+ 116
]
}
],
@@ -12811,7 +12846,7 @@
}
},
{
- "id": 150,
+ "id": 151,
"name": "deleteCookie",
"kind": 64,
"kindString": "Function",
@@ -12820,7 +12855,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 152,
"name": "deleteCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -12829,7 +12864,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 153,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -12842,7 +12877,7 @@
}
},
{
- "id": 153,
+ "id": 154,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -12855,7 +12890,7 @@
}
},
{
- "id": 154,
+ "id": 155,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -12883,14 +12918,14 @@
]
},
{
- "id": 133,
+ "id": 134,
"name": "isSecureEnvironment",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 134,
+ "id": 135,
"name": "isSecureEnvironment",
"kind": 4096,
"kindString": "Call signature",
@@ -12900,7 +12935,7 @@
},
"parameters": [
{
- "id": 135,
+ "id": 136,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -12926,14 +12961,14 @@
]
},
{
- "id": 120,
+ "id": 121,
"name": "serialize",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 121,
+ "id": 122,
"name": "serialize",
"kind": 4096,
"kindString": "Call signature",
@@ -12943,7 +12978,7 @@
},
"parameters": [
{
- "id": 122,
+ "id": 123,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -12954,7 +12989,7 @@
}
},
{
- "id": 123,
+ "id": 124,
"name": "val",
"kind": 32768,
"kindString": "Parameter",
@@ -12965,7 +13000,7 @@
}
},
{
- "id": 124,
+ "id": 125,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -12973,14 +13008,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 125,
+ "id": 126,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 127,
+ "id": 128,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -12998,7 +13033,7 @@
}
},
{
- "id": 129,
+ "id": 130,
"name": "expires",
"kind": 32,
"kindString": "Variable",
@@ -13016,7 +13051,7 @@
}
},
{
- "id": 130,
+ "id": 131,
"name": "httpOnly",
"kind": 32,
"kindString": "Variable",
@@ -13034,7 +13069,7 @@
}
},
{
- "id": 126,
+ "id": 127,
"name": "maxAge",
"kind": 32,
"kindString": "Variable",
@@ -13052,7 +13087,7 @@
}
},
{
- "id": 128,
+ "id": 129,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -13070,7 +13105,7 @@
}
},
{
- "id": 132,
+ "id": 133,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -13088,7 +13123,7 @@
}
},
{
- "id": 131,
+ "id": 132,
"name": "secure",
"kind": 32,
"kindString": "Variable",
@@ -13111,13 +13146,13 @@
"title": "Variables",
"kind": 32,
"children": [
+ 128,
+ 130,
+ 131,
127,
129,
- 130,
- 126,
- 128,
- 132,
- 131
+ 133,
+ 132
]
}
],
@@ -13147,14 +13182,14 @@
]
},
{
- "id": 136,
+ "id": 137,
"name": "serializeCookie",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 137,
+ "id": 138,
"name": "serializeCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -13164,19 +13199,19 @@
},
"parameters": [
{
- "id": 138,
+ "id": 139,
"name": "cookie",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 112,
+ "id": 113,
"name": "Cookie"
}
},
{
- "id": 139,
+ "id": 140,
"name": "secure",
"kind": 32768,
"kindString": "Parameter",
@@ -13202,7 +13237,7 @@
]
},
{
- "id": 145,
+ "id": 146,
"name": "setCookie",
"kind": 64,
"kindString": "Function",
@@ -13211,7 +13246,7 @@
},
"signatures": [
{
- "id": 146,
+ "id": 147,
"name": "setCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -13223,7 +13258,7 @@
},
"parameters": [
{
- "id": 147,
+ "id": 148,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -13236,7 +13271,7 @@
}
},
{
- "id": 148,
+ "id": 149,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -13249,7 +13284,7 @@
}
},
{
- "id": 149,
+ "id": 150,
"name": "cookie",
"kind": 32768,
"kindString": "Parameter",
@@ -13258,7 +13293,7 @@
},
"type": {
"type": "reference",
- "id": 112,
+ "id": 113,
"name": "Cookie"
}
}
@@ -13278,7 +13313,7 @@
]
},
{
- "id": 140,
+ "id": 141,
"name": "setCookies",
"kind": 64,
"kindString": "Function",
@@ -13287,7 +13322,7 @@
},
"signatures": [
{
- "id": 141,
+ "id": 142,
"name": "setCookies",
"kind": 4096,
"kindString": "Call signature",
@@ -13299,7 +13334,7 @@
},
"parameters": [
{
- "id": 142,
+ "id": 143,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -13312,7 +13347,7 @@
}
},
{
- "id": 143,
+ "id": 144,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -13325,7 +13360,7 @@
}
},
{
- "id": 144,
+ "id": 145,
"name": "cookies",
"kind": 32768,
"kindString": "Parameter",
@@ -13337,7 +13372,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 112,
+ "id": 113,
"name": "Cookie"
}
],
@@ -13365,19 +13400,19 @@
"title": "Type aliases",
"kind": 4194304,
"children": [
- 112
+ 113
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 150,
- 133,
- 120,
- 136,
- 145,
- 140
+ 151,
+ 134,
+ 121,
+ 137,
+ 146,
+ 141
]
}
],
@@ -14128,7 +14163,7 @@
]
},
{
- "id": 271,
+ "id": 156,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -14138,7 +14173,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
"children": [
{
- "id": 272,
+ "id": 157,
"name": "LocalStorage",
"kind": 128,
"kindString": "Class",
@@ -14147,7 +14182,7 @@
},
"indexSignature": [
{
- "id": 274,
+ "id": 159,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -14156,7 +14191,7 @@
},
"parameters": [
{
- "id": 275,
+ "id": 160,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -14177,7 +14212,7 @@
],
"children": [
{
- "id": 277,
+ "id": 162,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -14186,7 +14221,7 @@
},
"signatures": [
{
- "id": 278,
+ "id": 163,
"name": "new LocalStorage",
"kind": 16384,
"kindString": "Constructor signature",
@@ -14195,7 +14230,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 164,
"name": "localStorage",
"kind": 32768,
"kindString": "Parameter",
@@ -14210,7 +14245,7 @@
],
"type": {
"type": "reference",
- "id": 272,
+ "id": 157,
"name": "LocalStorage"
}
}
@@ -14218,13 +14253,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 24,
+ "line": 29,
"character": 17
}
]
},
{
- "id": 276,
+ "id": 161,
"name": "length",
"kind": 1024,
"kindString": "Property",
@@ -14234,7 +14269,7 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 24,
+ "line": 29,
"character": 8
}
],
@@ -14244,7 +14279,7 @@
}
},
{
- "id": 273,
+ "id": 158,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -14254,7 +14289,7 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 22,
+ "line": 27,
"character": 14
}
],
@@ -14264,7 +14299,7 @@
}
},
{
- "id": 280,
+ "id": 165,
"name": "clear",
"kind": 2048,
"kindString": "Method",
@@ -14273,7 +14308,7 @@
},
"signatures": [
{
- "id": 281,
+ "id": 166,
"name": "clear",
"kind": 4096,
"kindString": "Call signature",
@@ -14289,13 +14324,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 28,
+ "line": 33,
"character": 7
}
]
},
{
- "id": 289,
+ "id": 174,
"name": "getItem",
"kind": 2048,
"kindString": "Method",
@@ -14304,7 +14339,7 @@
},
"signatures": [
{
- "id": 290,
+ "id": 175,
"name": "getItem",
"kind": 4096,
"kindString": "Call signature",
@@ -14313,7 +14348,7 @@
},
"parameters": [
{
- "id": 291,
+ "id": 176,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -14344,13 +14379,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 37,
+ "line": 42,
"character": 9
}
]
},
{
- "id": 282,
+ "id": 167,
"name": "key",
"kind": 2048,
"kindString": "Method",
@@ -14359,7 +14394,7 @@
},
"signatures": [
{
- "id": 283,
+ "id": 168,
"name": "key",
"kind": 4096,
"kindString": "Call signature",
@@ -14368,7 +14403,7 @@
},
"parameters": [
{
- "id": 284,
+ "id": 169,
"name": "index",
"kind": 32768,
"kindString": "Parameter",
@@ -14399,13 +14434,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 31,
+ "line": 36,
"character": 5
}
]
},
{
- "id": 292,
+ "id": 177,
"name": "removeItem",
"kind": 2048,
"kindString": "Method",
@@ -14414,7 +14449,7 @@
},
"signatures": [
{
- "id": 293,
+ "id": 178,
"name": "removeItem",
"kind": 4096,
"kindString": "Call signature",
@@ -14423,7 +14458,7 @@
},
"parameters": [
{
- "id": 294,
+ "id": 179,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -14445,13 +14480,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 40,
+ "line": 45,
"character": 12
}
]
},
{
- "id": 285,
+ "id": 170,
"name": "setItem",
"kind": 2048,
"kindString": "Method",
@@ -14460,7 +14495,7 @@
},
"signatures": [
{
- "id": 286,
+ "id": 171,
"name": "setItem",
"kind": 4096,
"kindString": "Call signature",
@@ -14469,7 +14504,7 @@
},
"parameters": [
{
- "id": 287,
+ "id": 172,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -14482,7 +14517,7 @@
}
},
{
- "id": 288,
+ "id": 173,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -14504,7 +14539,7 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 34,
+ "line": 39,
"character": 9
}
]
@@ -14515,33 +14550,33 @@
"title": "Constructors",
"kind": 512,
"children": [
- 277
+ 162
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 276,
- 273
+ 161,
+ 158
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 280,
- 289,
- 282,
- 292,
- 285
+ 165,
+ 174,
+ 167,
+ 177,
+ 170
]
}
],
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 21,
+ "line": 26,
"character": 25
}
],
@@ -14553,7 +14588,53 @@
]
},
{
- "id": 299,
+ "id": 180,
+ "name": "expiresAt",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 181,
+ "name": "expiresAt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 182,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 187,
"name": "getParameterByName",
"kind": 64,
"kindString": "Function",
@@ -14562,7 +14643,7 @@
},
"signatures": [
{
- "id": 300,
+ "id": 188,
"name": "getParameterByName",
"kind": 4096,
"kindString": "Call signature",
@@ -14571,7 +14652,7 @@
},
"parameters": [
{
- "id": 301,
+ "id": 189,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -14584,7 +14665,7 @@
}
},
{
- "id": 302,
+ "id": 190,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -14625,13 +14706,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 11,
+ "line": 16,
"character": 34
}
]
},
{
- "id": 297,
+ "id": 185,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -14641,7 +14722,7 @@
},
"signatures": [
{
- "id": 298,
+ "id": 186,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -14657,13 +14738,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 9,
+ "line": 14,
"character": 22
}
]
},
{
- "id": 295,
+ "id": 183,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -14672,7 +14753,7 @@
},
"signatures": [
{
- "id": 296,
+ "id": 184,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -14688,7 +14769,7 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 1,
+ "line": 6,
"character": 20
}
]
@@ -14699,16 +14780,17 @@
"title": "Classes",
"kind": 128,
"children": [
- 272
+ 157
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 299,
- 297,
- 295
+ 180,
+ 187,
+ 185,
+ 183
]
}
],
@@ -14721,7 +14803,7 @@
]
},
{
- "id": 303,
+ "id": 307,
"name": "\"lib/polyfills\"",
"kind": 1,
"kindString": "Module",
@@ -14731,7 +14813,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts",
"children": [
{
- "id": 304,
+ "id": 308,
"name": "polyfillGlobalThis",
"kind": 64,
"kindString": "Function",
@@ -14740,7 +14822,7 @@
},
"signatures": [
{
- "id": 305,
+ "id": 309,
"name": "polyfillGlobalThis",
"kind": 4096,
"kindString": "Call signature",
@@ -14770,7 +14852,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 304
+ 308
]
}
],
@@ -14793,7 +14875,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts",
"children": [
{
- "id": 86,
+ "id": 87,
"name": "CookieOptions",
"kind": 256,
"kindString": "Interface",
@@ -14802,7 +14884,7 @@
},
"children": [
{
- "id": 89,
+ "id": 90,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -14813,7 +14895,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 73,
+ "line": 80,
"character": 8
}
],
@@ -14832,7 +14914,7 @@
}
},
{
- "id": 88,
+ "id": 89,
"name": "lifetime",
"kind": 1024,
"kindString": "Property",
@@ -14843,7 +14925,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 71,
+ "line": 78,
"character": 10
}
],
@@ -14862,7 +14944,7 @@
}
},
{
- "id": 87,
+ "id": 88,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -14873,7 +14955,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 69,
+ "line": 76,
"character": 6
}
],
@@ -14892,7 +14974,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -14903,7 +14985,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 74,
+ "line": 81,
"character": 6
}
],
@@ -14922,7 +15004,7 @@
}
},
{
- "id": 91,
+ "id": 92,
"name": "sameSite",
"kind": 1024,
"kindString": "Property",
@@ -14933,7 +15015,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 76,
+ "line": 83,
"character": 10
}
],
@@ -14957,18 +15039,18 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 90,
89,
88,
- 87,
- 90,
- 91
+ 91,
+ 92
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 67,
+ "line": 74,
"character": 30
}
]
@@ -15002,24 +15084,70 @@
"name": "string"
}
},
+ {
+ "id": 49,
+ "name": "expires_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
{
"id": 48,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": 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": "lib/types.ts",
- "line": 8,
+ "line": 11,
"character": 12
}
],
"type": {
- "type": "intrinsic",
- "name": "number"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
}
},
{
@@ -15053,7 +15181,7 @@
}
},
{
- "id": 49,
+ "id": 50,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -15063,7 +15191,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 9,
+ "line": 16,
"character": 15
}
],
@@ -15073,7 +15201,7 @@
}
},
{
- "id": 50,
+ "id": 51,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -15083,7 +15211,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 10,
+ "line": 17,
"character": 12
}
],
@@ -15093,7 +15221,7 @@
}
},
{
- "id": 51,
+ "id": 52,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -15103,13 +15231,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 11,
+ "line": 18,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
}
}
@@ -15120,11 +15248,12 @@
"kind": 1024,
"children": [
47,
+ 49,
48,
46,
- 49,
50,
- 51
+ 51,
+ 52
]
}
],
@@ -15137,7 +15266,7 @@
]
},
{
- "id": 76,
+ "id": 77,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
@@ -15146,7 +15275,7 @@
},
"children": [
{
- "id": 78,
+ "id": 79,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -15159,14 +15288,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 60,
+ "line": 67,
"character": 10
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 79,
+ "id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15175,7 +15304,7 @@
},
"signatures": [
{
- "id": 80,
+ "id": 81,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -15184,7 +15313,7 @@
},
"parameters": [
{
- "id": 81,
+ "id": 82,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -15193,12 +15322,12 @@
},
"type": {
"type": "reference",
- "id": 97,
+ "id": 98,
"name": "AuthChangeEvent"
}
},
{
- "id": 82,
+ "id": 83,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -15230,7 +15359,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 60,
+ "line": 67,
"character": 11
}
]
@@ -15238,7 +15367,7 @@
}
},
{
- "id": 77,
+ "id": 78,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -15251,7 +15380,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 56,
+ "line": 63,
"character": 4
}
],
@@ -15261,7 +15390,7 @@
}
},
{
- "id": 83,
+ "id": 84,
"name": "unsubscribe",
"kind": 1024,
"kindString": "Property",
@@ -15274,14 +15403,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 64,
+ "line": 71,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 84,
+ "id": 85,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15290,7 +15419,7 @@
},
"signatures": [
{
- "id": 85,
+ "id": 86,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -15306,7 +15435,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 64,
+ "line": 71,
"character": 14
}
]
@@ -15319,22 +15448,22 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 79,
78,
- 77,
- 83
+ 84
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 52,
+ "line": 59,
"character": 29
}
]
},
{
- "id": 52,
+ "id": 53,
"name": "User",
"kind": 256,
"kindString": "Interface",
@@ -15343,7 +15472,7 @@
},
"children": [
{
- "id": 54,
+ "id": 55,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -15353,14 +15482,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 15,
+ "line": 22,
"character": 14
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 56,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15369,7 +15498,7 @@
},
"indexSignature": [
{
- "id": 57,
+ "id": 58,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -15378,7 +15507,7 @@
},
"parameters": [
{
- "id": 58,
+ "id": 59,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -15399,7 +15528,7 @@
],
"children": [
{
- "id": 56,
+ "id": 57,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -15410,7 +15539,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 16,
+ "line": 23,
"character": 12
}
],
@@ -15434,14 +15563,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 56
+ 57
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 15,
+ "line": 22,
"character": 15
}
]
@@ -15449,7 +15578,7 @@
}
},
{
- "id": 63,
+ "id": 64,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -15459,7 +15588,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 22,
+ "line": 29,
"character": 5
}
],
@@ -15469,7 +15598,7 @@
}
},
{
- "id": 64,
+ "id": 65,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -15480,7 +15609,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 23,
+ "line": 30,
"character": 22
}
],
@@ -15499,7 +15628,7 @@
}
},
{
- "id": 67,
+ "id": 68,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -15510,7 +15639,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 26,
+ "line": 33,
"character": 14
}
],
@@ -15529,7 +15658,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -15539,7 +15668,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 25,
+ "line": 32,
"character": 12
}
],
@@ -15549,7 +15678,7 @@
}
},
{
- "id": 65,
+ "id": 66,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -15560,7 +15689,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 24,
+ "line": 31,
"character": 7
}
],
@@ -15579,7 +15708,7 @@
}
},
{
- "id": 53,
+ "id": 54,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -15589,7 +15718,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 14,
+ "line": 21,
"character": 4
}
],
@@ -15599,7 +15728,7 @@
}
},
{
- "id": 68,
+ "id": 69,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -15610,7 +15739,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 27,
+ "line": 34,
"character": 17
}
],
@@ -15629,7 +15758,7 @@
}
},
{
- "id": 69,
+ "id": 70,
"name": "role",
"kind": 1024,
"kindString": "Property",
@@ -15640,7 +15769,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 28,
+ "line": 35,
"character": 6
}
],
@@ -15659,7 +15788,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -15670,7 +15799,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 29,
+ "line": 36,
"character": 12
}
],
@@ -15689,7 +15818,7 @@
}
},
{
- "id": 59,
+ "id": 60,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -15699,14 +15828,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 19,
+ "line": 26,
"character": 15
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 60,
+ "id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15715,7 +15844,7 @@
},
"indexSignature": [
{
- "id": 61,
+ "id": 62,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -15724,7 +15853,7 @@
},
"parameters": [
{
- "id": 62,
+ "id": 63,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -15746,7 +15875,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 19,
+ "line": 26,
"character": 16
}
]
@@ -15759,30 +15888,30 @@
"title": "Properties",
"kind": 1024,
"children": [
- 54,
- 63,
+ 55,
64,
- 67,
- 66,
65,
- 53,
68,
+ 67,
+ 66,
+ 54,
69,
70,
- 59
+ 71,
+ 60
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 13,
+ "line": 20,
"character": 21
}
]
},
{
- "id": 71,
+ "id": 72,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
@@ -15791,7 +15920,7 @@
},
"children": [
{
- "id": 75,
+ "id": 76,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -15805,7 +15934,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 56,
"character": 6
}
],
@@ -15824,7 +15953,7 @@
}
},
{
- "id": 72,
+ "id": 73,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -15838,7 +15967,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 36,
+ "line": 43,
"character": 7
}
],
@@ -15857,7 +15986,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -15871,7 +16000,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 44,
+ "line": 51,
"character": 20
}
],
@@ -15890,7 +16019,7 @@
}
},
{
- "id": 73,
+ "id": 74,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -15904,7 +16033,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 47,
"character": 10
}
],
@@ -15928,23 +16057,23 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 76,
+ 73,
75,
- 72,
- 74,
- 73
+ 74
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 32,
+ "line": 39,
"character": 31
}
]
},
{
- "id": 92,
+ "id": 93,
"name": "UserCredentials",
"kind": 256,
"kindString": "Interface",
@@ -15953,7 +16082,7 @@
},
"children": [
{
- "id": 93,
+ "id": 94,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -15964,7 +16093,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 80,
+ "line": 87,
"character": 7
}
],
@@ -15983,7 +16112,7 @@
}
},
{
- "id": 94,
+ "id": 95,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -15994,7 +16123,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 81,
+ "line": 88,
"character": 10
}
],
@@ -16013,7 +16142,7 @@
}
},
{
- "id": 95,
+ "id": 96,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -16024,13 +16153,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 83,
+ "line": 90,
"character": 10
}
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
}
@@ -16040,22 +16169,22 @@
"title": "Properties",
"kind": 1024,
"children": [
- 93,
94,
- 95
+ 95,
+ 96
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 79,
+ "line": 86,
"character": 32
}
]
},
{
- "id": 97,
+ "id": 98,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -16092,7 +16221,7 @@
}
},
{
- "id": 96,
+ "id": 97,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -16142,20 +16271,20 @@
"title": "Interfaces",
"kind": 256,
"children": [
- 86,
+ 87,
45,
- 76,
- 52,
- 71,
- 92
+ 77,
+ 53,
+ 72,
+ 93
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 97,
- 96
+ 98,
+ 97
]
}
],
@@ -16173,14 +16302,14 @@
"title": "Modules",
"kind": 1,
"children": [
- 155,
- 306,
- 467,
- 98,
- 111,
+ 191,
+ 310,
+ 472,
+ 99,
+ 112,
1,
- 271,
- 303,
+ 156,
+ 307,
44
]
}
@@ -16194,7 +16323,7 @@
"originalName": "",
"children": [
{
- "id": 394,
+ "id": 420,
"name": "\"PostgrestClient\"",
"kind": 1,
"kindString": "Module",
@@ -16204,7 +16333,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
"children": [
{
- "id": 395,
+ "id": 421,
"name": "PostgrestClient",
"kind": 128,
"kindString": "Class",
@@ -16213,7 +16342,7 @@
},
"children": [
{
- "id": 402,
+ "id": 428,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -16225,7 +16354,7 @@
},
"signatures": [
{
- "id": 403,
+ "id": 429,
"name": "new PostgrestClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -16237,7 +16366,7 @@
},
"parameters": [
{
- "id": 404,
+ "id": 430,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -16253,7 +16382,7 @@
}
},
{
- "id": 405,
+ "id": 431,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -16264,7 +16393,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 406,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16273,7 +16402,7 @@
},
"children": [
{
- "id": 407,
+ "id": 433,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -16293,7 +16422,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 408,
+ "id": 434,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16302,7 +16431,7 @@
},
"indexSignature": [
{
- "id": 409,
+ "id": 435,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -16311,7 +16440,7 @@
},
"parameters": [
{
- "id": 410,
+ "id": 436,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -16334,7 +16463,7 @@
}
},
{
- "id": 411,
+ "id": 437,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -16371,8 +16500,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 407,
- 411
+ 433,
+ 437
]
}
],
@@ -16390,7 +16519,7 @@
],
"type": {
"type": "reference",
- "id": 395,
+ "id": 421,
"name": "PostgrestClient"
}
}
@@ -16404,7 +16533,7 @@
]
},
{
- "id": 397,
+ "id": 423,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -16421,7 +16550,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 398,
+ "id": 424,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16430,7 +16559,7 @@
},
"indexSignature": [
{
- "id": 399,
+ "id": 425,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -16439,7 +16568,7 @@
},
"parameters": [
{
- "id": 400,
+ "id": 426,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -16469,7 +16598,7 @@
}
},
{
- "id": 401,
+ "id": 427,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -16499,7 +16628,7 @@
}
},
{
- "id": 396,
+ "id": 422,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -16519,7 +16648,7 @@
}
},
{
- "id": 412,
+ "id": 438,
"name": "auth",
"kind": 2048,
"kindString": "Method",
@@ -16528,7 +16657,7 @@
},
"signatures": [
{
- "id": 413,
+ "id": 439,
"name": "auth",
"kind": 4096,
"kindString": "Call signature",
@@ -16540,7 +16669,7 @@
},
"parameters": [
{
- "id": 414,
+ "id": 440,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -16571,7 +16700,7 @@
]
},
{
- "id": 415,
+ "id": 441,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -16580,7 +16709,7 @@
},
"signatures": [
{
- "id": 416,
+ "id": 442,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -16592,7 +16721,7 @@
},
"typeParameter": [
{
- "id": 417,
+ "id": 443,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -16603,7 +16732,7 @@
],
"parameters": [
{
- "id": 418,
+ "id": 444,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -16621,7 +16750,7 @@
],
"type": {
"type": "reference",
- "id": 294,
+ "id": 306,
"typeArguments": [
{
"type": "typeParameter",
@@ -16645,7 +16774,7 @@
]
},
{
- "id": 419,
+ "id": 445,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -16654,7 +16783,7 @@
},
"signatures": [
{
- "id": 420,
+ "id": 446,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -16666,7 +16795,7 @@
},
"typeParameter": [
{
- "id": 421,
+ "id": 447,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -16677,7 +16806,7 @@
],
"parameters": [
{
- "id": 422,
+ "id": 448,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -16693,7 +16822,7 @@
}
},
{
- "id": 423,
+ "id": 449,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -16719,7 +16848,7 @@
}
},
{
- "id": 424,
+ "id": 450,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -16730,7 +16859,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 425,
+ "id": 451,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16739,7 +16868,7 @@
},
"children": [
{
- "id": 426,
+ "id": 452,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -16785,7 +16914,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 426
+ 452
]
}
],
@@ -16832,25 +16961,25 @@
"title": "Constructors",
"kind": 512,
"children": [
- 402
+ 428
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 397,
- 401,
- 396
+ 423,
+ 427,
+ 422
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 412,
- 415,
- 419
+ 438,
+ 441,
+ 445
]
}
],
@@ -16868,7 +16997,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 395
+ 421
]
}
],
@@ -16881,7 +17010,7 @@
]
},
{
- "id": 427,
+ "id": 453,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -16928,7 +17057,7 @@
],
"children": [
{
- "id": 273,
+ "id": 289,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -16937,7 +17066,7 @@
},
"signatures": [
{
- "id": 274,
+ "id": 290,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -16946,7 +17075,7 @@
},
"parameters": [
{
- "id": 275,
+ "id": 291,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -16992,7 +17121,37 @@
}
},
{
- "id": 272,
+ "id": 202,
+ "name": "adj",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeAdjacent()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 306,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 198,
+ "name": "rangeAdjacent"
+ },
+ "defaultValue": "this.rangeAdjacent"
+ },
+ {
+ "id": 288,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -17043,7 +17202,67 @@
}
},
{
- "id": 267,
+ "id": 177,
+ "name": "cd",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `containedBy()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 231,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 173,
+ "name": "containedBy"
+ },
+ "defaultValue": "this.containedBy"
+ },
+ {
+ "id": 172,
+ "name": "cs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `contains()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 207,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 168,
+ "name": "contains"
+ },
+ "defaultValue": "this.contains"
+ },
+ {
+ "id": 283,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -17061,7 +17280,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 268,
+ "id": 284,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17070,7 +17289,7 @@
},
"indexSignature": [
{
- "id": 269,
+ "id": 285,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -17079,7 +17298,7 @@
},
"parameters": [
{
- "id": 270,
+ "id": 286,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -17114,7 +17333,7 @@
}
},
{
- "id": 265,
+ "id": 281,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -17161,7 +17380,97 @@
}
},
{
- "id": 271,
+ "id": 192,
+ "name": "nxl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeGte()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 276,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 188,
+ "name": "rangeGte"
+ },
+ "defaultValue": "this.rangeGte"
+ },
+ {
+ "id": 197,
+ "name": "nxr",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeLte()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 291,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 193,
+ "name": "rangeLte"
+ },
+ "defaultValue": "this.rangeLte"
+ },
+ {
+ "id": 207,
+ "name": "ov",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `overlaps()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 327,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 203,
+ "name": "overlaps"
+ },
+ "defaultValue": "this.overlaps"
+ },
+ {
+ "id": 287,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -17197,106 +17506,94 @@
}
},
{
- "id": 266,
- "name": "url",
+ "id": 182,
+ "name": "sl",
"kind": 1024,
"kindString": "Property",
"flags": {
- "isProtected": true,
"isExported": true
},
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeLt()` instead."
+ }
+ ]
+ },
"sources": [
{
- "fileName": "lib/types.ts",
- "line": 52,
- "character": 15
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 246,
+ "character": 4
}
],
"type": {
"type": "reference",
- "name": "URL"
+ "id": 178,
+ "name": "rangeLt"
},
- "inheritedFrom": {
- "type": "reference",
- "id": 30,
- "name": "PostgrestBuilder.url"
- }
+ "defaultValue": "this.rangeLt"
},
{
- "id": 192,
- "name": "adj",
- "kind": 2048,
- "kindString": "Method",
+ "id": 187,
+ "name": "sr",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {
"isExported": true
},
- "signatures": [
- {
- "id": 193,
- "name": "adj",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
- },
- "parameters": [
- {
- "id": 194,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "typeParameter",
- "name": "T"
- }
- }
- },
- {
- "id": 195,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "this"
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeGt()` instead."
}
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 261,
+ "character": 4
}
],
+ "type": {
+ "type": "reference",
+ "id": 183,
+ "name": "rangeGt"
+ },
+ "defaultValue": "this.rangeGt"
+ },
+ {
+ "id": 282,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
"sources": [
{
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 276,
- "character": 5
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "character": 15
}
- ]
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
},
{
- "id": 172,
- "name": "cd",
+ "id": 173,
+ "name": "containedBy",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -17304,8 +17601,8 @@
},
"signatures": [
{
- "id": 173,
- "name": "cd",
+ "id": 174,
+ "name": "containedBy",
"kind": 4096,
"kindString": "Call signature",
"flags": {
@@ -17316,7 +17613,7 @@
},
"parameters": [
{
- "id": 174,
+ "id": 175,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17336,7 +17633,7 @@
}
},
{
- "id": 175,
+ "id": 176,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -17388,14 +17685,14 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 207,
- "character": 4
+ "line": 216,
+ "character": 13
}
]
},
{
"id": 168,
- "name": "cs",
+ "name": "contains",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -17404,7 +17701,7 @@
"signatures": [
{
"id": 169,
- "name": "cs",
+ "name": "contains",
"kind": 4096,
"kindString": "Call signature",
"flags": {
@@ -17487,8 +17784,8 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 185,
- "character": 4
+ "line": 191,
+ "character": 10
}
]
},
@@ -17570,13 +17867,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 65,
+ "line": 63,
"character": 4
}
]
},
{
- "id": 228,
+ "id": 244,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -17585,7 +17882,7 @@
},
"signatures": [
{
- "id": 229,
+ "id": 245,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -17597,7 +17894,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 246,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17617,7 +17914,7 @@
}
},
{
- "id": 231,
+ "id": 247,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -17629,12 +17926,12 @@
},
"type": {
"type": "reference",
- "id": 292,
+ "id": 304,
"name": "FilterOperator"
}
},
{
- "id": 232,
+ "id": 248,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -17659,13 +17956,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 362,
+ "line": 430,
"character": 8
}
]
},
{
- "id": 200,
+ "id": 216,
"name": "fts",
"kind": 2048,
"kindString": "Method",
@@ -17674,7 +17971,7 @@
},
"signatures": [
{
- "id": 201,
+ "id": 217,
"name": "fts",
"kind": 4096,
"kindString": "Call signature",
@@ -17682,11 +17979,17 @@
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`)."
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 202,
+ "id": 218,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17706,7 +18009,7 @@
}
},
{
- "id": 203,
+ "id": 219,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -17722,7 +18025,7 @@
}
},
{
- "id": 204,
+ "id": 220,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -17733,7 +18036,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 205,
+ "id": 221,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17742,7 +18045,7 @@
},
"children": [
{
- "id": 206,
+ "id": 222,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -17755,7 +18058,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 307,
+ "line": 369,
"character": 46
}
],
@@ -17779,14 +18082,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 206
+ 222
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 307,
+ "line": 369,
"character": 37
}
]
@@ -17804,7 +18107,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 307,
+ "line": 369,
"character": 5
}
]
@@ -17887,7 +18190,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 89,
+ "line": 87,
"character": 4
}
]
@@ -17970,7 +18273,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 101,
+ "line": 99,
"character": 5
}
]
@@ -18042,7 +18345,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 149,
+ "line": 147,
"character": 7
}
]
@@ -18128,7 +18431,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 173,
+ "line": 171,
"character": 4
}
]
@@ -18209,7 +18512,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 161,
+ "line": 159,
"character": 4
}
]
@@ -18281,13 +18584,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 137,
+ "line": 135,
"character": 6
}
]
},
{
- "id": 250,
+ "id": 266,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -18296,7 +18599,7 @@
},
"signatures": [
{
- "id": 251,
+ "id": 267,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -18308,7 +18611,7 @@
},
"parameters": [
{
- "id": 252,
+ "id": 268,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -18324,7 +18627,7 @@
}
},
{
- "id": 253,
+ "id": 269,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -18335,7 +18638,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 270,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18344,7 +18647,7 @@
},
"children": [
{
- "id": 255,
+ "id": 271,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -18381,7 +18684,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 255
+ 271
]
}
],
@@ -18499,7 +18802,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 113,
+ "line": 111,
"character": 4
}
]
@@ -18582,13 +18885,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 125,
+ "line": 123,
"character": 5
}
]
},
{
- "id": 233,
+ "id": 249,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -18597,7 +18900,7 @@
},
"signatures": [
{
- "id": 234,
+ "id": 250,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -18609,7 +18912,7 @@
},
"parameters": [
{
- "id": 235,
+ "id": 251,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -18622,7 +18925,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 252,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18631,7 +18934,7 @@
},
"indexSignature": [
{
- "id": 237,
+ "id": 253,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -18640,7 +18943,7 @@
},
"parameters": [
{
- "id": 238,
+ "id": 254,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -18662,7 +18965,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 373,
+ "line": 441,
"character": 14
}
]
@@ -18679,7 +18982,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 373,
+ "line": 441,
"character": 7
}
]
@@ -18762,7 +19065,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 77,
+ "line": 75,
"character": 5
}
]
@@ -18821,7 +19124,7 @@
},
"type": {
"type": "reference",
- "id": 292,
+ "id": 304,
"name": "FilterOperator"
}
},
@@ -18851,14 +19154,14 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 41,
+ "line": 39,
"character": 5
}
]
},
{
- "id": 184,
- "name": "nxl",
+ "id": 122,
+ "name": "or",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -18866,52 +19169,105 @@
},
"signatures": [
{
- "id": 185,
- "name": "nxl",
+ "id": 123,
+ "name": "or",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`."
+ "shortText": "Finds all rows satisfying at least one of the filters."
},
"parameters": [
{
- "id": 186,
- "name": "column",
+ "id": 124,
+ "name": "filters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The column to filter on."
+ "text": "The filters to use, separated by commas."
},
"type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "typeParameter",
- "name": "T"
- }
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 187,
- "name": "range",
+ "id": 125,
+ "name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
- "comment": {
- "text": "The range to filter with.\n"
- },
+ "originalName": "__1",
"type": {
- "type": "intrinsic",
- "name": "string"
- }
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 127,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (if `column` is a foreign column).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 50,
+ "character": 36
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 127
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 50,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
}
],
"type": {
@@ -18923,14 +19279,14 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 252,
- "character": 5
+ "line": 50,
+ "character": 4
}
]
},
{
- "id": 188,
- "name": "nxr",
+ "id": 258,
+ "name": "order",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -18938,216 +19294,19 @@
},
"signatures": [
{
- "id": 189,
- "name": "nxr",
+ "id": 259,
+ "name": "order",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`."
+ "shortText": "Orders the result with the specified `column`."
},
"parameters": [
{
- "id": 190,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "typeParameter",
- "name": "T"
- }
- }
- },
- {
- "id": 191,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 264,
- "character": 5
- }
- ]
- },
- {
- "id": 122,
- "name": "or",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 123,
- "name": "or",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Finds all rows satisfying at least one of the filters."
- },
- "parameters": [
- {
- "id": 124,
- "name": "filters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The filters to use, separated by commas."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 125,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "originalName": "__1",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 126,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 127,
- "name": "foreignTable",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The foreign table to use (if `column` is a foreign column).\n"
- },
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 52,
- "character": 36
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 127
- ]
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 52,
- "character": 21
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 52,
- "character": 4
- }
- ]
- },
- {
- "id": 242,
- "name": "order",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 243,
- "name": "order",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Orders the result with the specified `column`."
- },
- "parameters": [
- {
- "id": 244,
+ "id": 260,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -19167,7 +19326,7 @@
}
},
{
- "id": 245,
+ "id": 261,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -19178,7 +19337,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 246,
+ "id": 262,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19187,7 +19346,7 @@
},
"children": [
{
- "id": 247,
+ "id": 263,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -19211,7 +19370,7 @@
"defaultValue": "true"
},
{
- "id": 249,
+ "id": 265,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -19243,7 +19402,7 @@
}
},
{
- "id": 248,
+ "id": 264,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -19272,9 +19431,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 247,
- 249,
- 248
+ 263,
+ 265,
+ 264
]
}
],
@@ -19315,8 +19474,8 @@
}
},
{
- "id": 196,
- "name": "ov",
+ "id": 203,
+ "name": "overlaps",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -19324,19 +19483,19 @@
},
"signatures": [
{
- "id": 197,
- "name": "ov",
+ "id": 204,
+ "name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose array or range value on the stated `column` is\ncontained by the specified `value`."
+ "shortText": "Finds all rows whose array or range value on the stated `column` overlaps\n(has a value in common) with the specified `value`."
},
"parameters": [
{
- "id": 198,
+ "id": 205,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -19356,7 +19515,7 @@
}
},
{
- "id": 199,
+ "id": 206,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -19404,13 +19563,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 288,
- "character": 4
+ "line": 315,
+ "character": 10
}
]
},
{
- "id": 214,
+ "id": 230,
"name": "phfts",
"kind": 2048,
"kindString": "Method",
@@ -19419,7 +19578,7 @@
},
"signatures": [
{
- "id": 215,
+ "id": 231,
"name": "phfts",
"kind": 4096,
"kindString": "Call signature",
@@ -19427,11 +19586,17 @@
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nphraseto_tsquery(`query`)."
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nphraseto_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` with `type: 'phrase'` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 216,
+ "id": 232,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -19451,7 +19616,7 @@
}
},
{
- "id": 217,
+ "id": 233,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -19467,7 +19632,7 @@
}
},
{
- "id": 218,
+ "id": 234,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -19478,7 +19643,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 219,
+ "id": 235,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19487,7 +19652,7 @@
},
"children": [
{
- "id": 220,
+ "id": 236,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -19500,7 +19665,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 335,
+ "line": 401,
"character": 48
}
],
@@ -19524,14 +19689,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 220
+ 236
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 335,
+ "line": 401,
"character": 39
}
]
@@ -19549,13 +19714,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 335,
+ "line": 401,
"character": 7
}
]
},
{
- "id": 207,
+ "id": 223,
"name": "plfts",
"kind": 2048,
"kindString": "Method",
@@ -19564,7 +19729,7 @@
},
"signatures": [
{
- "id": 208,
+ "id": 224,
"name": "plfts",
"kind": 4096,
"kindString": "Call signature",
@@ -19572,11 +19737,17 @@
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nplainto_tsquery(`query`)."
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nplainto_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` with `type: 'plain'` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 209,
+ "id": 225,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -19596,7 +19767,7 @@
}
},
{
- "id": 210,
+ "id": 226,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -19612,7 +19783,7 @@
}
},
{
- "id": 211,
+ "id": 227,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -19623,7 +19794,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 212,
+ "id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19632,7 +19803,7 @@
},
"children": [
{
- "id": 213,
+ "id": 229,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -19645,7 +19816,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 321,
+ "line": 385,
"character": 48
}
],
@@ -19669,14 +19840,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 213
+ 229
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 321,
+ "line": 385,
"character": 39
}
]
@@ -19694,13 +19865,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 321,
+ "line": 385,
"character": 7
}
]
},
{
- "id": 256,
+ "id": 272,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -19709,7 +19880,7 @@
},
"signatures": [
{
- "id": 257,
+ "id": 273,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -19721,7 +19892,7 @@
},
"parameters": [
{
- "id": 258,
+ "id": 274,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -19737,7 +19908,7 @@
}
},
{
- "id": 259,
+ "id": 275,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -19753,7 +19924,7 @@
}
},
{
- "id": 260,
+ "id": 276,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -19764,7 +19935,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 261,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19773,7 +19944,7 @@
},
"children": [
{
- "id": 262,
+ "id": 278,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -19810,7 +19981,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 262
+ 278
]
}
],
@@ -19851,8 +20022,8 @@
}
},
{
- "id": 239,
- "name": "select",
+ "id": 198,
+ "name": "rangeAdjacent",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -19860,62 +20031,71 @@
},
"signatures": [
{
- "id": 240,
- "name": "select",
+ "id": 199,
+ "name": "rangeAdjacent",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Performs vertical filtering with SELECT."
+ "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
},
"parameters": [
{
- "id": 241,
- "name": "columns",
+ "id": 200,
+ "name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The columns to retrieve, separated by commas.\n"
+ "text": "The column to filter on."
},
"type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "\"*\""
- }
- ],
- "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 201,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
"type": "intrinsic",
"name": "this"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 65,
- "name": "PostgrestTransformBuilder.select"
}
}
],
"sources": [
{
- "fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 13,
- "character": 8
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 300,
+ "character": 15
}
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 65,
- "name": "PostgrestTransformBuilder.select"
- }
+ ]
},
{
- "id": 263,
- "name": "single",
+ "id": 183,
+ "name": "rangeGt",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -19923,56 +20103,71 @@
},
"signatures": [
{
- "id": 264,
- "name": "single",
+ "id": 184,
+ "name": "rangeGt",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"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."
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 60,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestSingleResponse"
+ "parameters": [
+ {
+ "id": 185,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
}
- ],
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 89,
- "name": "PostgrestTransformBuilder.single"
+ },
+ {
+ "id": 186,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
}
}
],
"sources": [
{
- "fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 92,
- "character": 8
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 255,
+ "character": 9
}
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 89,
- "name": "PostgrestTransformBuilder.single"
- }
+ ]
},
{
- "id": 176,
- "name": "sl",
+ "id": 188,
+ "name": "rangeGte",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -19980,19 +20175,19 @@
},
"signatures": [
{
- "id": 177,
- "name": "sl",
+ "id": 189,
+ "name": "rangeGte",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`."
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`."
},
"parameters": [
{
- "id": 178,
+ "id": 190,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -20012,7 +20207,7 @@
}
},
{
- "id": 179,
+ "id": 191,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -20037,14 +20232,14 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 228,
- "character": 4
+ "line": 270,
+ "character": 10
}
]
},
{
- "id": 180,
- "name": "sr",
+ "id": 178,
+ "name": "rangeLt",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -20052,19 +20247,19 @@
},
"signatures": [
{
- "id": 181,
- "name": "sr",
+ "id": 179,
+ "name": "rangeLt",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`."
},
"parameters": [
{
- "id": 182,
+ "id": 180,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -20084,7 +20279,7 @@
}
},
{
- "id": 183,
+ "id": 181,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -20110,13 +20305,13 @@
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 240,
- "character": 4
+ "character": 9
}
]
},
{
- "id": 276,
- "name": "then",
+ "id": 193,
+ "name": "rangeLte",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -20124,78 +20319,457 @@
},
"signatures": [
{
- "id": 277,
- "name": "then",
+ "id": 194,
+ "name": "rangeLte",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
- "typeParameter": [
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`."
+ },
+ "parameters": [
{
- "id": 278,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
+ "id": 195,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
}
},
{
- "id": 279,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
+ "id": 196,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 285,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 255,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 256,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
"parameters": [
{
- "id": 280,
- "name": "onfulfilled",
+ "id": 257,
+ "name": "columns",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExported": true,
- "isOptional": true
+ "isExported": true
+ },
+ "comment": {
+ "text": "The columns to retrieve, separated by commas.\n"
},
"type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 281,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 282,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 283,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 58,
- "typeArguments": [
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"*\""
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 65,
+ "name": "PostgrestTransformBuilder.select"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 65,
+ "name": "PostgrestTransformBuilder.select"
+ }
+ },
+ {
+ "id": 279,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 280,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "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": 60,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 89,
+ "name": "PostgrestTransformBuilder.single"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 92,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 89,
+ "name": "PostgrestTransformBuilder.single"
+ }
+ },
+ {
+ "id": 208,
+ "name": "textSearch",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 209,
+ "name": "textSearch",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose text or tsvector value on the stated `column` matches\nthe tsquery in `query`."
+ },
+ "parameters": [
+ {
+ "id": 210,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 211,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 212,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 213,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 214,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 342,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 215,
+ "name": "type",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The type of tsquery conversion to use on `query`.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 343,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "plain"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "phrase"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "websearch"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 214,
+ 215
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 340,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 338,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 293,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 294,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 295,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 296,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 298,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 299,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 58,
+ "typeArguments": [
{
"type": "typeParameter",
"name": "T"
@@ -20267,7 +20841,7 @@
}
},
{
- "id": 284,
+ "id": 300,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -20281,7 +20855,7 @@
{
"type": "reflection",
"declaration": {
- "id": 285,
+ "id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20290,7 +20864,7 @@
},
"signatures": [
{
- "id": 286,
+ "id": 302,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -20299,7 +20873,7 @@
},
"parameters": [
{
- "id": 287,
+ "id": 303,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -20416,7 +20990,7 @@
}
},
{
- "id": 221,
+ "id": 237,
"name": "wfts",
"kind": 2048,
"kindString": "Method",
@@ -20425,7 +20999,7 @@
},
"signatures": [
{
- "id": 222,
+ "id": 238,
"name": "wfts",
"kind": 4096,
"kindString": "Call signature",
@@ -20433,11 +21007,17 @@
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nwebsearch_to_tsquery(`query`)."
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nwebsearch_to_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` with `type: 'websearch'` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 223,
+ "id": 239,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -20457,7 +21037,7 @@
}
},
{
- "id": 224,
+ "id": 240,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -20473,7 +21053,7 @@
}
},
{
- "id": 225,
+ "id": 241,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -20484,7 +21064,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 226,
+ "id": 242,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20493,7 +21073,7 @@
},
"children": [
{
- "id": 227,
+ "id": 243,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -20506,7 +21086,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 349,
+ "line": 417,
"character": 47
}
],
@@ -20530,14 +21110,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 227
+ 243
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 349,
+ "line": 417,
"character": 38
}
]
@@ -20555,7 +21135,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 349,
+ "line": 417,
"character": 6
}
]
@@ -20566,63 +21146,72 @@
"title": "Constructors",
"kind": 512,
"children": [
- 273
+ 289
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 272,
- 267,
- 265,
- 271,
- 266
+ 202,
+ 288,
+ 177,
+ 172,
+ 283,
+ 281,
+ 192,
+ 197,
+ 207,
+ 287,
+ 182,
+ 187,
+ 282
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 192,
- 172,
+ 173,
168,
128,
- 228,
- 200,
+ 244,
+ 216,
136,
140,
156,
164,
160,
152,
- 250,
+ 266,
144,
148,
- 233,
+ 249,
132,
117,
- 184,
- 188,
122,
- 242,
- 196,
- 214,
- 207,
- 256,
- 239,
- 263,
- 176,
- 180,
- 276,
- 221
+ 258,
+ 203,
+ 230,
+ 223,
+ 272,
+ 198,
+ 183,
+ 188,
+ 178,
+ 193,
+ 255,
+ 279,
+ 208,
+ 292,
+ 237
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 33,
+ "line": 31,
"character": 43
}
],
@@ -20660,15 +21249,18 @@
]
},
{
- "id": 292,
+ "id": 304,
"name": "FilterOperator",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 9,
+ "line": 7,
"character": 19
}
],
@@ -20747,95 +21339,24 @@
"type": "stringLiteral",
"value": "ov"
},
- {
- "type": "stringLiteral",
- "value": "fts"
- },
- {
- "type": "stringLiteral",
- "value": "plfts"
- },
- {
- "type": "stringLiteral",
- "value": "phfts"
- },
- {
- "type": "stringLiteral",
- "value": "wfts"
- }
- ]
- }
- },
- {
- "id": 288,
- "name": "cleanFilterArray",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isConst": true
- },
- "comment": {
- "shortText": "Filters"
- },
- "signatures": [
- {
- "id": 289,
- "name": "cleanFilterArray",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Filters"
+ {
+ "type": "stringLiteral",
+ "value": "fts"
},
- "typeParameter": [
- {
- "id": 290,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 291,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "typeParameter",
- "name": "T"
- }
- },
- "objectType": {
- "type": "typeParameter",
- "name": "T"
- }
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ {
+ "type": "stringLiteral",
+ "value": "plfts"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "phfts"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "wfts"
}
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 7,
- "character": 22
- }
- ]
+ ]
+ }
}
],
"groups": [
@@ -20850,14 +21371,7 @@
"title": "Type aliases",
"kind": 4194304,
"children": [
- 292
- ]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [
- 288
+ 304
]
}
],
@@ -20870,7 +21384,7 @@
]
},
{
- "id": 293,
+ "id": 305,
"name": "\"lib/PostgrestQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -20880,7 +21394,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
"children": [
{
- "id": 294,
+ "id": 306,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -20889,7 +21403,7 @@
},
"typeParameter": [
{
- "id": 295,
+ "id": 307,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20900,7 +21414,7 @@
],
"children": [
{
- "id": 296,
+ "id": 308,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -20909,7 +21423,7 @@
},
"signatures": [
{
- "id": 297,
+ "id": 309,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -20918,7 +21432,7 @@
},
"parameters": [
{
- "id": 298,
+ "id": 310,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -20931,7 +21445,7 @@
}
},
{
- "id": 299,
+ "id": 311,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -20942,7 +21456,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 300,
+ "id": 312,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20951,7 +21465,7 @@
},
"children": [
{
- "id": 301,
+ "id": 313,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -20968,7 +21482,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 302,
+ "id": 314,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20977,7 +21491,7 @@
},
"indexSignature": [
{
- "id": 303,
+ "id": 315,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -20986,7 +21500,7 @@
},
"parameters": [
{
- "id": 304,
+ "id": 316,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -21009,7 +21523,7 @@
}
},
{
- "id": 305,
+ "id": 317,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -21043,8 +21557,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 301,
- 305
+ 313,
+ 317
]
}
],
@@ -21062,7 +21576,7 @@
],
"type": {
"type": "reference",
- "id": 294,
+ "id": 306,
"name": "PostgrestQueryBuilder"
},
"overwrites": {
@@ -21086,7 +21600,7 @@
}
},
{
- "id": 342,
+ "id": 368,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -21137,7 +21651,7 @@
}
},
{
- "id": 337,
+ "id": 363,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -21155,7 +21669,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 338,
+ "id": 364,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21164,7 +21678,7 @@
},
"indexSignature": [
{
- "id": 339,
+ "id": 365,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -21173,7 +21687,7 @@
},
"parameters": [
{
- "id": 340,
+ "id": 366,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -21208,7 +21722,7 @@
}
},
{
- "id": 335,
+ "id": 361,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -21255,7 +21769,7 @@
}
},
{
- "id": 341,
+ "id": 367,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -21291,7 +21805,7 @@
}
},
{
- "id": 336,
+ "id": 362,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -21317,7 +21831,7 @@
}
},
{
- "id": 329,
+ "id": 355,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -21326,7 +21840,7 @@
},
"signatures": [
{
- "id": 330,
+ "id": 356,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -21338,7 +21852,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 357,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -21349,7 +21863,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 358,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21358,17 +21872,20 @@
},
"children": [
{
- "id": 334,
+ "id": 360,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 130,
+ "line": 183,
"character": 9
}
],
@@ -21396,7 +21913,7 @@
"defaultValue": "null"
},
{
- "id": 333,
+ "id": 359,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -21404,12 +21921,12 @@
"isExported": true
},
"comment": {
- "text": "If `true`, return the deleted row(s) in the response.\n"
+ "text": "If `true`, return the deleted row(s) in the response."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 129,
+ "line": 182,
"character": 13
}
],
@@ -21420,35 +21937,229 @@
"type": "stringLiteral",
"value": "minimal"
},
- {
- "type": "stringLiteral",
- "value": "representation"
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ },
+ "defaultValue": "\"representation\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 360,
+ 359
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 181,
+ "character": 9
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 115,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 181,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 325,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 326,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 327,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 328,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 329,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 331,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 68,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 330,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 67,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
}
- ]
- },
- "defaultValue": "\"representation\""
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 334,
- 333
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 331,
+ 330
+ ]
+ }
]
}
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 128,
- "character": 9
- }
- ]
- }
- },
- "defaultValue": "{}"
+ }
+ ]
+ }
}
],
"type": {
@@ -21462,27 +22173,9 @@
],
"name": "PostgrestFilterBuilder"
}
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 128,
- "character": 8
- }
- ]
- },
- {
- "id": 313,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
+ },
{
- "id": 314,
+ "id": 332,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -21490,20 +22183,22 @@
"isExported": true
},
"comment": {
- "shortText": "Performs an INSERT into the table."
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `upsert()` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 315,
+ "id": 333,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
- "comment": {
- "text": "The values to insert."
- },
"type": {
"type": "union",
"types": [
@@ -21534,175 +22229,181 @@
}
},
{
- "id": 316,
- "name": "__namedParameters",
+ "id": 334,
+ "name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
- "originalName": "__1",
"type": {
- "type": "reflection",
- "declaration": {
- "id": 317,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "children": [
- {
- "id": 321,
- "name": "count",
- "kind": 32,
- "kindString": "Variable",
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 335,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {
"isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 71,
- "character": 11
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "null"
- },
- {
- "type": "stringLiteral",
- "value": "exact"
+ "id": 339,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
},
- {
- "type": "stringLiteral",
- "value": "planned"
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 80,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 337,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
},
- {
- "type": "stringLiteral",
- "value": "estimated"
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 78,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 319,
- "name": "onConflict",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
- },
- "sources": [
+ },
{
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 69,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
+ "id": 338,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
},
- {
- "type": "intrinsic",
- "name": "string"
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 79,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
}
- ]
- }
- },
- {
- "id": 320,
- "name": "returning",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value.\n"
- },
- "sources": [
+ },
{
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 70,
- "character": 15
+ "id": 336,
+ "name": "upsert",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 77,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
}
],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "stringLiteral",
- "value": "minimal"
- },
- {
- "type": "stringLiteral",
- "value": "representation"
- }
- ]
- },
- "defaultValue": "\"representation\""
- },
- {
- "id": 318,
- "name": "upsert",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "If `true`, performs an UPSERT."
- },
- "sources": [
+ "groups": [
{
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 68,
- "character": 12
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 339,
+ 337,
+ 338,
+ 336
+ ]
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 321,
- 319,
- 320,
- 318
]
}
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 66,
- "character": 38
- }
- ]
- }
- },
- "defaultValue": "{}"
+ }
+ ]
+ }
}
],
"type": {
@@ -21721,13 +22422,23 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 65,
+ "line": 64,
+ "character": 8
+ },
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 74,
+ "character": 8
+ },
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 83,
"character": 8
}
]
},
{
- "id": 306,
+ "id": 318,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -21736,7 +22447,7 @@
},
"signatures": [
{
- "id": 307,
+ "id": 319,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -21748,7 +22459,7 @@
},
"parameters": [
{
- "id": 308,
+ "id": 320,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -21765,7 +22476,7 @@
"defaultValue": "\"*\""
},
{
- "id": 309,
+ "id": 321,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -21776,7 +22487,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 310,
+ "id": 322,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21785,7 +22496,7 @@
},
"children": [
{
- "id": 312,
+ "id": 324,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -21826,7 +22537,7 @@
"defaultValue": "null"
},
{
- "id": 311,
+ "id": 323,
"name": "head",
"kind": 32,
"kindString": "Variable",
@@ -21855,8 +22566,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 312,
- 311
+ 324,
+ 323
]
}
],
@@ -21894,7 +22605,7 @@
]
},
{
- "id": 343,
+ "id": 369,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -21903,7 +22614,7 @@
},
"signatures": [
{
- "id": 344,
+ "id": 370,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -21912,7 +22623,7 @@
},
"typeParameter": [
{
- "id": 345,
+ "id": 371,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -21921,7 +22632,7 @@
}
},
{
- "id": 346,
+ "id": 372,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -21932,7 +22643,7 @@
],
"parameters": [
{
- "id": 347,
+ "id": 373,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -21946,7 +22657,7 @@
{
"type": "reflection",
"declaration": {
- "id": 348,
+ "id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21955,7 +22666,7 @@
},
"signatures": [
{
- "id": 349,
+ "id": 375,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -21964,7 +22675,7 @@
},
"parameters": [
{
- "id": 350,
+ "id": 376,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -22046,7 +22757,7 @@
}
},
{
- "id": 351,
+ "id": 377,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -22060,7 +22771,7 @@
{
"type": "reflection",
"declaration": {
- "id": 352,
+ "id": 378,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22069,7 +22780,7 @@
},
"signatures": [
{
- "id": 353,
+ "id": 379,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -22078,7 +22789,7 @@
},
"parameters": [
{
- "id": 354,
+ "id": 380,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -22168,35 +22879,216 @@
"type": "intrinsic",
"name": "never"
}
- }
- ]
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 348,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 349,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "parameters": [
+ {
+ "id": 350,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to update."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ },
+ {
+ "id": 351,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 352,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 354,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 159,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 353,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 158,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ },
+ "defaultValue": "\"representation\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 354,
+ 353
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 156,
+ "character": 23
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 115,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
}
],
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 40,
- "name": "PostgrestBuilder.then"
+ "name": "PostgrestFilterBuilder"
}
}
],
"sources": [
{
- "fileName": "lib/types.ts",
- "line": 61,
- "character": 6
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 155,
+ "character": 8
}
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 40,
- "name": "PostgrestBuilder.then"
- }
+ ]
},
{
- "id": 322,
- "name": "update",
+ "id": 340,
+ "name": "upsert",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -22204,19 +23096,19 @@
},
"signatures": [
{
- "id": 323,
- "name": "update",
+ "id": 341,
+ "name": "upsert",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Performs an UPDATE on the table."
+ "shortText": "Performs an UPSERT into the table."
},
"parameters": [
{
- "id": 324,
+ "id": 342,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -22224,21 +23116,39 @@
"isExported": true
},
"comment": {
- "text": "The values to update."
+ "text": "The values to insert."
},
"type": {
- "type": "reference",
- "typeArguments": [
+ "type": "union",
+ "types": [
{
- "type": "typeParameter",
- "name": "T"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
}
- ],
- "name": "Partial"
+ ]
}
},
{
- "id": 325,
+ "id": 343,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -22249,7 +23159,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 326,
+ "id": 344,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22258,17 +23168,20 @@
},
"children": [
{
- "id": 328,
+ "id": 347,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 106,
+ "line": 126,
"character": 11
}
],
@@ -22296,7 +23209,39 @@
"defaultValue": "null"
},
{
- "id": 327,
+ "id": 345,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 124,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -22304,12 +23249,12 @@
"isExported": true
},
"comment": {
- "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value.\n"
+ "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 105,
+ "line": 125,
"character": 15
}
],
@@ -22334,16 +23279,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 328,
- 327
+ 347,
+ 345,
+ 346
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 103,
- "character": 23
+ "line": 122,
+ "character": 38
}
]
}
@@ -22367,7 +23313,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 102,
+ "line": 121,
"character": 8
}
]
@@ -22378,29 +23324,30 @@
"title": "Constructors",
"kind": 512,
"children": [
- 296
+ 308
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 342,
- 337,
- 335,
- 341,
- 336
+ 368,
+ 363,
+ 361,
+ 367,
+ 362
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 329,
- 313,
- 306,
- 343,
- 322
+ 355,
+ 325,
+ 318,
+ 369,
+ 348,
+ 340
]
}
],
@@ -22450,7 +23397,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 294
+ 306
]
}
],
@@ -22463,7 +23410,7 @@
]
},
{
- "id": 355,
+ "id": 381,
"name": "\"lib/PostgrestRpcBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -22473,7 +23420,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts",
"children": [
{
- "id": 356,
+ "id": 382,
"name": "PostgrestRpcBuilder",
"kind": 128,
"kindString": "Class",
@@ -22482,7 +23429,7 @@
},
"typeParameter": [
{
- "id": 357,
+ "id": 383,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -22493,7 +23440,7 @@
],
"children": [
{
- "id": 358,
+ "id": 384,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -22502,7 +23449,7 @@
},
"signatures": [
{
- "id": 359,
+ "id": 385,
"name": "new PostgrestRpcBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -22511,7 +23458,7 @@
},
"parameters": [
{
- "id": 360,
+ "id": 386,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -22524,7 +23471,7 @@
}
},
{
- "id": 361,
+ "id": 387,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -22535,7 +23482,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 362,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22544,7 +23491,7 @@
},
"children": [
{
- "id": 363,
+ "id": 389,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -22561,7 +23508,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 364,
+ "id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22570,7 +23517,7 @@
},
"indexSignature": [
{
- "id": 365,
+ "id": 391,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -22579,7 +23526,7 @@
},
"parameters": [
{
- "id": 366,
+ "id": 392,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -22602,7 +23549,7 @@
}
},
{
- "id": 367,
+ "id": 393,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -22636,8 +23583,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 363,
- 367
+ 389,
+ 393
]
}
],
@@ -22655,7 +23602,7 @@
],
"type": {
"type": "reference",
- "id": 356,
+ "id": 382,
"name": "PostgrestRpcBuilder"
},
"overwrites": {
@@ -22679,7 +23626,7 @@
}
},
{
- "id": 381,
+ "id": 407,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -22730,7 +23677,7 @@
}
},
{
- "id": 376,
+ "id": 402,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -22748,7 +23695,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 377,
+ "id": 403,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22757,7 +23704,7 @@
},
"indexSignature": [
{
- "id": 378,
+ "id": 404,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -22766,7 +23713,7 @@
},
"parameters": [
{
- "id": 379,
+ "id": 405,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -22801,7 +23748,7 @@
}
},
{
- "id": 374,
+ "id": 400,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -22848,7 +23795,7 @@
}
},
{
- "id": 380,
+ "id": 406,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -22884,7 +23831,7 @@
}
},
{
- "id": 375,
+ "id": 401,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -22910,7 +23857,7 @@
}
},
{
- "id": 368,
+ "id": 394,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -22919,7 +23866,7 @@
},
"signatures": [
{
- "id": 369,
+ "id": 395,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -22931,7 +23878,7 @@
},
"parameters": [
{
- "id": 370,
+ "id": 396,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -22954,7 +23901,7 @@
}
},
{
- "id": 371,
+ "id": 397,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -22965,7 +23912,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 372,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22974,7 +23921,7 @@
},
"children": [
{
- "id": 373,
+ "id": 399,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -23017,7 +23964,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 373
+ 399
]
}
],
@@ -23055,7 +24002,7 @@
]
},
{
- "id": 382,
+ "id": 408,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -23064,7 +24011,7 @@
},
"signatures": [
{
- "id": 383,
+ "id": 409,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -23073,7 +24020,7 @@
},
"typeParameter": [
{
- "id": 384,
+ "id": 410,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -23082,7 +24029,7 @@
}
},
{
- "id": 385,
+ "id": 411,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -23093,7 +24040,7 @@
],
"parameters": [
{
- "id": 386,
+ "id": 412,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -23107,7 +24054,7 @@
{
"type": "reflection",
"declaration": {
- "id": 387,
+ "id": 413,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -23116,7 +24063,7 @@
},
"signatures": [
{
- "id": 388,
+ "id": 414,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -23125,7 +24072,7 @@
},
"parameters": [
{
- "id": 389,
+ "id": 415,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -23207,7 +24154,7 @@
}
},
{
- "id": 390,
+ "id": 416,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -23221,7 +24168,7 @@
{
"type": "reflection",
"declaration": {
- "id": 391,
+ "id": 417,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -23230,7 +24177,7 @@
},
"signatures": [
{
- "id": 392,
+ "id": 418,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -23239,7 +24186,7 @@
},
"parameters": [
{
- "id": 393,
+ "id": 419,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -23361,26 +24308,26 @@
"title": "Constructors",
"kind": 512,
"children": [
- 358
+ 384
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 381,
- 376,
- 374,
- 380,
- 375
+ 407,
+ 402,
+ 400,
+ 406,
+ 401
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 368,
- 382
+ 394,
+ 408
]
}
],
@@ -23430,7 +24377,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 356
+ 382
]
}
],
@@ -25339,12 +26286,12 @@
},
{
"type": "reference",
- "id": 294,
+ "id": 306,
"name": "PostgrestQueryBuilder"
},
{
"type": "reference",
- "id": 356,
+ "id": 382,
"name": "PostgrestRpcBuilder"
}
],
@@ -26191,11 +27138,11 @@
"title": "Modules",
"kind": 1,
"children": [
- 394,
- 427,
+ 420,
+ 453,
114,
- 293,
- 355,
+ 305,
+ 381,
62,
1
]
@@ -26294,7 +27241,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 63,
"character": 3
}
]
@@ -26310,7 +27257,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 36,
+ "line": 35,
"character": 10
}
],
@@ -26335,7 +27282,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 51,
"character": 6
}
],
@@ -26365,7 +27312,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 8
}
],
@@ -26385,7 +27332,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 8
}
],
@@ -26405,7 +27352,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 37,
+ "line": 36,
"character": 10
}
],
@@ -26427,7 +27374,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 38,
+ "line": 37,
"character": 9
}
],
@@ -26494,7 +27441,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 41,
"character": 21
}
],
@@ -26515,7 +27462,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 16
}
],
@@ -26545,7 +27492,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 47,
"character": 8
}
],
@@ -26566,7 +27513,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 19
}
],
@@ -26588,7 +27535,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 39,
+ "line": 38,
"character": 8
}
],
@@ -26655,7 +27602,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 21
}
],
@@ -26685,7 +27632,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 18
}
],
@@ -26705,7 +27652,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 46,
"character": 16
}
],
@@ -26726,7 +27673,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 5
}
],
@@ -26747,7 +27694,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 52,
"character": 12
}
],
@@ -26771,7 +27718,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 40,
+ "line": 39,
"character": 9
}
],
@@ -26792,7 +27739,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 11
}
],
@@ -26885,7 +27832,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 346,
"character": 44
}
]
@@ -26902,7 +27849,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 346,
"character": 23
}
]
@@ -26934,7 +27881,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 355,
+ "line": 356,
"character": 26
}
]
@@ -26981,7 +27928,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 327,
+ "line": 326,
"character": 22
}
]
@@ -27028,7 +27975,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 335,
+ "line": 334,
"character": 22
}
]
@@ -27060,7 +28007,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 314,
+ "line": 313,
"character": 21
}
]
@@ -27092,7 +28039,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 362,
+ "line": 363,
"character": 24
}
]
@@ -27124,7 +28071,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 341,
+ "line": 340,
"character": 27
}
]
@@ -27193,7 +28140,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 246,
+ "line": 245,
"character": 9
}
]
@@ -27227,7 +28174,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 118,
+ "line": 117,
"character": 9
}
]
@@ -27278,7 +28225,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 215,
+ "line": 214,
"character": 17
}
]
@@ -27382,7 +28329,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 142,
+ "line": 141,
"character": 40
}
],
@@ -27402,7 +28349,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 142,
+ "line": 141,
"character": 20
}
],
@@ -27434,7 +28381,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 142,
+ "line": 141,
"character": 13
}
]
@@ -27448,7 +28395,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 139,
+ "line": 138,
"character": 12
}
]
@@ -27482,7 +28429,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 293,
+ "line": 292,
"character": 13
}
]
@@ -27516,7 +28463,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 231,
+ "line": 230,
"character": 13
}
]
@@ -27592,7 +28539,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 164,
+ "line": 163,
"character": 5
}
]
@@ -27626,7 +28573,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 303,
+ "line": 302,
"character": 9
}
]
@@ -27684,7 +28631,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 186,
+ "line": 185,
"character": 9
}
]
@@ -27730,7 +28677,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 267,
+ "line": 266,
"character": 15
}
]
@@ -27788,7 +28735,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 197,
+ "line": 196,
"character": 9
}
]
@@ -27846,7 +28793,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 208,
+ "line": 207,
"character": 11
}
]
@@ -27904,7 +28851,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 175,
+ "line": 174,
"character": 8
}
]
@@ -27951,7 +28898,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 252,
+ "line": 251,
"character": 6
}
]
@@ -28004,7 +28951,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 240,
+ "line": 239,
"character": 8
}
]
@@ -28029,7 +28976,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 60,
"character": 9
}
],
@@ -28053,7 +29000,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 9
}
],
@@ -28077,7 +29024,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 62,
"character": 11
}
],
@@ -28101,7 +29048,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 59,
"character": 8
}
],
@@ -28130,7 +29077,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 22
}
],
@@ -28211,7 +29158,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 35,
+ "line": 34,
"character": 35
}
]
@@ -28225,7 +29172,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 26,
+ "line": 25,
"character": 12
}
],
@@ -28247,7 +29194,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 28,
+ "line": 27,
"character": 7
}
],
@@ -28265,7 +29212,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 28,
"character": 9
}
],
@@ -28283,7 +29230,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 30,
+ "line": 29,
"character": 5
}
],
@@ -28301,7 +29248,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 27,
+ "line": 26,
"character": 7
}
],
@@ -28326,7 +29273,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 26,
+ "line": 25,
"character": 14
}
]
@@ -28342,7 +29289,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 14,
+ "line": 13,
"character": 12
}
],
@@ -28366,7 +29313,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 21,
+ "line": 20,
"character": 8
}
],
@@ -28386,7 +29333,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 20,
+ "line": 19,
"character": 8
}
],
@@ -28406,7 +29353,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 23,
+ "line": 22,
"character": 9
}
],
@@ -28467,7 +29414,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 16,
"character": 21
}
],
@@ -28496,7 +29443,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 19,
+ "line": 18,
"character": 8
}
],
@@ -28516,7 +29463,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 18,
+ "line": 17,
"character": 19
}
],
@@ -28545,7 +29492,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 24,
+ "line": 23,
"character": 8
}
],
@@ -28606,7 +29553,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 22,
+ "line": 21,
"character": 18
}
],
@@ -28626,7 +29573,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 16,
+ "line": 15,
"character": 9
}
],
@@ -28655,7 +29602,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 15,
+ "line": 14,
"character": 11
}
],
@@ -28686,7 +29633,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 14,
+ "line": 13,
"character": 14
}
]
@@ -28717,7 +29664,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 33,
+ "line": 32,
"character": 10
}
]
diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json
index 390ae1e0984..5e3d93e86b3 100644
--- a/web/spec/gotrue.json
+++ b/web/spec/gotrue.json
@@ -6,7 +6,7 @@
"originalName": "",
"children": [
{
- "id": 155,
+ "id": 191,
"name": "\"GoTrueApi\"",
"kind": 1,
"kindString": "Module",
@@ -16,7 +16,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts",
"children": [
{
- "id": 156,
+ "id": 192,
"name": "GoTrueApi",
"kind": 128,
"kindString": "Class",
@@ -25,7 +25,7 @@
},
"children": [
{
- "id": 163,
+ "id": 199,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,7 +34,7 @@
},
"signatures": [
{
- "id": 164,
+ "id": 200,
"name": "new GoTrueApi",
"kind": 16384,
"kindString": "Constructor signature",
@@ -43,7 +43,7 @@
},
"parameters": [
{
- "id": 165,
+ "id": 201,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -54,7 +54,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 166,
+ "id": 202,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -63,7 +63,7 @@
},
"children": [
{
- "id": 172,
+ "id": 208,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -73,7 +73,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 16,
+ "line": 17,
"character": 17
}
],
@@ -86,14 +86,14 @@
},
{
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "CookieOptions"
}
]
}
},
{
- "id": 168,
+ "id": 204,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -103,14 +103,14 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 15,
+ "line": 16,
"character": 11
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 169,
+ "id": 205,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -119,7 +119,7 @@
},
"indexSignature": [
{
- "id": 170,
+ "id": 206,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -128,7 +128,7 @@
},
"parameters": [
{
- "id": 171,
+ "id": 207,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -151,7 +151,7 @@
}
},
{
- "id": 167,
+ "id": 203,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -161,7 +161,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 14,
+ "line": 15,
"character": 7
}
],
@@ -177,16 +177,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 172,
- 168,
- 167
+ 208,
+ 204,
+ 203
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 13,
+ "line": 14,
"character": 14
}
]
@@ -196,7 +196,7 @@
],
"type": {
"type": "reference",
- "id": 156,
+ "id": 192,
"name": "GoTrueApi"
}
}
@@ -204,13 +204,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 11,
+ "line": 12,
"character": 40
}
]
},
{
- "id": 162,
+ "id": 198,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
@@ -221,18 +221,18 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 11,
+ "line": 12,
"character": 25
}
],
"type": {
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "CookieOptions"
}
},
{
- "id": 158,
+ "id": 194,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -243,14 +243,14 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 8,
+ "line": 9,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 159,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -259,7 +259,7 @@
},
"indexSignature": [
{
- "id": 160,
+ "id": 196,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -268,7 +268,7 @@
},
"parameters": [
{
- "id": 161,
+ "id": 197,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -290,7 +290,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 8,
+ "line": 9,
"character": 20
}
]
@@ -298,7 +298,7 @@
}
},
{
- "id": 157,
+ "id": 193,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -309,7 +309,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 7,
+ "line": 8,
"character": 15
}
],
@@ -319,7 +319,7 @@
}
},
{
- "id": 223,
+ "id": 259,
"name": "_createRequestHeaders",
"kind": 2048,
"kindString": "Method",
@@ -329,7 +329,7 @@
},
"signatures": [
{
- "id": 224,
+ "id": 260,
"name": "_createRequestHeaders",
"kind": 4096,
"kindString": "Call signature",
@@ -341,7 +341,7 @@
},
"parameters": [
{
- "id": 225,
+ "id": 261,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -360,7 +360,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 226,
+ "id": 262,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -374,13 +374,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 160,
+ "line": 165,
"character": 31
}
]
},
{
- "id": 232,
+ "id": 268,
"name": "getUrlForProvider",
"kind": 2048,
"kindString": "Method",
@@ -389,7 +389,7 @@
},
"signatures": [
{
- "id": 233,
+ "id": 269,
"name": "getUrlForProvider",
"kind": 4096,
"kindString": "Call signature",
@@ -401,7 +401,7 @@
},
"parameters": [
{
- "id": 234,
+ "id": 270,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -413,12 +413,12 @@
},
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
},
{
- "id": 235,
+ "id": 271,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -428,7 +428,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 272,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -437,7 +437,7 @@
},
"children": [
{
- "id": 237,
+ "id": 273,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -448,7 +448,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 192,
+ "line": 197,
"character": 16
}
],
@@ -467,7 +467,7 @@
}
},
{
- "id": 238,
+ "id": 274,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -478,7 +478,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 193,
+ "line": 198,
"character": 12
}
],
@@ -502,15 +502,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 237,
- 238
+ 273,
+ 274
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 196,
"character": 12
}
]
@@ -527,13 +527,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 189,
+ "line": 194,
"character": 19
}
]
},
{
- "id": 239,
+ "id": 275,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -542,7 +542,7 @@
},
"signatures": [
{
- "id": 240,
+ "id": 276,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -554,7 +554,7 @@
},
"parameters": [
{
- "id": 241,
+ "id": 277,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -576,7 +576,7 @@
{
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 278,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -585,7 +585,7 @@
},
"children": [
{
- "id": 244,
+ "id": 280,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -595,7 +595,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 212,
+ "line": 217,
"character": 38
}
],
@@ -604,7 +604,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -615,7 +615,7 @@
}
},
{
- "id": 245,
+ "id": 281,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -625,7 +625,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 212,
+ "line": 217,
"character": 58
}
],
@@ -644,7 +644,7 @@
}
},
{
- "id": 243,
+ "id": 279,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -654,7 +654,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 212,
+ "line": 217,
"character": 19
}
],
@@ -663,7 +663,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -679,16 +679,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 244,
- 245,
- 243
+ 280,
+ 281,
+ 279
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 212,
+ "line": 217,
"character": 13
}
]
@@ -702,13 +702,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 210,
+ "line": 215,
"character": 15
}
]
},
{
- "id": 264,
+ "id": 300,
"name": "getUserByCookie",
"kind": 2048,
"kindString": "Method",
@@ -717,7 +717,7 @@
},
"signatures": [
{
- "id": 265,
+ "id": 301,
"name": "getUserByCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -729,7 +729,7 @@
},
"parameters": [
{
- "id": 266,
+ "id": 302,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -748,7 +748,7 @@
{
"type": "reflection",
"declaration": {
- "id": 267,
+ "id": 303,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -757,7 +757,7 @@
},
"children": [
{
- "id": 269,
+ "id": 305,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -767,7 +767,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 291,
+ "line": 298,
"character": 38
}
],
@@ -776,7 +776,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -787,7 +787,7 @@
}
},
{
- "id": 270,
+ "id": 306,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -797,7 +797,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 291,
+ "line": 298,
"character": 58
}
],
@@ -816,7 +816,7 @@
}
},
{
- "id": 268,
+ "id": 304,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -826,7 +826,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 291,
+ "line": 298,
"character": 19
}
],
@@ -835,7 +835,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -851,16 +851,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 269,
- 270,
- 268
+ 305,
+ 306,
+ 304
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 291,
+ "line": 298,
"character": 13
}
]
@@ -874,13 +874,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 289,
+ "line": 296,
"character": 23
}
]
},
{
- "id": 203,
+ "id": 239,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
@@ -889,7 +889,7 @@
},
"signatures": [
{
- "id": 204,
+ "id": 240,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -901,7 +901,7 @@
},
"parameters": [
{
- "id": 205,
+ "id": 241,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -917,7 +917,7 @@
}
},
{
- "id": 206,
+ "id": 242,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -927,7 +927,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 207,
+ "id": 243,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -936,7 +936,7 @@
},
"children": [
{
- "id": 208,
+ "id": 244,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -947,7 +947,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 117,
+ "line": 122,
"character": 16
}
],
@@ -971,14 +971,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 208
+ 244
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 116,
+ "line": 121,
"character": 12
}
]
@@ -993,7 +993,7 @@
{
"type": "reflection",
"declaration": {
- "id": 209,
+ "id": 245,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1002,7 +1002,7 @@
},
"children": [
{
- "id": 210,
+ "id": 246,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1012,7 +1012,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 119,
+ "line": 124,
"character": 19
}
],
@@ -1022,7 +1022,7 @@
{
"type": "reflection",
"declaration": {
- "id": 211,
+ "id": 247,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1032,7 +1032,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 119,
+ "line": 124,
"character": 20
}
]
@@ -1046,7 +1046,7 @@
}
},
{
- "id": 212,
+ "id": 248,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1056,7 +1056,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 119,
+ "line": 124,
"character": 37
}
],
@@ -1080,15 +1080,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 210,
- 212
+ 246,
+ 248
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 119,
+ "line": 124,
"character": 13
}
]
@@ -1102,13 +1102,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 114,
+ "line": 119,
"character": 25
}
]
},
{
- "id": 254,
+ "id": 290,
"name": "refreshAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -1117,7 +1117,7 @@
},
"signatures": [
{
- "id": 255,
+ "id": 291,
"name": "refreshAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -1129,7 +1129,7 @@
},
"parameters": [
{
- "id": 256,
+ "id": 292,
"name": "refreshToken",
"kind": 32768,
"kindString": "Parameter",
@@ -1151,7 +1151,7 @@
{
"type": "reflection",
"declaration": {
- "id": 257,
+ "id": 293,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1160,7 +1160,7 @@
},
"children": [
{
- "id": 258,
+ "id": 294,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1170,7 +1170,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 246,
+ "line": 251,
"character": 19
}
],
@@ -1190,7 +1190,7 @@
}
},
{
- "id": 259,
+ "id": 295,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1200,7 +1200,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 246,
+ "line": 251,
"character": 42
}
],
@@ -1224,15 +1224,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 258,
- 259
+ 294,
+ 295
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 246,
+ "line": 251,
"character": 13
}
]
@@ -1246,13 +1246,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 244,
+ "line": 249,
"character": 26
}
]
},
{
- "id": 213,
+ "id": 249,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -1261,7 +1261,7 @@
},
"signatures": [
{
- "id": 214,
+ "id": 250,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -1273,7 +1273,7 @@
},
"parameters": [
{
- "id": 215,
+ "id": 251,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -1289,7 +1289,7 @@
}
},
{
- "id": 216,
+ "id": 252,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1299,7 +1299,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 217,
+ "id": 253,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1308,7 +1308,7 @@
},
"children": [
{
- "id": 218,
+ "id": 254,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -1319,7 +1319,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 140,
+ "line": 145,
"character": 16
}
],
@@ -1343,14 +1343,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 218
+ 254
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 139,
+ "line": 144,
"character": 12
}
]
@@ -1365,7 +1365,7 @@
{
"type": "reflection",
"declaration": {
- "id": 219,
+ "id": 255,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1374,7 +1374,7 @@
},
"children": [
{
- "id": 220,
+ "id": 256,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1384,7 +1384,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 142,
+ "line": 147,
"character": 19
}
],
@@ -1394,7 +1394,7 @@
{
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 257,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1404,7 +1404,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 142,
+ "line": 147,
"character": 20
}
]
@@ -1418,7 +1418,7 @@
}
},
{
- "id": 222,
+ "id": 258,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1428,7 +1428,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 142,
+ "line": 147,
"character": 37
}
],
@@ -1452,15 +1452,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 220,
- 222
+ 256,
+ 258
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 142,
+ "line": 147,
"character": 13
}
]
@@ -1474,13 +1474,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 137,
+ "line": 142,
"character": 29
}
]
},
{
- "id": 193,
+ "id": 229,
"name": "sendMagicLinkEmail",
"kind": 2048,
"kindString": "Method",
@@ -1489,7 +1489,7 @@
},
"signatures": [
{
- "id": 194,
+ "id": 230,
"name": "sendMagicLinkEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -1501,7 +1501,7 @@
},
"parameters": [
{
- "id": 195,
+ "id": 231,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -1517,7 +1517,7 @@
}
},
{
- "id": 196,
+ "id": 232,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1527,7 +1527,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 233,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1536,7 +1536,7 @@
},
"children": [
{
- "id": 198,
+ "id": 234,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -1547,7 +1547,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 94,
+ "line": 99,
"character": 16
}
],
@@ -1571,14 +1571,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 198
+ 234
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 93,
+ "line": 98,
"character": 12
}
]
@@ -1593,7 +1593,7 @@
{
"type": "reflection",
"declaration": {
- "id": 199,
+ "id": 235,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1602,7 +1602,7 @@
},
"children": [
{
- "id": 200,
+ "id": 236,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1612,7 +1612,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 96,
+ "line": 101,
"character": 19
}
],
@@ -1622,7 +1622,7 @@
{
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1632,7 +1632,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 96,
+ "line": 101,
"character": 20
}
]
@@ -1646,7 +1646,7 @@
}
},
{
- "id": 202,
+ "id": 238,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1656,7 +1656,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 96,
+ "line": 101,
"character": 37
}
],
@@ -1680,15 +1680,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 200,
- 202
+ 236,
+ 238
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 96,
+ "line": 101,
"character": 13
}
]
@@ -1702,13 +1702,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 91,
+ "line": 96,
"character": 26
}
]
},
{
- "id": 260,
+ "id": 296,
"name": "setAuthCookie",
"kind": 2048,
"kindString": "Method",
@@ -1717,7 +1717,7 @@
},
"signatures": [
{
- "id": 261,
+ "id": 297,
"name": "setAuthCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -1729,7 +1729,7 @@
},
"parameters": [
{
- "id": 262,
+ "id": 298,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -1742,7 +1742,7 @@
}
},
{
- "id": 263,
+ "id": 299,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -1764,13 +1764,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 263,
+ "line": 270,
"character": 15
}
]
},
{
- "id": 183,
+ "id": 219,
"name": "signInWithEmail",
"kind": 2048,
"kindString": "Method",
@@ -1779,7 +1779,7 @@
},
"signatures": [
{
- "id": 184,
+ "id": 220,
"name": "signInWithEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -1791,7 +1791,7 @@
},
"parameters": [
{
- "id": 185,
+ "id": 221,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -1807,7 +1807,7 @@
}
},
{
- "id": 186,
+ "id": 222,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -1823,7 +1823,7 @@
}
},
{
- "id": 187,
+ "id": 223,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1833,7 +1833,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 188,
+ "id": 224,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1842,7 +1842,7 @@
},
"children": [
{
- "id": 189,
+ "id": 225,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -1853,7 +1853,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 67,
+ "line": 70,
"character": 16
}
],
@@ -1877,14 +1877,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 189
+ 225
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 66,
+ "line": 69,
"character": 12
}
]
@@ -1899,7 +1899,7 @@
{
"type": "reflection",
"declaration": {
- "id": 190,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1908,7 +1908,7 @@
},
"children": [
{
- "id": 191,
+ "id": 227,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1918,7 +1918,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 69,
+ "line": 72,
"character": 19
}
],
@@ -1938,7 +1938,7 @@
}
},
{
- "id": 192,
+ "id": 228,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1948,7 +1948,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 69,
+ "line": 72,
"character": 42
}
],
@@ -1972,15 +1972,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 191,
- 192
+ 227,
+ 228
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 69,
+ "line": 72,
"character": 13
}
]
@@ -1994,13 +1994,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 63,
+ "line": 66,
"character": 23
}
]
},
{
- "id": 227,
+ "id": 263,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -2009,7 +2009,7 @@
},
"signatures": [
{
- "id": 228,
+ "id": 264,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -2021,7 +2021,7 @@
},
"parameters": [
{
- "id": 229,
+ "id": 265,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -2043,7 +2043,7 @@
{
"type": "reflection",
"declaration": {
- "id": 230,
+ "id": 266,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2052,7 +2052,7 @@
},
"children": [
{
- "id": 231,
+ "id": 267,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2062,7 +2062,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 170,
+ "line": 175,
"character": 45
}
],
@@ -2086,14 +2086,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 231
+ 267
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 170,
+ "line": 175,
"character": 38
}
]
@@ -2107,13 +2107,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 170,
+ "line": 175,
"character": 15
}
]
},
{
- "id": 173,
+ "id": 209,
"name": "signUpWithEmail",
"kind": 2048,
"kindString": "Method",
@@ -2122,7 +2122,7 @@
},
"signatures": [
{
- "id": 174,
+ "id": 210,
"name": "signUpWithEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -2135,7 +2135,7 @@
},
"parameters": [
{
- "id": 175,
+ "id": 211,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -2151,7 +2151,7 @@
}
},
{
- "id": 176,
+ "id": 212,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -2167,7 +2167,7 @@
}
},
{
- "id": 177,
+ "id": 213,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2177,7 +2177,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 178,
+ "id": 214,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2186,7 +2186,7 @@
},
"children": [
{
- "id": 179,
+ "id": 215,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -2197,7 +2197,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 42,
+ "line": 43,
"character": 16
}
],
@@ -2221,14 +2221,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 179
+ 215
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 41,
+ "line": 42,
"character": 12
}
]
@@ -2243,7 +2243,7 @@
{
"type": "reflection",
"declaration": {
- "id": 180,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2252,7 +2252,7 @@
},
"children": [
{
- "id": 181,
+ "id": 217,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2262,7 +2262,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 44,
+ "line": 45,
"character": 19
}
],
@@ -2276,7 +2276,7 @@
},
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -2287,7 +2287,7 @@
}
},
{
- "id": 182,
+ "id": 218,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2297,7 +2297,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 44,
+ "line": 45,
"character": 49
}
],
@@ -2321,15 +2321,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 181,
- 182
+ 217,
+ 218
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 44,
+ "line": 45,
"character": 13
}
]
@@ -2343,13 +2343,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 38,
+ "line": 39,
"character": 23
}
]
},
{
- "id": 246,
+ "id": 282,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -2358,7 +2358,7 @@
},
"signatures": [
{
- "id": 247,
+ "id": 283,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -2370,7 +2370,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 284,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -2386,7 +2386,7 @@
}
},
{
- "id": 249,
+ "id": 285,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -2398,7 +2398,7 @@
},
"type": {
"type": "reference",
- "id": 71,
+ "id": 72,
"name": "UserAttributes"
}
}
@@ -2409,7 +2409,7 @@
{
"type": "reflection",
"declaration": {
- "id": 250,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2418,7 +2418,7 @@
},
"children": [
{
- "id": 252,
+ "id": 288,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2428,7 +2428,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 229,
+ "line": 234,
"character": 38
}
],
@@ -2437,7 +2437,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -2448,7 +2448,7 @@
}
},
{
- "id": 253,
+ "id": 289,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2458,7 +2458,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 229,
+ "line": 234,
"character": 58
}
],
@@ -2477,7 +2477,7 @@
}
},
{
- "id": 251,
+ "id": 287,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -2487,7 +2487,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 229,
+ "line": 234,
"character": 19
}
],
@@ -2496,7 +2496,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -2512,16 +2512,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 252,
- 253,
- 251
+ 288,
+ 289,
+ 287
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 229,
+ "line": 234,
"character": 13
}
]
@@ -2535,7 +2535,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 226,
+ "line": 231,
"character": 18
}
]
@@ -2546,42 +2546,42 @@
"title": "Constructors",
"kind": 512,
"children": [
- 163
+ 199
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 162,
- 158,
- 157
+ 198,
+ 194,
+ 193
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 223,
- 232,
+ 259,
+ 268,
+ 275,
+ 300,
239,
- 264,
- 203,
- 254,
- 213,
- 193,
- 260,
- 183,
- 227,
- 173,
- 246
+ 290,
+ 249,
+ 229,
+ 296,
+ 219,
+ 263,
+ 209,
+ 282
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 6,
+ "line": 7,
"character": 30
}
]
@@ -2592,7 +2592,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 156
+ 192
]
}
],
@@ -2605,7 +2605,7 @@
]
},
{
- "id": 306,
+ "id": 310,
"name": "\"GoTrueClient\"",
"kind": 1,
"kindString": "Module",
@@ -2615,7 +2615,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
"children": [
{
- "id": 307,
+ "id": 311,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
@@ -2624,7 +2624,7 @@
},
"children": [
{
- "id": 315,
+ "id": 319,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2636,7 +2636,7 @@
},
"signatures": [
{
- "id": 316,
+ "id": 320,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -2648,7 +2648,7 @@
},
"parameters": [
{
- "id": 317,
+ "id": 321,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2658,7 +2658,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 322,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2667,7 +2667,7 @@
},
"children": [
{
- "id": 325,
+ "id": 329,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -2704,7 +2704,7 @@
}
},
{
- "id": 328,
+ "id": 332,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -2721,12 +2721,12 @@
],
"type": {
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "CookieOptions"
}
},
{
- "id": 324,
+ "id": 328,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -2763,7 +2763,7 @@
}
},
{
- "id": 320,
+ "id": 324,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -2791,7 +2791,7 @@
{
"type": "reflection",
"declaration": {
- "id": 321,
+ "id": 325,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2800,7 +2800,7 @@
},
"indexSignature": [
{
- "id": 322,
+ "id": 326,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -2809,7 +2809,7 @@
},
"parameters": [
{
- "id": 323,
+ "id": 327,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -2834,7 +2834,7 @@
}
},
{
- "id": 327,
+ "id": 331,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -2858,7 +2858,7 @@
}
},
{
- "id": 326,
+ "id": 330,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -2895,7 +2895,7 @@
}
},
{
- "id": 319,
+ "id": 323,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -2933,13 +2933,13 @@
"title": "Variables",
"kind": 32,
"children": [
- 325,
+ 329,
+ 332,
328,
324,
- 320,
- 327,
- 326,
- 319
+ 331,
+ 330,
+ 323
]
}
],
@@ -2956,7 +2956,7 @@
],
"type": {
"type": "reference",
- "id": 307,
+ "id": 311,
"name": "GoTrueClient"
}
}
@@ -2970,7 +2970,7 @@
]
},
{
- "id": 308,
+ "id": 312,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -2989,12 +2989,12 @@
],
"type": {
"type": "reference",
- "id": 156,
+ "id": 192,
"name": "GoTrueApi"
}
},
{
- "id": 311,
+ "id": 315,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -3015,7 +3015,7 @@
}
},
{
- "id": 310,
+ "id": 314,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -3049,7 +3049,7 @@
}
},
{
- "id": 309,
+ "id": 313,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -3072,7 +3072,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -3083,7 +3083,7 @@
}
},
{
- "id": 313,
+ "id": 317,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -3104,7 +3104,7 @@
}
},
{
- "id": 312,
+ "id": 316,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -3125,7 +3125,7 @@
}
},
{
- "id": 314,
+ "id": 318,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -3149,7 +3149,7 @@
},
{
"type": "reference",
- "id": 76,
+ "id": 77,
"name": "Subscription"
}
],
@@ -3158,7 +3158,7 @@
"defaultValue": "new Map()"
},
{
- "id": 447,
+ "id": 452,
"name": "_callRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -3168,7 +3168,7 @@
},
"signatures": [
{
- "id": 448,
+ "id": 453,
"name": "_callRefreshToken",
"kind": 4096,
"kindString": "Call signature",
@@ -3177,7 +3177,7 @@
},
"parameters": [
{
- "id": 449,
+ "id": 454,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -3209,7 +3209,7 @@
{
"type": "reflection",
"declaration": {
- "id": 450,
+ "id": 455,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3218,7 +3218,7 @@
},
"children": [
{
- "id": 451,
+ "id": 456,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3228,7 +3228,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 477,
+ "line": 505,
"character": 19
}
],
@@ -3239,7 +3239,7 @@
}
},
{
- "id": 452,
+ "id": 457,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3249,7 +3249,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 477,
+ "line": 505,
"character": 26
}
],
@@ -3265,8 +3265,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 451,
- 452
+ 456,
+ 457
]
}
]
@@ -3275,7 +3275,7 @@
{
"type": "reflection",
"declaration": {
- "id": 453,
+ "id": 458,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3284,7 +3284,7 @@
},
"children": [
{
- "id": 454,
+ "id": 459,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3294,7 +3294,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 479,
+ "line": 507,
"character": 19
}
],
@@ -3305,7 +3305,7 @@
"defaultValue": "null"
},
{
- "id": 455,
+ "id": 460,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3315,7 +3315,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 479,
+ "line": 507,
"character": 32
}
],
@@ -3330,8 +3330,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 454,
- 455
+ 459,
+ 460
]
}
]
@@ -3347,13 +3347,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 454,
+ "line": 482,
"character": 33
}
]
},
{
- "id": 400,
+ "id": 404,
"name": "_handleEmailSignIn",
"kind": 2048,
"kindString": "Method",
@@ -3363,7 +3363,7 @@
},
"signatures": [
{
- "id": 401,
+ "id": 405,
"name": "_handleEmailSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -3372,7 +3372,7 @@
},
"parameters": [
{
- "id": 402,
+ "id": 406,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -3385,7 +3385,7 @@
}
},
{
- "id": 403,
+ "id": 407,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -3398,7 +3398,7 @@
}
},
{
- "id": 404,
+ "id": 408,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3408,7 +3408,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 405,
+ "id": 409,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3417,7 +3417,7 @@
},
"children": [
{
- "id": 406,
+ "id": 410,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3428,7 +3428,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 345,
+ "line": 353,
"character": 16
}
],
@@ -3452,14 +3452,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 406
+ 410
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 344,
+ "line": 352,
"character": 12
}
]
@@ -3477,7 +3477,7 @@
{
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 411,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3486,7 +3486,7 @@
},
"children": [
{
- "id": 408,
+ "id": 412,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3496,7 +3496,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 359,
+ "line": 367,
"character": 19
}
],
@@ -3507,7 +3507,7 @@
}
},
{
- "id": 411,
+ "id": 415,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3517,7 +3517,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 359,
+ "line": 367,
"character": 58
}
],
@@ -3528,7 +3528,7 @@
"defaultValue": "null"
},
{
- "id": 410,
+ "id": 414,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3538,7 +3538,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 359,
+ "line": 367,
"character": 45
}
],
@@ -3550,7 +3550,7 @@
"defaultValue": "data"
},
{
- "id": 409,
+ "id": 413,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3560,13 +3560,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 359,
+ "line": 367,
"character": 25
}
],
"type": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
"defaultValue": "data.user"
@@ -3577,10 +3577,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 408,
- 411,
- 410,
- 409
+ 412,
+ 415,
+ 414,
+ 413
]
}
]
@@ -3589,7 +3589,7 @@
{
"type": "reflection",
"declaration": {
- "id": 412,
+ "id": 416,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3598,7 +3598,7 @@
},
"children": [
{
- "id": 413,
+ "id": 417,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3608,7 +3608,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 361,
+ "line": 369,
"character": 19
}
],
@@ -3619,7 +3619,7 @@
"defaultValue": "null"
},
{
- "id": 416,
+ "id": 420,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3629,7 +3629,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 361,
+ "line": 369,
"character": 59
}
],
@@ -3639,7 +3639,7 @@
}
},
{
- "id": 415,
+ "id": 419,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3649,7 +3649,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 361,
+ "line": 369,
"character": 46
}
],
@@ -3660,7 +3660,7 @@
"defaultValue": "null"
},
{
- "id": 414,
+ "id": 418,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3670,7 +3670,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 361,
+ "line": 369,
"character": 31
}
],
@@ -3686,10 +3686,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 413,
- 416,
- 415,
- 414
+ 417,
+ 420,
+ 419,
+ 418
]
}
]
@@ -3705,13 +3705,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 341,
+ "line": 349,
"character": 34
}
]
},
{
- "id": 417,
+ "id": 421,
"name": "_handleProviderSignIn",
"kind": 2048,
"kindString": "Method",
@@ -3721,7 +3721,7 @@
},
"signatures": [
{
- "id": 418,
+ "id": 422,
"name": "_handleProviderSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -3730,7 +3730,7 @@
},
"parameters": [
{
- "id": 419,
+ "id": 423,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -3739,12 +3739,12 @@
},
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
},
{
- "id": 420,
+ "id": 424,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3754,7 +3754,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 421,
+ "id": 425,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3763,7 +3763,7 @@
},
"children": [
{
- "id": 422,
+ "id": 426,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3774,7 +3774,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 368,
+ "line": 376,
"character": 16
}
],
@@ -3793,7 +3793,7 @@
}
},
{
- "id": 423,
+ "id": 427,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -3804,7 +3804,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 369,
+ "line": 377,
"character": 12
}
],
@@ -3828,15 +3828,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 422,
- 423
+ 426,
+ 427
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 367,
+ "line": 375,
"character": 12
}
]
@@ -3851,7 +3851,7 @@
{
"type": "reflection",
"declaration": {
- "id": 424,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3860,7 +3860,7 @@
},
"children": [
{
- "id": 427,
+ "id": 431,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3870,7 +3870,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 34
}
],
@@ -3881,7 +3881,7 @@
"defaultValue": "null"
},
{
- "id": 430,
+ "id": 434,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3891,7 +3891,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 74
}
],
@@ -3902,7 +3902,7 @@
"defaultValue": "null"
},
{
- "id": 425,
+ "id": 429,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3912,18 +3912,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 23
}
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
},
{
- "id": 428,
+ "id": 432,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3933,7 +3933,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 49
}
],
@@ -3944,7 +3944,7 @@
"defaultValue": "null"
},
{
- "id": 426,
+ "id": 430,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -3954,7 +3954,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 28
}
],
@@ -3964,7 +3964,7 @@
}
},
{
- "id": 429,
+ "id": 433,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3974,7 +3974,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 382,
+ "line": 390,
"character": 61
}
],
@@ -3990,12 +3990,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 427,
+ 431,
+ 434,
+ 429,
+ 432,
430,
- 425,
- 428,
- 426,
- 429
+ 433
]
}
]
@@ -4004,7 +4004,7 @@
{
"type": "reflection",
"declaration": {
- "id": 431,
+ "id": 435,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4013,7 +4013,7 @@
},
"children": [
{
- "id": 432,
+ "id": 436,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4023,7 +4023,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 386,
+ "line": 394,
"character": 19
}
],
@@ -4034,7 +4034,7 @@
"defaultValue": "null"
},
{
- "id": 435,
+ "id": 439,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4044,7 +4044,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 386,
+ "line": 394,
"character": 59
}
],
@@ -4054,7 +4054,7 @@
}
},
{
- "id": 434,
+ "id": 438,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -4064,7 +4064,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 386,
+ "line": 394,
"character": 46
}
],
@@ -4075,7 +4075,7 @@
"defaultValue": "null"
},
{
- "id": 433,
+ "id": 437,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4085,7 +4085,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 386,
+ "line": 394,
"character": 31
}
],
@@ -4101,10 +4101,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 432,
- 435,
- 434,
- 433
+ 436,
+ 439,
+ 438,
+ 437
]
}
]
@@ -4117,13 +4117,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 365,
+ "line": 373,
"character": 31
}
]
},
{
- "id": 456,
+ "id": 461,
"name": "_notifyAllSubscribers",
"kind": 2048,
"kindString": "Method",
@@ -4133,7 +4133,7 @@
},
"signatures": [
{
- "id": 457,
+ "id": 462,
"name": "_notifyAllSubscribers",
"kind": 4096,
"kindString": "Call signature",
@@ -4142,7 +4142,7 @@
},
"parameters": [
{
- "id": 458,
+ "id": 463,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -4151,7 +4151,7 @@
},
"type": {
"type": "reference",
- "id": 97,
+ "id": 98,
"name": "AuthChangeEvent"
}
}
@@ -4165,13 +4165,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 483,
+ "line": 511,
"character": 31
}
]
},
{
- "id": 439,
+ "id": 443,
"name": "_persistSession",
"kind": 2048,
"kindString": "Method",
@@ -4181,7 +4181,7 @@
},
"signatures": [
{
- "id": 440,
+ "id": 444,
"name": "_persistSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4190,7 +4190,7 @@
},
"parameters": [
{
- "id": 441,
+ "id": 445,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -4202,19 +4202,6 @@
"id": 45,
"name": "Session"
}
- },
- {
- "id": 442,
- "name": "secondsToExpiry",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
}
],
"type": {
@@ -4226,14 +4213,14 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 404,
+ "line": 407,
"character": 25
}
]
},
{
- "id": 445,
- "name": "_recoverSession",
+ "id": 450,
+ "name": "_recoverAndRefresh",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -4242,13 +4229,16 @@
},
"signatures": [
{
- "id": 446,
- "name": "_recoverSession",
+ "id": 451,
+ "name": "_recoverAndRefresh",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
+ "comment": {
+ "shortText": "Recovers the session from LocalStorage and refreshes"
+ },
"type": {
"type": "reference",
"typeArguments": [
@@ -4273,13 +4263,57 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 417,
- "character": 31
+ "line": 445,
+ "character": 34
}
]
},
{
- "id": 443,
+ "id": 448,
+ "name": "_recoverSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 449,
+ "name": "_recoverSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 422,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 446,
"name": "_removeSession",
"kind": 2048,
"kindString": "Method",
@@ -4289,7 +4323,7 @@
},
"signatures": [
{
- "id": 444,
+ "id": 447,
"name": "_removeSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4311,13 +4345,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 411,
+ "line": 412,
"character": 30
}
]
},
{
- "id": 436,
+ "id": 440,
"name": "_saveSession",
"kind": 2048,
"kindString": "Method",
@@ -4327,7 +4361,7 @@
},
"signatures": [
{
- "id": 437,
+ "id": 441,
"name": "_saveSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4336,7 +4370,7 @@
},
"parameters": [
{
- "id": 438,
+ "id": 442,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -4359,13 +4393,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 390,
+ "line": 398,
"character": 22
}
]
},
{
- "id": 378,
+ "id": 382,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -4374,7 +4408,7 @@
},
"signatures": [
{
- "id": 379,
+ "id": 383,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -4386,7 +4420,7 @@
},
"parameters": [
{
- "id": 380,
+ "id": 384,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4404,7 +4438,7 @@
{
"type": "reflection",
"declaration": {
- "id": 381,
+ "id": 385,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4413,7 +4447,7 @@
},
"children": [
{
- "id": 382,
+ "id": 386,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -4427,7 +4461,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 256,
+ "line": 260,
"character": 16
}
],
@@ -4455,7 +4489,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 382
+ 386
]
}
]
@@ -4471,7 +4505,7 @@
{
"type": "reflection",
"declaration": {
- "id": 383,
+ "id": 387,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4480,7 +4514,7 @@
},
"children": [
{
- "id": 384,
+ "id": 388,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4490,7 +4524,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 257,
+ "line": 261,
"character": 20
}
],
@@ -4510,7 +4544,7 @@
}
},
{
- "id": 385,
+ "id": 389,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4520,7 +4554,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 257,
+ "line": 261,
"character": 43
}
],
@@ -4544,15 +4578,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 384,
- 385
+ 388,
+ 389
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 257,
+ "line": 261,
"character": 14
}
]
@@ -4566,13 +4600,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 255,
+ "line": 259,
"character": 25
}
]
},
{
- "id": 390,
+ "id": 394,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -4581,7 +4615,7 @@
},
"signatures": [
{
- "id": 391,
+ "id": 395,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -4594,7 +4628,7 @@
},
"parameters": [
{
- "id": 392,
+ "id": 396,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -4604,7 +4638,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 393,
+ "id": 397,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4613,7 +4647,7 @@
},
"signatures": [
{
- "id": 394,
+ "id": 398,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -4622,7 +4656,7 @@
},
"parameters": [
{
- "id": 395,
+ "id": 399,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -4631,12 +4665,12 @@
},
"type": {
"type": "reference",
- "id": 97,
+ "id": 98,
"name": "AuthChangeEvent"
}
},
{
- "id": 396,
+ "id": 400,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -4668,7 +4702,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 322,
+ "line": 330,
"character": 13
}
]
@@ -4679,7 +4713,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 397,
+ "id": 401,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4688,7 +4722,7 @@
},
"children": [
{
- "id": 398,
+ "id": 402,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4698,7 +4732,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 323,
+ "line": 331,
"character": 11
}
],
@@ -4707,7 +4741,7 @@
"types": [
{
"type": "reference",
- "id": 76,
+ "id": 77,
"name": "Subscription"
},
{
@@ -4718,7 +4752,7 @@
}
},
{
- "id": 399,
+ "id": 403,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4728,7 +4762,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 323,
+ "line": 331,
"character": 39
}
],
@@ -4752,15 +4786,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 398,
- 399
+ 402,
+ 403
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 323,
+ "line": 331,
"character": 4
}
]
@@ -4771,13 +4805,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 321,
+ "line": 329,
"character": 19
}
]
},
{
- "id": 365,
+ "id": 369,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -4786,7 +4820,7 @@
},
"signatures": [
{
- "id": 366,
+ "id": 370,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4802,7 +4836,7 @@
{
"type": "reflection",
"declaration": {
- "id": 367,
+ "id": 371,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4811,7 +4845,7 @@
},
"children": [
{
- "id": 368,
+ "id": 372,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4821,7 +4855,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 208,
+ "line": 209,
"character": 8
}
],
@@ -4841,7 +4875,7 @@
}
},
{
- "id": 370,
+ "id": 374,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4851,7 +4885,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 210,
+ "line": 211,
"character": 9
}
],
@@ -4870,7 +4904,7 @@
}
},
{
- "id": 369,
+ "id": 373,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4880,7 +4914,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 209,
+ "line": 210,
"character": 8
}
],
@@ -4889,7 +4923,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -4905,16 +4939,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 368,
- 370,
- 369
+ 372,
+ 374,
+ 373
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 207,
+ "line": 208,
"character": 34
}
]
@@ -4928,13 +4962,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 207,
+ "line": 208,
"character": 22
}
]
},
{
- "id": 363,
+ "id": 367,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -4943,7 +4977,7 @@
},
"signatures": [
{
- "id": 364,
+ "id": 368,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -4972,13 +5006,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 200,
+ "line": 201,
"character": 9
}
]
},
{
- "id": 343,
+ "id": 347,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -4987,7 +5021,7 @@
},
"signatures": [
{
- "id": 344,
+ "id": 348,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -4999,7 +5033,7 @@
},
"parameters": [
{
- "id": 345,
+ "id": 349,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5010,7 +5044,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 346,
+ "id": 350,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5019,7 +5053,7 @@
},
"children": [
{
- "id": 347,
+ "id": 351,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -5032,7 +5066,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 149,
+ "line": 150,
"character": 11
}
],
@@ -5051,7 +5085,7 @@
}
},
{
- "id": 348,
+ "id": 352,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -5064,7 +5098,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 149,
+ "line": 150,
"character": 21
}
],
@@ -5083,7 +5117,7 @@
}
},
{
- "id": 349,
+ "id": 353,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -5096,7 +5130,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 149,
+ "line": 150,
"character": 31
}
],
@@ -5140,16 +5174,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 347,
- 348,
- 349
+ 351,
+ 352,
+ 353
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 15
}
]
@@ -5157,7 +5191,7 @@
}
},
{
- "id": 350,
+ "id": 354,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5167,7 +5201,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 351,
+ "id": 355,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5176,7 +5210,7 @@
},
"children": [
{
- "id": 352,
+ "id": 356,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -5187,7 +5221,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 151,
+ "line": 152,
"character": 16
}
],
@@ -5206,7 +5240,7 @@
}
},
{
- "id": 353,
+ "id": 357,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -5217,7 +5251,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 152,
+ "line": 153,
"character": 12
}
],
@@ -5241,15 +5275,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 352,
- 353
+ 356,
+ 357
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 150,
+ "line": 151,
"character": 12
}
]
@@ -5264,7 +5298,7 @@
{
"type": "reflection",
"declaration": {
- "id": 354,
+ "id": 358,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5273,7 +5307,7 @@
},
"children": [
{
- "id": 360,
+ "id": 364,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -5283,7 +5317,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 160,
+ "line": 161,
"character": 8
}
],
@@ -5303,7 +5337,7 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5313,7 +5347,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 159,
+ "line": 160,
"character": 9
}
],
@@ -5332,7 +5366,7 @@
}
},
{
- "id": 357,
+ "id": 361,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -5343,18 +5377,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 157,
+ "line": 158,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
},
{
- "id": 355,
+ "id": 359,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -5364,7 +5398,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 155,
+ "line": 156,
"character": 11
}
],
@@ -5384,7 +5418,7 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -5395,7 +5429,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 159,
"character": 7
}
],
@@ -5414,7 +5448,7 @@
}
},
{
- "id": 356,
+ "id": 360,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -5424,7 +5458,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 156,
+ "line": 157,
"character": 8
}
],
@@ -5433,7 +5467,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -5449,19 +5483,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 360,
+ 364,
+ 363,
+ 361,
359,
- 357,
- 355,
- 358,
- 356
+ 362,
+ 360
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 154,
+ "line": 155,
"character": 13
}
]
@@ -5475,13 +5509,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 14
}
]
},
{
- "id": 386,
+ "id": 390,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -5490,7 +5524,7 @@
},
"signatures": [
{
- "id": 387,
+ "id": 391,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -5507,7 +5541,7 @@
{
"type": "reflection",
"declaration": {
- "id": 388,
+ "id": 392,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5516,7 +5550,7 @@
},
"children": [
{
- "id": 389,
+ "id": 393,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5526,7 +5560,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 307,
+ "line": 315,
"character": 34
}
],
@@ -5550,14 +5584,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 389
+ 393
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 307,
+ "line": 315,
"character": 27
}
]
@@ -5571,13 +5605,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 307,
+ "line": 315,
"character": 15
}
]
},
{
- "id": 329,
+ "id": 333,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -5586,7 +5620,7 @@
},
"signatures": [
{
- "id": 330,
+ "id": 334,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -5598,7 +5632,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 335,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5609,7 +5643,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5618,7 +5652,7 @@
},
"children": [
{
- "id": 333,
+ "id": 337,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -5631,7 +5665,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 94,
+ "line": 95,
"character": 11
}
],
@@ -5650,7 +5684,7 @@
}
},
{
- "id": 334,
+ "id": 338,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -5663,7 +5697,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 94,
+ "line": 95,
"character": 21
}
],
@@ -5687,15 +5721,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 333,
- 334
+ 337,
+ 338
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 93,
+ "line": 94,
"character": 15
}
]
@@ -5703,7 +5737,7 @@
}
},
{
- "id": 335,
+ "id": 339,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5713,7 +5747,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 336,
+ "id": 340,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5722,7 +5756,7 @@
},
"children": [
{
- "id": 337,
+ "id": 341,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -5733,7 +5767,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 96,
+ "line": 97,
"character": 16
}
],
@@ -5757,14 +5791,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 337
+ 341
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 95,
+ "line": 96,
"character": 12
}
]
@@ -5779,7 +5813,7 @@
{
"type": "reflection",
"declaration": {
- "id": 338,
+ "id": 342,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5788,7 +5822,7 @@
},
"children": [
{
- "id": 342,
+ "id": 346,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -5798,7 +5832,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 102,
+ "line": 103,
"character": 8
}
],
@@ -5812,7 +5846,7 @@
},
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -5823,7 +5857,7 @@
}
},
{
- "id": 341,
+ "id": 345,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5833,7 +5867,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 101,
+ "line": 102,
"character": 9
}
],
@@ -5852,7 +5886,7 @@
}
},
{
- "id": 340,
+ "id": 344,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -5862,7 +5896,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 100,
+ "line": 101,
"character": 11
}
],
@@ -5882,7 +5916,7 @@
}
},
{
- "id": 339,
+ "id": 343,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -5892,7 +5926,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 99,
+ "line": 100,
"character": 8
}
],
@@ -5901,7 +5935,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -5917,17 +5951,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 342,
- 341,
- 340,
- 339
+ 346,
+ 345,
+ 344,
+ 343
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 98,
+ "line": 99,
"character": 13
}
]
@@ -5941,13 +5975,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 93,
+ "line": 94,
"character": 14
}
]
},
{
- "id": 371,
+ "id": 375,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -5956,7 +5990,7 @@
},
"signatures": [
{
- "id": 372,
+ "id": 376,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -5968,7 +6002,7 @@
},
"parameters": [
{
- "id": 373,
+ "id": 377,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -5977,7 +6011,7 @@
},
"type": {
"type": "reference",
- "id": 71,
+ "id": 72,
"name": "UserAttributes"
}
}
@@ -5988,7 +6022,7 @@
{
"type": "reflection",
"declaration": {
- "id": 374,
+ "id": 378,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5997,7 +6031,7 @@
},
"children": [
{
- "id": 375,
+ "id": 379,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6007,7 +6041,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 232,
+ "line": 233,
"character": 19
}
],
@@ -6016,7 +6050,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -6027,7 +6061,7 @@
}
},
{
- "id": 377,
+ "id": 381,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6037,7 +6071,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 232,
+ "line": 233,
"character": 58
}
],
@@ -6056,7 +6090,7 @@
}
},
{
- "id": 376,
+ "id": 380,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -6066,7 +6100,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 232,
+ "line": 233,
"character": 38
}
],
@@ -6075,7 +6109,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -6091,16 +6125,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 375,
- 377,
- 376
+ 379,
+ 381,
+ 380
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 232,
+ "line": 233,
"character": 13
}
]
@@ -6114,13 +6148,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 230,
+ "line": 231,
"character": 14
}
]
},
{
- "id": 361,
+ "id": 365,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -6129,7 +6163,7 @@
},
"signatures": [
{
- "id": 362,
+ "id": 366,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -6145,7 +6179,7 @@
"types": [
{
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
},
{
@@ -6159,7 +6193,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 193,
+ "line": 194,
"character": 6
}
]
@@ -6170,43 +6204,44 @@
"title": "Constructors",
"kind": 512,
"children": [
- 315
+ 319
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 308,
- 311,
- 310,
- 309,
- 313,
312,
- 314
+ 315,
+ 314,
+ 313,
+ 317,
+ 316,
+ 318
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 447,
- 400,
- 417,
- 456,
- 439,
- 445,
+ 452,
+ 404,
+ 421,
+ 461,
443,
- 436,
- 378,
+ 450,
+ 448,
+ 446,
+ 440,
+ 382,
+ 394,
+ 369,
+ 367,
+ 347,
390,
- 365,
- 363,
- 343,
- 386,
- 329,
- 371,
- 361
+ 333,
+ 375,
+ 365
]
}
],
@@ -6219,7 +6254,7 @@
]
},
{
- "id": 459,
+ "id": 464,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -6228,7 +6263,7 @@
},
"children": [
{
- "id": 461,
+ "id": 466,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -6247,7 +6282,7 @@
"defaultValue": "true"
},
{
- "id": 464,
+ "id": 469,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -6266,7 +6301,7 @@
"defaultValue": "true"
},
{
- "id": 465,
+ "id": 470,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -6281,7 +6316,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 466,
+ "id": 471,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6291,7 +6326,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 463,
+ "id": 468,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -6310,7 +6345,7 @@
"defaultValue": "globalThis.localStorage"
},
{
- "id": 462,
+ "id": 467,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -6329,7 +6364,7 @@
"defaultValue": "true"
},
{
- "id": 460,
+ "id": 465,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -6353,12 +6388,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 461,
- 464,
- 465,
- 463,
- 462,
- 460
+ 466,
+ 469,
+ 470,
+ 468,
+ 467,
+ 465
]
}
],
@@ -6380,14 +6415,14 @@
"title": "Classes",
"kind": 128,
"children": [
- 307
+ 311
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 459
+ 464
]
}
],
@@ -6400,7 +6435,7 @@
]
},
{
- "id": 467,
+ "id": 472,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -6410,37 +6445,37 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
"children": [
{
- "id": 469,
+ "id": 474,
"name": "AuthChangeEvent",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 97
+ "target": 98
},
{
- "id": 474,
+ "id": 479,
"name": "CookieOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 86
+ "target": 87
},
{
- "id": 468,
+ "id": 473,
"name": "Provider",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 96
+ "target": 97
},
{
- "id": 470,
+ "id": 475,
"name": "Session",
"kind": 16777216,
"kindString": "Reference",
@@ -6450,44 +6485,44 @@
"target": 45
},
{
- "id": 473,
+ "id": 478,
"name": "Subscription",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 76
+ "target": 77
},
{
- "id": 471,
+ "id": 476,
"name": "User",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 52
+ "target": 53
},
{
- "id": 472,
+ "id": 477,
"name": "UserAttributes",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 71
+ "target": 72
},
{
- "id": 475,
+ "id": 480,
"name": "UserCredentials",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 92
+ "target": 93
}
],
"groups": [
@@ -6495,14 +6530,14 @@
"title": "References",
"kind": 16777216,
"children": [
- 469,
474,
- 468,
- 470,
+ 479,
473,
- 471,
- 472,
- 475
+ 475,
+ 478,
+ 476,
+ 477,
+ 480
]
}
],
@@ -6515,7 +6550,7 @@
]
},
{
- "id": 98,
+ "id": 99,
"name": "\"lib/constants\"",
"kind": 1,
"kindString": "Module",
@@ -6525,7 +6560,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts",
"children": [
{
- "id": 100,
+ "id": 101,
"name": "AUDIENCE",
"kind": 32,
"kindString": "Variable",
@@ -6547,7 +6582,7 @@
"defaultValue": "\"\""
},
{
- "id": 101,
+ "id": 102,
"name": "DEFAULT_HEADERS",
"kind": 32,
"kindString": "Variable",
@@ -6565,7 +6600,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6576,7 +6611,7 @@
}
},
{
- "id": 103,
+ "id": 104,
"name": "EXPIRY_MARGIN",
"kind": 32,
"kindString": "Variable",
@@ -6598,7 +6633,7 @@
"defaultValue": "60 * 1000"
},
{
- "id": 99,
+ "id": 100,
"name": "GOTRUE_URL",
"kind": 32,
"kindString": "Variable",
@@ -6620,7 +6655,7 @@
"defaultValue": "\"http://localhost:9999\""
},
{
- "id": 104,
+ "id": 105,
"name": "STORAGE_KEY",
"kind": 32,
"kindString": "Variable",
@@ -6642,7 +6677,7 @@
"defaultValue": "\"supabase.auth.token\""
},
{
- "id": 105,
+ "id": 106,
"name": "COOKIE_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -6652,7 +6687,7 @@
},
"children": [
{
- "id": 108,
+ "id": 109,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -6673,7 +6708,7 @@
"defaultValue": "\"\""
},
{
- "id": 107,
+ "id": 108,
"name": "lifetime",
"kind": 32,
"kindString": "Variable",
@@ -6694,7 +6729,7 @@
"defaultValue": "60 * 60 * 8"
},
{
- "id": 106,
+ "id": 107,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -6715,7 +6750,7 @@
"defaultValue": "\"sb:token\""
},
{
- "id": 109,
+ "id": 110,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -6736,7 +6771,7 @@
"defaultValue": "\"/\""
},
{
- "id": 110,
+ "id": 111,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -6762,11 +6797,11 @@
"title": "Variables",
"kind": 32,
"children": [
+ 109,
108,
107,
- 106,
- 109,
- 110
+ 110,
+ 111
]
}
],
@@ -6788,18 +6823,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 100,
101,
- 103,
- 99,
- 104
+ 102,
+ 104,
+ 100,
+ 105
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 105
+ 106
]
}
],
@@ -6812,7 +6847,7 @@
]
},
{
- "id": 111,
+ "id": 112,
"name": "\"lib/cookies\"",
"kind": 1,
"kindString": "Module",
@@ -6822,7 +6857,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts",
"children": [
{
- "id": 112,
+ "id": 113,
"name": "Cookie",
"kind": 4194304,
"kindString": "Type alias",
@@ -6837,14 +6872,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 113,
+ "id": 114,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 117,
+ "id": 118,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -6873,7 +6908,7 @@
}
},
{
- "id": 116,
+ "id": 117,
"name": "maxAge",
"kind": 32,
"kindString": "Variable",
@@ -6891,7 +6926,7 @@
}
},
{
- "id": 114,
+ "id": 115,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -6909,7 +6944,7 @@
}
},
{
- "id": 118,
+ "id": 119,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -6938,7 +6973,7 @@
}
},
{
- "id": 119,
+ "id": 120,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -6967,7 +7002,7 @@
}
},
{
- "id": 115,
+ "id": 116,
"name": "value",
"kind": 32,
"kindString": "Variable",
@@ -6990,12 +7025,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 117,
- 116,
- 114,
118,
+ 117,
+ 115,
119,
- 115
+ 120,
+ 116
]
}
],
@@ -7010,7 +7045,7 @@
}
},
{
- "id": 150,
+ "id": 151,
"name": "deleteCookie",
"kind": 64,
"kindString": "Function",
@@ -7019,7 +7054,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 152,
"name": "deleteCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -7028,7 +7063,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 153,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -7041,7 +7076,7 @@
}
},
{
- "id": 153,
+ "id": 154,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -7054,7 +7089,7 @@
}
},
{
- "id": 154,
+ "id": 155,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -7082,14 +7117,14 @@
]
},
{
- "id": 133,
+ "id": 134,
"name": "isSecureEnvironment",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 134,
+ "id": 135,
"name": "isSecureEnvironment",
"kind": 4096,
"kindString": "Call signature",
@@ -7099,7 +7134,7 @@
},
"parameters": [
{
- "id": 135,
+ "id": 136,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -7125,14 +7160,14 @@
]
},
{
- "id": 120,
+ "id": 121,
"name": "serialize",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 121,
+ "id": 122,
"name": "serialize",
"kind": 4096,
"kindString": "Call signature",
@@ -7142,7 +7177,7 @@
},
"parameters": [
{
- "id": 122,
+ "id": 123,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -7153,7 +7188,7 @@
}
},
{
- "id": 123,
+ "id": 124,
"name": "val",
"kind": 32768,
"kindString": "Parameter",
@@ -7164,7 +7199,7 @@
}
},
{
- "id": 124,
+ "id": 125,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7172,14 +7207,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 125,
+ "id": 126,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 127,
+ "id": 128,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -7197,7 +7232,7 @@
}
},
{
- "id": 129,
+ "id": 130,
"name": "expires",
"kind": 32,
"kindString": "Variable",
@@ -7215,7 +7250,7 @@
}
},
{
- "id": 130,
+ "id": 131,
"name": "httpOnly",
"kind": 32,
"kindString": "Variable",
@@ -7233,7 +7268,7 @@
}
},
{
- "id": 126,
+ "id": 127,
"name": "maxAge",
"kind": 32,
"kindString": "Variable",
@@ -7251,7 +7286,7 @@
}
},
{
- "id": 128,
+ "id": 129,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -7269,7 +7304,7 @@
}
},
{
- "id": 132,
+ "id": 133,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -7287,7 +7322,7 @@
}
},
{
- "id": 131,
+ "id": 132,
"name": "secure",
"kind": 32,
"kindString": "Variable",
@@ -7310,13 +7345,13 @@
"title": "Variables",
"kind": 32,
"children": [
+ 128,
+ 130,
+ 131,
127,
129,
- 130,
- 126,
- 128,
- 132,
- 131
+ 133,
+ 132
]
}
],
@@ -7346,14 +7381,14 @@
]
},
{
- "id": 136,
+ "id": 137,
"name": "serializeCookie",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 137,
+ "id": 138,
"name": "serializeCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -7363,19 +7398,19 @@
},
"parameters": [
{
- "id": 138,
+ "id": 139,
"name": "cookie",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 112,
+ "id": 113,
"name": "Cookie"
}
},
{
- "id": 139,
+ "id": 140,
"name": "secure",
"kind": 32768,
"kindString": "Parameter",
@@ -7401,7 +7436,7 @@
]
},
{
- "id": 145,
+ "id": 146,
"name": "setCookie",
"kind": 64,
"kindString": "Function",
@@ -7410,7 +7445,7 @@
},
"signatures": [
{
- "id": 146,
+ "id": 147,
"name": "setCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -7422,7 +7457,7 @@
},
"parameters": [
{
- "id": 147,
+ "id": 148,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -7435,7 +7470,7 @@
}
},
{
- "id": 148,
+ "id": 149,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -7448,7 +7483,7 @@
}
},
{
- "id": 149,
+ "id": 150,
"name": "cookie",
"kind": 32768,
"kindString": "Parameter",
@@ -7457,7 +7492,7 @@
},
"type": {
"type": "reference",
- "id": 112,
+ "id": 113,
"name": "Cookie"
}
}
@@ -7477,7 +7512,7 @@
]
},
{
- "id": 140,
+ "id": 141,
"name": "setCookies",
"kind": 64,
"kindString": "Function",
@@ -7486,7 +7521,7 @@
},
"signatures": [
{
- "id": 141,
+ "id": 142,
"name": "setCookies",
"kind": 4096,
"kindString": "Call signature",
@@ -7498,7 +7533,7 @@
},
"parameters": [
{
- "id": 142,
+ "id": 143,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -7511,7 +7546,7 @@
}
},
{
- "id": 143,
+ "id": 144,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -7524,7 +7559,7 @@
}
},
{
- "id": 144,
+ "id": 145,
"name": "cookies",
"kind": 32768,
"kindString": "Parameter",
@@ -7536,7 +7571,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 112,
+ "id": 113,
"name": "Cookie"
}
],
@@ -7564,19 +7599,19 @@
"title": "Type aliases",
"kind": 4194304,
"children": [
- 112
+ 113
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 150,
- 133,
- 120,
- 136,
- 145,
- 140
+ 151,
+ 134,
+ 121,
+ 137,
+ 146,
+ 141
]
}
],
@@ -8327,7 +8362,7 @@
]
},
{
- "id": 271,
+ "id": 156,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -8337,7 +8372,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
"children": [
{
- "id": 272,
+ "id": 157,
"name": "LocalStorage",
"kind": 128,
"kindString": "Class",
@@ -8346,7 +8381,7 @@
},
"indexSignature": [
{
- "id": 274,
+ "id": 159,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -8355,7 +8390,7 @@
},
"parameters": [
{
- "id": 275,
+ "id": 160,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -8376,7 +8411,7 @@
],
"children": [
{
- "id": 277,
+ "id": 162,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8385,7 +8420,7 @@
},
"signatures": [
{
- "id": 278,
+ "id": 163,
"name": "new LocalStorage",
"kind": 16384,
"kindString": "Constructor signature",
@@ -8394,7 +8429,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 164,
"name": "localStorage",
"kind": 32768,
"kindString": "Parameter",
@@ -8409,7 +8444,7 @@
],
"type": {
"type": "reference",
- "id": 272,
+ "id": 157,
"name": "LocalStorage"
}
}
@@ -8417,13 +8452,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 24,
+ "line": 29,
"character": 17
}
]
},
{
- "id": 276,
+ "id": 161,
"name": "length",
"kind": 1024,
"kindString": "Property",
@@ -8433,7 +8468,7 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 24,
+ "line": 29,
"character": 8
}
],
@@ -8443,7 +8478,7 @@
}
},
{
- "id": 273,
+ "id": 158,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -8453,7 +8488,7 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 22,
+ "line": 27,
"character": 14
}
],
@@ -8463,7 +8498,7 @@
}
},
{
- "id": 280,
+ "id": 165,
"name": "clear",
"kind": 2048,
"kindString": "Method",
@@ -8472,7 +8507,7 @@
},
"signatures": [
{
- "id": 281,
+ "id": 166,
"name": "clear",
"kind": 4096,
"kindString": "Call signature",
@@ -8488,13 +8523,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 28,
+ "line": 33,
"character": 7
}
]
},
{
- "id": 289,
+ "id": 174,
"name": "getItem",
"kind": 2048,
"kindString": "Method",
@@ -8503,7 +8538,7 @@
},
"signatures": [
{
- "id": 290,
+ "id": 175,
"name": "getItem",
"kind": 4096,
"kindString": "Call signature",
@@ -8512,7 +8547,7 @@
},
"parameters": [
{
- "id": 291,
+ "id": 176,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8543,13 +8578,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 37,
+ "line": 42,
"character": 9
}
]
},
{
- "id": 282,
+ "id": 167,
"name": "key",
"kind": 2048,
"kindString": "Method",
@@ -8558,7 +8593,7 @@
},
"signatures": [
{
- "id": 283,
+ "id": 168,
"name": "key",
"kind": 4096,
"kindString": "Call signature",
@@ -8567,7 +8602,7 @@
},
"parameters": [
{
- "id": 284,
+ "id": 169,
"name": "index",
"kind": 32768,
"kindString": "Parameter",
@@ -8598,13 +8633,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 31,
+ "line": 36,
"character": 5
}
]
},
{
- "id": 292,
+ "id": 177,
"name": "removeItem",
"kind": 2048,
"kindString": "Method",
@@ -8613,7 +8648,7 @@
},
"signatures": [
{
- "id": 293,
+ "id": 178,
"name": "removeItem",
"kind": 4096,
"kindString": "Call signature",
@@ -8622,7 +8657,7 @@
},
"parameters": [
{
- "id": 294,
+ "id": 179,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8644,13 +8679,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 40,
+ "line": 45,
"character": 12
}
]
},
{
- "id": 285,
+ "id": 170,
"name": "setItem",
"kind": 2048,
"kindString": "Method",
@@ -8659,7 +8694,7 @@
},
"signatures": [
{
- "id": 286,
+ "id": 171,
"name": "setItem",
"kind": 4096,
"kindString": "Call signature",
@@ -8668,7 +8703,7 @@
},
"parameters": [
{
- "id": 287,
+ "id": 172,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8681,7 +8716,7 @@
}
},
{
- "id": 288,
+ "id": 173,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -8703,7 +8738,7 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 34,
+ "line": 39,
"character": 9
}
]
@@ -8714,33 +8749,33 @@
"title": "Constructors",
"kind": 512,
"children": [
- 277
+ 162
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 276,
- 273
+ 161,
+ 158
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 280,
- 289,
- 282,
- 292,
- 285
+ 165,
+ 174,
+ 167,
+ 177,
+ 170
]
}
],
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 21,
+ "line": 26,
"character": 25
}
],
@@ -8752,7 +8787,53 @@
]
},
{
- "id": 299,
+ "id": 180,
+ "name": "expiresAt",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 181,
+ "name": "expiresAt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 182,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 187,
"name": "getParameterByName",
"kind": 64,
"kindString": "Function",
@@ -8761,7 +8842,7 @@
},
"signatures": [
{
- "id": 300,
+ "id": 188,
"name": "getParameterByName",
"kind": 4096,
"kindString": "Call signature",
@@ -8770,7 +8851,7 @@
},
"parameters": [
{
- "id": 301,
+ "id": 189,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -8783,7 +8864,7 @@
}
},
{
- "id": 302,
+ "id": 190,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -8824,13 +8905,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 11,
+ "line": 16,
"character": 34
}
]
},
{
- "id": 297,
+ "id": 185,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -8840,7 +8921,7 @@
},
"signatures": [
{
- "id": 298,
+ "id": 186,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -8856,13 +8937,13 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 9,
+ "line": 14,
"character": 22
}
]
},
{
- "id": 295,
+ "id": 183,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -8871,7 +8952,7 @@
},
"signatures": [
{
- "id": 296,
+ "id": 184,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -8887,7 +8968,7 @@
"sources": [
{
"fileName": "lib/helpers.ts",
- "line": 1,
+ "line": 6,
"character": 20
}
]
@@ -8898,16 +8979,17 @@
"title": "Classes",
"kind": 128,
"children": [
- 272
+ 157
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 299,
- 297,
- 295
+ 180,
+ 187,
+ 185,
+ 183
]
}
],
@@ -8920,7 +9002,7 @@
]
},
{
- "id": 303,
+ "id": 307,
"name": "\"lib/polyfills\"",
"kind": 1,
"kindString": "Module",
@@ -8930,7 +9012,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts",
"children": [
{
- "id": 304,
+ "id": 308,
"name": "polyfillGlobalThis",
"kind": 64,
"kindString": "Function",
@@ -8939,7 +9021,7 @@
},
"signatures": [
{
- "id": 305,
+ "id": 309,
"name": "polyfillGlobalThis",
"kind": 4096,
"kindString": "Call signature",
@@ -8969,7 +9051,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 304
+ 308
]
}
],
@@ -8992,7 +9074,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts",
"children": [
{
- "id": 86,
+ "id": 87,
"name": "CookieOptions",
"kind": 256,
"kindString": "Interface",
@@ -9001,7 +9083,7 @@
},
"children": [
{
- "id": 89,
+ "id": 90,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -9012,7 +9094,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 73,
+ "line": 80,
"character": 8
}
],
@@ -9031,7 +9113,7 @@
}
},
{
- "id": 88,
+ "id": 89,
"name": "lifetime",
"kind": 1024,
"kindString": "Property",
@@ -9042,7 +9124,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 71,
+ "line": 78,
"character": 10
}
],
@@ -9061,7 +9143,7 @@
}
},
{
- "id": 87,
+ "id": 88,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -9072,7 +9154,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 69,
+ "line": 76,
"character": 6
}
],
@@ -9091,7 +9173,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -9102,7 +9184,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 74,
+ "line": 81,
"character": 6
}
],
@@ -9121,7 +9203,7 @@
}
},
{
- "id": 91,
+ "id": 92,
"name": "sameSite",
"kind": 1024,
"kindString": "Property",
@@ -9132,7 +9214,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 76,
+ "line": 83,
"character": 10
}
],
@@ -9156,18 +9238,18 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 90,
89,
88,
- 87,
- 90,
- 91
+ 91,
+ 92
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 67,
+ "line": 74,
"character": 30
}
]
@@ -9201,24 +9283,70 @@
"name": "string"
}
},
+ {
+ "id": 49,
+ "name": "expires_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
{
"id": 48,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": 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": "lib/types.ts",
- "line": 8,
+ "line": 11,
"character": 12
}
],
"type": {
- "type": "intrinsic",
- "name": "number"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
}
},
{
@@ -9252,7 +9380,7 @@
}
},
{
- "id": 49,
+ "id": 50,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -9262,7 +9390,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 9,
+ "line": 16,
"character": 15
}
],
@@ -9272,7 +9400,7 @@
}
},
{
- "id": 50,
+ "id": 51,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -9282,7 +9410,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 10,
+ "line": 17,
"character": 12
}
],
@@ -9292,7 +9420,7 @@
}
},
{
- "id": 51,
+ "id": 52,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9302,13 +9430,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 11,
+ "line": 18,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "User"
}
}
@@ -9319,11 +9447,12 @@
"kind": 1024,
"children": [
47,
+ 49,
48,
46,
- 49,
50,
- 51
+ 51,
+ 52
]
}
],
@@ -9336,7 +9465,7 @@
]
},
{
- "id": 76,
+ "id": 77,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
@@ -9345,7 +9474,7 @@
},
"children": [
{
- "id": 78,
+ "id": 79,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -9358,14 +9487,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 60,
+ "line": 67,
"character": 10
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 79,
+ "id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9374,7 +9503,7 @@
},
"signatures": [
{
- "id": 80,
+ "id": 81,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -9383,7 +9512,7 @@
},
"parameters": [
{
- "id": 81,
+ "id": 82,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -9392,12 +9521,12 @@
},
"type": {
"type": "reference",
- "id": 97,
+ "id": 98,
"name": "AuthChangeEvent"
}
},
{
- "id": 82,
+ "id": 83,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -9429,7 +9558,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 60,
+ "line": 67,
"character": 11
}
]
@@ -9437,7 +9566,7 @@
}
},
{
- "id": 77,
+ "id": 78,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -9450,7 +9579,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 56,
+ "line": 63,
"character": 4
}
],
@@ -9460,7 +9589,7 @@
}
},
{
- "id": 83,
+ "id": 84,
"name": "unsubscribe",
"kind": 1024,
"kindString": "Property",
@@ -9473,14 +9602,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 64,
+ "line": 71,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 84,
+ "id": 85,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9489,7 +9618,7 @@
},
"signatures": [
{
- "id": 85,
+ "id": 86,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -9505,7 +9634,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 64,
+ "line": 71,
"character": 14
}
]
@@ -9518,22 +9647,22 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 79,
78,
- 77,
- 83
+ 84
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 52,
+ "line": 59,
"character": 29
}
]
},
{
- "id": 52,
+ "id": 53,
"name": "User",
"kind": 256,
"kindString": "Interface",
@@ -9542,7 +9671,7 @@
},
"children": [
{
- "id": 54,
+ "id": 55,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -9552,14 +9681,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 15,
+ "line": 22,
"character": 14
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 56,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9568,7 +9697,7 @@
},
"indexSignature": [
{
- "id": 57,
+ "id": 58,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -9577,7 +9706,7 @@
},
"parameters": [
{
- "id": 58,
+ "id": 59,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -9598,7 +9727,7 @@
],
"children": [
{
- "id": 56,
+ "id": 57,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -9609,7 +9738,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 16,
+ "line": 23,
"character": 12
}
],
@@ -9633,14 +9762,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 56
+ 57
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 15,
+ "line": 22,
"character": 15
}
]
@@ -9648,7 +9777,7 @@
}
},
{
- "id": 63,
+ "id": 64,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -9658,7 +9787,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 22,
+ "line": 29,
"character": 5
}
],
@@ -9668,7 +9797,7 @@
}
},
{
- "id": 64,
+ "id": 65,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -9679,7 +9808,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 23,
+ "line": 30,
"character": 22
}
],
@@ -9698,7 +9827,7 @@
}
},
{
- "id": 67,
+ "id": 68,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -9709,7 +9838,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 26,
+ "line": 33,
"character": 14
}
],
@@ -9728,7 +9857,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -9738,7 +9867,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 25,
+ "line": 32,
"character": 12
}
],
@@ -9748,7 +9877,7 @@
}
},
{
- "id": 65,
+ "id": 66,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9759,7 +9888,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 24,
+ "line": 31,
"character": 7
}
],
@@ -9778,7 +9907,7 @@
}
},
{
- "id": 53,
+ "id": 54,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -9788,7 +9917,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 14,
+ "line": 21,
"character": 4
}
],
@@ -9798,7 +9927,7 @@
}
},
{
- "id": 68,
+ "id": 69,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -9809,7 +9938,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 27,
+ "line": 34,
"character": 17
}
],
@@ -9828,7 +9957,7 @@
}
},
{
- "id": 69,
+ "id": 70,
"name": "role",
"kind": 1024,
"kindString": "Property",
@@ -9839,7 +9968,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 28,
+ "line": 35,
"character": 6
}
],
@@ -9858,7 +9987,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -9869,7 +9998,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 29,
+ "line": 36,
"character": 12
}
],
@@ -9888,7 +10017,7 @@
}
},
{
- "id": 59,
+ "id": 60,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -9898,14 +10027,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 19,
+ "line": 26,
"character": 15
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 60,
+ "id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9914,7 +10043,7 @@
},
"indexSignature": [
{
- "id": 61,
+ "id": 62,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -9923,7 +10052,7 @@
},
"parameters": [
{
- "id": 62,
+ "id": 63,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -9945,7 +10074,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 19,
+ "line": 26,
"character": 16
}
]
@@ -9958,30 +10087,30 @@
"title": "Properties",
"kind": 1024,
"children": [
- 54,
- 63,
+ 55,
64,
- 67,
- 66,
65,
- 53,
68,
+ 67,
+ 66,
+ 54,
69,
70,
- 59
+ 71,
+ 60
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 13,
+ "line": 20,
"character": 21
}
]
},
{
- "id": 71,
+ "id": 72,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
@@ -9990,7 +10119,7 @@
},
"children": [
{
- "id": 75,
+ "id": 76,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10004,7 +10133,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 56,
"character": 6
}
],
@@ -10023,7 +10152,7 @@
}
},
{
- "id": 72,
+ "id": 73,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10037,7 +10166,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 36,
+ "line": 43,
"character": 7
}
],
@@ -10056,7 +10185,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -10070,7 +10199,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 44,
+ "line": 51,
"character": 20
}
],
@@ -10089,7 +10218,7 @@
}
},
{
- "id": 73,
+ "id": 74,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -10103,7 +10232,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 47,
"character": 10
}
],
@@ -10127,23 +10256,23 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 76,
+ 73,
75,
- 72,
- 74,
- 73
+ 74
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 32,
+ "line": 39,
"character": 31
}
]
},
{
- "id": 92,
+ "id": 93,
"name": "UserCredentials",
"kind": 256,
"kindString": "Interface",
@@ -10152,7 +10281,7 @@
},
"children": [
{
- "id": 93,
+ "id": 94,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10163,7 +10292,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 80,
+ "line": 87,
"character": 7
}
],
@@ -10182,7 +10311,7 @@
}
},
{
- "id": 94,
+ "id": 95,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -10193,7 +10322,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 81,
+ "line": 88,
"character": 10
}
],
@@ -10212,7 +10341,7 @@
}
},
{
- "id": 95,
+ "id": 96,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -10223,13 +10352,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 83,
+ "line": 90,
"character": 10
}
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 97,
"name": "Provider"
}
}
@@ -10239,22 +10368,22 @@
"title": "Properties",
"kind": 1024,
"children": [
- 93,
94,
- 95
+ 95,
+ 96
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 79,
+ "line": 86,
"character": 32
}
]
},
{
- "id": 97,
+ "id": 98,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -10291,7 +10420,7 @@
}
},
{
- "id": 96,
+ "id": 97,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -10341,20 +10470,20 @@
"title": "Interfaces",
"kind": 256,
"children": [
- 86,
+ 87,
45,
- 76,
- 52,
- 71,
- 92
+ 77,
+ 53,
+ 72,
+ 93
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 97,
- 96
+ 98,
+ 97
]
}
],
@@ -10372,14 +10501,14 @@
"title": "Modules",
"kind": 1,
"children": [
- 155,
- 306,
- 467,
- 98,
- 111,
+ 191,
+ 310,
+ 472,
+ 99,
+ 112,
1,
- 271,
- 303,
+ 156,
+ 307,
44
]
}
diff --git a/web/spec/postgrest.json b/web/spec/postgrest.json
index d52f2711628..306fc093b35 100644
--- a/web/spec/postgrest.json
+++ b/web/spec/postgrest.json
@@ -6,7 +6,7 @@
"originalName": "",
"children": [
{
- "id": 394,
+ "id": 420,
"name": "\"PostgrestClient\"",
"kind": 1,
"kindString": "Module",
@@ -16,7 +16,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
"children": [
{
- "id": 395,
+ "id": 421,
"name": "PostgrestClient",
"kind": 128,
"kindString": "Class",
@@ -25,7 +25,7 @@
},
"children": [
{
- "id": 402,
+ "id": 428,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -37,7 +37,7 @@
},
"signatures": [
{
- "id": 403,
+ "id": 429,
"name": "new PostgrestClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -49,7 +49,7 @@
},
"parameters": [
{
- "id": 404,
+ "id": 430,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -65,7 +65,7 @@
}
},
{
- "id": 405,
+ "id": 431,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -76,7 +76,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 406,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -85,7 +85,7 @@
},
"children": [
{
- "id": 407,
+ "id": 433,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -105,7 +105,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 408,
+ "id": 434,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -114,7 +114,7 @@
},
"indexSignature": [
{
- "id": 409,
+ "id": 435,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -123,7 +123,7 @@
},
"parameters": [
{
- "id": 410,
+ "id": 436,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -146,7 +146,7 @@
}
},
{
- "id": 411,
+ "id": 437,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -183,8 +183,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 407,
- 411
+ 433,
+ 437
]
}
],
@@ -202,7 +202,7 @@
],
"type": {
"type": "reference",
- "id": 395,
+ "id": 421,
"name": "PostgrestClient"
}
}
@@ -216,7 +216,7 @@
]
},
{
- "id": 397,
+ "id": 423,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -233,7 +233,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 398,
+ "id": 424,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -242,7 +242,7 @@
},
"indexSignature": [
{
- "id": 399,
+ "id": 425,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -251,7 +251,7 @@
},
"parameters": [
{
- "id": 400,
+ "id": 426,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -281,7 +281,7 @@
}
},
{
- "id": 401,
+ "id": 427,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -311,7 +311,7 @@
}
},
{
- "id": 396,
+ "id": 422,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -331,7 +331,7 @@
}
},
{
- "id": 412,
+ "id": 438,
"name": "auth",
"kind": 2048,
"kindString": "Method",
@@ -340,7 +340,7 @@
},
"signatures": [
{
- "id": 413,
+ "id": 439,
"name": "auth",
"kind": 4096,
"kindString": "Call signature",
@@ -352,7 +352,7 @@
},
"parameters": [
{
- "id": 414,
+ "id": 440,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -383,7 +383,7 @@
]
},
{
- "id": 415,
+ "id": 441,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -392,7 +392,7 @@
},
"signatures": [
{
- "id": 416,
+ "id": 442,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -404,7 +404,7 @@
},
"typeParameter": [
{
- "id": 417,
+ "id": 443,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -415,7 +415,7 @@
],
"parameters": [
{
- "id": 418,
+ "id": 444,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -433,7 +433,7 @@
],
"type": {
"type": "reference",
- "id": 294,
+ "id": 306,
"typeArguments": [
{
"type": "typeParameter",
@@ -457,7 +457,7 @@
]
},
{
- "id": 419,
+ "id": 445,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -466,7 +466,7 @@
},
"signatures": [
{
- "id": 420,
+ "id": 446,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -478,7 +478,7 @@
},
"typeParameter": [
{
- "id": 421,
+ "id": 447,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -489,7 +489,7 @@
],
"parameters": [
{
- "id": 422,
+ "id": 448,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -505,7 +505,7 @@
}
},
{
- "id": 423,
+ "id": 449,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -531,7 +531,7 @@
}
},
{
- "id": 424,
+ "id": 450,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -542,7 +542,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 425,
+ "id": 451,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -551,7 +551,7 @@
},
"children": [
{
- "id": 426,
+ "id": 452,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -597,7 +597,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 426
+ 452
]
}
],
@@ -644,25 +644,25 @@
"title": "Constructors",
"kind": 512,
"children": [
- 402
+ 428
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 397,
- 401,
- 396
+ 423,
+ 427,
+ 422
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 412,
- 415,
- 419
+ 438,
+ 441,
+ 445
]
}
],
@@ -680,7 +680,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 395
+ 421
]
}
],
@@ -693,7 +693,7 @@
]
},
{
- "id": 427,
+ "id": 453,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -740,7 +740,7 @@
],
"children": [
{
- "id": 273,
+ "id": 289,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -749,7 +749,7 @@
},
"signatures": [
{
- "id": 274,
+ "id": 290,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -758,7 +758,7 @@
},
"parameters": [
{
- "id": 275,
+ "id": 291,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -804,7 +804,37 @@
}
},
{
- "id": 272,
+ "id": 202,
+ "name": "adj",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeAdjacent()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 306,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 198,
+ "name": "rangeAdjacent"
+ },
+ "defaultValue": "this.rangeAdjacent"
+ },
+ {
+ "id": 288,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -855,7 +885,67 @@
}
},
{
- "id": 267,
+ "id": 177,
+ "name": "cd",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `containedBy()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 231,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 173,
+ "name": "containedBy"
+ },
+ "defaultValue": "this.containedBy"
+ },
+ {
+ "id": 172,
+ "name": "cs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `contains()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 207,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 168,
+ "name": "contains"
+ },
+ "defaultValue": "this.contains"
+ },
+ {
+ "id": 283,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -873,7 +963,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 268,
+ "id": 284,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -882,7 +972,7 @@
},
"indexSignature": [
{
- "id": 269,
+ "id": 285,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -891,7 +981,7 @@
},
"parameters": [
{
- "id": 270,
+ "id": 286,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -926,7 +1016,7 @@
}
},
{
- "id": 265,
+ "id": 281,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -973,7 +1063,97 @@
}
},
{
- "id": 271,
+ "id": 192,
+ "name": "nxl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeGte()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 276,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 188,
+ "name": "rangeGte"
+ },
+ "defaultValue": "this.rangeGte"
+ },
+ {
+ "id": 197,
+ "name": "nxr",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeLte()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 291,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 193,
+ "name": "rangeLte"
+ },
+ "defaultValue": "this.rangeLte"
+ },
+ {
+ "id": 207,
+ "name": "ov",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `overlaps()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 327,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 203,
+ "name": "overlaps"
+ },
+ "defaultValue": "this.overlaps"
+ },
+ {
+ "id": 287,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -1009,7 +1189,67 @@
}
},
{
- "id": 266,
+ "id": 182,
+ "name": "sl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeLt()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 246,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 178,
+ "name": "rangeLt"
+ },
+ "defaultValue": "this.rangeLt"
+ },
+ {
+ "id": 187,
+ "name": "sr",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeGt()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 261,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 183,
+ "name": "rangeGt"
+ },
+ "defaultValue": "this.rangeGt"
+ },
+ {
+ "id": 282,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -1035,8 +1275,8 @@
}
},
{
- "id": 192,
- "name": "adj",
+ "id": 173,
+ "name": "containedBy",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -1044,19 +1284,19 @@
},
"signatures": [
{
- "id": 193,
- "name": "adj",
+ "id": 174,
+ "name": "containedBy",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
+ "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`."
},
"parameters": [
{
- "id": 194,
+ "id": 175,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1076,19 +1316,46 @@
}
},
{
- "id": 195,
- "name": "range",
+ "id": 176,
+ "name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The range to filter with.\n"
+ "text": "The value to filter with.\n"
},
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
}
}
],
@@ -1101,14 +1368,14 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 276,
- "character": 5
+ "line": 216,
+ "character": 13
}
]
},
{
- "id": 172,
- "name": "cd",
+ "id": 168,
+ "name": "contains",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -1116,19 +1383,19 @@
},
"signatures": [
{
- "id": 173,
- "name": "cd",
+ "id": 169,
+ "name": "contains",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`."
+ "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`."
},
"parameters": [
{
- "id": 174,
+ "id": 170,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1148,7 +1415,7 @@
}
},
{
- "id": 175,
+ "id": 171,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1200,14 +1467,14 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 207,
- "character": 4
+ "line": 191,
+ "character": 10
}
]
},
{
- "id": 168,
- "name": "cs",
+ "id": 128,
+ "name": "eq",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -1215,114 +1482,15 @@
},
"signatures": [
{
- "id": 169,
- "name": "cs",
+ "id": 129,
+ "name": "eq",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`."
- },
- "parameters": [
- {
- "id": 170,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "typeParameter",
- "name": "T"
- }
- }
- },
- {
- "id": 171,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The value to filter with.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "typeParameter",
- "name": "T"
- }
- },
- "objectType": {
- "type": "typeParameter",
- "name": "T"
- }
- }
- },
- {
- "type": "intrinsic",
- "name": "object"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 185,
- "character": 4
- }
- ]
- },
- {
- "id": 128,
- "name": "eq",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 129,
- "name": "eq",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`."
+ "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`."
},
"parameters": [
{
@@ -1382,13 +1550,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 65,
+ "line": 63,
"character": 4
}
]
},
{
- "id": 228,
+ "id": 244,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -1397,7 +1565,7 @@
},
"signatures": [
{
- "id": 229,
+ "id": 245,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -1409,7 +1577,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 246,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1429,7 +1597,7 @@
}
},
{
- "id": 231,
+ "id": 247,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -1441,12 +1609,12 @@
},
"type": {
"type": "reference",
- "id": 292,
+ "id": 304,
"name": "FilterOperator"
}
},
{
- "id": 232,
+ "id": 248,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1471,13 +1639,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 362,
+ "line": 430,
"character": 8
}
]
},
{
- "id": 200,
+ "id": 216,
"name": "fts",
"kind": 2048,
"kindString": "Method",
@@ -1486,7 +1654,7 @@
},
"signatures": [
{
- "id": 201,
+ "id": 217,
"name": "fts",
"kind": 4096,
"kindString": "Call signature",
@@ -1494,11 +1662,17 @@
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`)."
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 202,
+ "id": 218,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1518,7 +1692,7 @@
}
},
{
- "id": 203,
+ "id": 219,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -1534,7 +1708,7 @@
}
},
{
- "id": 204,
+ "id": 220,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -1545,7 +1719,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 205,
+ "id": 221,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1554,7 +1728,7 @@
},
"children": [
{
- "id": 206,
+ "id": 222,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -1567,7 +1741,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 307,
+ "line": 369,
"character": 46
}
],
@@ -1591,14 +1765,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 206
+ 222
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 307,
+ "line": 369,
"character": 37
}
]
@@ -1616,7 +1790,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 307,
+ "line": 369,
"character": 5
}
]
@@ -1699,7 +1873,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 89,
+ "line": 87,
"character": 4
}
]
@@ -1782,7 +1956,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 101,
+ "line": 99,
"character": 5
}
]
@@ -1854,7 +2028,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 149,
+ "line": 147,
"character": 7
}
]
@@ -1940,7 +2114,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 173,
+ "line": 171,
"character": 4
}
]
@@ -2021,7 +2195,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 161,
+ "line": 159,
"character": 4
}
]
@@ -2093,13 +2267,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 137,
+ "line": 135,
"character": 6
}
]
},
{
- "id": 250,
+ "id": 266,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -2108,7 +2282,7 @@
},
"signatures": [
{
- "id": 251,
+ "id": 267,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -2120,7 +2294,7 @@
},
"parameters": [
{
- "id": 252,
+ "id": 268,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -2136,7 +2310,7 @@
}
},
{
- "id": 253,
+ "id": 269,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -2147,7 +2321,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 270,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2156,7 +2330,7 @@
},
"children": [
{
- "id": 255,
+ "id": 271,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -2193,7 +2367,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 255
+ 271
]
}
],
@@ -2311,7 +2485,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 113,
+ "line": 111,
"character": 4
}
]
@@ -2394,13 +2568,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 125,
+ "line": 123,
"character": 5
}
]
},
{
- "id": 233,
+ "id": 249,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -2409,7 +2583,7 @@
},
"signatures": [
{
- "id": 234,
+ "id": 250,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -2421,7 +2595,7 @@
},
"parameters": [
{
- "id": 235,
+ "id": 251,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -2434,7 +2608,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 252,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2443,7 +2617,7 @@
},
"indexSignature": [
{
- "id": 237,
+ "id": 253,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -2452,7 +2626,7 @@
},
"parameters": [
{
- "id": 238,
+ "id": 254,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -2474,7 +2648,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 373,
+ "line": 441,
"character": 14
}
]
@@ -2491,7 +2665,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 373,
+ "line": 441,
"character": 7
}
]
@@ -2574,7 +2748,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 77,
+ "line": 75,
"character": 5
}
]
@@ -2633,7 +2807,7 @@
},
"type": {
"type": "reference",
- "id": 292,
+ "id": 304,
"name": "FilterOperator"
}
},
@@ -2663,151 +2837,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 41,
- "character": 5
- }
- ]
- },
- {
- "id": 184,
- "name": "nxl",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 185,
- "name": "nxl",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`."
- },
- "parameters": [
- {
- "id": 186,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "typeParameter",
- "name": "T"
- }
- }
- },
- {
- "id": 187,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 252,
- "character": 5
- }
- ]
- },
- {
- "id": 188,
- "name": "nxr",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 189,
- "name": "nxr",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`."
- },
- "parameters": [
- {
- "id": 190,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "typeParameter",
- "name": "T"
- }
- }
- },
- {
- "id": 191,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 264,
+ "line": 39,
"character": 5
}
]
@@ -2883,7 +2913,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 52,
+ "line": 50,
"character": 36
}
],
@@ -2914,7 +2944,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 52,
+ "line": 50,
"character": 21
}
]
@@ -2932,13 +2962,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 52,
+ "line": 50,
"character": 4
}
]
},
{
- "id": 242,
+ "id": 258,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -2947,7 +2977,7 @@
},
"signatures": [
{
- "id": 243,
+ "id": 259,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -2959,7 +2989,7 @@
},
"parameters": [
{
- "id": 244,
+ "id": 260,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2979,7 +3009,7 @@
}
},
{
- "id": 245,
+ "id": 261,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -2990,7 +3020,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 246,
+ "id": 262,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2999,7 +3029,7 @@
},
"children": [
{
- "id": 247,
+ "id": 263,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -3023,7 +3053,7 @@
"defaultValue": "true"
},
{
- "id": 249,
+ "id": 265,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -3055,7 +3085,7 @@
}
},
{
- "id": 248,
+ "id": 264,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -3084,9 +3114,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 247,
- 249,
- 248
+ 263,
+ 265,
+ 264
]
}
],
@@ -3127,8 +3157,8 @@
}
},
{
- "id": 196,
- "name": "ov",
+ "id": 203,
+ "name": "overlaps",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -3136,19 +3166,19 @@
},
"signatures": [
{
- "id": 197,
- "name": "ov",
+ "id": 204,
+ "name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose array or range value on the stated `column` is\ncontained by the specified `value`."
+ "shortText": "Finds all rows whose array or range value on the stated `column` overlaps\n(has a value in common) with the specified `value`."
},
"parameters": [
{
- "id": 198,
+ "id": 205,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3168,7 +3198,7 @@
}
},
{
- "id": 199,
+ "id": 206,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3216,13 +3246,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 288,
- "character": 4
+ "line": 315,
+ "character": 10
}
]
},
{
- "id": 214,
+ "id": 230,
"name": "phfts",
"kind": 2048,
"kindString": "Method",
@@ -3231,7 +3261,7 @@
},
"signatures": [
{
- "id": 215,
+ "id": 231,
"name": "phfts",
"kind": 4096,
"kindString": "Call signature",
@@ -3239,11 +3269,17 @@
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nphraseto_tsquery(`query`)."
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nphraseto_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` with `type: 'phrase'` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 216,
+ "id": 232,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3263,7 +3299,7 @@
}
},
{
- "id": 217,
+ "id": 233,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -3279,7 +3315,7 @@
}
},
{
- "id": 218,
+ "id": 234,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3290,7 +3326,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 219,
+ "id": 235,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3299,7 +3335,7 @@
},
"children": [
{
- "id": 220,
+ "id": 236,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -3312,7 +3348,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 335,
+ "line": 401,
"character": 48
}
],
@@ -3336,14 +3372,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 220
+ 236
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 335,
+ "line": 401,
"character": 39
}
]
@@ -3361,13 +3397,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 335,
+ "line": 401,
"character": 7
}
]
},
{
- "id": 207,
+ "id": 223,
"name": "plfts",
"kind": 2048,
"kindString": "Method",
@@ -3376,7 +3412,7 @@
},
"signatures": [
{
- "id": 208,
+ "id": 224,
"name": "plfts",
"kind": 4096,
"kindString": "Call signature",
@@ -3384,11 +3420,17 @@
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nplainto_tsquery(`query`)."
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nplainto_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` with `type: 'plain'` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 209,
+ "id": 225,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3408,7 +3450,7 @@
}
},
{
- "id": 210,
+ "id": 226,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -3424,7 +3466,7 @@
}
},
{
- "id": 211,
+ "id": 227,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3435,7 +3477,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 212,
+ "id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3444,7 +3486,7 @@
},
"children": [
{
- "id": 213,
+ "id": 229,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -3457,7 +3499,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 321,
+ "line": 385,
"character": 48
}
],
@@ -3481,14 +3523,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 213
+ 229
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 321,
+ "line": 385,
"character": 39
}
]
@@ -3506,13 +3548,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 321,
+ "line": 385,
"character": 7
}
]
},
{
- "id": 256,
+ "id": 272,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -3521,7 +3563,7 @@
},
"signatures": [
{
- "id": 257,
+ "id": 273,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -3533,7 +3575,7 @@
},
"parameters": [
{
- "id": 258,
+ "id": 274,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -3549,7 +3591,7 @@
}
},
{
- "id": 259,
+ "id": 275,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -3565,7 +3607,7 @@
}
},
{
- "id": 260,
+ "id": 276,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3576,7 +3618,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 261,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3585,7 +3627,7 @@
},
"children": [
{
- "id": 262,
+ "id": 278,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -3622,7 +3664,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 262
+ 278
]
}
],
@@ -3663,8 +3705,8 @@
}
},
{
- "id": 239,
- "name": "select",
+ "id": 198,
+ "name": "rangeAdjacent",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -3672,62 +3714,71 @@
},
"signatures": [
{
- "id": 240,
- "name": "select",
+ "id": 199,
+ "name": "rangeAdjacent",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Performs vertical filtering with SELECT."
+ "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
},
"parameters": [
{
- "id": 241,
- "name": "columns",
+ "id": 200,
+ "name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The columns to retrieve, separated by commas.\n"
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 201,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
- },
- "defaultValue": "\"*\""
+ }
}
],
"type": {
"type": "intrinsic",
"name": "this"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 65,
- "name": "PostgrestTransformBuilder.select"
}
}
],
"sources": [
{
- "fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 13,
- "character": 8
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 300,
+ "character": 15
}
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 65,
- "name": "PostgrestTransformBuilder.select"
- }
+ ]
},
{
- "id": 263,
- "name": "single",
+ "id": 183,
+ "name": "rangeGt",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -3735,56 +3786,71 @@
},
"signatures": [
{
- "id": 264,
- "name": "single",
+ "id": 184,
+ "name": "rangeGt",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"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."
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 60,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestSingleResponse"
+ "parameters": [
+ {
+ "id": 185,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
}
- ],
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 89,
- "name": "PostgrestTransformBuilder.single"
+ },
+ {
+ "id": 186,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
}
}
],
"sources": [
{
- "fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 92,
- "character": 8
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 255,
+ "character": 9
}
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 89,
- "name": "PostgrestTransformBuilder.single"
- }
+ ]
},
{
- "id": 176,
- "name": "sl",
+ "id": 188,
+ "name": "rangeGte",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -3792,19 +3858,19 @@
},
"signatures": [
{
- "id": 177,
- "name": "sl",
+ "id": 189,
+ "name": "rangeGte",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`."
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`."
},
"parameters": [
{
- "id": 178,
+ "id": 190,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3824,7 +3890,7 @@
}
},
{
- "id": 179,
+ "id": 191,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -3849,14 +3915,14 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 228,
- "character": 4
+ "line": 270,
+ "character": 10
}
]
},
{
- "id": 180,
- "name": "sr",
+ "id": 178,
+ "name": "rangeLt",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -3864,19 +3930,19 @@
},
"signatures": [
{
- "id": 181,
- "name": "sr",
+ "id": 179,
+ "name": "rangeLt",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`."
},
"parameters": [
{
- "id": 182,
+ "id": 180,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3896,7 +3962,7 @@
}
},
{
- "id": 183,
+ "id": 181,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -3922,13 +3988,13 @@
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 240,
- "character": 4
+ "character": 9
}
]
},
{
- "id": 276,
- "name": "then",
+ "id": 193,
+ "name": "rangeLte",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -3936,300 +4002,191 @@
},
"signatures": [
{
- "id": 277,
- "name": "then",
+ "id": 194,
+ "name": "rangeLte",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
- "typeParameter": [
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`."
+ },
+ "parameters": [
{
- "id": 278,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
+ "id": 195,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
}
},
{
- "id": 279,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
+ "id": 196,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 285,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 255,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 256,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
"parameters": [
{
- "id": 280,
- "name": "onfulfilled",
+ "id": 257,
+ "name": "columns",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExported": true,
- "isOptional": true
+ "isExported": true
+ },
+ "comment": {
+ "text": "The columns to retrieve, separated by commas.\n"
},
"type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 281,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 282,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 283,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 58,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "TResult1",
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "TResult1",
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "name": "PromiseLike"
- }
- ]
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 63,
- "character": 9
- }
- ]
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 284,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
+ "type": "intrinsic",
+ "name": "string"
},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 285,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 286,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 287,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "TResult2",
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "TResult2",
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "name": "PromiseLike"
- }
- ]
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 66,
- "character": 18
- }
- ]
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
+ "defaultValue": "\"*\""
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 65,
+ "name": "PostgrestTransformBuilder.select"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 65,
+ "name": "PostgrestTransformBuilder.select"
+ }
+ },
+ {
+ "id": 279,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 280,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "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": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "TResult1",
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
+ "type": "reference",
+ "id": 60,
+ "typeArguments": [
{
"type": "typeParameter",
- "name": "TResult2",
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
+ "name": "T"
}
- ]
+ ],
+ "name": "PostgrestSingleResponse"
}
],
"name": "PromiseLike"
},
"inheritedFrom": {
"type": "reference",
- "id": 40,
- "name": "PostgrestBuilder.then"
+ "id": 89,
+ "name": "PostgrestTransformBuilder.single"
}
}
],
"sources": [
{
- "fileName": "lib/types.ts",
- "line": 61,
- "character": 6
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 92,
+ "character": 8
}
],
"inheritedFrom": {
"type": "reference",
- "id": 40,
- "name": "PostgrestBuilder.then"
+ "id": 89,
+ "name": "PostgrestTransformBuilder.single"
}
},
{
- "id": 221,
- "name": "wfts",
+ "id": 208,
+ "name": "textSearch",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -4237,19 +4194,19 @@
},
"signatures": [
{
- "id": 222,
- "name": "wfts",
+ "id": 209,
+ "name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nwebsearch_to_tsquery(`query`)."
+ "shortText": "Finds all rows whose text or tsvector value on the stated `column` matches\nthe tsquery in `query`."
},
"parameters": [
{
- "id": 223,
+ "id": 210,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4269,7 +4226,7 @@
}
},
{
- "id": 224,
+ "id": 211,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -4285,7 +4242,7 @@
}
},
{
- "id": 225,
+ "id": 212,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4296,7 +4253,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 226,
+ "id": 213,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4305,7 +4262,7 @@
},
"children": [
{
- "id": 227,
+ "id": 214,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -4313,13 +4270,13 @@
"isExported": true
},
"comment": {
- "text": "The text search configuration to use.\n"
+ "text": "The text search configuration to use."
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 349,
- "character": 47
+ "line": 342,
+ "character": 12
}
],
"type": {
@@ -4335,21 +4292,515 @@
}
]
}
- }
- ],
- "groups": [
+ },
{
- "title": "Variables",
+ "id": 215,
+ "name": "type",
"kind": 32,
- "children": [
- 227
- ]
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 349,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The type of tsquery conversion to use on `query`.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 343,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "plain"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "phrase"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "websearch"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 214,
+ 215
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 340,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 338,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 293,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 294,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 295,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 296,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 298,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 299,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 58,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 63,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 300,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 301,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 302,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 303,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 66,
+ "character": 18
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 237,
+ "name": "wfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 238,
+ "name": "wfts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nwebsearch_to_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` with `type: 'websearch'` instead.\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 239,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 240,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 241,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 242,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 243,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 417,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 243
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 417,
"character": 38
}
]
@@ -4367,7 +4818,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 349,
+ "line": 417,
"character": 6
}
]
@@ -4378,63 +4829,72 @@
"title": "Constructors",
"kind": 512,
"children": [
- 273
+ 289
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 272,
- 267,
- 265,
- 271,
- 266
+ 202,
+ 288,
+ 177,
+ 172,
+ 283,
+ 281,
+ 192,
+ 197,
+ 207,
+ 287,
+ 182,
+ 187,
+ 282
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 192,
- 172,
+ 173,
168,
128,
- 228,
- 200,
+ 244,
+ 216,
136,
140,
156,
164,
160,
152,
- 250,
+ 266,
144,
148,
- 233,
+ 249,
132,
117,
- 184,
- 188,
122,
- 242,
- 196,
- 214,
- 207,
- 256,
- 239,
- 263,
- 176,
- 180,
- 276,
- 221
+ 258,
+ 203,
+ 230,
+ 223,
+ 272,
+ 198,
+ 183,
+ 188,
+ 178,
+ 193,
+ 255,
+ 279,
+ 208,
+ 292,
+ 237
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 33,
+ "line": 31,
"character": 43
}
],
@@ -4472,15 +4932,18 @@
]
},
{
- "id": 292,
+ "id": 304,
"name": "FilterOperator",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 9,
+ "line": 7,
"character": 19
}
],
@@ -4577,77 +5040,6 @@
}
]
}
- },
- {
- "id": 288,
- "name": "cleanFilterArray",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isConst": true
- },
- "comment": {
- "shortText": "Filters"
- },
- "signatures": [
- {
- "id": 289,
- "name": "cleanFilterArray",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Filters"
- },
- "typeParameter": [
- {
- "id": 290,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 291,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "typeParameter",
- "name": "T"
- }
- },
- "objectType": {
- "type": "typeParameter",
- "name": "T"
- }
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 7,
- "character": 22
- }
- ]
}
],
"groups": [
@@ -4662,14 +5054,7 @@
"title": "Type aliases",
"kind": 4194304,
"children": [
- 292
- ]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [
- 288
+ 304
]
}
],
@@ -4682,7 +5067,7 @@
]
},
{
- "id": 293,
+ "id": 305,
"name": "\"lib/PostgrestQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -4692,7 +5077,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
"children": [
{
- "id": 294,
+ "id": 306,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -4701,7 +5086,7 @@
},
"typeParameter": [
{
- "id": 295,
+ "id": 307,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -4712,7 +5097,7 @@
],
"children": [
{
- "id": 296,
+ "id": 308,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4721,7 +5106,7 @@
},
"signatures": [
{
- "id": 297,
+ "id": 309,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -4730,7 +5115,7 @@
},
"parameters": [
{
- "id": 298,
+ "id": 310,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -4743,7 +5128,7 @@
}
},
{
- "id": 299,
+ "id": 311,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4754,7 +5139,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 300,
+ "id": 312,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4763,7 +5148,7 @@
},
"children": [
{
- "id": 301,
+ "id": 313,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -4780,7 +5165,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 302,
+ "id": 314,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4789,7 +5174,7 @@
},
"indexSignature": [
{
- "id": 303,
+ "id": 315,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4798,7 +5183,7 @@
},
"parameters": [
{
- "id": 304,
+ "id": 316,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4821,7 +5206,7 @@
}
},
{
- "id": 305,
+ "id": 317,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -4855,8 +5240,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 301,
- 305
+ 313,
+ 317
]
}
],
@@ -4874,7 +5259,7 @@
],
"type": {
"type": "reference",
- "id": 294,
+ "id": 306,
"name": "PostgrestQueryBuilder"
},
"overwrites": {
@@ -4898,7 +5283,7 @@
}
},
{
- "id": 342,
+ "id": 368,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -4949,7 +5334,7 @@
}
},
{
- "id": 337,
+ "id": 363,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -4967,7 +5352,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 338,
+ "id": 364,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4976,7 +5361,7 @@
},
"indexSignature": [
{
- "id": 339,
+ "id": 365,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4985,7 +5370,7 @@
},
"parameters": [
{
- "id": 340,
+ "id": 366,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -5020,7 +5405,7 @@
}
},
{
- "id": 335,
+ "id": 361,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -5067,7 +5452,7 @@
}
},
{
- "id": 341,
+ "id": 367,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -5103,7 +5488,7 @@
}
},
{
- "id": 336,
+ "id": 362,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -5129,7 +5514,7 @@
}
},
{
- "id": 329,
+ "id": 355,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -5138,7 +5523,7 @@
},
"signatures": [
{
- "id": 330,
+ "id": 356,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -5150,7 +5535,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 357,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5161,7 +5546,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 358,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5170,17 +5555,20 @@
},
"children": [
{
- "id": 334,
+ "id": 360,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 130,
+ "line": 183,
"character": 9
}
],
@@ -5208,7 +5596,7 @@
"defaultValue": "null"
},
{
- "id": 333,
+ "id": 359,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5216,12 +5604,12 @@
"isExported": true
},
"comment": {
- "text": "If `true`, return the deleted row(s) in the response.\n"
+ "text": "If `true`, return the deleted row(s) in the response."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 129,
+ "line": 182,
"character": 13
}
],
@@ -5236,31 +5624,225 @@
"type": "stringLiteral",
"value": "representation"
}
- ]
- },
- "defaultValue": "\"representation\""
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 334,
- 333
+ ]
+ },
+ "defaultValue": "\"representation\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 360,
+ 359
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 181,
+ "character": 9
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 115,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 181,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 325,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 326,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 327,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 328,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 329,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 331,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 68,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 330,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 67,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 331,
+ 330
+ ]
+ }
]
}
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 128,
- "character": 9
- }
- ]
- }
- },
- "defaultValue": "{}"
+ }
+ ]
+ }
}
],
"type": {
@@ -5274,27 +5856,9 @@
],
"name": "PostgrestFilterBuilder"
}
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 128,
- "character": 8
- }
- ]
- },
- {
- "id": 313,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
+ },
{
- "id": 314,
+ "id": 332,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -5302,20 +5866,22 @@
"isExported": true
},
"comment": {
- "shortText": "Performs an INSERT into the table."
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `upsert()` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 315,
+ "id": 333,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
- "comment": {
- "text": "The values to insert."
- },
"type": {
"type": "union",
"types": [
@@ -5346,175 +5912,181 @@
}
},
{
- "id": 316,
- "name": "__namedParameters",
+ "id": 334,
+ "name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
- "originalName": "__1",
"type": {
- "type": "reflection",
- "declaration": {
- "id": 317,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "children": [
- {
- "id": 321,
- "name": "count",
- "kind": 32,
- "kindString": "Variable",
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 335,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {
"isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 71,
- "character": 11
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "null"
- },
- {
- "type": "stringLiteral",
- "value": "exact"
- },
- {
- "type": "stringLiteral",
- "value": "planned"
+ "id": 339,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
},
- {
- "type": "stringLiteral",
- "value": "estimated"
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 80,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
}
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 319,
- "name": "onConflict",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
- },
- "sources": [
+ },
{
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 69,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
+ "id": 337,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
},
- {
- "type": "intrinsic",
- "name": "string"
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 78,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
- ]
- }
- },
- {
- "id": 320,
- "name": "returning",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value.\n"
- },
- "sources": [
+ },
{
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 70,
- "character": 15
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "stringLiteral",
- "value": "minimal"
+ "id": 338,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
},
- {
- "type": "stringLiteral",
- "value": "representation"
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 79,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
}
- ]
- },
- "defaultValue": "\"representation\""
- },
- {
- "id": 318,
- "name": "upsert",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "If `true`, performs an UPSERT."
- },
- "sources": [
+ },
{
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 68,
- "character": 12
+ "id": 336,
+ "name": "upsert",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 77,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
}
],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 321,
- 319,
- 320,
- 318
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 339,
+ 337,
+ 338,
+ 336
+ ]
+ }
]
}
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 66,
- "character": 38
- }
- ]
- }
- },
- "defaultValue": "{}"
+ }
+ ]
+ }
}
],
"type": {
@@ -5533,13 +6105,23 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 65,
+ "line": 64,
+ "character": 8
+ },
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 74,
+ "character": 8
+ },
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 83,
"character": 8
}
]
},
{
- "id": 306,
+ "id": 318,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -5548,7 +6130,7 @@
},
"signatures": [
{
- "id": 307,
+ "id": 319,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -5560,7 +6142,7 @@
},
"parameters": [
{
- "id": 308,
+ "id": 320,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -5577,7 +6159,7 @@
"defaultValue": "\"*\""
},
{
- "id": 309,
+ "id": 321,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5588,7 +6170,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 310,
+ "id": 322,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5597,7 +6179,7 @@
},
"children": [
{
- "id": 312,
+ "id": 324,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5638,7 +6220,7 @@
"defaultValue": "null"
},
{
- "id": 311,
+ "id": 323,
"name": "head",
"kind": 32,
"kindString": "Variable",
@@ -5667,8 +6249,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 312,
- 311
+ 324,
+ 323
]
}
],
@@ -5706,7 +6288,7 @@
]
},
{
- "id": 343,
+ "id": 369,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -5715,7 +6297,7 @@
},
"signatures": [
{
- "id": 344,
+ "id": 370,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -5724,7 +6306,7 @@
},
"typeParameter": [
{
- "id": 345,
+ "id": 371,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -5733,7 +6315,7 @@
}
},
{
- "id": 346,
+ "id": 372,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -5744,7 +6326,7 @@
],
"parameters": [
{
- "id": 347,
+ "id": 373,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -5758,7 +6340,7 @@
{
"type": "reflection",
"declaration": {
- "id": 348,
+ "id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5767,7 +6349,7 @@
},
"signatures": [
{
- "id": 349,
+ "id": 375,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5776,7 +6358,7 @@
},
"parameters": [
{
- "id": 350,
+ "id": 376,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5858,7 +6440,7 @@
}
},
{
- "id": 351,
+ "id": 377,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -5872,7 +6454,7 @@
{
"type": "reflection",
"declaration": {
- "id": 352,
+ "id": 378,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5881,7 +6463,7 @@
},
"signatures": [
{
- "id": 353,
+ "id": 379,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5890,7 +6472,7 @@
},
"parameters": [
{
- "id": 354,
+ "id": 380,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -6007,7 +6589,7 @@
}
},
{
- "id": 322,
+ "id": 348,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -6016,7 +6598,7 @@
},
"signatures": [
{
- "id": 323,
+ "id": 349,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -6028,7 +6610,7 @@
},
"parameters": [
{
- "id": 324,
+ "id": 350,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -6050,7 +6632,7 @@
}
},
{
- "id": 325,
+ "id": 351,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6061,7 +6643,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 326,
+ "id": 352,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6070,17 +6652,20 @@
},
"children": [
{
- "id": 328,
+ "id": 354,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 106,
+ "line": 159,
"character": 11
}
],
@@ -6108,7 +6693,7 @@
"defaultValue": "null"
},
{
- "id": 327,
+ "id": 353,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -6116,12 +6701,12 @@
"isExported": true
},
"comment": {
- "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value.\n"
+ "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 105,
+ "line": 158,
"character": 15
}
],
@@ -6146,15 +6731,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 328,
- 327
+ 354,
+ 353
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 103,
+ "line": 156,
"character": 23
}
]
@@ -6179,7 +6764,239 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 102,
+ "line": 155,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 340,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 341,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 342,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 343,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 344,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 347,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 126,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 345,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 124,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 125,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ },
+ "defaultValue": "\"representation\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 347,
+ 345,
+ 346
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 122,
+ "character": 38
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 115,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 121,
"character": 8
}
]
@@ -6190,29 +7007,30 @@
"title": "Constructors",
"kind": 512,
"children": [
- 296
+ 308
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 342,
- 337,
- 335,
- 341,
- 336
+ 368,
+ 363,
+ 361,
+ 367,
+ 362
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 329,
- 313,
- 306,
- 343,
- 322
+ 355,
+ 325,
+ 318,
+ 369,
+ 348,
+ 340
]
}
],
@@ -6262,7 +7080,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 294
+ 306
]
}
],
@@ -6275,7 +7093,7 @@
]
},
{
- "id": 355,
+ "id": 381,
"name": "\"lib/PostgrestRpcBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -6285,7 +7103,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts",
"children": [
{
- "id": 356,
+ "id": 382,
"name": "PostgrestRpcBuilder",
"kind": 128,
"kindString": "Class",
@@ -6294,7 +7112,7 @@
},
"typeParameter": [
{
- "id": 357,
+ "id": 383,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -6305,7 +7123,7 @@
],
"children": [
{
- "id": 358,
+ "id": 384,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6314,7 +7132,7 @@
},
"signatures": [
{
- "id": 359,
+ "id": 385,
"name": "new PostgrestRpcBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -6323,7 +7141,7 @@
},
"parameters": [
{
- "id": 360,
+ "id": 386,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -6336,7 +7154,7 @@
}
},
{
- "id": 361,
+ "id": 387,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6347,7 +7165,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 362,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6356,7 +7174,7 @@
},
"children": [
{
- "id": 363,
+ "id": 389,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -6373,7 +7191,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 364,
+ "id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6382,7 +7200,7 @@
},
"indexSignature": [
{
- "id": 365,
+ "id": 391,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -6391,7 +7209,7 @@
},
"parameters": [
{
- "id": 366,
+ "id": 392,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -6414,7 +7232,7 @@
}
},
{
- "id": 367,
+ "id": 393,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -6448,8 +7266,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 363,
- 367
+ 389,
+ 393
]
}
],
@@ -6467,7 +7285,7 @@
],
"type": {
"type": "reference",
- "id": 356,
+ "id": 382,
"name": "PostgrestRpcBuilder"
},
"overwrites": {
@@ -6491,7 +7309,7 @@
}
},
{
- "id": 381,
+ "id": 407,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -6542,7 +7360,7 @@
}
},
{
- "id": 376,
+ "id": 402,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -6560,7 +7378,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 377,
+ "id": 403,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6569,7 +7387,7 @@
},
"indexSignature": [
{
- "id": 378,
+ "id": 404,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -6578,7 +7396,7 @@
},
"parameters": [
{
- "id": 379,
+ "id": 405,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -6613,7 +7431,7 @@
}
},
{
- "id": 374,
+ "id": 400,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -6660,7 +7478,7 @@
}
},
{
- "id": 380,
+ "id": 406,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -6696,7 +7514,7 @@
}
},
{
- "id": 375,
+ "id": 401,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -6722,7 +7540,7 @@
}
},
{
- "id": 368,
+ "id": 394,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -6731,7 +7549,7 @@
},
"signatures": [
{
- "id": 369,
+ "id": 395,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -6743,7 +7561,7 @@
},
"parameters": [
{
- "id": 370,
+ "id": 396,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -6766,7 +7584,7 @@
}
},
{
- "id": 371,
+ "id": 397,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6777,7 +7595,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 372,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6786,7 +7604,7 @@
},
"children": [
{
- "id": 373,
+ "id": 399,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6829,7 +7647,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 373
+ 399
]
}
],
@@ -6867,7 +7685,7 @@
]
},
{
- "id": 382,
+ "id": 408,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -6876,7 +7694,7 @@
},
"signatures": [
{
- "id": 383,
+ "id": 409,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -6885,7 +7703,7 @@
},
"typeParameter": [
{
- "id": 384,
+ "id": 410,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -6894,7 +7712,7 @@
}
},
{
- "id": 385,
+ "id": 411,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -6905,7 +7723,7 @@
],
"parameters": [
{
- "id": 386,
+ "id": 412,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -6919,7 +7737,7 @@
{
"type": "reflection",
"declaration": {
- "id": 387,
+ "id": 413,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6928,7 +7746,7 @@
},
"signatures": [
{
- "id": 388,
+ "id": 414,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6937,7 +7755,7 @@
},
"parameters": [
{
- "id": 389,
+ "id": 415,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7019,7 +7837,7 @@
}
},
{
- "id": 390,
+ "id": 416,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -7033,7 +7851,7 @@
{
"type": "reflection",
"declaration": {
- "id": 391,
+ "id": 417,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7042,7 +7860,7 @@
},
"signatures": [
{
- "id": 392,
+ "id": 418,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -7051,7 +7869,7 @@
},
"parameters": [
{
- "id": 393,
+ "id": 419,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -7173,26 +7991,26 @@
"title": "Constructors",
"kind": 512,
"children": [
- 358
+ 384
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 381,
- 376,
- 374,
- 380,
- 375
+ 407,
+ 402,
+ 400,
+ 406,
+ 401
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 368,
- 382
+ 394,
+ 408
]
}
],
@@ -7242,7 +8060,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 356
+ 382
]
}
],
@@ -9151,12 +9969,12 @@
},
{
"type": "reference",
- "id": 294,
+ "id": 306,
"name": "PostgrestQueryBuilder"
},
{
"type": "reference",
- "id": 356,
+ "id": 382,
"name": "PostgrestRpcBuilder"
}
],
@@ -10003,11 +10821,11 @@
"title": "Modules",
"kind": 1,
"children": [
- 394,
- 427,
+ 420,
+ 453,
114,
- 293,
- 355,
+ 305,
+ 381,
62,
1
]
diff --git a/web/spec/realtime.json b/web/spec/realtime.json
index c3a9e7af7ae..fe303534ea6 100644
--- a/web/spec/realtime.json
+++ b/web/spec/realtime.json
@@ -90,7 +90,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 63,
"character": 3
}
]
@@ -106,7 +106,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 36,
+ "line": 35,
"character": 10
}
],
@@ -131,7 +131,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 51,
"character": 6
}
],
@@ -161,7 +161,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 8
}
],
@@ -181,7 +181,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 8
}
],
@@ -201,7 +201,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 37,
+ "line": 36,
"character": 10
}
],
@@ -223,7 +223,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 38,
+ "line": 37,
"character": 9
}
],
@@ -290,7 +290,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 41,
"character": 21
}
],
@@ -311,7 +311,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 16
}
],
@@ -341,7 +341,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 47,
"character": 8
}
],
@@ -362,7 +362,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 19
}
],
@@ -384,7 +384,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 39,
+ "line": 38,
"character": 8
}
],
@@ -451,7 +451,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 21
}
],
@@ -481,7 +481,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 18
}
],
@@ -501,7 +501,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 46,
"character": 16
}
],
@@ -522,7 +522,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 5
}
],
@@ -543,7 +543,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 52,
"character": 12
}
],
@@ -567,7 +567,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 40,
+ "line": 39,
"character": 9
}
],
@@ -588,7 +588,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 11
}
],
@@ -681,7 +681,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 346,
"character": 44
}
]
@@ -698,7 +698,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 346,
"character": 23
}
]
@@ -730,7 +730,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 355,
+ "line": 356,
"character": 26
}
]
@@ -777,7 +777,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 327,
+ "line": 326,
"character": 22
}
]
@@ -824,7 +824,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 335,
+ "line": 334,
"character": 22
}
]
@@ -856,7 +856,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 314,
+ "line": 313,
"character": 21
}
]
@@ -888,7 +888,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 362,
+ "line": 363,
"character": 24
}
]
@@ -920,7 +920,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 341,
+ "line": 340,
"character": 27
}
]
@@ -989,7 +989,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 246,
+ "line": 245,
"character": 9
}
]
@@ -1023,7 +1023,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 118,
+ "line": 117,
"character": 9
}
]
@@ -1074,7 +1074,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 215,
+ "line": 214,
"character": 17
}
]
@@ -1178,7 +1178,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 142,
+ "line": 141,
"character": 40
}
],
@@ -1198,7 +1198,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 142,
+ "line": 141,
"character": 20
}
],
@@ -1230,7 +1230,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 142,
+ "line": 141,
"character": 13
}
]
@@ -1244,7 +1244,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 139,
+ "line": 138,
"character": 12
}
]
@@ -1278,7 +1278,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 293,
+ "line": 292,
"character": 13
}
]
@@ -1312,7 +1312,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 231,
+ "line": 230,
"character": 13
}
]
@@ -1388,7 +1388,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 164,
+ "line": 163,
"character": 5
}
]
@@ -1422,7 +1422,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 303,
+ "line": 302,
"character": 9
}
]
@@ -1480,7 +1480,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 186,
+ "line": 185,
"character": 9
}
]
@@ -1526,7 +1526,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 267,
+ "line": 266,
"character": 15
}
]
@@ -1584,7 +1584,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 197,
+ "line": 196,
"character": 9
}
]
@@ -1642,7 +1642,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 208,
+ "line": 207,
"character": 11
}
]
@@ -1700,7 +1700,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 175,
+ "line": 174,
"character": 8
}
]
@@ -1747,7 +1747,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 252,
+ "line": 251,
"character": 6
}
]
@@ -1800,7 +1800,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 240,
+ "line": 239,
"character": 8
}
]
@@ -1825,7 +1825,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 60,
"character": 9
}
],
@@ -1849,7 +1849,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 9
}
],
@@ -1873,7 +1873,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 62,
"character": 11
}
],
@@ -1897,7 +1897,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 59,
"character": 8
}
],
@@ -1926,7 +1926,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 22
}
],
@@ -2007,7 +2007,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 35,
+ "line": 34,
"character": 35
}
]
@@ -2021,7 +2021,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 26,
+ "line": 25,
"character": 12
}
],
@@ -2043,7 +2043,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 28,
+ "line": 27,
"character": 7
}
],
@@ -2061,7 +2061,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 28,
"character": 9
}
],
@@ -2079,7 +2079,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 30,
+ "line": 29,
"character": 5
}
],
@@ -2097,7 +2097,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 27,
+ "line": 26,
"character": 7
}
],
@@ -2122,7 +2122,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 26,
+ "line": 25,
"character": 14
}
]
@@ -2138,7 +2138,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 14,
+ "line": 13,
"character": 12
}
],
@@ -2162,7 +2162,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 21,
+ "line": 20,
"character": 8
}
],
@@ -2182,7 +2182,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 20,
+ "line": 19,
"character": 8
}
],
@@ -2202,7 +2202,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 23,
+ "line": 22,
"character": 9
}
],
@@ -2263,7 +2263,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 16,
"character": 21
}
],
@@ -2292,7 +2292,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 19,
+ "line": 18,
"character": 8
}
],
@@ -2312,7 +2312,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 18,
+ "line": 17,
"character": 19
}
],
@@ -2341,7 +2341,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 24,
+ "line": 23,
"character": 8
}
],
@@ -2402,7 +2402,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 22,
+ "line": 21,
"character": 18
}
],
@@ -2422,7 +2422,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 16,
+ "line": 15,
"character": 9
}
],
@@ -2451,7 +2451,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 15,
+ "line": 14,
"character": 11
}
],
@@ -2482,7 +2482,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 14,
+ "line": 13,
"character": 14
}
]
@@ -2513,7 +2513,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 33,
+ "line": 32,
"character": 10
}
]