Skip to content

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

chore: all updated docs files

Jonathan Summers-Muir4a2ae8b2b47d
diff --git a/web/docs/resources.md b/web/docs/resources.md
index 223e967c148..a333e306746 100644
--- a/web/docs/resources.md
+++ b/web/docs/resources.md
@@ -1,26 +1,25 @@
---
id: resources
-title: Resources
+title: Overview
description: Learn more
hide_title: true
---
-
### Learn
A collection of resources for you to explore and learn.
<a className="card" href="/docs/learn/auth-deep-dive/auth-deep-dive-jwts" style={{marginBottom: 10}}>
- <div className="card__body">
- <h3>Auth Deep Dive</h3>
- <p>In this Series, Supabase's CTO will step you through everything you need to know about Auth in the context of Supabase.</p>
- </div>
-</a>
+<div className="card__body">
+<h3>Auth Deep Dive</h3>
+<p>In this Series, Supabase's CTO will step you through everything you need to know about Auth in the context of Supabase.</p>
+</div>
+</a>
### Community
- Support: [email protected]
- GitHub: https://github.com/supabase/supabase
- Discussions & Forums: https://github.com/supabase/supabase/discussions
-- Twitter: https://twitter.com/supabase_io
\ No newline at end of file
+- Twitter: https://twitter.com/supabase_io
diff --git a/web/sidebar_spec_cli.js b/web/sidebar_spec_cli.js
index 11b203a9d30..5f7646dd963 100644
--- a/web/sidebar_spec_cli.js
+++ b/web/sidebar_spec_cli.js
@@ -4,13 +4,13 @@ module.exports = {
type: 'category',
label: 'About',
items: ['reference/cli/index', 'reference/cli/supa-init'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Local Development',
items: ['reference/cli/supa-dev', 'reference/cli/supa-eject'],
- collapsed: false,
+ collapsed: true,
}
],
}
\ No newline at end of file
diff --git a/web/sidebar_spec_gotrue.js b/web/sidebar_spec_gotrue.js
index 85e9f5f2f4a..2856fccce34 100644
--- a/web/sidebar_spec_gotrue.js
+++ b/web/sidebar_spec_gotrue.js
@@ -4,19 +4,19 @@ module.exports = {
type: 'category',
label: 'About',
items: ['gotrue/client/index', 'gotrue/client/installing', 'gotrue/client/initializing'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Client functions',
items: ['gotrue/client/signup', 'gotrue/client/signin', 'gotrue/client/signout', 'gotrue/client/user', 'gotrue/client/session', 'gotrue/client/update', 'gotrue/client/onauthstatechange'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'General functions',
items: ['gotrue/client/api-signupwithemail', 'gotrue/client/api-signinwithemail', 'gotrue/client/api-sendmagiclinkemail', 'gotrue/client/api-inviteuserbyemail', 'gotrue/client/api-resetpasswordforemail', 'gotrue/client/api-signout', 'gotrue/client/api-getuser', 'gotrue/client/api-updateuser', 'gotrue/client/api-refreshaccesstoken'],
- collapsed: false,
+ collapsed: true,
}
],
}
\ No newline at end of file
diff --git a/web/sidebar_spec_postgres.js b/web/sidebar_spec_postgres.js
index 17cbfbfe26f..1dd7c1f4627 100644
--- a/web/sidebar_spec_postgres.js
+++ b/web/sidebar_spec_postgres.js
@@ -4,31 +4,31 @@ module.exports = {
type: 'category',
label: 'About',
items: ['reference/postgres/index'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Database',
items: ['reference/postgres/database-users', 'reference/postgres/database-passwords'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Schemas',
items: ['reference/postgres/creating-schemas'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Tables',
items: ['reference/postgres/creating-tables'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Columns',
items: ['reference/postgres/creating-columns', 'reference/postgres/column-types'],
- collapsed: false,
+ collapsed: true,
}
],
}
\ No newline at end of file
diff --git a/web/sidebar_spec_postgrest.js b/web/sidebar_spec_postgrest.js
index 23ac56e67d1..afbdede2dc8 100644
--- a/web/sidebar_spec_postgrest.js
+++ b/web/sidebar_spec_postgrest.js
@@ -4,19 +4,19 @@ module.exports = {
type: 'category',
label: 'About',
items: ['postgrest/client/index', 'postgrest/client/installing', 'postgrest/client/initializing'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Query Builder',
items: ['postgrest/client/from', 'postgrest/client/select', 'postgrest/client/insert', 'postgrest/client/update', 'postgrest/client/delete', 'postgrest/client/rpc'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Filters',
items: ['postgrest/client/filter', 'postgrest/client/not', 'postgrest/client/eq', 'postgrest/client/neq', 'postgrest/client/gt', 'postgrest/client/gte', 'postgrest/client/lt', 'postgrest/client/lte', 'postgrest/client/like', 'postgrest/client/ilike', 'postgrest/client/is', 'postgrest/client/in', 'postgrest/client/cs', 'postgrest/client/cd', 'postgrest/client/sl', 'postgrest/client/sr', 'postgrest/client/nxl', 'postgrest/client/nxr', 'postgrest/client/adj', 'postgrest/client/ov', 'postgrest/client/fts', 'postgrest/client/plfts', 'postgrest/client/phfts', 'postgrest/client/wfts'],
- collapsed: false,
+ collapsed: true,
}
],
}
\ No newline at end of file
diff --git a/web/sidebar_spec_realtime.js b/web/sidebar_spec_realtime.js
index 069fe884d27..688ace13527 100644
--- a/web/sidebar_spec_realtime.js
+++ b/web/sidebar_spec_realtime.js
@@ -4,13 +4,13 @@ module.exports = {
type: 'category',
label: 'About',
items: ['realtime/client/index', 'realtime/client/installing', 'realtime/client/initializing'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Client functions',
items: ['realtime/client/connect', 'realtime/client/disconnect'],
- collapsed: false,
+ collapsed: true,
}
],
}
\ No newline at end of file
diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.js
index 6d72c6721ee..238c489fcf5 100644
--- a/web/sidebar_spec_supabase.js
+++ b/web/sidebar_spec_supabase.js
@@ -4,37 +4,37 @@ module.exports = {
type: 'category',
label: 'About',
items: ['client/index', 'client/installing', 'client/initializing', 'client/generating-types'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Auth',
items: ['client/auth-signup', 'client/auth-signin', 'client/auth-signout', 'client/auth-session', 'client/auth-user', 'client/auth-update', 'client/auth-onauthstatechange', 'client/reset-password-email'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Data',
items: ['client/select', 'client/insert', 'client/update', 'client/delete', 'client/rpc'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Realtime',
items: ['client/subscribe', 'client/removesubscription', 'client/getsubscriptions'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Modifiers',
items: ['client/using-modifiers', 'client/limit', 'client/order', 'client/range', 'client/single'],
- collapsed: false,
+ collapsed: true,
},
{
type: 'category',
label: 'Filters',
items: ['client/using-filters', 'client/filter', 'client/or', 'client/not', 'client/match', 'client/eq', 'client/neq', 'client/gt', 'client/gte', 'client/lt', 'client/lte', 'client/like', 'client/ilike', 'client/is', 'client/in', 'client/cs', 'client/cd', 'client/sl', 'client/sr', 'client/nxl', 'client/nxr', 'client/adj', 'client/ov', 'client/fts', 'client/plfts', 'client/phfts', 'client/wfts'],
- collapsed: false,
+ collapsed: true,
}
],
}
\ No newline at end of file
diff --git a/web/spec/combined.json b/web/spec/combined.json
index cb07d7fec40..cb7c137b756 100644
--- a/web/spec/combined.json
+++ b/web/spec/combined.json
@@ -4219,7 +4219,7 @@
"isExported": true
},
"comment": {
- "shortText": "Subscribe to realtime changes in your database."
+ "shortText": "Subscribe to realtime changes in your databse."
},
"parameters": [
{
@@ -5887,7 +5887,7 @@
},
{
"type": "reference",
- "id": 85,
+ "id": 86,
"name": "CookieOptions"
}
]
@@ -6028,7 +6028,7 @@
],
"type": {
"type": "reference",
- "id": 85,
+ "id": 86,
"name": "CookieOptions"
}
},
@@ -6175,7 +6175,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 144,
+ "line": 160,
"character": 31
}
]
@@ -6249,7 +6249,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 175,
+ "line": 192,
"character": 16
}
],
@@ -6266,6 +6266,36 @@
}
]
}
+ },
+ {
+ "id": 238,
+ "name": "scopes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 193,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
}
],
"groups": [
@@ -6273,14 +6303,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 237
+ 237,
+ 238
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 174,
+ "line": 191,
"character": 12
}
]
@@ -6297,13 +6328,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 172,
+ "line": 189,
"character": 19
}
]
},
{
- "id": 238,
+ "id": 239,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -6312,7 +6343,7 @@
},
"signatures": [
{
- "id": 239,
+ "id": 240,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -6324,7 +6355,7 @@
},
"parameters": [
{
- "id": 240,
+ "id": 241,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -6346,7 +6377,7 @@
{
"type": "reflection",
"declaration": {
- "id": 241,
+ "id": 242,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6355,7 +6386,7 @@
},
"children": [
{
- "id": 243,
+ "id": 244,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6365,7 +6396,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 212,
"character": 38
}
],
@@ -6374,7 +6405,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -6385,7 +6416,7 @@
}
},
{
- "id": 244,
+ "id": 245,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6395,7 +6426,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 212,
"character": 58
}
],
@@ -6414,7 +6445,7 @@
}
},
{
- "id": 242,
+ "id": 243,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -6424,7 +6455,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 212,
"character": 19
}
],
@@ -6433,7 +6464,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -6449,16 +6480,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 243,
244,
- 242
+ 245,
+ 243
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 212,
"character": 13
}
]
@@ -6472,13 +6503,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 189,
+ "line": 210,
"character": 15
}
]
},
{
- "id": 263,
+ "id": 264,
"name": "getUserByCookie",
"kind": 2048,
"kindString": "Method",
@@ -6487,7 +6518,7 @@
},
"signatures": [
{
- "id": 264,
+ "id": 265,
"name": "getUserByCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -6499,7 +6530,7 @@
},
"parameters": [
{
- "id": 265,
+ "id": 266,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -6518,7 +6549,7 @@
{
"type": "reflection",
"declaration": {
- "id": 266,
+ "id": 267,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6527,7 +6558,7 @@
},
"children": [
{
- "id": 268,
+ "id": 269,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6537,7 +6568,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 270,
+ "line": 291,
"character": 38
}
],
@@ -6546,7 +6577,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -6557,7 +6588,7 @@
}
},
{
- "id": 269,
+ "id": 270,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6567,7 +6598,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 270,
+ "line": 291,
"character": 58
}
],
@@ -6586,7 +6617,7 @@
}
},
{
- "id": 267,
+ "id": 268,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -6596,7 +6627,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 270,
+ "line": 291,
"character": 19
}
],
@@ -6605,7 +6636,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -6621,16 +6652,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 268,
269,
- 267
+ 270,
+ 268
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 270,
+ "line": 291,
"character": 13
}
]
@@ -6644,7 +6675,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 268,
+ "line": 289,
"character": 23
}
]
@@ -6717,7 +6748,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 109,
+ "line": 117,
"character": 16
}
],
@@ -6748,7 +6779,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 108,
+ "line": 116,
"character": 12
}
]
@@ -6782,7 +6813,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 111,
+ "line": 119,
"character": 19
}
],
@@ -6802,7 +6833,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 111,
+ "line": 119,
"character": 20
}
]
@@ -6826,7 +6857,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 111,
+ "line": 119,
"character": 37
}
],
@@ -6858,7 +6889,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 111,
+ "line": 119,
"character": 13
}
]
@@ -6872,13 +6903,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 106,
+ "line": 114,
"character": 25
}
]
},
{
- "id": 253,
+ "id": 254,
"name": "refreshAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -6887,7 +6918,7 @@
},
"signatures": [
{
- "id": 254,
+ "id": 255,
"name": "refreshAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -6899,7 +6930,7 @@
},
"parameters": [
{
- "id": 255,
+ "id": 256,
"name": "refreshToken",
"kind": 32768,
"kindString": "Parameter",
@@ -6921,7 +6952,7 @@
{
"type": "reflection",
"declaration": {
- "id": 256,
+ "id": 257,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6930,7 +6961,7 @@
},
"children": [
{
- "id": 257,
+ "id": 258,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6940,7 +6971,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 225,
+ "line": 246,
"character": 19
}
],
@@ -6960,7 +6991,7 @@
}
},
{
- "id": 258,
+ "id": 259,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6970,7 +7001,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 225,
+ "line": 246,
"character": 42
}
],
@@ -6994,15 +7025,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 257,
- 258
+ 258,
+ 259
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 225,
+ "line": 246,
"character": 13
}
]
@@ -7016,7 +7047,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 223,
+ "line": 244,
"character": 26
}
]
@@ -7089,7 +7120,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 128,
+ "line": 140,
"character": 16
}
],
@@ -7120,7 +7151,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 127,
+ "line": 139,
"character": 12
}
]
@@ -7154,7 +7185,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 130,
+ "line": 142,
"character": 19
}
],
@@ -7174,7 +7205,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 130,
+ "line": 142,
"character": 20
}
]
@@ -7198,7 +7229,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 130,
+ "line": 142,
"character": 37
}
],
@@ -7230,7 +7261,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 130,
+ "line": 142,
"character": 13
}
]
@@ -7244,7 +7275,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 125,
+ "line": 137,
"character": 29
}
]
@@ -7317,7 +7348,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 90,
+ "line": 94,
"character": 16
}
],
@@ -7348,7 +7379,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 89,
+ "line": 93,
"character": 12
}
]
@@ -7382,7 +7413,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 92,
+ "line": 96,
"character": 19
}
],
@@ -7402,7 +7433,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 92,
+ "line": 96,
"character": 20
}
]
@@ -7426,7 +7457,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 92,
+ "line": 96,
"character": 37
}
],
@@ -7458,7 +7489,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 92,
+ "line": 96,
"character": 13
}
]
@@ -7472,13 +7503,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 87,
+ "line": 91,
"character": 26
}
]
},
{
- "id": 259,
+ "id": 260,
"name": "setAuthCookie",
"kind": 2048,
"kindString": "Method",
@@ -7487,7 +7518,7 @@
},
"signatures": [
{
- "id": 260,
+ "id": 261,
"name": "setAuthCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -7499,7 +7530,7 @@
},
"parameters": [
{
- "id": 261,
+ "id": 262,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -7512,7 +7543,7 @@
}
},
{
- "id": 262,
+ "id": 263,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -7534,7 +7565,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 242,
+ "line": 263,
"character": 15
}
]
@@ -7832,7 +7863,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 154,
+ "line": 170,
"character": 45
}
],
@@ -7863,7 +7894,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 154,
+ "line": 170,
"character": 38
}
]
@@ -7877,7 +7908,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 154,
+ "line": 170,
"character": 15
}
]
@@ -8046,7 +8077,7 @@
},
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -8119,7 +8150,7 @@
]
},
{
- "id": 245,
+ "id": 246,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -8128,7 +8159,7 @@
},
"signatures": [
{
- "id": 246,
+ "id": 247,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -8140,7 +8171,7 @@
},
"parameters": [
{
- "id": 247,
+ "id": 248,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -8156,7 +8187,7 @@
}
},
{
- "id": 248,
+ "id": 249,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -8168,7 +8199,7 @@
},
"type": {
"type": "reference",
- "id": 70,
+ "id": 71,
"name": "UserAttributes"
}
}
@@ -8179,7 +8210,7 @@
{
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 250,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8188,7 +8219,7 @@
},
"children": [
{
- "id": 251,
+ "id": 252,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -8198,7 +8229,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 208,
+ "line": 229,
"character": 38
}
],
@@ -8207,7 +8238,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -8218,7 +8249,7 @@
}
},
{
- "id": 252,
+ "id": 253,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -8228,7 +8259,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 208,
+ "line": 229,
"character": 58
}
],
@@ -8247,7 +8278,7 @@
}
},
{
- "id": 250,
+ "id": 251,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -8257,7 +8288,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 208,
+ "line": 229,
"character": 19
}
],
@@ -8266,7 +8297,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -8282,16 +8313,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 251,
252,
- 250
+ 253,
+ 251
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 208,
+ "line": 229,
"character": 13
}
]
@@ -8305,7 +8336,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 205,
+ "line": 226,
"character": 18
}
]
@@ -8334,17 +8365,17 @@
"children": [
223,
232,
- 238,
- 263,
+ 239,
+ 264,
203,
- 253,
+ 254,
213,
193,
- 259,
+ 260,
183,
227,
173,
- 245
+ 246
]
}
],
@@ -8375,7 +8406,7 @@
]
},
{
- "id": 305,
+ "id": 306,
"name": "\"GoTrueClient\"",
"kind": 1,
"kindString": "Module",
@@ -8385,7 +8416,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
"children": [
{
- "id": 306,
+ "id": 307,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
@@ -8394,7 +8425,7 @@
},
"children": [
{
- "id": 314,
+ "id": 315,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8406,7 +8437,7 @@
},
"signatures": [
{
- "id": 315,
+ "id": 316,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -8418,7 +8449,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 317,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -8428,7 +8459,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 317,
+ "id": 318,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8437,7 +8468,7 @@
},
"children": [
{
- "id": 324,
+ "id": 325,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -8474,7 +8505,7 @@
}
},
{
- "id": 327,
+ "id": 328,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -8491,12 +8522,12 @@
],
"type": {
"type": "reference",
- "id": 85,
+ "id": 86,
"name": "CookieOptions"
}
},
{
- "id": 323,
+ "id": 324,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -8533,7 +8564,7 @@
}
},
{
- "id": 319,
+ "id": 320,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -8561,7 +8592,7 @@
{
"type": "reflection",
"declaration": {
- "id": 320,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8570,7 +8601,7 @@
},
"indexSignature": [
{
- "id": 321,
+ "id": 322,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -8579,7 +8610,7 @@
},
"parameters": [
{
- "id": 322,
+ "id": 323,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8604,7 +8635,7 @@
}
},
{
- "id": 326,
+ "id": 327,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -8628,7 +8659,7 @@
}
},
{
- "id": 325,
+ "id": 326,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -8665,7 +8696,7 @@
}
},
{
- "id": 318,
+ "id": 319,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -8703,13 +8734,13 @@
"title": "Variables",
"kind": 32,
"children": [
+ 325,
+ 328,
324,
+ 320,
327,
- 323,
- 319,
326,
- 325,
- 318
+ 319
]
}
],
@@ -8726,7 +8757,7 @@
],
"type": {
"type": "reference",
- "id": 306,
+ "id": 307,
"name": "GoTrueClient"
}
}
@@ -8740,7 +8771,7 @@
]
},
{
- "id": 307,
+ "id": 308,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -8764,7 +8795,7 @@
}
},
{
- "id": 310,
+ "id": 311,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -8785,7 +8816,7 @@
}
},
{
- "id": 309,
+ "id": 310,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -8819,7 +8850,7 @@
}
},
{
- "id": 308,
+ "id": 309,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -8842,7 +8873,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -8853,7 +8884,7 @@
}
},
{
- "id": 312,
+ "id": 313,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -8874,7 +8905,7 @@
}
},
{
- "id": 311,
+ "id": 312,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -8895,7 +8926,7 @@
}
},
{
- "id": 313,
+ "id": 314,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -8919,7 +8950,7 @@
},
{
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "Subscription"
}
],
@@ -8928,7 +8959,7 @@
"defaultValue": "new Map()"
},
{
- "id": 444,
+ "id": 447,
"name": "_callRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -8938,7 +8969,7 @@
},
"signatures": [
{
- "id": 445,
+ "id": 448,
"name": "_callRefreshToken",
"kind": 4096,
"kindString": "Call signature",
@@ -8947,7 +8978,7 @@
},
"parameters": [
{
- "id": 446,
+ "id": 449,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -8979,7 +9010,7 @@
{
"type": "reflection",
"declaration": {
- "id": 447,
+ "id": 450,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8988,7 +9019,7 @@
},
"children": [
{
- "id": 448,
+ "id": 451,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -8998,7 +9029,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 468,
+ "line": 477,
"character": 19
}
],
@@ -9009,7 +9040,7 @@
}
},
{
- "id": 449,
+ "id": 452,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9019,7 +9050,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 468,
+ "line": 477,
"character": 26
}
],
@@ -9035,8 +9066,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 448,
- 449
+ 451,
+ 452
]
}
]
@@ -9045,7 +9076,7 @@
{
"type": "reflection",
"declaration": {
- "id": 450,
+ "id": 453,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9054,7 +9085,7 @@
},
"children": [
{
- "id": 451,
+ "id": 454,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9064,7 +9095,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 470,
+ "line": 479,
"character": 19
}
],
@@ -9075,7 +9106,7 @@
"defaultValue": "null"
},
{
- "id": 452,
+ "id": 455,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9085,7 +9116,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 470,
+ "line": 479,
"character": 32
}
],
@@ -9100,8 +9131,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 451,
- 452
+ 454,
+ 455
]
}
]
@@ -9117,13 +9148,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 445,
+ "line": 454,
"character": 33
}
]
},
{
- "id": 398,
+ "id": 400,
"name": "_handleEmailSignIn",
"kind": 2048,
"kindString": "Method",
@@ -9133,7 +9164,7 @@
},
"signatures": [
{
- "id": 399,
+ "id": 401,
"name": "_handleEmailSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -9142,7 +9173,7 @@
},
"parameters": [
{
- "id": 400,
+ "id": 402,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -9155,7 +9186,7 @@
}
},
{
- "id": 401,
+ "id": 403,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -9168,7 +9199,7 @@
}
},
{
- "id": 402,
+ "id": 404,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9178,7 +9209,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 403,
+ "id": 405,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9187,7 +9218,7 @@
},
"children": [
{
- "id": 404,
+ "id": 406,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -9198,7 +9229,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 340,
+ "line": 345,
"character": 16
}
],
@@ -9222,14 +9253,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 404
+ 406
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 339,
+ "line": 344,
"character": 12
}
]
@@ -9247,7 +9278,7 @@
{
"type": "reflection",
"declaration": {
- "id": 405,
+ "id": 407,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9256,7 +9287,7 @@
},
"children": [
{
- "id": 406,
+ "id": 408,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9266,7 +9297,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 354,
+ "line": 359,
"character": 19
}
],
@@ -9277,7 +9308,7 @@
}
},
{
- "id": 409,
+ "id": 411,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9287,7 +9318,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 354,
+ "line": 359,
"character": 58
}
],
@@ -9298,7 +9329,7 @@
"defaultValue": "null"
},
{
- "id": 408,
+ "id": 410,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -9308,7 +9339,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 354,
+ "line": 359,
"character": 45
}
],
@@ -9320,7 +9351,7 @@
"defaultValue": "data"
},
{
- "id": 407,
+ "id": 409,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9330,13 +9361,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 354,
+ "line": 359,
"character": 25
}
],
"type": {
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
"defaultValue": "data.user"
@@ -9347,10 +9378,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 406,
- 409,
408,
- 407
+ 411,
+ 410,
+ 409
]
}
]
@@ -9359,7 +9390,7 @@
{
"type": "reflection",
"declaration": {
- "id": 410,
+ "id": 412,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9368,7 +9399,7 @@
},
"children": [
{
- "id": 411,
+ "id": 413,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9378,7 +9409,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 361,
"character": 19
}
],
@@ -9389,7 +9420,7 @@
"defaultValue": "null"
},
{
- "id": 414,
+ "id": 416,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9399,7 +9430,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 361,
"character": 59
}
],
@@ -9409,7 +9440,7 @@
}
},
{
- "id": 413,
+ "id": 415,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -9419,7 +9450,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 361,
"character": 46
}
],
@@ -9430,7 +9461,7 @@
"defaultValue": "null"
},
{
- "id": 412,
+ "id": 414,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9440,7 +9471,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 361,
"character": 31
}
],
@@ -9456,10 +9487,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 411,
- 414,
413,
- 412
+ 416,
+ 415,
+ 414
]
}
]
@@ -9475,13 +9506,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 336,
+ "line": 341,
"character": 34
}
]
},
{
- "id": 415,
+ "id": 417,
"name": "_handleProviderSignIn",
"kind": 2048,
"kindString": "Method",
@@ -9491,7 +9522,7 @@
},
"signatures": [
{
- "id": 416,
+ "id": 418,
"name": "_handleProviderSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -9500,7 +9531,7 @@
},
"parameters": [
{
- "id": 417,
+ "id": 419,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -9514,7 +9545,7 @@
}
},
{
- "id": 418,
+ "id": 420,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9524,7 +9555,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 419,
+ "id": 421,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9533,7 +9564,7 @@
},
"children": [
{
- "id": 420,
+ "id": 422,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -9544,7 +9575,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 363,
+ "line": 368,
"character": 16
}
],
@@ -9561,6 +9592,36 @@
}
]
}
+ },
+ {
+ "id": 423,
+ "name": "scopes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 369,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
}
],
"groups": [
@@ -9568,14 +9629,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 420
+ 422,
+ 423
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 362,
+ "line": 367,
"character": 12
}
]
@@ -9590,7 +9652,7 @@
{
"type": "reflection",
"declaration": {
- "id": 421,
+ "id": 424,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9599,7 +9661,7 @@
},
"children": [
{
- "id": 424,
+ "id": 427,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9609,7 +9671,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 34
}
],
@@ -9620,7 +9682,7 @@
"defaultValue": "null"
},
{
- "id": 427,
+ "id": 430,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9630,7 +9692,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 74
}
],
@@ -9641,7 +9703,7 @@
"defaultValue": "null"
},
{
- "id": 422,
+ "id": 425,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -9651,7 +9713,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 23
}
],
@@ -9662,7 +9724,7 @@
}
},
{
- "id": 425,
+ "id": 428,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -9672,7 +9734,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 49
}
],
@@ -9683,7 +9745,7 @@
"defaultValue": "null"
},
{
- "id": 423,
+ "id": 426,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -9693,7 +9755,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 28
}
],
@@ -9703,7 +9765,7 @@
}
},
{
- "id": 426,
+ "id": 429,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9713,7 +9775,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 61
}
],
@@ -9729,12 +9791,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 424,
427,
- 422,
+ 430,
425,
- 423,
- 426
+ 428,
+ 426,
+ 429
]
}
]
@@ -9743,7 +9805,7 @@
{
"type": "reflection",
"declaration": {
- "id": 428,
+ "id": 431,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9752,7 +9814,7 @@
},
"children": [
{
- "id": 429,
+ "id": 432,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9762,7 +9824,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 386,
"character": 19
}
],
@@ -9773,7 +9835,7 @@
"defaultValue": "null"
},
{
- "id": 432,
+ "id": 435,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9783,7 +9845,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 386,
"character": 59
}
],
@@ -9793,7 +9855,7 @@
}
},
{
- "id": 431,
+ "id": 434,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -9803,7 +9865,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 386,
"character": 46
}
],
@@ -9814,7 +9876,7 @@
"defaultValue": "null"
},
{
- "id": 430,
+ "id": 433,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9824,7 +9886,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 386,
"character": 31
}
],
@@ -9840,10 +9902,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 429,
432,
- 431,
- 430
+ 435,
+ 434,
+ 433
]
}
]
@@ -9856,13 +9918,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 360,
+ "line": 365,
"character": 31
}
]
},
{
- "id": 453,
+ "id": 456,
"name": "_notifyAllSubscribers",
"kind": 2048,
"kindString": "Method",
@@ -9872,7 +9934,7 @@
},
"signatures": [
{
- "id": 454,
+ "id": 457,
"name": "_notifyAllSubscribers",
"kind": 4096,
"kindString": "Call signature",
@@ -9881,7 +9943,7 @@
},
"parameters": [
{
- "id": 455,
+ "id": 458,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -9904,13 +9966,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 474,
+ "line": 483,
"character": 31
}
]
},
{
- "id": 436,
+ "id": 439,
"name": "_persistSession",
"kind": 2048,
"kindString": "Method",
@@ -9920,7 +9982,7 @@
},
"signatures": [
{
- "id": 437,
+ "id": 440,
"name": "_persistSession",
"kind": 4096,
"kindString": "Call signature",
@@ -9929,7 +9991,7 @@
},
"parameters": [
{
- "id": 438,
+ "id": 441,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -9943,7 +10005,7 @@
}
},
{
- "id": 439,
+ "id": 442,
"name": "secondsToExpiry",
"kind": 32768,
"kindString": "Parameter",
@@ -9965,13 +10027,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 395,
+ "line": 404,
"character": 25
}
]
},
{
- "id": 442,
+ "id": 445,
"name": "_recoverSession",
"kind": 2048,
"kindString": "Method",
@@ -9981,7 +10043,7 @@
},
"signatures": [
{
- "id": 443,
+ "id": 446,
"name": "_recoverSession",
"kind": 4096,
"kindString": "Call signature",
@@ -10012,13 +10074,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 408,
+ "line": 417,
"character": 31
}
]
},
{
- "id": 440,
+ "id": 443,
"name": "_removeSession",
"kind": 2048,
"kindString": "Method",
@@ -10028,7 +10090,7 @@
},
"signatures": [
{
- "id": 441,
+ "id": 444,
"name": "_removeSession",
"kind": 4096,
"kindString": "Call signature",
@@ -10050,13 +10112,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 402,
+ "line": 411,
"character": 30
}
]
},
{
- "id": 433,
+ "id": 436,
"name": "_saveSession",
"kind": 2048,
"kindString": "Method",
@@ -10066,7 +10128,7 @@
},
"signatures": [
{
- "id": 434,
+ "id": 437,
"name": "_saveSession",
"kind": 4096,
"kindString": "Call signature",
@@ -10075,7 +10137,7 @@
},
"parameters": [
{
- "id": 435,
+ "id": 438,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -10098,13 +10160,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 381,
+ "line": 390,
"character": 22
}
]
},
{
- "id": 376,
+ "id": 378,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -10113,7 +10175,7 @@
},
"signatures": [
{
- "id": 377,
+ "id": 379,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -10125,7 +10187,7 @@
},
"parameters": [
{
- "id": 378,
+ "id": 380,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10143,7 +10205,7 @@
{
"type": "reflection",
"declaration": {
- "id": 379,
+ "id": 381,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10152,7 +10214,7 @@
},
"children": [
{
- "id": 380,
+ "id": 382,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -10166,7 +10228,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 253,
+ "line": 256,
"character": 16
}
],
@@ -10194,7 +10256,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 380
+ 382
]
}
]
@@ -10210,7 +10272,7 @@
{
"type": "reflection",
"declaration": {
- "id": 381,
+ "id": 383,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10219,7 +10281,7 @@
},
"children": [
{
- "id": 382,
+ "id": 384,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10229,7 +10291,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 254,
+ "line": 257,
"character": 20
}
],
@@ -10249,7 +10311,7 @@
}
},
{
- "id": 383,
+ "id": 385,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10259,7 +10321,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 254,
+ "line": 257,
"character": 43
}
],
@@ -10283,15 +10345,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 382,
- 383
+ 384,
+ 385
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 254,
+ "line": 257,
"character": 14
}
]
@@ -10305,13 +10367,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 252,
+ "line": 255,
"character": 25
}
]
},
{
- "id": 388,
+ "id": 390,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -10320,7 +10382,7 @@
},
"signatures": [
{
- "id": 389,
+ "id": 391,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -10333,7 +10395,7 @@
},
"parameters": [
{
- "id": 390,
+ "id": 392,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -10343,7 +10405,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 391,
+ "id": 393,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10352,7 +10414,7 @@
},
"signatures": [
{
- "id": 392,
+ "id": 394,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -10361,7 +10423,7 @@
},
"parameters": [
{
- "id": 393,
+ "id": 395,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -10375,7 +10437,7 @@
}
},
{
- "id": 394,
+ "id": 396,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -10407,7 +10469,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 317,
+ "line": 322,
"character": 13
}
]
@@ -10418,7 +10480,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 395,
+ "id": 397,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10427,7 +10489,7 @@
},
"children": [
{
- "id": 396,
+ "id": 398,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10437,7 +10499,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 318,
+ "line": 323,
"character": 11
}
],
@@ -10446,7 +10508,7 @@
"types": [
{
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "Subscription"
},
{
@@ -10457,7 +10519,7 @@
}
},
{
- "id": 397,
+ "id": 399,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10467,7 +10529,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 318,
+ "line": 323,
"character": 39
}
],
@@ -10491,15 +10553,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 396,
- 397
+ 398,
+ 399
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 318,
+ "line": 323,
"character": 4
}
]
@@ -10510,13 +10572,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 316,
+ "line": 321,
"character": 19
}
]
},
{
- "id": 363,
+ "id": 365,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -10525,7 +10587,7 @@
},
"signatures": [
{
- "id": 364,
+ "id": 366,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -10541,7 +10603,7 @@
{
"type": "reflection",
"declaration": {
- "id": 365,
+ "id": 367,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10550,7 +10612,7 @@
},
"children": [
{
- "id": 366,
+ "id": 368,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10560,7 +10622,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 205,
+ "line": 208,
"character": 8
}
],
@@ -10580,7 +10642,7 @@
}
},
{
- "id": 368,
+ "id": 370,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10590,7 +10652,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 207,
+ "line": 210,
"character": 9
}
],
@@ -10609,7 +10671,7 @@
}
},
{
- "id": 367,
+ "id": 369,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -10619,7 +10681,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 206,
+ "line": 209,
"character": 8
}
],
@@ -10628,7 +10690,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -10644,16 +10706,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 366,
368,
- 367
+ 370,
+ 369
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 204,
+ "line": 207,
"character": 34
}
]
@@ -10667,13 +10729,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 204,
+ "line": 207,
"character": 22
}
]
},
{
- "id": 361,
+ "id": 363,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -10682,7 +10744,7 @@
},
"signatures": [
{
- "id": 362,
+ "id": 364,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -10711,13 +10773,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 197,
+ "line": 200,
"character": 9
}
]
},
{
- "id": 342,
+ "id": 343,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -10726,7 +10788,7 @@
},
"signatures": [
{
- "id": 343,
+ "id": 344,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -10738,7 +10800,7 @@
},
"parameters": [
{
- "id": 344,
+ "id": 345,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -10749,7 +10811,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 345,
+ "id": 346,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10758,7 +10820,7 @@
},
"children": [
{
- "id": 346,
+ "id": 347,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -10771,7 +10833,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 11
}
],
@@ -10790,7 +10852,7 @@
}
},
{
- "id": 347,
+ "id": 348,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -10803,7 +10865,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 21
}
],
@@ -10822,7 +10884,7 @@
}
},
{
- "id": 348,
+ "id": 349,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -10835,7 +10897,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 31
}
],
@@ -10879,16 +10941,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 346,
347,
- 348
+ 348,
+ 349
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 147,
+ "line": 148,
"character": 15
}
]
@@ -10896,7 +10958,7 @@
}
},
{
- "id": 349,
+ "id": 350,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10906,7 +10968,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 350,
+ "id": 351,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10915,7 +10977,7 @@
},
"children": [
{
- "id": 351,
+ "id": 352,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -10926,7 +10988,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 150,
+ "line": 151,
"character": 16
}
],
@@ -10943,21 +11005,52 @@
}
]
}
- }
- ],
- "groups": [
+ },
{
- "title": "Variables",
+ "id": 353,
+ "name": "scopes",
"kind": 32,
- "children": [
- 351
- ]
- }
- ],
- "sources": [
- {
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 152,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 352,
+ 353
+ ]
+ }
+ ],
+ "sources": [
+ {
"fileName": "GoTrueClient.ts",
- "line": 149,
+ "line": 150,
"character": 12
}
]
@@ -10972,7 +11065,7 @@
{
"type": "reflection",
"declaration": {
- "id": 352,
+ "id": 354,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10981,7 +11074,7 @@
},
"children": [
{
- "id": 358,
+ "id": 360,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10991,7 +11084,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 160,
"character": 8
}
],
@@ -11011,7 +11104,7 @@
}
},
{
- "id": 357,
+ "id": 359,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11021,7 +11114,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 157,
+ "line": 159,
"character": 9
}
],
@@ -11040,7 +11133,7 @@
}
},
{
- "id": 355,
+ "id": 357,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -11051,7 +11144,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 155,
+ "line": 157,
"character": 12
}
],
@@ -11062,7 +11155,7 @@
}
},
{
- "id": 353,
+ "id": 355,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -11072,7 +11165,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 153,
+ "line": 155,
"character": 11
}
],
@@ -11092,7 +11185,7 @@
}
},
{
- "id": 356,
+ "id": 358,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -11103,7 +11196,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 156,
+ "line": 158,
"character": 7
}
],
@@ -11122,7 +11215,7 @@
}
},
{
- "id": 354,
+ "id": 356,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -11132,7 +11225,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 154,
+ "line": 156,
"character": 8
}
],
@@ -11141,7 +11234,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -11157,19 +11250,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 358,
+ 360,
+ 359,
357,
355,
- 353,
- 356,
- 354
+ 358,
+ 356
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 152,
+ "line": 154,
"character": 13
}
]
@@ -11183,13 +11276,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 147,
+ "line": 148,
"character": 14
}
]
},
{
- "id": 384,
+ "id": 386,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -11198,7 +11291,7 @@
},
"signatures": [
{
- "id": 385,
+ "id": 387,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -11215,7 +11308,7 @@
{
"type": "reflection",
"declaration": {
- "id": 386,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11224,7 +11317,7 @@
},
"children": [
{
- "id": 387,
+ "id": 389,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11234,7 +11327,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 302,
+ "line": 307,
"character": 34
}
],
@@ -11258,14 +11351,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 387
+ 389
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 302,
+ "line": 307,
"character": 27
}
]
@@ -11279,13 +11372,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 302,
+ "line": 307,
"character": 15
}
]
},
{
- "id": 328,
+ "id": 329,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -11294,7 +11387,7 @@
},
"signatures": [
{
- "id": 329,
+ "id": 330,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -11306,7 +11399,7 @@
},
"parameters": [
{
- "id": 330,
+ "id": 331,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -11317,7 +11410,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 331,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11326,7 +11419,7 @@
},
"children": [
{
- "id": 332,
+ "id": 333,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -11358,7 +11451,7 @@
}
},
{
- "id": 333,
+ "id": 334,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -11395,8 +11488,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 332,
- 333
+ 333,
+ 334
]
}
],
@@ -11411,7 +11504,7 @@
}
},
{
- "id": 334,
+ "id": 335,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -11421,7 +11514,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 335,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11430,7 +11523,7 @@
},
"children": [
{
- "id": 336,
+ "id": 337,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -11465,7 +11558,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 336
+ 337
]
}
],
@@ -11487,7 +11580,7 @@
{
"type": "reflection",
"declaration": {
- "id": 337,
+ "id": 338,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11496,7 +11589,7 @@
},
"children": [
{
- "id": 341,
+ "id": 342,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -11520,7 +11613,7 @@
},
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -11531,7 +11624,7 @@
}
},
{
- "id": 340,
+ "id": 341,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11560,7 +11653,7 @@
}
},
{
- "id": 339,
+ "id": 340,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -11590,7 +11683,7 @@
}
},
{
- "id": 338,
+ "id": 339,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -11609,7 +11702,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -11625,10 +11718,10 @@
"title": "Variables",
"kind": 32,
"children": [
+ 342,
341,
340,
- 339,
- 338
+ 339
]
}
],
@@ -11655,7 +11748,7 @@
]
},
{
- "id": 369,
+ "id": 371,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -11664,7 +11757,7 @@
},
"signatures": [
{
- "id": 370,
+ "id": 372,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -11676,7 +11769,7 @@
},
"parameters": [
{
- "id": 371,
+ "id": 373,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -11685,7 +11778,7 @@
},
"type": {
"type": "reference",
- "id": 70,
+ "id": 71,
"name": "UserAttributes"
}
}
@@ -11696,7 +11789,7 @@
{
"type": "reflection",
"declaration": {
- "id": 372,
+ "id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11705,7 +11798,7 @@
},
"children": [
{
- "id": 373,
+ "id": 375,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -11715,7 +11808,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 232,
"character": 19
}
],
@@ -11724,7 +11817,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -11735,7 +11828,7 @@
}
},
{
- "id": 375,
+ "id": 377,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11745,7 +11838,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 232,
"character": 58
}
],
@@ -11764,7 +11857,7 @@
}
},
{
- "id": 374,
+ "id": 376,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -11774,7 +11867,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 232,
"character": 38
}
],
@@ -11783,7 +11876,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -11799,16 +11892,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 373,
375,
- 374
+ 377,
+ 376
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 232,
"character": 13
}
]
@@ -11822,13 +11915,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 227,
+ "line": 230,
"character": 14
}
]
},
{
- "id": 359,
+ "id": 361,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -11837,7 +11930,7 @@
},
"signatures": [
{
- "id": 360,
+ "id": 362,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -11853,7 +11946,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -11867,7 +11960,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 190,
+ "line": 193,
"character": 6
}
]
@@ -11878,43 +11971,43 @@
"title": "Constructors",
"kind": 512,
"children": [
- 314
+ 315
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 307,
+ 308,
+ 311,
310,
309,
- 308,
+ 313,
312,
- 311,
- 313
+ 314
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 444,
- 398,
- 415,
- 453,
+ 447,
+ 400,
+ 417,
+ 456,
+ 439,
+ 445,
+ 443,
436,
- 442,
- 440,
- 433,
- 376,
- 388,
+ 378,
+ 390,
+ 365,
363,
- 361,
- 342,
- 384,
- 328,
- 369,
- 359
+ 343,
+ 386,
+ 329,
+ 371,
+ 361
]
}
],
@@ -11927,7 +12020,7 @@
]
},
{
- "id": 456,
+ "id": 459,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -11936,7 +12029,7 @@
},
"children": [
{
- "id": 458,
+ "id": 461,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -11955,7 +12048,7 @@
"defaultValue": "true"
},
{
- "id": 461,
+ "id": 464,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -11974,7 +12067,7 @@
"defaultValue": "true"
},
{
- "id": 462,
+ "id": 465,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -11989,7 +12082,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 463,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11999,7 +12092,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 460,
+ "id": 463,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -12018,7 +12111,7 @@
"defaultValue": "globalThis.localStorage"
},
{
- "id": 459,
+ "id": 462,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -12037,7 +12130,7 @@
"defaultValue": "true"
},
{
- "id": 457,
+ "id": 460,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -12061,12 +12154,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 458,
461,
+ 464,
+ 465,
+ 463,
462,
- 460,
- 459,
- 457
+ 460
]
}
],
@@ -12088,14 +12181,14 @@
"title": "Classes",
"kind": 128,
"children": [
- 306
+ 307
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 456
+ 459
]
}
],
@@ -12108,7 +12201,7 @@
]
},
{
- "id": 464,
+ "id": 467,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -12118,7 +12211,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
"children": [
{
- "id": 466,
+ "id": 469,
"name": "AuthChangeEvent",
"kind": 16777216,
"kindString": "Reference",
@@ -12128,17 +12221,17 @@
"target": 97
},
{
- "id": 471,
+ "id": 474,
"name": "CookieOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 85
+ "target": 86
},
{
- "id": 465,
+ "id": 468,
"name": "Provider",
"kind": 16777216,
"kindString": "Reference",
@@ -12148,7 +12241,7 @@
"target": 96
},
{
- "id": 467,
+ "id": 470,
"name": "Session",
"kind": 16777216,
"kindString": "Reference",
@@ -12158,44 +12251,44 @@
"target": 45
},
{
- "id": 470,
+ "id": 473,
"name": "Subscription",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 75
+ "target": 76
},
{
- "id": 468,
+ "id": 471,
"name": "User",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 51
+ "target": 52
},
{
- "id": 469,
+ "id": 472,
"name": "UserAttributes",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 70
+ "target": 71
},
{
- "id": 472,
+ "id": 475,
"name": "UserCredentials",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 91
+ "target": 92
}
],
"groups": [
@@ -12203,14 +12296,14 @@
"title": "References",
"kind": 16777216,
"children": [
- 466,
- 471,
- 465,
- 467,
- 470,
- 468,
469,
- 472
+ 474,
+ 468,
+ 470,
+ 473,
+ 471,
+ 472,
+ 475
]
}
],
@@ -14035,7 +14128,7 @@
]
},
{
- "id": 270,
+ "id": 271,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -14045,7 +14138,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
"children": [
{
- "id": 271,
+ "id": 272,
"name": "LocalStorage",
"kind": 128,
"kindString": "Class",
@@ -14054,7 +14147,7 @@
},
"indexSignature": [
{
- "id": 273,
+ "id": 274,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -14063,7 +14156,7 @@
},
"parameters": [
{
- "id": 274,
+ "id": 275,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -14084,7 +14177,7 @@
],
"children": [
{
- "id": 276,
+ "id": 277,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -14093,7 +14186,7 @@
},
"signatures": [
{
- "id": 277,
+ "id": 278,
"name": "new LocalStorage",
"kind": 16384,
"kindString": "Constructor signature",
@@ -14102,7 +14195,7 @@
},
"parameters": [
{
- "id": 278,
+ "id": 279,
"name": "localStorage",
"kind": 32768,
"kindString": "Parameter",
@@ -14117,7 +14210,7 @@
],
"type": {
"type": "reference",
- "id": 271,
+ "id": 272,
"name": "LocalStorage"
}
}
@@ -14131,7 +14224,7 @@
]
},
{
- "id": 275,
+ "id": 276,
"name": "length",
"kind": 1024,
"kindString": "Property",
@@ -14151,7 +14244,7 @@
}
},
{
- "id": 272,
+ "id": 273,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -14171,7 +14264,7 @@
}
},
{
- "id": 279,
+ "id": 280,
"name": "clear",
"kind": 2048,
"kindString": "Method",
@@ -14180,7 +14273,7 @@
},
"signatures": [
{
- "id": 280,
+ "id": 281,
"name": "clear",
"kind": 4096,
"kindString": "Call signature",
@@ -14202,7 +14295,7 @@
]
},
{
- "id": 288,
+ "id": 289,
"name": "getItem",
"kind": 2048,
"kindString": "Method",
@@ -14211,7 +14304,7 @@
},
"signatures": [
{
- "id": 289,
+ "id": 290,
"name": "getItem",
"kind": 4096,
"kindString": "Call signature",
@@ -14220,7 +14313,7 @@
},
"parameters": [
{
- "id": 290,
+ "id": 291,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -14257,7 +14350,7 @@
]
},
{
- "id": 281,
+ "id": 282,
"name": "key",
"kind": 2048,
"kindString": "Method",
@@ -14266,7 +14359,7 @@
},
"signatures": [
{
- "id": 282,
+ "id": 283,
"name": "key",
"kind": 4096,
"kindString": "Call signature",
@@ -14275,7 +14368,7 @@
},
"parameters": [
{
- "id": 283,
+ "id": 284,
"name": "index",
"kind": 32768,
"kindString": "Parameter",
@@ -14312,7 +14405,7 @@
]
},
{
- "id": 291,
+ "id": 292,
"name": "removeItem",
"kind": 2048,
"kindString": "Method",
@@ -14321,7 +14414,7 @@
},
"signatures": [
{
- "id": 292,
+ "id": 293,
"name": "removeItem",
"kind": 4096,
"kindString": "Call signature",
@@ -14330,7 +14423,7 @@
},
"parameters": [
{
- "id": 293,
+ "id": 294,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -14358,7 +14451,7 @@
]
},
{
- "id": 284,
+ "id": 285,
"name": "setItem",
"kind": 2048,
"kindString": "Method",
@@ -14367,7 +14460,7 @@
},
"signatures": [
{
- "id": 285,
+ "id": 286,
"name": "setItem",
"kind": 4096,
"kindString": "Call signature",
@@ -14376,7 +14469,7 @@
},
"parameters": [
{
- "id": 286,
+ "id": 287,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -14389,7 +14482,7 @@
}
},
{
- "id": 287,
+ "id": 288,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -14422,26 +14515,26 @@
"title": "Constructors",
"kind": 512,
"children": [
- 276
+ 277
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 275,
- 272
+ 276,
+ 273
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 279,
- 288,
- 281,
- 291,
- 284
+ 280,
+ 289,
+ 282,
+ 292,
+ 285
]
}
],
@@ -14460,7 +14553,7 @@
]
},
{
- "id": 298,
+ "id": 299,
"name": "getParameterByName",
"kind": 64,
"kindString": "Function",
@@ -14469,7 +14562,7 @@
},
"signatures": [
{
- "id": 299,
+ "id": 300,
"name": "getParameterByName",
"kind": 4096,
"kindString": "Call signature",
@@ -14478,7 +14571,7 @@
},
"parameters": [
{
- "id": 300,
+ "id": 301,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -14491,7 +14584,7 @@
}
},
{
- "id": 301,
+ "id": 302,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -14538,7 +14631,7 @@
]
},
{
- "id": 296,
+ "id": 297,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -14548,7 +14641,7 @@
},
"signatures": [
{
- "id": 297,
+ "id": 298,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -14570,7 +14663,7 @@
]
},
{
- "id": 294,
+ "id": 295,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -14579,7 +14672,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 296,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -14606,16 +14699,16 @@
"title": "Classes",
"kind": 128,
"children": [
- 271
+ 272
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 298,
- 296,
- 294
+ 299,
+ 297,
+ 295
]
}
],
@@ -14628,7 +14721,7 @@
]
},
{
- "id": 302,
+ "id": 303,
"name": "\"lib/polyfills\"",
"kind": 1,
"kindString": "Module",
@@ -14638,7 +14731,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts",
"children": [
{
- "id": 303,
+ "id": 304,
"name": "polyfillGlobalThis",
"kind": 64,
"kindString": "Function",
@@ -14647,7 +14740,7 @@
},
"signatures": [
{
- "id": 304,
+ "id": 305,
"name": "polyfillGlobalThis",
"kind": 4096,
"kindString": "Call signature",
@@ -14677,7 +14770,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 303
+ 304
]
}
],
@@ -14700,7 +14793,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts",
"children": [
{
- "id": 85,
+ "id": 86,
"name": "CookieOptions",
"kind": 256,
"kindString": "Interface",
@@ -14709,7 +14802,7 @@
},
"children": [
{
- "id": 88,
+ "id": 89,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -14720,7 +14813,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 72,
+ "line": 73,
"character": 8
}
],
@@ -14739,7 +14832,7 @@
}
},
{
- "id": 87,
+ "id": 88,
"name": "lifetime",
"kind": 1024,
"kindString": "Property",
@@ -14750,7 +14843,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 70,
+ "line": 71,
"character": 10
}
],
@@ -14769,7 +14862,7 @@
}
},
{
- "id": 86,
+ "id": 87,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -14780,7 +14873,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 68,
+ "line": 69,
"character": 6
}
],
@@ -14799,7 +14892,7 @@
}
},
{
- "id": 89,
+ "id": 90,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -14810,7 +14903,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 73,
+ "line": 74,
"character": 6
}
],
@@ -14829,7 +14922,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "sameSite",
"kind": 1024,
"kindString": "Property",
@@ -14840,7 +14933,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 75,
+ "line": 76,
"character": 10
}
],
@@ -14864,18 +14957,18 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 89,
88,
87,
- 86,
- 89,
- 90
+ 90,
+ 91
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 66,
+ "line": 67,
"character": 30
}
]
@@ -14890,7 +14983,7 @@
},
"children": [
{
- "id": 46,
+ "id": 47,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -14900,7 +14993,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 6,
+ "line": 7,
"character": 14
}
],
@@ -14910,7 +15003,7 @@
}
},
{
- "id": 47,
+ "id": 48,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -14920,7 +15013,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 7,
+ "line": 8,
"character": 12
}
],
@@ -14930,7 +15023,37 @@
}
},
{
- "id": 48,
+ "id": 46,
+ "name": "provider_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 6,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 49,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -14940,7 +15063,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 8,
+ "line": 9,
"character": 15
}
],
@@ -14950,7 +15073,7 @@
}
},
{
- "id": 49,
+ "id": 50,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -14960,7 +15083,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 9,
+ "line": 10,
"character": 12
}
],
@@ -14970,7 +15093,7 @@
}
},
{
- "id": 50,
+ "id": 51,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -14980,13 +15103,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 10,
+ "line": 11,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
}
}
@@ -14996,11 +15119,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 46,
47,
48,
+ 46,
49,
- 50
+ 50,
+ 51
]
}
],
@@ -15013,7 +15137,7 @@
]
},
{
- "id": 75,
+ "id": 76,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
@@ -15022,7 +15146,7 @@
},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -15035,14 +15159,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 59,
+ "line": 60,
"character": 10
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 78,
+ "id": 79,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15051,7 +15175,7 @@
},
"signatures": [
{
- "id": 79,
+ "id": 80,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -15060,7 +15184,7 @@
},
"parameters": [
{
- "id": 80,
+ "id": 81,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -15074,7 +15198,7 @@
}
},
{
- "id": 81,
+ "id": 82,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -15106,7 +15230,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 59,
+ "line": 60,
"character": 11
}
]
@@ -15114,7 +15238,7 @@
}
},
{
- "id": 76,
+ "id": 77,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -15127,7 +15251,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 55,
+ "line": 56,
"character": 4
}
],
@@ -15137,7 +15261,7 @@
}
},
{
- "id": 82,
+ "id": 83,
"name": "unsubscribe",
"kind": 1024,
"kindString": "Property",
@@ -15150,14 +15274,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 63,
+ "line": 64,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 83,
+ "id": 84,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15166,7 +15290,7 @@
},
"signatures": [
{
- "id": 84,
+ "id": 85,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -15182,7 +15306,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 63,
+ "line": 64,
"character": 14
}
]
@@ -15195,22 +15319,22 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 78,
77,
- 76,
- 82
+ 83
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 52,
"character": 29
}
]
},
{
- "id": 51,
+ "id": 52,
"name": "User",
"kind": 256,
"kindString": "Interface",
@@ -15219,7 +15343,7 @@
},
"children": [
{
- "id": 53,
+ "id": 54,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -15229,14 +15353,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 14,
+ "line": 15,
"character": 14
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 54,
+ "id": 55,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15245,7 +15369,7 @@
},
"indexSignature": [
{
- "id": 56,
+ "id": 57,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -15254,7 +15378,7 @@
},
"parameters": [
{
- "id": 57,
+ "id": 58,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -15275,7 +15399,7 @@
],
"children": [
{
- "id": 55,
+ "id": 56,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -15286,7 +15410,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 15,
+ "line": 16,
"character": 12
}
],
@@ -15310,14 +15434,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 55
+ 56
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 14,
+ "line": 15,
"character": 15
}
]
@@ -15325,7 +15449,7 @@
}
},
{
- "id": 62,
+ "id": 63,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -15335,7 +15459,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 21,
+ "line": 22,
"character": 5
}
],
@@ -15345,7 +15469,7 @@
}
},
{
- "id": 63,
+ "id": 64,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -15356,7 +15480,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 22,
+ "line": 23,
"character": 22
}
],
@@ -15375,7 +15499,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -15386,7 +15510,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 25,
+ "line": 26,
"character": 14
}
],
@@ -15405,7 +15529,7 @@
}
},
{
- "id": 65,
+ "id": 66,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -15415,7 +15539,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 24,
+ "line": 25,
"character": 12
}
],
@@ -15425,7 +15549,7 @@
}
},
{
- "id": 64,
+ "id": 65,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -15436,7 +15560,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 23,
+ "line": 24,
"character": 7
}
],
@@ -15455,7 +15579,7 @@
}
},
{
- "id": 52,
+ "id": 53,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -15465,7 +15589,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 13,
+ "line": 14,
"character": 4
}
],
@@ -15475,7 +15599,7 @@
}
},
{
- "id": 67,
+ "id": 68,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -15486,7 +15610,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 26,
+ "line": 27,
"character": 17
}
],
@@ -15505,7 +15629,7 @@
}
},
{
- "id": 68,
+ "id": 69,
"name": "role",
"kind": 1024,
"kindString": "Property",
@@ -15516,7 +15640,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 27,
+ "line": 28,
"character": 6
}
],
@@ -15535,7 +15659,7 @@
}
},
{
- "id": 69,
+ "id": 70,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -15546,7 +15670,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 28,
+ "line": 29,
"character": 12
}
],
@@ -15565,7 +15689,7 @@
}
},
{
- "id": 58,
+ "id": 59,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -15575,14 +15699,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 18,
+ "line": 19,
"character": 15
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 59,
+ "id": 60,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15591,7 +15715,7 @@
},
"indexSignature": [
{
- "id": 60,
+ "id": 61,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -15600,7 +15724,7 @@
},
"parameters": [
{
- "id": 61,
+ "id": 62,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -15622,7 +15746,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 18,
+ "line": 19,
"character": 16
}
]
@@ -15635,30 +15759,30 @@
"title": "Properties",
"kind": 1024,
"children": [
- 53,
- 62,
+ 54,
63,
- 66,
- 65,
64,
- 52,
67,
+ 66,
+ 65,
+ 53,
68,
69,
- 58
+ 70,
+ 59
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 12,
+ "line": 13,
"character": 21
}
]
},
{
- "id": 70,
+ "id": 71,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
@@ -15667,7 +15791,7 @@
},
"children": [
{
- "id": 74,
+ "id": 75,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -15681,7 +15805,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 48,
+ "line": 49,
"character": 6
}
],
@@ -15700,7 +15824,7 @@
}
},
{
- "id": 71,
+ "id": 72,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -15714,7 +15838,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 35,
+ "line": 36,
"character": 7
}
],
@@ -15733,7 +15857,7 @@
}
},
{
- "id": 73,
+ "id": 74,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -15747,7 +15871,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 44,
"character": 20
}
],
@@ -15766,7 +15890,7 @@
}
},
{
- "id": 72,
+ "id": 73,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -15780,7 +15904,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 40,
"character": 10
}
],
@@ -15804,23 +15928,23 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 75,
+ 72,
74,
- 71,
- 73,
- 72
+ 73
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 31,
+ "line": 32,
"character": 31
}
]
},
{
- "id": 91,
+ "id": 92,
"name": "UserCredentials",
"kind": 256,
"kindString": "Interface",
@@ -15829,7 +15953,7 @@
},
"children": [
{
- "id": 92,
+ "id": 93,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -15840,7 +15964,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 79,
+ "line": 80,
"character": 7
}
],
@@ -15859,7 +15983,7 @@
}
},
{
- "id": 93,
+ "id": 94,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -15870,7 +15994,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 80,
+ "line": 81,
"character": 10
}
],
@@ -15889,7 +16013,7 @@
}
},
{
- "id": 94,
+ "id": 95,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -15900,7 +16024,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 82,
+ "line": 83,
"character": 10
}
],
@@ -15909,30 +16033,6 @@
"id": 96,
"name": "Provider"
}
- },
- {
- "id": 95,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to redirect the user to after confirmation."
- },
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 84,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "name": "URL"
- }
}
],
"groups": [
@@ -15940,7 +16040,6 @@
"title": "Properties",
"kind": 1024,
"children": [
- 92,
93,
94,
95
@@ -15950,7 +16049,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 78,
+ "line": 79,
"character": 32
}
]
@@ -16043,12 +16142,12 @@
"title": "Interfaces",
"kind": 256,
"children": [
- 85,
+ 86,
45,
- 75,
- 51,
- 70,
- 91
+ 76,
+ 52,
+ 71,
+ 92
]
},
{
@@ -16075,13 +16174,13 @@
"kind": 1,
"children": [
155,
- 305,
- 464,
+ 306,
+ 467,
98,
111,
1,
- 270,
- 302,
+ 271,
+ 303,
44
]
}
@@ -16095,7 +16194,7 @@
"originalName": "",
"children": [
{
- "id": 358,
+ "id": 394,
"name": "\"PostgrestClient\"",
"kind": 1,
"kindString": "Module",
@@ -16105,7 +16204,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
"children": [
{
- "id": 359,
+ "id": 395,
"name": "PostgrestClient",
"kind": 128,
"kindString": "Class",
@@ -16114,7 +16213,7 @@
},
"children": [
{
- "id": 366,
+ "id": 402,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -16126,7 +16225,7 @@
},
"signatures": [
{
- "id": 367,
+ "id": 403,
"name": "new PostgrestClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -16138,7 +16237,7 @@
},
"parameters": [
{
- "id": 368,
+ "id": 404,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -16154,7 +16253,7 @@
}
},
{
- "id": 369,
+ "id": 405,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -16165,7 +16264,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 370,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16174,7 +16273,7 @@
},
"children": [
{
- "id": 371,
+ "id": 407,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -16187,14 +16286,14 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 18,
+ "line": 19,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 372,
+ "id": 408,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16203,7 +16302,7 @@
},
"indexSignature": [
{
- "id": 373,
+ "id": 409,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -16212,7 +16311,7 @@
},
"parameters": [
{
- "id": 374,
+ "id": 410,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -16235,7 +16334,7 @@
}
},
{
- "id": 375,
+ "id": 411,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -16248,7 +16347,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 18,
+ "line": 19,
"character": 26
}
],
@@ -16272,15 +16371,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 371,
- 375
+ 407,
+ 411
]
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 17,
+ "line": 18,
"character": 16
}
]
@@ -16291,7 +16390,7 @@
],
"type": {
"type": "reference",
- "id": 359,
+ "id": 395,
"name": "PostgrestClient"
}
}
@@ -16299,13 +16398,13 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 7,
+ "line": 8,
"character": 17
}
]
},
{
- "id": 361,
+ "id": 397,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -16315,14 +16414,14 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 6,
+ "line": 7,
"character": 9
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 362,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16331,7 +16430,7 @@
},
"indexSignature": [
{
- "id": 363,
+ "id": 399,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -16340,7 +16439,7 @@
},
"parameters": [
{
- "id": 364,
+ "id": 400,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -16362,7 +16461,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 6,
+ "line": 7,
"character": 10
}
]
@@ -16370,7 +16469,7 @@
}
},
{
- "id": 365,
+ "id": 401,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -16381,7 +16480,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 7,
+ "line": 8,
"character": 8
}
],
@@ -16400,7 +16499,7 @@
}
},
{
- "id": 360,
+ "id": 396,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -16410,7 +16509,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 5,
+ "line": 6,
"character": 5
}
],
@@ -16420,7 +16519,7 @@
}
},
{
- "id": 376,
+ "id": 412,
"name": "auth",
"kind": 2048,
"kindString": "Method",
@@ -16429,7 +16528,7 @@
},
"signatures": [
{
- "id": 377,
+ "id": 413,
"name": "auth",
"kind": 4096,
"kindString": "Call signature",
@@ -16441,7 +16540,7 @@
},
"parameters": [
{
- "id": 378,
+ "id": 414,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -16466,13 +16565,13 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 30,
+ "line": 31,
"character": 6
}
]
},
{
- "id": 379,
+ "id": 415,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -16481,7 +16580,7 @@
},
"signatures": [
{
- "id": 380,
+ "id": 416,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -16493,7 +16592,7 @@
},
"typeParameter": [
{
- "id": 381,
+ "id": 417,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -16504,7 +16603,7 @@
],
"parameters": [
{
- "id": 382,
+ "id": 418,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -16522,7 +16621,7 @@
],
"type": {
"type": "reference",
- "id": 290,
+ "id": 294,
"typeArguments": [
{
"type": "typeParameter",
@@ -16540,13 +16639,13 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 40,
+ "line": 41,
"character": 6
}
]
},
{
- "id": 383,
+ "id": 419,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -16555,7 +16654,7 @@
},
"signatures": [
{
- "id": 384,
+ "id": 420,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -16567,7 +16666,7 @@
},
"typeParameter": [
{
- "id": 385,
+ "id": 421,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -16578,7 +16677,7 @@
],
"parameters": [
{
- "id": 386,
+ "id": 422,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -16594,7 +16693,7 @@
}
},
{
- "id": 387,
+ "id": 423,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -16603,7 +16702,7 @@
"isOptional": true
},
"comment": {
- "text": "The parameters to pass to the function call.\n"
+ "text": "The parameters to pass to the function call."
},
"type": {
"type": "union",
@@ -16618,11 +16717,93 @@
}
]
}
+ },
+ {
+ "id": 424,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 425,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 426,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 57,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 426
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 55,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
}
],
"type": {
"type": "reference",
- "id": 62,
+ "id": 63,
"typeArguments": [
{
"type": "typeParameter",
@@ -16640,7 +16821,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 51,
+ "line": 53,
"character": 5
}
]
@@ -16651,32 +16832,32 @@
"title": "Constructors",
"kind": 512,
"children": [
- 366
+ 402
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 361,
- 365,
- 360
+ 397,
+ 401,
+ 396
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 376,
- 379,
- 383
+ 412,
+ 415,
+ 419
]
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 4,
+ "line": 5,
"character": 36
}
]
@@ -16687,7 +16868,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 359
+ 395
]
}
],
@@ -16700,7 +16881,7 @@
]
},
{
- "id": 388,
+ "id": 427,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -16717,7 +16898,7 @@
]
},
{
- "id": 113,
+ "id": 114,
"name": "\"lib/PostgrestFilterBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -16727,7 +16908,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
"children": [
{
- "id": 114,
+ "id": 115,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
@@ -16736,7 +16917,7 @@
},
"typeParameter": [
{
- "id": 115,
+ "id": 116,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -16747,7 +16928,7 @@
],
"children": [
{
- "id": 269,
+ "id": 273,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -16756,7 +16937,7 @@
},
"signatures": [
{
- "id": 270,
+ "id": 274,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -16765,7 +16946,7 @@
},
"parameters": [
{
- "id": 271,
+ "id": 275,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -16774,7 +16955,7 @@
},
"type": {
"type": "reference",
- "id": 32,
+ "id": 27,
"typeArguments": [
{
"type": "typeParameter",
@@ -16787,12 +16968,12 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"name": "PostgrestFilterBuilder"
},
"inheritedFrom": {
"type": "reference",
- "id": 42,
+ "id": 37,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -16806,12 +16987,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 42,
+ "id": 37,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 268,
+ "id": 272,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -16857,12 +17038,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 36,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 263,
+ "id": 267,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -16880,7 +17061,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 264,
+ "id": 268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16889,7 +17070,7 @@
},
"indexSignature": [
{
- "id": 265,
+ "id": 269,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -16898,7 +17079,7 @@
},
"parameters": [
{
- "id": 266,
+ "id": 270,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -16928,12 +17109,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 36,
+ "id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 261,
+ "id": 265,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -16975,12 +17156,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 29,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 267,
+ "id": 271,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -17011,12 +17192,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 40,
+ "id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 262,
+ "id": 266,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -17037,12 +17218,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 35,
+ "id": 30,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 188,
+ "id": 192,
"name": "adj",
"kind": 2048,
"kindString": "Method",
@@ -17051,7 +17232,7 @@
},
"signatures": [
{
- "id": 189,
+ "id": 193,
"name": "adj",
"kind": 4096,
"kindString": "Call signature",
@@ -17063,7 +17244,7 @@
},
"parameters": [
{
- "id": 190,
+ "id": 194,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17083,7 +17264,7 @@
}
},
{
- "id": 191,
+ "id": 195,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -17108,13 +17289,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 274,
+ "line": 276,
"character": 5
}
]
},
{
- "id": 168,
+ "id": 172,
"name": "cd",
"kind": 2048,
"kindString": "Method",
@@ -17123,7 +17304,7 @@
},
"signatures": [
{
- "id": 169,
+ "id": 173,
"name": "cd",
"kind": 4096,
"kindString": "Call signature",
@@ -17135,7 +17316,7 @@
},
"parameters": [
{
- "id": 170,
+ "id": 174,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17155,7 +17336,7 @@
}
},
{
- "id": 171,
+ "id": 175,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -17207,13 +17388,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 205,
+ "line": 207,
"character": 4
}
]
},
{
- "id": 164,
+ "id": 168,
"name": "cs",
"kind": 2048,
"kindString": "Method",
@@ -17222,7 +17403,7 @@
},
"signatures": [
{
- "id": 165,
+ "id": 169,
"name": "cs",
"kind": 4096,
"kindString": "Call signature",
@@ -17234,7 +17415,7 @@
},
"parameters": [
{
- "id": 166,
+ "id": 170,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17254,7 +17435,7 @@
}
},
{
- "id": 167,
+ "id": 171,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -17306,13 +17487,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 183,
+ "line": 185,
"character": 4
}
]
},
{
- "id": 124,
+ "id": 128,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -17321,7 +17502,7 @@
},
"signatures": [
{
- "id": 125,
+ "id": 129,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
@@ -17333,7 +17514,7 @@
},
"parameters": [
{
- "id": 126,
+ "id": 130,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17353,7 +17534,7 @@
}
},
{
- "id": 127,
+ "id": 131,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -17389,13 +17570,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 63,
+ "line": 65,
"character": 4
}
]
},
{
- "id": 224,
+ "id": 228,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -17404,7 +17585,7 @@
},
"signatures": [
{
- "id": 225,
+ "id": 229,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -17416,7 +17597,7 @@
},
"parameters": [
{
- "id": 226,
+ "id": 230,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17436,7 +17617,7 @@
}
},
{
- "id": 227,
+ "id": 231,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -17448,12 +17629,12 @@
},
"type": {
"type": "reference",
- "id": 288,
+ "id": 292,
"name": "FilterOperator"
}
},
{
- "id": 228,
+ "id": 232,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -17478,13 +17659,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 360,
+ "line": 362,
"character": 8
}
]
},
{
- "id": 196,
+ "id": 200,
"name": "fts",
"kind": 2048,
"kindString": "Method",
@@ -17493,7 +17674,7 @@
},
"signatures": [
{
- "id": 197,
+ "id": 201,
"name": "fts",
"kind": 4096,
"kindString": "Call signature",
@@ -17505,7 +17686,7 @@
},
"parameters": [
{
- "id": 198,
+ "id": 202,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17525,7 +17706,7 @@
}
},
{
- "id": 199,
+ "id": 203,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -17541,7 +17722,7 @@
}
},
{
- "id": 200,
+ "id": 204,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -17552,7 +17733,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 205,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17561,7 +17742,7 @@
},
"children": [
{
- "id": 202,
+ "id": 206,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -17574,7 +17755,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 305,
+ "line": 307,
"character": 46
}
],
@@ -17598,14 +17779,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 202
+ 206
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 305,
+ "line": 307,
"character": 37
}
]
@@ -17623,13 +17804,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 305,
+ "line": 307,
"character": 5
}
]
},
{
- "id": 132,
+ "id": 136,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -17638,7 +17819,7 @@
},
"signatures": [
{
- "id": 133,
+ "id": 137,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
@@ -17650,7 +17831,7 @@
},
"parameters": [
{
- "id": 134,
+ "id": 138,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17670,7 +17851,7 @@
}
},
{
- "id": 135,
+ "id": 139,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -17706,13 +17887,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 87,
+ "line": 89,
"character": 4
}
]
},
{
- "id": 136,
+ "id": 140,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -17721,7 +17902,7 @@
},
"signatures": [
{
- "id": 137,
+ "id": 141,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
@@ -17733,7 +17914,7 @@
},
"parameters": [
{
- "id": 138,
+ "id": 142,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17753,7 +17934,7 @@
}
},
{
- "id": 139,
+ "id": 143,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -17789,13 +17970,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 99,
+ "line": 101,
"character": 5
}
]
},
{
- "id": 152,
+ "id": 156,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -17804,7 +17985,7 @@
},
"signatures": [
{
- "id": 153,
+ "id": 157,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
@@ -17816,7 +17997,7 @@
},
"parameters": [
{
- "id": 154,
+ "id": 158,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17836,7 +18017,7 @@
}
},
{
- "id": 155,
+ "id": 159,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -17861,13 +18042,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 147,
+ "line": 149,
"character": 7
}
]
},
{
- "id": 160,
+ "id": 164,
"name": "in",
"kind": 2048,
"kindString": "Method",
@@ -17876,7 +18057,7 @@
},
"signatures": [
{
- "id": 161,
+ "id": 165,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
@@ -17888,7 +18069,7 @@
},
"parameters": [
{
- "id": 162,
+ "id": 166,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17908,7 +18089,7 @@
}
},
{
- "id": 163,
+ "id": 167,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -17947,13 +18128,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 171,
+ "line": 173,
"character": 4
}
]
},
{
- "id": 156,
+ "id": 160,
"name": "is",
"kind": 2048,
"kindString": "Method",
@@ -17962,7 +18143,7 @@
},
"signatures": [
{
- "id": 157,
+ "id": 161,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
@@ -17974,7 +18155,7 @@
},
"parameters": [
{
- "id": 158,
+ "id": 162,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -17994,7 +18175,7 @@
}
},
{
- "id": 159,
+ "id": 163,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -18028,13 +18209,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 159,
+ "line": 161,
"character": 4
}
]
},
{
- "id": 148,
+ "id": 152,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -18043,7 +18224,7 @@
},
"signatures": [
{
- "id": 149,
+ "id": 153,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
@@ -18055,7 +18236,7 @@
},
"parameters": [
{
- "id": 150,
+ "id": 154,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -18075,7 +18256,7 @@
}
},
{
- "id": 151,
+ "id": 155,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -18100,13 +18281,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 135,
+ "line": 137,
"character": 6
}
]
},
{
- "id": 246,
+ "id": 250,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -18115,7 +18296,7 @@
},
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -18127,7 +18308,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -18143,7 +18324,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -18154,7 +18335,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 250,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18163,7 +18344,7 @@
},
"children": [
{
- "id": 251,
+ "id": 255,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -18176,7 +18357,7 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 37
}
],
@@ -18200,14 +18381,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 251
+ 255
]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 22
}
]
@@ -18222,7 +18403,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "PostgrestTransformBuilder.limit"
}
}
@@ -18230,18 +18411,18 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 7
}
],
"inheritedFrom": {
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "PostgrestTransformBuilder.limit"
}
},
{
- "id": 140,
+ "id": 144,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -18250,7 +18431,7 @@
},
"signatures": [
{
- "id": 141,
+ "id": 145,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
@@ -18262,7 +18443,7 @@
},
"parameters": [
{
- "id": 142,
+ "id": 146,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -18282,7 +18463,7 @@
}
},
{
- "id": 143,
+ "id": 147,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -18318,13 +18499,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 111,
+ "line": 113,
"character": 4
}
]
},
{
- "id": 144,
+ "id": 148,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -18333,7 +18514,7 @@
},
"signatures": [
{
- "id": 145,
+ "id": 149,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
@@ -18345,7 +18526,7 @@
},
"parameters": [
{
- "id": 146,
+ "id": 150,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -18365,7 +18546,7 @@
}
},
{
- "id": 147,
+ "id": 151,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -18401,13 +18582,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 123,
+ "line": 125,
"character": 5
}
]
},
{
- "id": 229,
+ "id": 233,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -18416,7 +18597,7 @@
},
"signatures": [
{
- "id": 230,
+ "id": 234,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -18428,7 +18609,7 @@
},
"parameters": [
{
- "id": 231,
+ "id": 235,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -18441,7 +18622,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 232,
+ "id": 236,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18450,7 +18631,7 @@
},
"indexSignature": [
{
- "id": 233,
+ "id": 237,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -18459,7 +18640,7 @@
},
"parameters": [
{
- "id": 234,
+ "id": 238,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -18481,7 +18662,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 371,
+ "line": 373,
"character": 14
}
]
@@ -18498,13 +18679,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 371,
+ "line": 373,
"character": 7
}
]
},
{
- "id": 128,
+ "id": 132,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -18513,7 +18694,7 @@
},
"signatures": [
{
- "id": 129,
+ "id": 133,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
@@ -18525,7 +18706,7 @@
},
"parameters": [
{
- "id": 130,
+ "id": 134,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -18545,7 +18726,7 @@
}
},
{
- "id": 131,
+ "id": 135,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -18581,13 +18762,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 75,
+ "line": 77,
"character": 5
}
]
},
{
- "id": 116,
+ "id": 117,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -18596,7 +18777,7 @@
},
"signatures": [
{
- "id": 117,
+ "id": 118,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
@@ -18608,7 +18789,7 @@
},
"parameters": [
{
- "id": 118,
+ "id": 119,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -18628,7 +18809,7 @@
}
},
{
- "id": 119,
+ "id": 120,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -18640,12 +18821,12 @@
},
"type": {
"type": "reference",
- "id": 288,
+ "id": 292,
"name": "FilterOperator"
}
},
{
- "id": 120,
+ "id": 121,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -18676,7 +18857,7 @@
]
},
{
- "id": 180,
+ "id": 184,
"name": "nxl",
"kind": 2048,
"kindString": "Method",
@@ -18685,7 +18866,7 @@
},
"signatures": [
{
- "id": 181,
+ "id": 185,
"name": "nxl",
"kind": 4096,
"kindString": "Call signature",
@@ -18697,7 +18878,7 @@
},
"parameters": [
{
- "id": 182,
+ "id": 186,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -18717,7 +18898,7 @@
}
},
{
- "id": 183,
+ "id": 187,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -18742,13 +18923,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 250,
+ "line": 252,
"character": 5
}
]
},
{
- "id": 184,
+ "id": 188,
"name": "nxr",
"kind": 2048,
"kindString": "Method",
@@ -18757,7 +18938,7 @@
},
"signatures": [
{
- "id": 185,
+ "id": 189,
"name": "nxr",
"kind": 4096,
"kindString": "Call signature",
@@ -18769,7 +18950,7 @@
},
"parameters": [
{
- "id": 186,
+ "id": 190,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -18789,7 +18970,7 @@
}
},
{
- "id": 187,
+ "id": 191,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -18814,13 +18995,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 262,
+ "line": 264,
"character": 5
}
]
},
{
- "id": 121,
+ "id": 122,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -18829,7 +19010,7 @@
},
"signatures": [
{
- "id": 122,
+ "id": 123,
"name": "or",
"kind": 4096,
"kindString": "Call signature",
@@ -18841,7 +19022,7 @@
},
"parameters": [
{
- "id": 123,
+ "id": 124,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
@@ -18849,12 +19030,85 @@
"isExported": true
},
"comment": {
- "text": "The filters to use, separated by commas.\n"
+ "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": {
@@ -18866,13 +19120,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 51,
+ "line": 52,
"character": 4
}
]
},
{
- "id": 238,
+ "id": 242,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -18881,7 +19135,7 @@
},
"signatures": [
{
- "id": 239,
+ "id": 243,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -18893,7 +19147,7 @@
},
"parameters": [
{
- "id": 240,
+ "id": 244,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -18913,7 +19167,7 @@
}
},
{
- "id": 241,
+ "id": 245,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -18924,7 +19178,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 246,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18933,7 +19187,7 @@
},
"children": [
{
- "id": 243,
+ "id": 247,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -18957,7 +19211,7 @@
"defaultValue": "true"
},
{
- "id": 245,
+ "id": 249,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -18989,7 +19243,7 @@
}
},
{
- "id": 244,
+ "id": 248,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -19018,9 +19272,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 243,
- 245,
- 244
+ 247,
+ 249,
+ 248
]
}
],
@@ -19042,7 +19296,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 67,
+ "id": 68,
"name": "PostgrestTransformBuilder.order"
}
}
@@ -19056,12 +19310,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 67,
+ "id": 68,
"name": "PostgrestTransformBuilder.order"
}
},
{
- "id": 192,
+ "id": 196,
"name": "ov",
"kind": 2048,
"kindString": "Method",
@@ -19070,7 +19324,7 @@
},
"signatures": [
{
- "id": 193,
+ "id": 197,
"name": "ov",
"kind": 4096,
"kindString": "Call signature",
@@ -19082,7 +19336,7 @@
},
"parameters": [
{
- "id": 194,
+ "id": 198,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -19102,7 +19356,7 @@
}
},
{
- "id": 195,
+ "id": 199,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -19150,13 +19404,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 286,
+ "line": 288,
"character": 4
}
]
},
{
- "id": 210,
+ "id": 214,
"name": "phfts",
"kind": 2048,
"kindString": "Method",
@@ -19165,7 +19419,7 @@
},
"signatures": [
{
- "id": 211,
+ "id": 215,
"name": "phfts",
"kind": 4096,
"kindString": "Call signature",
@@ -19177,7 +19431,7 @@
},
"parameters": [
{
- "id": 212,
+ "id": 216,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -19197,7 +19451,7 @@
}
},
{
- "id": 213,
+ "id": 217,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -19213,7 +19467,7 @@
}
},
{
- "id": 214,
+ "id": 218,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -19224,7 +19478,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 215,
+ "id": 219,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19233,7 +19487,7 @@
},
"children": [
{
- "id": 216,
+ "id": 220,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -19246,7 +19500,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 333,
+ "line": 335,
"character": 48
}
],
@@ -19270,14 +19524,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 216
+ 220
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 333,
+ "line": 335,
"character": 39
}
]
@@ -19295,13 +19549,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 333,
+ "line": 335,
"character": 7
}
]
},
{
- "id": 203,
+ "id": 207,
"name": "plfts",
"kind": 2048,
"kindString": "Method",
@@ -19310,7 +19564,7 @@
},
"signatures": [
{
- "id": 204,
+ "id": 208,
"name": "plfts",
"kind": 4096,
"kindString": "Call signature",
@@ -19322,7 +19576,7 @@
},
"parameters": [
{
- "id": 205,
+ "id": 209,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -19342,7 +19596,7 @@
}
},
{
- "id": 206,
+ "id": 210,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -19358,7 +19612,7 @@
}
},
{
- "id": 207,
+ "id": 211,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -19369,7 +19623,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 208,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19378,7 +19632,7 @@
},
"children": [
{
- "id": 209,
+ "id": 213,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -19391,7 +19645,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 319,
+ "line": 321,
"character": 48
}
],
@@ -19415,14 +19669,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 209
+ 213
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 319,
+ "line": 321,
"character": 39
}
]
@@ -19440,13 +19694,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 319,
+ "line": 321,
"character": 7
}
]
},
{
- "id": 252,
+ "id": 256,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -19455,7 +19709,7 @@
},
"signatures": [
{
- "id": 253,
+ "id": 257,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -19467,7 +19721,7 @@
},
"parameters": [
{
- "id": 254,
+ "id": 258,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -19483,7 +19737,7 @@
}
},
{
- "id": 255,
+ "id": 259,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -19499,7 +19753,7 @@
}
},
{
- "id": 256,
+ "id": 260,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -19510,7 +19764,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 257,
+ "id": 261,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19519,7 +19773,7 @@
},
"children": [
{
- "id": 258,
+ "id": 262,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -19532,7 +19786,7 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 48
}
],
@@ -19556,14 +19810,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 258
+ 262
]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 33
}
]
@@ -19578,7 +19832,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 81,
+ "id": 82,
"name": "PostgrestTransformBuilder.range"
}
}
@@ -19586,18 +19840,18 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 7
}
],
"inheritedFrom": {
"type": "reference",
- "id": 81,
+ "id": 82,
"name": "PostgrestTransformBuilder.range"
}
},
{
- "id": 235,
+ "id": 239,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -19606,7 +19860,7 @@
},
"signatures": [
{
- "id": 236,
+ "id": 240,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -19618,7 +19872,7 @@
},
"parameters": [
{
- "id": 237,
+ "id": 241,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -19641,7 +19895,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 64,
+ "id": 65,
"name": "PostgrestTransformBuilder.select"
}
}
@@ -19655,12 +19909,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 64,
+ "id": 65,
"name": "PostgrestTransformBuilder.select"
}
},
{
- "id": 259,
+ "id": 263,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -19669,7 +19923,7 @@
},
"signatures": [
{
- "id": 260,
+ "id": 264,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -19684,7 +19938,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 59,
+ "id": 60,
"typeArguments": [
{
"type": "typeParameter",
@@ -19698,7 +19952,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 88,
+ "id": 89,
"name": "PostgrestTransformBuilder.single"
}
}
@@ -19706,18 +19960,18 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 88,
+ "line": 92,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
- "id": 88,
+ "id": 89,
"name": "PostgrestTransformBuilder.single"
}
},
{
- "id": 172,
+ "id": 176,
"name": "sl",
"kind": 2048,
"kindString": "Method",
@@ -19726,7 +19980,7 @@
},
"signatures": [
{
- "id": 173,
+ "id": 177,
"name": "sl",
"kind": 4096,
"kindString": "Call signature",
@@ -19738,7 +19992,7 @@
},
"parameters": [
{
- "id": 174,
+ "id": 178,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -19758,7 +20012,7 @@
}
},
{
- "id": 175,
+ "id": 179,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -19783,13 +20037,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 226,
+ "line": 228,
"character": 4
}
]
},
{
- "id": 176,
+ "id": 180,
"name": "sr",
"kind": 2048,
"kindString": "Method",
@@ -19798,7 +20052,7 @@
},
"signatures": [
{
- "id": 177,
+ "id": 181,
"name": "sr",
"kind": 4096,
"kindString": "Call signature",
@@ -19810,7 +20064,7 @@
},
"parameters": [
{
- "id": 178,
+ "id": 182,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -19830,7 +20084,7 @@
}
},
{
- "id": 179,
+ "id": 183,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -19855,13 +20109,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 238,
+ "line": 240,
"character": 4
}
]
},
{
- "id": 272,
+ "id": 276,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -19870,7 +20124,7 @@
},
"signatures": [
{
- "id": 273,
+ "id": 277,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -19879,7 +20133,7 @@
},
"typeParameter": [
{
- "id": 274,
+ "id": 278,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -19888,7 +20142,7 @@
}
},
{
- "id": 275,
+ "id": 279,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -19899,7 +20153,7 @@
],
"parameters": [
{
- "id": 276,
+ "id": 280,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -19913,7 +20167,7 @@
{
"type": "reflection",
"declaration": {
- "id": 277,
+ "id": 281,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19922,7 +20176,7 @@
},
"signatures": [
{
- "id": 278,
+ "id": 282,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -19931,7 +20185,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 283,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -19940,7 +20194,7 @@
},
"type": {
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -20013,7 +20267,7 @@
}
},
{
- "id": 280,
+ "id": 284,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -20027,7 +20281,7 @@
{
"type": "reflection",
"declaration": {
- "id": 281,
+ "id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20036,7 +20290,7 @@
},
"signatures": [
{
- "id": 282,
+ "id": 286,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -20045,7 +20299,7 @@
},
"parameters": [
{
- "id": 283,
+ "id": 287,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -20143,7 +20397,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
}
@@ -20157,12 +20411,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 217,
+ "id": 221,
"name": "wfts",
"kind": 2048,
"kindString": "Method",
@@ -20171,7 +20425,7 @@
},
"signatures": [
{
- "id": 218,
+ "id": 222,
"name": "wfts",
"kind": 4096,
"kindString": "Call signature",
@@ -20183,7 +20437,7 @@
},
"parameters": [
{
- "id": 219,
+ "id": 223,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -20203,7 +20457,7 @@
}
},
{
- "id": 220,
+ "id": 224,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -20219,7 +20473,7 @@
}
},
{
- "id": 221,
+ "id": 225,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -20230,7 +20484,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 222,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20239,7 +20493,7 @@
},
"children": [
{
- "id": 223,
+ "id": 227,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -20252,7 +20506,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 347,
+ "line": 349,
"character": 47
}
],
@@ -20276,14 +20530,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 223
+ 227
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 347,
+ "line": 349,
"character": 38
}
]
@@ -20301,7 +20555,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 347,
+ "line": 349,
"character": 6
}
]
@@ -20312,56 +20566,56 @@
"title": "Constructors",
"kind": 512,
"children": [
- 269
+ 273
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 268,
- 263,
- 261,
+ 272,
267,
- 262
+ 265,
+ 271,
+ 266
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 188,
+ 192,
+ 172,
168,
- 164,
- 124,
- 224,
- 196,
- 132,
+ 128,
+ 228,
+ 200,
136,
- 152,
- 160,
- 156,
- 148,
- 246,
140,
+ 156,
+ 164,
+ 160,
+ 152,
+ 250,
144,
- 229,
- 128,
- 116,
- 180,
+ 148,
+ 233,
+ 132,
+ 117,
184,
- 121,
- 238,
- 192,
- 210,
- 203,
- 252,
- 235,
- 259,
- 172,
+ 188,
+ 122,
+ 242,
+ 196,
+ 214,
+ 207,
+ 256,
+ 239,
+ 263,
176,
- 272,
- 217
+ 180,
+ 276,
+ 221
]
}
],
@@ -20375,7 +20629,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 62,
+ "id": 63,
"typeArguments": [
{
"type": "typeParameter",
@@ -20391,7 +20645,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -20406,7 +20660,7 @@
]
},
{
- "id": 288,
+ "id": 292,
"name": "FilterOperator",
"kind": 4194304,
"kindString": "Type alias",
@@ -20513,7 +20767,7 @@
}
},
{
- "id": 284,
+ "id": 288,
"name": "cleanFilterArray",
"kind": 64,
"kindString": "Function",
@@ -20525,7 +20779,7 @@
},
"signatures": [
{
- "id": 285,
+ "id": 289,
"name": "cleanFilterArray",
"kind": 4096,
"kindString": "Call signature",
@@ -20535,7 +20789,7 @@
},
"typeParameter": [
{
- "id": 286,
+ "id": 290,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20544,7 +20798,7 @@
],
"parameters": [
{
- "id": 287,
+ "id": 291,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -20589,21 +20843,21 @@
"title": "Classes",
"kind": 128,
"children": [
- 114
+ 115
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 288
+ 292
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 284
+ 288
]
}
],
@@ -20616,7 +20870,7 @@
]
},
{
- "id": 289,
+ "id": 293,
"name": "\"lib/PostgrestQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -20626,7 +20880,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
"children": [
{
- "id": 290,
+ "id": 294,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -20635,7 +20889,7 @@
},
"typeParameter": [
{
- "id": 291,
+ "id": 295,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20646,7 +20900,7 @@
],
"children": [
{
- "id": 292,
+ "id": 296,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -20655,7 +20909,7 @@
},
"signatures": [
{
- "id": 293,
+ "id": 297,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -20664,7 +20918,7 @@
},
"parameters": [
{
- "id": 294,
+ "id": 298,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -20677,7 +20931,7 @@
}
},
{
- "id": 295,
+ "id": 299,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -20688,7 +20942,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 300,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20697,7 +20951,7 @@
},
"children": [
{
- "id": 297,
+ "id": 301,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -20707,14 +20961,14 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 8,
+ "line": 7,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 298,
+ "id": 302,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20723,7 +20977,7 @@
},
"indexSignature": [
{
- "id": 299,
+ "id": 303,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -20732,7 +20986,7 @@
},
"parameters": [
{
- "id": 300,
+ "id": 304,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -20755,7 +21009,7 @@
}
},
{
- "id": 301,
+ "id": 305,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -20765,7 +21019,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 8,
+ "line": 7,
"character": 26
}
],
@@ -20789,15 +21043,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 297,
- 301
+ 301,
+ 305
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 7,
+ "line": 6,
"character": 16
}
]
@@ -20808,12 +21062,12 @@
],
"type": {
"type": "reference",
- "id": 290,
+ "id": 294,
"name": "PostgrestQueryBuilder"
},
"overwrites": {
"type": "reference",
- "id": 42,
+ "id": 37,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -20821,18 +21075,18 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 5,
+ "line": 4,
"character": 75
}
],
"overwrites": {
"type": "reference",
- "id": 42,
+ "id": 37,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 345,
+ "id": 342,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -20878,12 +21132,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 36,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 340,
+ "id": 337,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -20901,7 +21155,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 341,
+ "id": 338,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20910,7 +21164,7 @@
},
"indexSignature": [
{
- "id": 342,
+ "id": 339,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -20919,7 +21173,7 @@
},
"parameters": [
{
- "id": 343,
+ "id": 340,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -20949,12 +21203,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 36,
+ "id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 338,
+ "id": 335,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -20996,12 +21250,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 29,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 344,
+ "id": 341,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -21032,12 +21286,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 40,
+ "id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 339,
+ "id": 336,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -21058,12 +21312,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 35,
+ "id": 30,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 325,
+ "id": 329,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -21072,7 +21326,7 @@
},
"signatures": [
{
- "id": 326,
+ "id": 330,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -21084,7 +21338,7 @@
},
"parameters": [
{
- "id": 327,
+ "id": 331,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -21095,7 +21349,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 328,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21104,7 +21358,7 @@
},
"children": [
{
- "id": 330,
+ "id": 334,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -21114,7 +21368,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 131,
+ "line": 130,
"character": 9
}
],
@@ -21142,7 +21396,7 @@
"defaultValue": "null"
},
{
- "id": 329,
+ "id": 333,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -21155,7 +21409,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 130,
+ "line": 129,
"character": 13
}
],
@@ -21180,15 +21434,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 330,
- 329
+ 334,
+ 333
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 129,
+ "line": 128,
"character": 9
}
]
@@ -21199,7 +21453,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"typeArguments": [
{
"type": "typeParameter",
@@ -21213,13 +21467,13 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 129,
+ "line": 128,
"character": 8
}
]
},
{
- "id": 309,
+ "id": 313,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -21228,7 +21482,7 @@
},
"signatures": [
{
- "id": 310,
+ "id": 314,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -21240,7 +21494,7 @@
},
"parameters": [
{
- "id": 311,
+ "id": 315,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -21280,7 +21534,7 @@
}
},
{
- "id": 312,
+ "id": 316,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -21291,7 +21545,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 313,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21300,7 +21554,7 @@
},
"children": [
{
- "id": 317,
+ "id": 321,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -21310,7 +21564,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 72,
+ "line": 71,
"character": 11
}
],
@@ -21338,7 +21592,7 @@
"defaultValue": "null"
},
{
- "id": 315,
+ "id": 319,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -21351,7 +21605,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 70,
+ "line": 69,
"character": 16
}
],
@@ -21370,7 +21624,7 @@
}
},
{
- "id": 316,
+ "id": 320,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -21383,7 +21637,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 71,
+ "line": 70,
"character": 15
}
],
@@ -21403,7 +21657,7 @@
"defaultValue": "\"representation\""
},
{
- "id": 314,
+ "id": 318,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -21416,7 +21670,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 69,
+ "line": 68,
"character": 12
}
],
@@ -21432,17 +21686,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 317,
- 315,
- 316,
- 314
+ 321,
+ 319,
+ 320,
+ 318
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 67,
+ "line": 66,
"character": 38
}
]
@@ -21453,7 +21707,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"typeArguments": [
{
"type": "typeParameter",
@@ -21467,13 +21721,13 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 66,
+ "line": 65,
"character": 8
}
]
},
{
- "id": 302,
+ "id": 306,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -21482,7 +21736,7 @@
},
"signatures": [
{
- "id": 303,
+ "id": 307,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -21494,7 +21748,7 @@
},
"parameters": [
{
- "id": 304,
+ "id": 308,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -21511,7 +21765,7 @@
"defaultValue": "\"*\""
},
{
- "id": 305,
+ "id": 309,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -21522,7 +21776,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21531,7 +21785,7 @@
},
"children": [
{
- "id": 308,
+ "id": 312,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -21544,7 +21798,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 27,
+ "line": 26,
"character": 11
}
],
@@ -21572,7 +21826,7 @@
"defaultValue": "null"
},
{
- "id": 307,
+ "id": 311,
"name": "head",
"kind": 32,
"kindString": "Variable",
@@ -21585,7 +21839,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 26,
+ "line": 25,
"character": 10
}
],
@@ -21601,15 +21855,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 308,
- 307
+ 312,
+ 311
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 24,
+ "line": 23,
"character": 18
}
]
@@ -21620,7 +21874,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"typeArguments": [
{
"type": "typeParameter",
@@ -21634,13 +21888,13 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 23,
+ "line": 22,
"character": 8
}
]
},
{
- "id": 346,
+ "id": 343,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -21649,7 +21903,7 @@
},
"signatures": [
{
- "id": 347,
+ "id": 344,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -21658,7 +21912,7 @@
},
"typeParameter": [
{
- "id": 348,
+ "id": 345,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -21667,7 +21921,7 @@
}
},
{
- "id": 349,
+ "id": 346,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -21678,7 +21932,7 @@
],
"parameters": [
{
- "id": 350,
+ "id": 347,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -21692,7 +21946,7 @@
{
"type": "reflection",
"declaration": {
- "id": 351,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21701,7 +21955,7 @@
},
"signatures": [
{
- "id": 352,
+ "id": 349,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -21710,7 +21964,7 @@
},
"parameters": [
{
- "id": 353,
+ "id": 350,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -21719,7 +21973,7 @@
},
"type": {
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -21792,7 +22046,7 @@
}
},
{
- "id": 354,
+ "id": 351,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -21806,7 +22060,7 @@
{
"type": "reflection",
"declaration": {
- "id": 355,
+ "id": 352,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21815,7 +22069,7 @@
},
"signatures": [
{
- "id": 356,
+ "id": 353,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -21824,7 +22078,7 @@
},
"parameters": [
{
- "id": 357,
+ "id": 354,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -21922,7 +22176,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
}
@@ -21936,12 +22190,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 318,
+ "id": 322,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -21950,7 +22204,7 @@
},
"signatures": [
{
- "id": 319,
+ "id": 323,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -21962,7 +22216,7 @@
},
"parameters": [
{
- "id": 320,
+ "id": 324,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -21984,7 +22238,7 @@
}
},
{
- "id": 321,
+ "id": 325,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -21995,7 +22249,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 322,
+ "id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22004,7 +22258,7 @@
},
"children": [
{
- "id": 324,
+ "id": 328,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -22014,7 +22268,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 107,
+ "line": 106,
"character": 11
}
],
@@ -22042,7 +22296,7 @@
"defaultValue": "null"
},
{
- "id": 323,
+ "id": 327,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -22055,7 +22309,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 106,
+ "line": 105,
"character": 15
}
],
@@ -22080,15 +22334,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 324,
- 323
+ 328,
+ 327
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 104,
+ "line": 103,
"character": 23
}
]
@@ -22099,7 +22353,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"typeArguments": [
{
"type": "typeParameter",
@@ -22113,7 +22367,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 103,
+ "line": 102,
"character": 8
}
]
@@ -22124,43 +22378,43 @@
"title": "Constructors",
"kind": 512,
"children": [
- 292
+ 296
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 345,
- 340,
- 338,
- 344,
- 339
+ 342,
+ 337,
+ 335,
+ 341,
+ 336
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 325,
- 309,
- 302,
- 346,
- 318
+ 329,
+ 313,
+ 306,
+ 343,
+ 322
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 5,
+ "line": 4,
"character": 42
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 32,
+ "id": 27,
"typeArguments": [
{
"type": "typeParameter",
@@ -22176,7 +22430,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -22196,7 +22450,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 290
+ 294
]
}
],
@@ -22209,29 +22463,26 @@
]
},
{
- "id": 61,
- "name": "\"lib/PostgrestTransformBuilder\"",
+ "id": 355,
+ "name": "\"lib/PostgrestRpcBuilder\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts",
"children": [
{
- "id": 62,
- "name": "PostgrestTransformBuilder",
+ "id": 356,
+ "name": "PostgrestRpcBuilder",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
- "comment": {
- "shortText": "Post-filters (transforms)"
- },
"typeParameter": [
{
- "id": 63,
+ "id": 357,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -22242,7 +22493,7 @@
],
"children": [
{
- "id": 98,
+ "id": 358,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -22251,8 +22502,8 @@
},
"signatures": [
{
- "id": 99,
- "name": "new PostgrestTransformBuilder",
+ "id": 359,
+ "name": "new PostgrestRpcBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
@@ -22260,70 +22511,1053 @@
},
"parameters": [
{
- "id": 100,
- "name": "builder",
+ "id": 360,
+ "name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
- "type": "reference",
- "id": 32,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
+ "type": "intrinsic",
+ "name": "string"
}
- }
- ],
- "type": {
- "type": "reference",
- "id": 62,
- "name": "PostgrestTransformBuilder"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 42,
- "name": "PostgrestBuilder.__constructor"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 55,
- "character": 44
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 42,
- "name": "PostgrestBuilder.__constructor"
- }
- },
- {
- "id": 97,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 55,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
+ },
+ {
+ "id": 361,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 362,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 363,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 7,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 364,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 365,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 366,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 367,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 7,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 363,
+ 367
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 6,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 356,
+ "name": "PostgrestRpcBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 4,
+ "character": 73
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 381,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 16
+ }
+ ],
+ "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"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 36,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 376,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 377,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 378,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 379,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 374,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 29,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 380,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 375,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 368,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 369,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a stored procedure call."
+ },
+ "parameters": [
+ {
+ "id": 370,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 371,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 372,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 373,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 21,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 373
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 19,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 63,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 18,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 382,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 383,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 384,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 385,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 386,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 387,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 388,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 389,
+ "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": 390,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 391,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 392,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 393,
+ "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"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 358
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 381,
+ 376,
+ 374,
+ 380,
+ 375
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 368,
+ 382
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 4,
+ "character": 40
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 58,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 356
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 62,
+ "name": "\"lib/PostgrestTransformBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
+ "children": [
+ {
+ "id": 63,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Post-filters (transforms)"
+ },
+ "typeParameter": [
+ {
+ "id": 64,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 99,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 100,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 101,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 63,
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 44
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 98,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
"types": [
{
"type": "reference",
@@ -22352,12 +23586,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 36,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 92,
+ "id": 93,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -22375,7 +23609,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 93,
+ "id": 94,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22384,7 +23618,7 @@
},
"indexSignature": [
{
- "id": 94,
+ "id": 95,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -22393,7 +23627,7 @@
},
"parameters": [
{
- "id": 95,
+ "id": 96,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -22423,12 +23657,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 36,
+ "id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 90,
+ "id": 91,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -22470,12 +23704,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 29,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 96,
+ "id": 97,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -22506,12 +23740,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 40,
+ "id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 91,
+ "id": 92,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -22532,12 +23766,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 35,
+ "id": 30,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 75,
+ "id": 76,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -22546,7 +23780,7 @@
},
"signatures": [
{
- "id": 76,
+ "id": 77,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -22558,7 +23792,7 @@
},
"parameters": [
{
- "id": 77,
+ "id": 78,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -22574,7 +23808,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -22585,7 +23819,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 79,
+ "id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22594,7 +23828,7 @@
},
"children": [
{
- "id": 80,
+ "id": 81,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -22607,7 +23841,7 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 37
}
],
@@ -22631,14 +23865,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 80
+ 81
]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 22
}
]
@@ -22656,13 +23890,13 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 7
}
]
},
{
- "id": 67,
+ "id": 68,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -22671,7 +23905,7 @@
},
"signatures": [
{
- "id": 68,
+ "id": 69,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -22683,7 +23917,7 @@
},
"parameters": [
{
- "id": 69,
+ "id": 70,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -22703,7 +23937,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -22714,7 +23948,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 71,
+ "id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22723,7 +23957,7 @@
},
"children": [
{
- "id": 72,
+ "id": 73,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -22747,7 +23981,7 @@
"defaultValue": "true"
},
{
- "id": 74,
+ "id": 75,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -22779,7 +24013,7 @@
}
},
{
- "id": 73,
+ "id": 74,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -22808,9 +24042,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 72,
- 74,
- 73
+ 73,
+ 75,
+ 74
]
}
],
@@ -22841,7 +24075,7 @@
]
},
{
- "id": 81,
+ "id": 82,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -22850,7 +24084,7 @@
},
"signatures": [
{
- "id": 82,
+ "id": 83,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -22862,7 +24096,7 @@
},
"parameters": [
{
- "id": 83,
+ "id": 84,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -22878,7 +24112,7 @@
}
},
{
- "id": 84,
+ "id": 85,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -22894,7 +24128,7 @@
}
},
{
- "id": 85,
+ "id": 86,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -22905,7 +24139,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 86,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22914,7 +24148,7 @@
},
"children": [
{
- "id": 87,
+ "id": 88,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -22927,7 +24161,7 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 48
}
],
@@ -22951,14 +24185,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 87
+ 88
]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 33
}
]
@@ -22976,13 +24210,13 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 7
}
]
},
{
- "id": 64,
+ "id": 65,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -22991,7 +24225,7 @@
},
"signatures": [
{
- "id": 65,
+ "id": 66,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -23003,7 +24237,7 @@
},
"parameters": [
{
- "id": 66,
+ "id": 67,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -23035,7 +24269,7 @@
]
},
{
- "id": 88,
+ "id": 89,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -23044,7 +24278,7 @@
},
"signatures": [
{
- "id": 89,
+ "id": 90,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -23059,7 +24293,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 59,
+ "id": 60,
"typeArguments": [
{
"type": "typeParameter",
@@ -23076,13 +24310,13 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 88,
+ "line": 92,
"character": 8
}
]
},
{
- "id": 101,
+ "id": 102,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -23091,7 +24325,7 @@
},
"signatures": [
{
- "id": 102,
+ "id": 103,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -23100,7 +24334,7 @@
},
"typeParameter": [
{
- "id": 103,
+ "id": 104,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -23109,7 +24343,7 @@
}
},
{
- "id": 104,
+ "id": 105,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -23120,7 +24354,7 @@
],
"parameters": [
{
- "id": 105,
+ "id": 106,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -23134,7 +24368,7 @@
{
"type": "reflection",
"declaration": {
- "id": 106,
+ "id": 107,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -23143,7 +24377,7 @@
},
"signatures": [
{
- "id": 107,
+ "id": 108,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -23152,7 +24386,7 @@
},
"parameters": [
{
- "id": 108,
+ "id": 109,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -23161,7 +24395,7 @@
},
"type": {
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -23234,7 +24468,7 @@
}
},
{
- "id": 109,
+ "id": 110,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -23248,7 +24482,7 @@
{
"type": "reflection",
"declaration": {
- "id": 110,
+ "id": 111,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -23257,7 +24491,7 @@
},
"signatures": [
{
- "id": 111,
+ "id": 112,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -23266,7 +24500,7 @@
},
"parameters": [
{
- "id": 112,
+ "id": 113,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -23364,7 +24598,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
}
@@ -23378,7 +24612,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
}
@@ -23388,30 +24622,30 @@
"title": "Constructors",
"kind": 512,
"children": [
- 98
+ 99
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
+ 98,
+ 93,
+ 91,
97,
- 92,
- 90,
- 96,
- 91
+ 92
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 75,
- 67,
- 81,
- 64,
- 88,
- 101
+ 76,
+ 68,
+ 82,
+ 65,
+ 89,
+ 102
]
}
],
@@ -23425,7 +24659,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 32,
+ "id": 27,
"typeArguments": [
{
"type": "typeParameter",
@@ -23438,7 +24672,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 114,
+ "id": 115,
"name": "PostgrestFilterBuilder"
}
],
@@ -23448,7 +24682,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -23468,7 +24702,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 62
+ 63
]
}
],
@@ -23491,7 +24725,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/types.ts",
"children": [
{
- "id": 32,
+ "id": 27,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -23501,7 +24735,7 @@
},
"typeParameter": [
{
- "id": 33,
+ "id": 28,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -23512,7 +24746,7 @@
],
"children": [
{
- "id": 42,
+ "id": 37,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -23521,7 +24755,7 @@
},
"signatures": [
{
- "id": 43,
+ "id": 38,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -23530,7 +24764,7 @@
},
"parameters": [
{
- "id": 44,
+ "id": 39,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -23539,7 +24773,7 @@
},
"type": {
"type": "reference",
- "id": 32,
+ "id": 27,
"typeArguments": [
{
"type": "typeParameter",
@@ -23552,7 +24786,7 @@
],
"type": {
"type": "reference",
- "id": 32,
+ "id": 27,
"name": "PostgrestBuilder"
}
}
@@ -23566,7 +24800,7 @@
]
},
{
- "id": 41,
+ "id": 36,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -23612,7 +24846,7 @@
}
},
{
- "id": 36,
+ "id": 31,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -23630,7 +24864,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 37,
+ "id": 32,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -23639,7 +24873,7 @@
},
"indexSignature": [
{
- "id": 38,
+ "id": 33,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -23648,7 +24882,7 @@
},
"parameters": [
{
- "id": 39,
+ "id": 34,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -23678,7 +24912,7 @@
}
},
{
- "id": 34,
+ "id": 29,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -23720,7 +24954,7 @@
}
},
{
- "id": 40,
+ "id": 35,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -23751,7 +24985,7 @@
}
},
{
- "id": 35,
+ "id": 30,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -23772,7 +25006,7 @@
}
},
{
- "id": 45,
+ "id": 40,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -23781,7 +25015,7 @@
},
"signatures": [
{
- "id": 46,
+ "id": 41,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -23790,7 +25024,7 @@
},
"typeParameter": [
{
- "id": 47,
+ "id": 42,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -23799,7 +25033,7 @@
}
},
{
- "id": 48,
+ "id": 43,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -23810,7 +25044,7 @@
],
"parameters": [
{
- "id": 49,
+ "id": 44,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -23824,7 +25058,7 @@
{
"type": "reflection",
"declaration": {
- "id": 50,
+ "id": 45,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -23833,7 +25067,7 @@
},
"signatures": [
{
- "id": 51,
+ "id": 46,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -23842,7 +25076,7 @@
},
"parameters": [
{
- "id": 52,
+ "id": 47,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -23851,7 +25085,7 @@
},
"type": {
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -23924,7 +25158,7 @@
}
},
{
- "id": 53,
+ "id": 48,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -23938,7 +25172,7 @@
{
"type": "reflection",
"declaration": {
- "id": 54,
+ "id": 49,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -23947,7 +25181,7 @@
},
"signatures": [
{
- "id": 55,
+ "id": 50,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -23956,7 +25190,7 @@
},
"parameters": [
{
- "id": 56,
+ "id": 51,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -24058,183 +25292,84 @@
{
"fileName": "lib/types.ts",
"line": 61,
- "character": 6
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 42
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 41,
- 36,
- 34,
- 40,
- 35
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 45
- ]
- }
- ],
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 50,
- "character": 38
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 62,
- "name": "PostgrestTransformBuilder"
- },
- {
- "type": "reference",
- "id": 290,
- "name": "PostgrestQueryBuilder"
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 57,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- ],
- "name": "PromiseLike"
- }
- ]
- },
- {
- "id": 2,
- "name": "PostgrestError",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Error format",
- "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
- },
- "children": [
- {
- "id": 6,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 12,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 4,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 10,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 5,
- "name": "hint",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 11,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 3,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 9,
- "character": 9
+ "character": 6
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ ]
}
],
"groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 37
+ ]
+ },
{
"title": "Properties",
"kind": 1024,
"children": [
- 6,
- 4,
- 5,
- 3
+ 36,
+ 31,
+ 29,
+ 35,
+ 30
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 40
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 8,
- "character": 24
+ "line": 50,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 63,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 294,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 356,
+ "name": "PostgrestRpcBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 58,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
}
]
},
{
- "id": 7,
+ "id": 2,
"name": "PostgrestResponseBase",
"kind": 256,
"kindString": "Interface",
@@ -24245,7 +25380,7 @@
},
"children": [
{
- "id": 8,
+ "id": 3,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -24263,7 +25398,7 @@
}
},
{
- "id": 9,
+ "id": 4,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -24286,8 +25421,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 8,
- 9
+ 3,
+ 4
]
}
],
@@ -24301,30 +25436,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 10,
+ "id": 5,
"name": "PostgrestResponseSuccess"
},
{
"type": "reference",
- "id": 18,
+ "id": 13,
"name": "PostgrestResponseFailure"
},
{
"type": "reference",
- "id": 25,
+ "id": 20,
"name": "PostgrestSingleResponseSuccess"
}
]
},
{
- "id": 18,
+ "id": 13,
"name": "PostgrestResponseFailure",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 21,
+ "id": 16,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -24342,7 +25477,7 @@
}
},
{
- "id": 22,
+ "id": 17,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -24360,7 +25495,7 @@
}
},
{
- "id": 20,
+ "id": 15,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -24378,7 +25513,7 @@
}
},
{
- "id": 19,
+ "id": 14,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24392,12 +25527,12 @@
],
"type": {
"type": "reference",
- "id": 2,
+ "id": 52,
"name": "PostgrestError"
}
},
{
- "id": 23,
+ "id": 18,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -24415,12 +25550,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 8,
+ "id": 3,
"name": "PostgrestResponseBase.status"
}
},
{
- "id": 24,
+ "id": 19,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -24438,7 +25573,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 9,
+ "id": 4,
"name": "PostgrestResponseBase.statusText"
}
}
@@ -24448,12 +25583,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 21,
- 22,
- 20,
- 19,
- 23,
- 24
+ 16,
+ 17,
+ 15,
+ 14,
+ 18,
+ 19
]
}
],
@@ -24467,20 +25602,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 7,
+ "id": 2,
"name": "PostgrestResponseBase"
}
]
},
{
- "id": 10,
+ "id": 5,
"name": "PostgrestResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"typeParameter": [
{
- "id": 11,
+ "id": 6,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -24489,7 +25624,7 @@
],
"children": [
{
- "id": 14,
+ "id": 9,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -24510,7 +25645,7 @@
}
},
{
- "id": 15,
+ "id": 10,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -24537,7 +25672,7 @@
}
},
{
- "id": 13,
+ "id": 8,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -24558,7 +25693,7 @@
}
},
{
- "id": 12,
+ "id": 7,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24576,7 +25711,7 @@
}
},
{
- "id": 16,
+ "id": 11,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -24594,12 +25729,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 8,
+ "id": 3,
"name": "PostgrestResponseBase.status"
}
},
{
- "id": 17,
+ "id": 12,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -24617,7 +25752,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 9,
+ "id": 4,
"name": "PostgrestResponseBase.statusText"
}
}
@@ -24627,12 +25762,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 14,
- 15,
- 13,
- 12,
- 16,
- 17
+ 9,
+ 10,
+ 8,
+ 7,
+ 11,
+ 12
]
}
],
@@ -24646,20 +25781,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 7,
+ "id": 2,
"name": "PostgrestResponseBase"
}
]
},
{
- "id": 25,
+ "id": 20,
"name": "PostgrestSingleResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"typeParameter": [
{
- "id": 26,
+ "id": 21,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -24668,7 +25803,7 @@
],
"children": [
{
- "id": 29,
+ "id": 24,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -24686,7 +25821,7 @@
}
},
{
- "id": 28,
+ "id": 23,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -24704,7 +25839,7 @@
}
},
{
- "id": 27,
+ "id": 22,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24722,7 +25857,7 @@
}
},
{
- "id": 30,
+ "id": 25,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -24740,12 +25875,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 8,
+ "id": 3,
"name": "PostgrestResponseBase.status"
}
},
{
- "id": 31,
+ "id": 26,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -24763,7 +25898,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 9,
+ "id": 4,
"name": "PostgrestResponseBase.statusText"
}
}
@@ -24773,11 +25908,11 @@
"title": "Properties",
"kind": 1024,
"children": [
- 29,
- 28,
- 27,
- 30,
- 31
+ 24,
+ 23,
+ 22,
+ 25,
+ 26
]
}
],
@@ -24791,13 +25926,134 @@
"extendedTypes": [
{
"type": "reference",
- "id": 7,
+ "id": 2,
"name": "PostgrestResponseBase"
}
]
},
{
- "id": 57,
+ "id": 52,
+ "name": "PostgrestError",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 53,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 57,
+ "name": "code",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 55,
+ "name": "details",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 56,
+ "name": "hint",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 54,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 57,
+ 55,
+ 56,
+ 54
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 58,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -24806,7 +26062,7 @@
},
"typeParameter": [
{
- "id": 58,
+ "id": 59,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -24827,7 +26083,7 @@
"types": [
{
"type": "reference",
- "id": 10,
+ "id": 5,
"typeArguments": [
{
"type": "typeParameter",
@@ -24838,14 +26094,14 @@
},
{
"type": "reference",
- "id": 18,
+ "id": 13,
"name": "PostgrestResponseFailure"
}
]
}
},
{
- "id": 59,
+ "id": 60,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -24854,7 +26110,7 @@
},
"typeParameter": [
{
- "id": 60,
+ "id": 61,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -24875,7 +26131,7 @@
"types": [
{
"type": "reference",
- "id": 25,
+ "id": 20,
"typeArguments": [
{
"type": "typeParameter",
@@ -24886,7 +26142,7 @@
},
{
"type": "reference",
- "id": 18,
+ "id": 13,
"name": "PostgrestResponseFailure"
}
]
@@ -24898,7 +26154,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 32
+ 27
]
},
{
@@ -24906,18 +26162,18 @@
"kind": 256,
"children": [
2,
- 7,
- 18,
- 10,
- 25
+ 13,
+ 5,
+ 20
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 57,
- 59
+ 52,
+ 58,
+ 60
]
}
],
@@ -24935,11 +26191,12 @@
"title": "Modules",
"kind": 1,
"children": [
- 358,
- 388,
- 113,
- 289,
- 61,
+ 394,
+ 427,
+ 114,
+ 293,
+ 355,
+ 62,
1
]
}
@@ -27870,7 +29127,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 191,
+ "line": 198,
"character": 10
}
]
@@ -27901,7 +29158,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 194,
+ "line": 201,
"character": 11
}
]
@@ -27932,7 +29189,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 197,
+ "line": 204,
"character": 10
}
]
@@ -27963,7 +29220,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 200,
+ "line": 207,
"character": 11
}
]
@@ -27994,7 +29251,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 203,
+ "line": 210,
"character": 11
}
]
@@ -28553,7 +29810,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 187,
+ "line": 194,
"character": 16
}
]
diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json
index 09bc7d738c0..390ae1e0984 100644
--- a/web/spec/gotrue.json
+++ b/web/spec/gotrue.json
@@ -86,7 +86,7 @@
},
{
"type": "reference",
- "id": 85,
+ "id": 86,
"name": "CookieOptions"
}
]
@@ -227,7 +227,7 @@
],
"type": {
"type": "reference",
- "id": 85,
+ "id": 86,
"name": "CookieOptions"
}
},
@@ -374,7 +374,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 144,
+ "line": 160,
"character": 31
}
]
@@ -448,7 +448,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 175,
+ "line": 192,
"character": 16
}
],
@@ -465,6 +465,36 @@
}
]
}
+ },
+ {
+ "id": 238,
+ "name": "scopes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 193,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
}
],
"groups": [
@@ -472,14 +502,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 237
+ 237,
+ 238
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 174,
+ "line": 191,
"character": 12
}
]
@@ -496,13 +527,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 172,
+ "line": 189,
"character": 19
}
]
},
{
- "id": 238,
+ "id": 239,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -511,7 +542,7 @@
},
"signatures": [
{
- "id": 239,
+ "id": 240,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -523,7 +554,7 @@
},
"parameters": [
{
- "id": 240,
+ "id": 241,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -545,7 +576,7 @@
{
"type": "reflection",
"declaration": {
- "id": 241,
+ "id": 242,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -554,7 +585,7 @@
},
"children": [
{
- "id": 243,
+ "id": 244,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -564,7 +595,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 212,
"character": 38
}
],
@@ -573,7 +604,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -584,7 +615,7 @@
}
},
{
- "id": 244,
+ "id": 245,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -594,7 +625,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 212,
"character": 58
}
],
@@ -613,7 +644,7 @@
}
},
{
- "id": 242,
+ "id": 243,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -623,7 +654,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 212,
"character": 19
}
],
@@ -632,7 +663,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -648,16 +679,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 243,
244,
- 242
+ 245,
+ 243
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 191,
+ "line": 212,
"character": 13
}
]
@@ -671,13 +702,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 189,
+ "line": 210,
"character": 15
}
]
},
{
- "id": 263,
+ "id": 264,
"name": "getUserByCookie",
"kind": 2048,
"kindString": "Method",
@@ -686,7 +717,7 @@
},
"signatures": [
{
- "id": 264,
+ "id": 265,
"name": "getUserByCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -698,7 +729,7 @@
},
"parameters": [
{
- "id": 265,
+ "id": 266,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -717,7 +748,7 @@
{
"type": "reflection",
"declaration": {
- "id": 266,
+ "id": 267,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -726,7 +757,7 @@
},
"children": [
{
- "id": 268,
+ "id": 269,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -736,7 +767,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 270,
+ "line": 291,
"character": 38
}
],
@@ -745,7 +776,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -756,7 +787,7 @@
}
},
{
- "id": 269,
+ "id": 270,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -766,7 +797,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 270,
+ "line": 291,
"character": 58
}
],
@@ -785,7 +816,7 @@
}
},
{
- "id": 267,
+ "id": 268,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -795,7 +826,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 270,
+ "line": 291,
"character": 19
}
],
@@ -804,7 +835,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -820,16 +851,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 268,
269,
- 267
+ 270,
+ 268
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 270,
+ "line": 291,
"character": 13
}
]
@@ -843,7 +874,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 268,
+ "line": 289,
"character": 23
}
]
@@ -916,7 +947,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 109,
+ "line": 117,
"character": 16
}
],
@@ -947,7 +978,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 108,
+ "line": 116,
"character": 12
}
]
@@ -981,7 +1012,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 111,
+ "line": 119,
"character": 19
}
],
@@ -1001,7 +1032,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 111,
+ "line": 119,
"character": 20
}
]
@@ -1025,7 +1056,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 111,
+ "line": 119,
"character": 37
}
],
@@ -1057,7 +1088,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 111,
+ "line": 119,
"character": 13
}
]
@@ -1071,13 +1102,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 106,
+ "line": 114,
"character": 25
}
]
},
{
- "id": 253,
+ "id": 254,
"name": "refreshAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -1086,7 +1117,7 @@
},
"signatures": [
{
- "id": 254,
+ "id": 255,
"name": "refreshAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -1098,7 +1129,7 @@
},
"parameters": [
{
- "id": 255,
+ "id": 256,
"name": "refreshToken",
"kind": 32768,
"kindString": "Parameter",
@@ -1120,7 +1151,7 @@
{
"type": "reflection",
"declaration": {
- "id": 256,
+ "id": 257,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1129,7 +1160,7 @@
},
"children": [
{
- "id": 257,
+ "id": 258,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1139,7 +1170,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 225,
+ "line": 246,
"character": 19
}
],
@@ -1159,7 +1190,7 @@
}
},
{
- "id": 258,
+ "id": 259,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1169,7 +1200,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 225,
+ "line": 246,
"character": 42
}
],
@@ -1193,15 +1224,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 257,
- 258
+ 258,
+ 259
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 225,
+ "line": 246,
"character": 13
}
]
@@ -1215,7 +1246,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 223,
+ "line": 244,
"character": 26
}
]
@@ -1288,7 +1319,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 128,
+ "line": 140,
"character": 16
}
],
@@ -1319,7 +1350,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 127,
+ "line": 139,
"character": 12
}
]
@@ -1353,7 +1384,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 130,
+ "line": 142,
"character": 19
}
],
@@ -1373,7 +1404,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 130,
+ "line": 142,
"character": 20
}
]
@@ -1397,7 +1428,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 130,
+ "line": 142,
"character": 37
}
],
@@ -1429,7 +1460,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 130,
+ "line": 142,
"character": 13
}
]
@@ -1443,7 +1474,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 125,
+ "line": 137,
"character": 29
}
]
@@ -1516,7 +1547,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 90,
+ "line": 94,
"character": 16
}
],
@@ -1547,7 +1578,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 89,
+ "line": 93,
"character": 12
}
]
@@ -1581,7 +1612,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 92,
+ "line": 96,
"character": 19
}
],
@@ -1601,7 +1632,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 92,
+ "line": 96,
"character": 20
}
]
@@ -1625,7 +1656,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 92,
+ "line": 96,
"character": 37
}
],
@@ -1657,7 +1688,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 92,
+ "line": 96,
"character": 13
}
]
@@ -1671,13 +1702,13 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 87,
+ "line": 91,
"character": 26
}
]
},
{
- "id": 259,
+ "id": 260,
"name": "setAuthCookie",
"kind": 2048,
"kindString": "Method",
@@ -1686,7 +1717,7 @@
},
"signatures": [
{
- "id": 260,
+ "id": 261,
"name": "setAuthCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -1698,7 +1729,7 @@
},
"parameters": [
{
- "id": 261,
+ "id": 262,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -1711,7 +1742,7 @@
}
},
{
- "id": 262,
+ "id": 263,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -1733,7 +1764,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 242,
+ "line": 263,
"character": 15
}
]
@@ -2031,7 +2062,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 154,
+ "line": 170,
"character": 45
}
],
@@ -2062,7 +2093,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 154,
+ "line": 170,
"character": 38
}
]
@@ -2076,7 +2107,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 154,
+ "line": 170,
"character": 15
}
]
@@ -2245,7 +2276,7 @@
},
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -2318,7 +2349,7 @@
]
},
{
- "id": 245,
+ "id": 246,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -2327,7 +2358,7 @@
},
"signatures": [
{
- "id": 246,
+ "id": 247,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -2339,7 +2370,7 @@
},
"parameters": [
{
- "id": 247,
+ "id": 248,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -2355,7 +2386,7 @@
}
},
{
- "id": 248,
+ "id": 249,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -2367,7 +2398,7 @@
},
"type": {
"type": "reference",
- "id": 70,
+ "id": 71,
"name": "UserAttributes"
}
}
@@ -2378,7 +2409,7 @@
{
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 250,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2387,7 +2418,7 @@
},
"children": [
{
- "id": 251,
+ "id": 252,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2397,7 +2428,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 208,
+ "line": 229,
"character": 38
}
],
@@ -2406,7 +2437,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -2417,7 +2448,7 @@
}
},
{
- "id": 252,
+ "id": 253,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2427,7 +2458,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 208,
+ "line": 229,
"character": 58
}
],
@@ -2446,7 +2477,7 @@
}
},
{
- "id": 250,
+ "id": 251,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -2456,7 +2487,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 208,
+ "line": 229,
"character": 19
}
],
@@ -2465,7 +2496,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -2481,16 +2512,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 251,
252,
- 250
+ 253,
+ 251
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 208,
+ "line": 229,
"character": 13
}
]
@@ -2504,7 +2535,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 205,
+ "line": 226,
"character": 18
}
]
@@ -2533,17 +2564,17 @@
"children": [
223,
232,
- 238,
- 263,
+ 239,
+ 264,
203,
- 253,
+ 254,
213,
193,
- 259,
+ 260,
183,
227,
173,
- 245
+ 246
]
}
],
@@ -2574,7 +2605,7 @@
]
},
{
- "id": 305,
+ "id": 306,
"name": "\"GoTrueClient\"",
"kind": 1,
"kindString": "Module",
@@ -2584,7 +2615,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
"children": [
{
- "id": 306,
+ "id": 307,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
@@ -2593,7 +2624,7 @@
},
"children": [
{
- "id": 314,
+ "id": 315,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2605,7 +2636,7 @@
},
"signatures": [
{
- "id": 315,
+ "id": 316,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -2617,7 +2648,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 317,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2627,7 +2658,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 317,
+ "id": 318,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2636,7 +2667,7 @@
},
"children": [
{
- "id": 324,
+ "id": 325,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -2673,7 +2704,7 @@
}
},
{
- "id": 327,
+ "id": 328,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -2690,12 +2721,12 @@
],
"type": {
"type": "reference",
- "id": 85,
+ "id": 86,
"name": "CookieOptions"
}
},
{
- "id": 323,
+ "id": 324,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -2732,7 +2763,7 @@
}
},
{
- "id": 319,
+ "id": 320,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -2760,7 +2791,7 @@
{
"type": "reflection",
"declaration": {
- "id": 320,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2769,7 +2800,7 @@
},
"indexSignature": [
{
- "id": 321,
+ "id": 322,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -2778,7 +2809,7 @@
},
"parameters": [
{
- "id": 322,
+ "id": 323,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -2803,7 +2834,7 @@
}
},
{
- "id": 326,
+ "id": 327,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -2827,7 +2858,7 @@
}
},
{
- "id": 325,
+ "id": 326,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -2864,7 +2895,7 @@
}
},
{
- "id": 318,
+ "id": 319,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -2902,13 +2933,13 @@
"title": "Variables",
"kind": 32,
"children": [
+ 325,
+ 328,
324,
+ 320,
327,
- 323,
- 319,
326,
- 325,
- 318
+ 319
]
}
],
@@ -2925,7 +2956,7 @@
],
"type": {
"type": "reference",
- "id": 306,
+ "id": 307,
"name": "GoTrueClient"
}
}
@@ -2939,7 +2970,7 @@
]
},
{
- "id": 307,
+ "id": 308,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -2963,7 +2994,7 @@
}
},
{
- "id": 310,
+ "id": 311,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -2984,7 +3015,7 @@
}
},
{
- "id": 309,
+ "id": 310,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -3018,7 +3049,7 @@
}
},
{
- "id": 308,
+ "id": 309,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -3041,7 +3072,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -3052,7 +3083,7 @@
}
},
{
- "id": 312,
+ "id": 313,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -3073,7 +3104,7 @@
}
},
{
- "id": 311,
+ "id": 312,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -3094,7 +3125,7 @@
}
},
{
- "id": 313,
+ "id": 314,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -3118,7 +3149,7 @@
},
{
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "Subscription"
}
],
@@ -3127,7 +3158,7 @@
"defaultValue": "new Map()"
},
{
- "id": 444,
+ "id": 447,
"name": "_callRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -3137,7 +3168,7 @@
},
"signatures": [
{
- "id": 445,
+ "id": 448,
"name": "_callRefreshToken",
"kind": 4096,
"kindString": "Call signature",
@@ -3146,7 +3177,7 @@
},
"parameters": [
{
- "id": 446,
+ "id": 449,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -3178,7 +3209,7 @@
{
"type": "reflection",
"declaration": {
- "id": 447,
+ "id": 450,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3187,7 +3218,7 @@
},
"children": [
{
- "id": 448,
+ "id": 451,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3197,7 +3228,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 468,
+ "line": 477,
"character": 19
}
],
@@ -3208,7 +3239,7 @@
}
},
{
- "id": 449,
+ "id": 452,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3218,7 +3249,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 468,
+ "line": 477,
"character": 26
}
],
@@ -3234,8 +3265,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 448,
- 449
+ 451,
+ 452
]
}
]
@@ -3244,7 +3275,7 @@
{
"type": "reflection",
"declaration": {
- "id": 450,
+ "id": 453,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3253,7 +3284,7 @@
},
"children": [
{
- "id": 451,
+ "id": 454,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3263,7 +3294,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 470,
+ "line": 479,
"character": 19
}
],
@@ -3274,7 +3305,7 @@
"defaultValue": "null"
},
{
- "id": 452,
+ "id": 455,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3284,7 +3315,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 470,
+ "line": 479,
"character": 32
}
],
@@ -3299,8 +3330,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 451,
- 452
+ 454,
+ 455
]
}
]
@@ -3316,13 +3347,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 445,
+ "line": 454,
"character": 33
}
]
},
{
- "id": 398,
+ "id": 400,
"name": "_handleEmailSignIn",
"kind": 2048,
"kindString": "Method",
@@ -3332,7 +3363,7 @@
},
"signatures": [
{
- "id": 399,
+ "id": 401,
"name": "_handleEmailSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -3341,7 +3372,7 @@
},
"parameters": [
{
- "id": 400,
+ "id": 402,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -3354,7 +3385,7 @@
}
},
{
- "id": 401,
+ "id": 403,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -3367,7 +3398,7 @@
}
},
{
- "id": 402,
+ "id": 404,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3377,7 +3408,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 403,
+ "id": 405,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3386,7 +3417,7 @@
},
"children": [
{
- "id": 404,
+ "id": 406,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3397,7 +3428,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 340,
+ "line": 345,
"character": 16
}
],
@@ -3421,14 +3452,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 404
+ 406
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 339,
+ "line": 344,
"character": 12
}
]
@@ -3446,7 +3477,7 @@
{
"type": "reflection",
"declaration": {
- "id": 405,
+ "id": 407,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3455,7 +3486,7 @@
},
"children": [
{
- "id": 406,
+ "id": 408,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3465,7 +3496,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 354,
+ "line": 359,
"character": 19
}
],
@@ -3476,7 +3507,7 @@
}
},
{
- "id": 409,
+ "id": 411,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3486,7 +3517,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 354,
+ "line": 359,
"character": 58
}
],
@@ -3497,7 +3528,7 @@
"defaultValue": "null"
},
{
- "id": 408,
+ "id": 410,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3507,7 +3538,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 354,
+ "line": 359,
"character": 45
}
],
@@ -3519,7 +3550,7 @@
"defaultValue": "data"
},
{
- "id": 407,
+ "id": 409,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3529,13 +3560,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 354,
+ "line": 359,
"character": 25
}
],
"type": {
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
"defaultValue": "data.user"
@@ -3546,10 +3577,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 406,
- 409,
408,
- 407
+ 411,
+ 410,
+ 409
]
}
]
@@ -3558,7 +3589,7 @@
{
"type": "reflection",
"declaration": {
- "id": 410,
+ "id": 412,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3567,7 +3598,7 @@
},
"children": [
{
- "id": 411,
+ "id": 413,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3577,7 +3608,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 361,
"character": 19
}
],
@@ -3588,7 +3619,7 @@
"defaultValue": "null"
},
{
- "id": 414,
+ "id": 416,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3598,7 +3629,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 361,
"character": 59
}
],
@@ -3608,7 +3639,7 @@
}
},
{
- "id": 413,
+ "id": 415,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3618,7 +3649,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 361,
"character": 46
}
],
@@ -3629,7 +3660,7 @@
"defaultValue": "null"
},
{
- "id": 412,
+ "id": 414,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3639,7 +3670,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 361,
"character": 31
}
],
@@ -3655,10 +3686,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 411,
- 414,
413,
- 412
+ 416,
+ 415,
+ 414
]
}
]
@@ -3674,13 +3705,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 336,
+ "line": 341,
"character": 34
}
]
},
{
- "id": 415,
+ "id": 417,
"name": "_handleProviderSignIn",
"kind": 2048,
"kindString": "Method",
@@ -3690,7 +3721,7 @@
},
"signatures": [
{
- "id": 416,
+ "id": 418,
"name": "_handleProviderSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -3699,7 +3730,7 @@
},
"parameters": [
{
- "id": 417,
+ "id": 419,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -3713,7 +3744,7 @@
}
},
{
- "id": 418,
+ "id": 420,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3723,7 +3754,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 419,
+ "id": 421,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3732,7 +3763,7 @@
},
"children": [
{
- "id": 420,
+ "id": 422,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3743,7 +3774,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 363,
+ "line": 368,
"character": 16
}
],
@@ -3760,6 +3791,36 @@
}
]
}
+ },
+ {
+ "id": 423,
+ "name": "scopes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 369,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
}
],
"groups": [
@@ -3767,14 +3828,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 420
+ 422,
+ 423
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 362,
+ "line": 367,
"character": 12
}
]
@@ -3789,7 +3851,7 @@
{
"type": "reflection",
"declaration": {
- "id": 421,
+ "id": 424,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3798,7 +3860,7 @@
},
"children": [
{
- "id": 424,
+ "id": 427,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3808,7 +3870,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 34
}
],
@@ -3819,7 +3881,7 @@
"defaultValue": "null"
},
{
- "id": 427,
+ "id": 430,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3829,7 +3891,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 74
}
],
@@ -3840,7 +3902,7 @@
"defaultValue": "null"
},
{
- "id": 422,
+ "id": 425,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3850,7 +3912,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 23
}
],
@@ -3861,7 +3923,7 @@
}
},
{
- "id": 425,
+ "id": 428,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3871,7 +3933,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 49
}
],
@@ -3882,7 +3944,7 @@
"defaultValue": "null"
},
{
- "id": 423,
+ "id": 426,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -3892,7 +3954,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 28
}
],
@@ -3902,7 +3964,7 @@
}
},
{
- "id": 426,
+ "id": 429,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3912,7 +3974,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 373,
+ "line": 382,
"character": 61
}
],
@@ -3928,12 +3990,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 424,
427,
- 422,
+ 430,
425,
- 423,
- 426
+ 428,
+ 426,
+ 429
]
}
]
@@ -3942,7 +4004,7 @@
{
"type": "reflection",
"declaration": {
- "id": 428,
+ "id": 431,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3951,7 +4013,7 @@
},
"children": [
{
- "id": 429,
+ "id": 432,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3961,7 +4023,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 386,
"character": 19
}
],
@@ -3972,7 +4034,7 @@
"defaultValue": "null"
},
{
- "id": 432,
+ "id": 435,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3982,7 +4044,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 386,
"character": 59
}
],
@@ -3992,7 +4054,7 @@
}
},
{
- "id": 431,
+ "id": 434,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -4002,7 +4064,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 386,
"character": 46
}
],
@@ -4013,7 +4075,7 @@
"defaultValue": "null"
},
{
- "id": 430,
+ "id": 433,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4023,7 +4085,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 386,
"character": 31
}
],
@@ -4039,10 +4101,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 429,
432,
- 431,
- 430
+ 435,
+ 434,
+ 433
]
}
]
@@ -4055,13 +4117,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 360,
+ "line": 365,
"character": 31
}
]
},
{
- "id": 453,
+ "id": 456,
"name": "_notifyAllSubscribers",
"kind": 2048,
"kindString": "Method",
@@ -4071,7 +4133,7 @@
},
"signatures": [
{
- "id": 454,
+ "id": 457,
"name": "_notifyAllSubscribers",
"kind": 4096,
"kindString": "Call signature",
@@ -4080,7 +4142,7 @@
},
"parameters": [
{
- "id": 455,
+ "id": 458,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -4103,13 +4165,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 474,
+ "line": 483,
"character": 31
}
]
},
{
- "id": 436,
+ "id": 439,
"name": "_persistSession",
"kind": 2048,
"kindString": "Method",
@@ -4119,7 +4181,7 @@
},
"signatures": [
{
- "id": 437,
+ "id": 440,
"name": "_persistSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4128,7 +4190,7 @@
},
"parameters": [
{
- "id": 438,
+ "id": 441,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -4142,7 +4204,7 @@
}
},
{
- "id": 439,
+ "id": 442,
"name": "secondsToExpiry",
"kind": 32768,
"kindString": "Parameter",
@@ -4164,13 +4226,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 395,
+ "line": 404,
"character": 25
}
]
},
{
- "id": 442,
+ "id": 445,
"name": "_recoverSession",
"kind": 2048,
"kindString": "Method",
@@ -4180,7 +4242,7 @@
},
"signatures": [
{
- "id": 443,
+ "id": 446,
"name": "_recoverSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4211,13 +4273,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 408,
+ "line": 417,
"character": 31
}
]
},
{
- "id": 440,
+ "id": 443,
"name": "_removeSession",
"kind": 2048,
"kindString": "Method",
@@ -4227,7 +4289,7 @@
},
"signatures": [
{
- "id": 441,
+ "id": 444,
"name": "_removeSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4249,13 +4311,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 402,
+ "line": 411,
"character": 30
}
]
},
{
- "id": 433,
+ "id": 436,
"name": "_saveSession",
"kind": 2048,
"kindString": "Method",
@@ -4265,7 +4327,7 @@
},
"signatures": [
{
- "id": 434,
+ "id": 437,
"name": "_saveSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4274,7 +4336,7 @@
},
"parameters": [
{
- "id": 435,
+ "id": 438,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -4297,13 +4359,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 381,
+ "line": 390,
"character": 22
}
]
},
{
- "id": 376,
+ "id": 378,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -4312,7 +4374,7 @@
},
"signatures": [
{
- "id": 377,
+ "id": 379,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -4324,7 +4386,7 @@
},
"parameters": [
{
- "id": 378,
+ "id": 380,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4342,7 +4404,7 @@
{
"type": "reflection",
"declaration": {
- "id": 379,
+ "id": 381,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4351,7 +4413,7 @@
},
"children": [
{
- "id": 380,
+ "id": 382,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -4365,7 +4427,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 253,
+ "line": 256,
"character": 16
}
],
@@ -4393,7 +4455,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 380
+ 382
]
}
]
@@ -4409,7 +4471,7 @@
{
"type": "reflection",
"declaration": {
- "id": 381,
+ "id": 383,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4418,7 +4480,7 @@
},
"children": [
{
- "id": 382,
+ "id": 384,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4428,7 +4490,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 254,
+ "line": 257,
"character": 20
}
],
@@ -4448,7 +4510,7 @@
}
},
{
- "id": 383,
+ "id": 385,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4458,7 +4520,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 254,
+ "line": 257,
"character": 43
}
],
@@ -4482,15 +4544,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 382,
- 383
+ 384,
+ 385
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 254,
+ "line": 257,
"character": 14
}
]
@@ -4504,13 +4566,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 252,
+ "line": 255,
"character": 25
}
]
},
{
- "id": 388,
+ "id": 390,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -4519,7 +4581,7 @@
},
"signatures": [
{
- "id": 389,
+ "id": 391,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -4532,7 +4594,7 @@
},
"parameters": [
{
- "id": 390,
+ "id": 392,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -4542,7 +4604,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 391,
+ "id": 393,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4551,7 +4613,7 @@
},
"signatures": [
{
- "id": 392,
+ "id": 394,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -4560,7 +4622,7 @@
},
"parameters": [
{
- "id": 393,
+ "id": 395,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -4574,7 +4636,7 @@
}
},
{
- "id": 394,
+ "id": 396,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -4606,7 +4668,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 317,
+ "line": 322,
"character": 13
}
]
@@ -4617,7 +4679,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 395,
+ "id": 397,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4626,7 +4688,7 @@
},
"children": [
{
- "id": 396,
+ "id": 398,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4636,7 +4698,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 318,
+ "line": 323,
"character": 11
}
],
@@ -4645,7 +4707,7 @@
"types": [
{
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "Subscription"
},
{
@@ -4656,7 +4718,7 @@
}
},
{
- "id": 397,
+ "id": 399,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4666,7 +4728,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 318,
+ "line": 323,
"character": 39
}
],
@@ -4690,15 +4752,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 396,
- 397
+ 398,
+ 399
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 318,
+ "line": 323,
"character": 4
}
]
@@ -4709,13 +4771,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 316,
+ "line": 321,
"character": 19
}
]
},
{
- "id": 363,
+ "id": 365,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -4724,7 +4786,7 @@
},
"signatures": [
{
- "id": 364,
+ "id": 366,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -4740,7 +4802,7 @@
{
"type": "reflection",
"declaration": {
- "id": 365,
+ "id": 367,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4749,7 +4811,7 @@
},
"children": [
{
- "id": 366,
+ "id": 368,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4759,7 +4821,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 205,
+ "line": 208,
"character": 8
}
],
@@ -4779,7 +4841,7 @@
}
},
{
- "id": 368,
+ "id": 370,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4789,7 +4851,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 207,
+ "line": 210,
"character": 9
}
],
@@ -4808,7 +4870,7 @@
}
},
{
- "id": 367,
+ "id": 369,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4818,7 +4880,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 206,
+ "line": 209,
"character": 8
}
],
@@ -4827,7 +4889,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -4843,16 +4905,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 366,
368,
- 367
+ 370,
+ 369
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 204,
+ "line": 207,
"character": 34
}
]
@@ -4866,13 +4928,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 204,
+ "line": 207,
"character": 22
}
]
},
{
- "id": 361,
+ "id": 363,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -4881,7 +4943,7 @@
},
"signatures": [
{
- "id": 362,
+ "id": 364,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -4910,13 +4972,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 197,
+ "line": 200,
"character": 9
}
]
},
{
- "id": 342,
+ "id": 343,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -4925,7 +4987,7 @@
},
"signatures": [
{
- "id": 343,
+ "id": 344,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -4937,7 +4999,7 @@
},
"parameters": [
{
- "id": 344,
+ "id": 345,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4948,7 +5010,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 345,
+ "id": 346,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4957,7 +5019,7 @@
},
"children": [
{
- "id": 346,
+ "id": 347,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -4970,7 +5032,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 11
}
],
@@ -4989,7 +5051,7 @@
}
},
{
- "id": 347,
+ "id": 348,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -5002,7 +5064,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 21
}
],
@@ -5021,7 +5083,7 @@
}
},
{
- "id": 348,
+ "id": 349,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -5034,7 +5096,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 148,
+ "line": 149,
"character": 31
}
],
@@ -5078,16 +5140,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 346,
347,
- 348
+ 348,
+ 349
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 147,
+ "line": 148,
"character": 15
}
]
@@ -5095,7 +5157,7 @@
}
},
{
- "id": 349,
+ "id": 350,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5105,7 +5167,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 350,
+ "id": 351,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5114,7 +5176,7 @@
},
"children": [
{
- "id": 351,
+ "id": 352,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -5125,7 +5187,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 150,
+ "line": 151,
"character": 16
}
],
@@ -5142,6 +5204,36 @@
}
]
}
+ },
+ {
+ "id": 353,
+ "name": "scopes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 152,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
}
],
"groups": [
@@ -5149,14 +5241,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 351
+ 352,
+ 353
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 149,
+ "line": 150,
"character": 12
}
]
@@ -5171,7 +5264,7 @@
{
"type": "reflection",
"declaration": {
- "id": 352,
+ "id": 354,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5180,7 +5273,7 @@
},
"children": [
{
- "id": 358,
+ "id": 360,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -5190,7 +5283,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 160,
"character": 8
}
],
@@ -5210,7 +5303,7 @@
}
},
{
- "id": 357,
+ "id": 359,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5220,7 +5313,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 157,
+ "line": 159,
"character": 9
}
],
@@ -5239,7 +5332,7 @@
}
},
{
- "id": 355,
+ "id": 357,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -5250,7 +5343,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 155,
+ "line": 157,
"character": 12
}
],
@@ -5261,7 +5354,7 @@
}
},
{
- "id": 353,
+ "id": 355,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -5271,7 +5364,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 153,
+ "line": 155,
"character": 11
}
],
@@ -5291,7 +5384,7 @@
}
},
{
- "id": 356,
+ "id": 358,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -5302,7 +5395,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 156,
+ "line": 158,
"character": 7
}
],
@@ -5321,7 +5414,7 @@
}
},
{
- "id": 354,
+ "id": 356,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -5331,7 +5424,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 154,
+ "line": 156,
"character": 8
}
],
@@ -5340,7 +5433,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -5356,19 +5449,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 358,
+ 360,
+ 359,
357,
355,
- 353,
- 356,
- 354
+ 358,
+ 356
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 152,
+ "line": 154,
"character": 13
}
]
@@ -5382,13 +5475,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 147,
+ "line": 148,
"character": 14
}
]
},
{
- "id": 384,
+ "id": 386,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -5397,7 +5490,7 @@
},
"signatures": [
{
- "id": 385,
+ "id": 387,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -5414,7 +5507,7 @@
{
"type": "reflection",
"declaration": {
- "id": 386,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5423,7 +5516,7 @@
},
"children": [
{
- "id": 387,
+ "id": 389,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5433,7 +5526,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 302,
+ "line": 307,
"character": 34
}
],
@@ -5457,14 +5550,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 387
+ 389
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 302,
+ "line": 307,
"character": 27
}
]
@@ -5478,13 +5571,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 302,
+ "line": 307,
"character": 15
}
]
},
{
- "id": 328,
+ "id": 329,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -5493,7 +5586,7 @@
},
"signatures": [
{
- "id": 329,
+ "id": 330,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -5505,7 +5598,7 @@
},
"parameters": [
{
- "id": 330,
+ "id": 331,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5516,7 +5609,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 331,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5525,7 +5618,7 @@
},
"children": [
{
- "id": 332,
+ "id": 333,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -5557,7 +5650,7 @@
}
},
{
- "id": 333,
+ "id": 334,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -5594,8 +5687,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 332,
- 333
+ 333,
+ 334
]
}
],
@@ -5610,7 +5703,7 @@
}
},
{
- "id": 334,
+ "id": 335,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5620,7 +5713,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 335,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5629,7 +5722,7 @@
},
"children": [
{
- "id": 336,
+ "id": 337,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -5664,7 +5757,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 336
+ 337
]
}
],
@@ -5686,7 +5779,7 @@
{
"type": "reflection",
"declaration": {
- "id": 337,
+ "id": 338,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5695,7 +5788,7 @@
},
"children": [
{
- "id": 341,
+ "id": 342,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -5719,7 +5812,7 @@
},
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -5730,7 +5823,7 @@
}
},
{
- "id": 340,
+ "id": 341,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5759,7 +5852,7 @@
}
},
{
- "id": 339,
+ "id": 340,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -5789,7 +5882,7 @@
}
},
{
- "id": 338,
+ "id": 339,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -5808,7 +5901,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -5824,10 +5917,10 @@
"title": "Variables",
"kind": 32,
"children": [
+ 342,
341,
340,
- 339,
- 338
+ 339
]
}
],
@@ -5854,7 +5947,7 @@
]
},
{
- "id": 369,
+ "id": 371,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -5863,7 +5956,7 @@
},
"signatures": [
{
- "id": 370,
+ "id": 372,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -5875,7 +5968,7 @@
},
"parameters": [
{
- "id": 371,
+ "id": 373,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -5884,7 +5977,7 @@
},
"type": {
"type": "reference",
- "id": 70,
+ "id": 71,
"name": "UserAttributes"
}
}
@@ -5895,7 +5988,7 @@
{
"type": "reflection",
"declaration": {
- "id": 372,
+ "id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5904,7 +5997,7 @@
},
"children": [
{
- "id": 373,
+ "id": 375,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -5914,7 +6007,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 232,
"character": 19
}
],
@@ -5923,7 +6016,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -5934,7 +6027,7 @@
}
},
{
- "id": 375,
+ "id": 377,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5944,7 +6037,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 232,
"character": 58
}
],
@@ -5963,7 +6056,7 @@
}
},
{
- "id": 374,
+ "id": 376,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -5973,7 +6066,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 232,
"character": 38
}
],
@@ -5982,7 +6075,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -5998,16 +6091,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 373,
375,
- 374
+ 377,
+ 376
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 232,
"character": 13
}
]
@@ -6021,13 +6114,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 227,
+ "line": 230,
"character": 14
}
]
},
{
- "id": 359,
+ "id": 361,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -6036,7 +6129,7 @@
},
"signatures": [
{
- "id": 360,
+ "id": 362,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -6052,7 +6145,7 @@
"types": [
{
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
},
{
@@ -6066,7 +6159,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 190,
+ "line": 193,
"character": 6
}
]
@@ -6077,43 +6170,43 @@
"title": "Constructors",
"kind": 512,
"children": [
- 314
+ 315
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 307,
+ 308,
+ 311,
310,
309,
- 308,
+ 313,
312,
- 311,
- 313
+ 314
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 444,
- 398,
- 415,
- 453,
+ 447,
+ 400,
+ 417,
+ 456,
+ 439,
+ 445,
+ 443,
436,
- 442,
- 440,
- 433,
- 376,
- 388,
+ 378,
+ 390,
+ 365,
363,
- 361,
- 342,
- 384,
- 328,
- 369,
- 359
+ 343,
+ 386,
+ 329,
+ 371,
+ 361
]
}
],
@@ -6126,7 +6219,7 @@
]
},
{
- "id": 456,
+ "id": 459,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -6135,7 +6228,7 @@
},
"children": [
{
- "id": 458,
+ "id": 461,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -6154,7 +6247,7 @@
"defaultValue": "true"
},
{
- "id": 461,
+ "id": 464,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -6173,7 +6266,7 @@
"defaultValue": "true"
},
{
- "id": 462,
+ "id": 465,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -6188,7 +6281,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 463,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6198,7 +6291,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 460,
+ "id": 463,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -6217,7 +6310,7 @@
"defaultValue": "globalThis.localStorage"
},
{
- "id": 459,
+ "id": 462,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -6236,7 +6329,7 @@
"defaultValue": "true"
},
{
- "id": 457,
+ "id": 460,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -6260,12 +6353,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 458,
461,
+ 464,
+ 465,
+ 463,
462,
- 460,
- 459,
- 457
+ 460
]
}
],
@@ -6287,14 +6380,14 @@
"title": "Classes",
"kind": 128,
"children": [
- 306
+ 307
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 456
+ 459
]
}
],
@@ -6307,7 +6400,7 @@
]
},
{
- "id": 464,
+ "id": 467,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -6317,7 +6410,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
"children": [
{
- "id": 466,
+ "id": 469,
"name": "AuthChangeEvent",
"kind": 16777216,
"kindString": "Reference",
@@ -6327,17 +6420,17 @@
"target": 97
},
{
- "id": 471,
+ "id": 474,
"name": "CookieOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 85
+ "target": 86
},
{
- "id": 465,
+ "id": 468,
"name": "Provider",
"kind": 16777216,
"kindString": "Reference",
@@ -6347,7 +6440,7 @@
"target": 96
},
{
- "id": 467,
+ "id": 470,
"name": "Session",
"kind": 16777216,
"kindString": "Reference",
@@ -6357,44 +6450,44 @@
"target": 45
},
{
- "id": 470,
+ "id": 473,
"name": "Subscription",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 75
+ "target": 76
},
{
- "id": 468,
+ "id": 471,
"name": "User",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 51
+ "target": 52
},
{
- "id": 469,
+ "id": 472,
"name": "UserAttributes",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 70
+ "target": 71
},
{
- "id": 472,
+ "id": 475,
"name": "UserCredentials",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 91
+ "target": 92
}
],
"groups": [
@@ -6402,14 +6495,14 @@
"title": "References",
"kind": 16777216,
"children": [
- 466,
- 471,
- 465,
- 467,
- 470,
- 468,
469,
- 472
+ 474,
+ 468,
+ 470,
+ 473,
+ 471,
+ 472,
+ 475
]
}
],
@@ -8234,7 +8327,7 @@
]
},
{
- "id": 270,
+ "id": 271,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -8244,7 +8337,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
"children": [
{
- "id": 271,
+ "id": 272,
"name": "LocalStorage",
"kind": 128,
"kindString": "Class",
@@ -8253,7 +8346,7 @@
},
"indexSignature": [
{
- "id": 273,
+ "id": 274,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -8262,7 +8355,7 @@
},
"parameters": [
{
- "id": 274,
+ "id": 275,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -8283,7 +8376,7 @@
],
"children": [
{
- "id": 276,
+ "id": 277,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8292,7 +8385,7 @@
},
"signatures": [
{
- "id": 277,
+ "id": 278,
"name": "new LocalStorage",
"kind": 16384,
"kindString": "Constructor signature",
@@ -8301,7 +8394,7 @@
},
"parameters": [
{
- "id": 278,
+ "id": 279,
"name": "localStorage",
"kind": 32768,
"kindString": "Parameter",
@@ -8316,7 +8409,7 @@
],
"type": {
"type": "reference",
- "id": 271,
+ "id": 272,
"name": "LocalStorage"
}
}
@@ -8330,7 +8423,7 @@
]
},
{
- "id": 275,
+ "id": 276,
"name": "length",
"kind": 1024,
"kindString": "Property",
@@ -8350,7 +8443,7 @@
}
},
{
- "id": 272,
+ "id": 273,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -8370,7 +8463,7 @@
}
},
{
- "id": 279,
+ "id": 280,
"name": "clear",
"kind": 2048,
"kindString": "Method",
@@ -8379,7 +8472,7 @@
},
"signatures": [
{
- "id": 280,
+ "id": 281,
"name": "clear",
"kind": 4096,
"kindString": "Call signature",
@@ -8401,7 +8494,7 @@
]
},
{
- "id": 288,
+ "id": 289,
"name": "getItem",
"kind": 2048,
"kindString": "Method",
@@ -8410,7 +8503,7 @@
},
"signatures": [
{
- "id": 289,
+ "id": 290,
"name": "getItem",
"kind": 4096,
"kindString": "Call signature",
@@ -8419,7 +8512,7 @@
},
"parameters": [
{
- "id": 290,
+ "id": 291,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8456,7 +8549,7 @@
]
},
{
- "id": 281,
+ "id": 282,
"name": "key",
"kind": 2048,
"kindString": "Method",
@@ -8465,7 +8558,7 @@
},
"signatures": [
{
- "id": 282,
+ "id": 283,
"name": "key",
"kind": 4096,
"kindString": "Call signature",
@@ -8474,7 +8567,7 @@
},
"parameters": [
{
- "id": 283,
+ "id": 284,
"name": "index",
"kind": 32768,
"kindString": "Parameter",
@@ -8511,7 +8604,7 @@
]
},
{
- "id": 291,
+ "id": 292,
"name": "removeItem",
"kind": 2048,
"kindString": "Method",
@@ -8520,7 +8613,7 @@
},
"signatures": [
{
- "id": 292,
+ "id": 293,
"name": "removeItem",
"kind": 4096,
"kindString": "Call signature",
@@ -8529,7 +8622,7 @@
},
"parameters": [
{
- "id": 293,
+ "id": 294,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8557,7 +8650,7 @@
]
},
{
- "id": 284,
+ "id": 285,
"name": "setItem",
"kind": 2048,
"kindString": "Method",
@@ -8566,7 +8659,7 @@
},
"signatures": [
{
- "id": 285,
+ "id": 286,
"name": "setItem",
"kind": 4096,
"kindString": "Call signature",
@@ -8575,7 +8668,7 @@
},
"parameters": [
{
- "id": 286,
+ "id": 287,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8588,7 +8681,7 @@
}
},
{
- "id": 287,
+ "id": 288,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -8621,26 +8714,26 @@
"title": "Constructors",
"kind": 512,
"children": [
- 276
+ 277
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 275,
- 272
+ 276,
+ 273
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 279,
- 288,
- 281,
- 291,
- 284
+ 280,
+ 289,
+ 282,
+ 292,
+ 285
]
}
],
@@ -8659,7 +8752,7 @@
]
},
{
- "id": 298,
+ "id": 299,
"name": "getParameterByName",
"kind": 64,
"kindString": "Function",
@@ -8668,7 +8761,7 @@
},
"signatures": [
{
- "id": 299,
+ "id": 300,
"name": "getParameterByName",
"kind": 4096,
"kindString": "Call signature",
@@ -8677,7 +8770,7 @@
},
"parameters": [
{
- "id": 300,
+ "id": 301,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -8690,7 +8783,7 @@
}
},
{
- "id": 301,
+ "id": 302,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -8737,7 +8830,7 @@
]
},
{
- "id": 296,
+ "id": 297,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -8747,7 +8840,7 @@
},
"signatures": [
{
- "id": 297,
+ "id": 298,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -8769,7 +8862,7 @@
]
},
{
- "id": 294,
+ "id": 295,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -8778,7 +8871,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 296,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -8805,16 +8898,16 @@
"title": "Classes",
"kind": 128,
"children": [
- 271
+ 272
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 298,
- 296,
- 294
+ 299,
+ 297,
+ 295
]
}
],
@@ -8827,7 +8920,7 @@
]
},
{
- "id": 302,
+ "id": 303,
"name": "\"lib/polyfills\"",
"kind": 1,
"kindString": "Module",
@@ -8837,7 +8930,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts",
"children": [
{
- "id": 303,
+ "id": 304,
"name": "polyfillGlobalThis",
"kind": 64,
"kindString": "Function",
@@ -8846,7 +8939,7 @@
},
"signatures": [
{
- "id": 304,
+ "id": 305,
"name": "polyfillGlobalThis",
"kind": 4096,
"kindString": "Call signature",
@@ -8876,7 +8969,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 303
+ 304
]
}
],
@@ -8899,7 +8992,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts",
"children": [
{
- "id": 85,
+ "id": 86,
"name": "CookieOptions",
"kind": 256,
"kindString": "Interface",
@@ -8908,7 +9001,7 @@
},
"children": [
{
- "id": 88,
+ "id": 89,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -8919,7 +9012,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 72,
+ "line": 73,
"character": 8
}
],
@@ -8938,7 +9031,7 @@
}
},
{
- "id": 87,
+ "id": 88,
"name": "lifetime",
"kind": 1024,
"kindString": "Property",
@@ -8949,7 +9042,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 70,
+ "line": 71,
"character": 10
}
],
@@ -8968,7 +9061,7 @@
}
},
{
- "id": 86,
+ "id": 87,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -8979,7 +9072,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 68,
+ "line": 69,
"character": 6
}
],
@@ -8998,7 +9091,7 @@
}
},
{
- "id": 89,
+ "id": 90,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -9009,7 +9102,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 73,
+ "line": 74,
"character": 6
}
],
@@ -9028,7 +9121,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "sameSite",
"kind": 1024,
"kindString": "Property",
@@ -9039,7 +9132,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 75,
+ "line": 76,
"character": 10
}
],
@@ -9063,18 +9156,18 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 89,
88,
87,
- 86,
- 89,
- 90
+ 90,
+ 91
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 66,
+ "line": 67,
"character": 30
}
]
@@ -9089,7 +9182,7 @@
},
"children": [
{
- "id": 46,
+ "id": 47,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -9099,7 +9192,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 6,
+ "line": 7,
"character": 14
}
],
@@ -9109,7 +9202,7 @@
}
},
{
- "id": 47,
+ "id": 48,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -9119,7 +9212,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 7,
+ "line": 8,
"character": 12
}
],
@@ -9129,7 +9222,37 @@
}
},
{
- "id": 48,
+ "id": 46,
+ "name": "provider_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 6,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 49,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -9139,7 +9262,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 8,
+ "line": 9,
"character": 15
}
],
@@ -9149,7 +9272,7 @@
}
},
{
- "id": 49,
+ "id": 50,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -9159,7 +9282,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 9,
+ "line": 10,
"character": 12
}
],
@@ -9169,7 +9292,7 @@
}
},
{
- "id": 50,
+ "id": 51,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9179,13 +9302,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 10,
+ "line": 11,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 51,
+ "id": 52,
"name": "User"
}
}
@@ -9195,11 +9318,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 46,
47,
48,
+ 46,
49,
- 50
+ 50,
+ 51
]
}
],
@@ -9212,7 +9336,7 @@
]
},
{
- "id": 75,
+ "id": 76,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
@@ -9221,7 +9345,7 @@
},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -9234,14 +9358,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 59,
+ "line": 60,
"character": 10
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 78,
+ "id": 79,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9250,7 +9374,7 @@
},
"signatures": [
{
- "id": 79,
+ "id": 80,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -9259,7 +9383,7 @@
},
"parameters": [
{
- "id": 80,
+ "id": 81,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -9273,7 +9397,7 @@
}
},
{
- "id": 81,
+ "id": 82,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -9305,7 +9429,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 59,
+ "line": 60,
"character": 11
}
]
@@ -9313,7 +9437,7 @@
}
},
{
- "id": 76,
+ "id": 77,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -9326,7 +9450,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 55,
+ "line": 56,
"character": 4
}
],
@@ -9336,7 +9460,7 @@
}
},
{
- "id": 82,
+ "id": 83,
"name": "unsubscribe",
"kind": 1024,
"kindString": "Property",
@@ -9349,14 +9473,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 63,
+ "line": 64,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 83,
+ "id": 84,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9365,7 +9489,7 @@
},
"signatures": [
{
- "id": 84,
+ "id": 85,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -9381,7 +9505,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 63,
+ "line": 64,
"character": 14
}
]
@@ -9394,22 +9518,22 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 78,
77,
- 76,
- 82
+ 83
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 52,
"character": 29
}
]
},
{
- "id": 51,
+ "id": 52,
"name": "User",
"kind": 256,
"kindString": "Interface",
@@ -9418,7 +9542,7 @@
},
"children": [
{
- "id": 53,
+ "id": 54,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -9428,14 +9552,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 14,
+ "line": 15,
"character": 14
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 54,
+ "id": 55,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9444,7 +9568,7 @@
},
"indexSignature": [
{
- "id": 56,
+ "id": 57,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -9453,7 +9577,7 @@
},
"parameters": [
{
- "id": 57,
+ "id": 58,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -9474,7 +9598,7 @@
],
"children": [
{
- "id": 55,
+ "id": 56,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -9485,7 +9609,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 15,
+ "line": 16,
"character": 12
}
],
@@ -9509,14 +9633,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 55
+ 56
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 14,
+ "line": 15,
"character": 15
}
]
@@ -9524,7 +9648,7 @@
}
},
{
- "id": 62,
+ "id": 63,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -9534,7 +9658,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 21,
+ "line": 22,
"character": 5
}
],
@@ -9544,7 +9668,7 @@
}
},
{
- "id": 63,
+ "id": 64,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -9555,7 +9679,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 22,
+ "line": 23,
"character": 22
}
],
@@ -9574,7 +9698,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -9585,7 +9709,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 25,
+ "line": 26,
"character": 14
}
],
@@ -9604,7 +9728,7 @@
}
},
{
- "id": 65,
+ "id": 66,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -9614,7 +9738,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 24,
+ "line": 25,
"character": 12
}
],
@@ -9624,7 +9748,7 @@
}
},
{
- "id": 64,
+ "id": 65,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9635,7 +9759,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 23,
+ "line": 24,
"character": 7
}
],
@@ -9654,7 +9778,7 @@
}
},
{
- "id": 52,
+ "id": 53,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -9664,7 +9788,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 13,
+ "line": 14,
"character": 4
}
],
@@ -9674,7 +9798,7 @@
}
},
{
- "id": 67,
+ "id": 68,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -9685,7 +9809,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 26,
+ "line": 27,
"character": 17
}
],
@@ -9704,7 +9828,7 @@
}
},
{
- "id": 68,
+ "id": 69,
"name": "role",
"kind": 1024,
"kindString": "Property",
@@ -9715,7 +9839,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 27,
+ "line": 28,
"character": 6
}
],
@@ -9734,7 +9858,7 @@
}
},
{
- "id": 69,
+ "id": 70,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -9745,7 +9869,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 28,
+ "line": 29,
"character": 12
}
],
@@ -9764,7 +9888,7 @@
}
},
{
- "id": 58,
+ "id": 59,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -9774,14 +9898,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 18,
+ "line": 19,
"character": 15
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 59,
+ "id": 60,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9790,7 +9914,7 @@
},
"indexSignature": [
{
- "id": 60,
+ "id": 61,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -9799,7 +9923,7 @@
},
"parameters": [
{
- "id": 61,
+ "id": 62,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -9821,7 +9945,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 18,
+ "line": 19,
"character": 16
}
]
@@ -9834,30 +9958,30 @@
"title": "Properties",
"kind": 1024,
"children": [
- 53,
- 62,
+ 54,
63,
- 66,
- 65,
64,
- 52,
67,
+ 66,
+ 65,
+ 53,
68,
69,
- 58
+ 70,
+ 59
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 12,
+ "line": 13,
"character": 21
}
]
},
{
- "id": 70,
+ "id": 71,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
@@ -9866,7 +9990,7 @@
},
"children": [
{
- "id": 74,
+ "id": 75,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9880,7 +10004,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 48,
+ "line": 49,
"character": 6
}
],
@@ -9899,7 +10023,7 @@
}
},
{
- "id": 71,
+ "id": 72,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9913,7 +10037,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 35,
+ "line": 36,
"character": 7
}
],
@@ -9932,7 +10056,7 @@
}
},
{
- "id": 73,
+ "id": 74,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -9946,7 +10070,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 44,
"character": 20
}
],
@@ -9965,7 +10089,7 @@
}
},
{
- "id": 72,
+ "id": 73,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -9979,7 +10103,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 40,
"character": 10
}
],
@@ -10003,23 +10127,23 @@
"title": "Properties",
"kind": 1024,
"children": [
+ 75,
+ 72,
74,
- 71,
- 73,
- 72
+ 73
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 31,
+ "line": 32,
"character": 31
}
]
},
{
- "id": 91,
+ "id": 92,
"name": "UserCredentials",
"kind": 256,
"kindString": "Interface",
@@ -10028,7 +10152,7 @@
},
"children": [
{
- "id": 92,
+ "id": 93,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10039,7 +10163,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 79,
+ "line": 80,
"character": 7
}
],
@@ -10058,7 +10182,7 @@
}
},
{
- "id": 93,
+ "id": 94,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -10069,7 +10193,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 80,
+ "line": 81,
"character": 10
}
],
@@ -10088,7 +10212,7 @@
}
},
{
- "id": 94,
+ "id": 95,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -10099,7 +10223,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 82,
+ "line": 83,
"character": 10
}
],
@@ -10108,30 +10232,6 @@
"id": 96,
"name": "Provider"
}
- },
- {
- "id": 95,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to redirect the user to after confirmation."
- },
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 84,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "name": "URL"
- }
}
],
"groups": [
@@ -10139,7 +10239,6 @@
"title": "Properties",
"kind": 1024,
"children": [
- 92,
93,
94,
95
@@ -10149,7 +10248,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 78,
+ "line": 79,
"character": 32
}
]
@@ -10242,12 +10341,12 @@
"title": "Interfaces",
"kind": 256,
"children": [
- 85,
+ 86,
45,
- 75,
- 51,
- 70,
- 91
+ 76,
+ 52,
+ 71,
+ 92
]
},
{
@@ -10274,13 +10373,13 @@
"kind": 1,
"children": [
155,
- 305,
- 464,
+ 306,
+ 467,
98,
111,
1,
- 270,
- 302,
+ 271,
+ 303,
44
]
}
diff --git a/web/spec/postgrest.json b/web/spec/postgrest.json
index df1acf05279..d52f2711628 100644
--- a/web/spec/postgrest.json
+++ b/web/spec/postgrest.json
@@ -6,7 +6,7 @@
"originalName": "",
"children": [
{
- "id": 358,
+ "id": 394,
"name": "\"PostgrestClient\"",
"kind": 1,
"kindString": "Module",
@@ -16,7 +16,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
"children": [
{
- "id": 359,
+ "id": 395,
"name": "PostgrestClient",
"kind": 128,
"kindString": "Class",
@@ -25,7 +25,7 @@
},
"children": [
{
- "id": 366,
+ "id": 402,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -37,7 +37,7 @@
},
"signatures": [
{
- "id": 367,
+ "id": 403,
"name": "new PostgrestClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -49,7 +49,7 @@
},
"parameters": [
{
- "id": 368,
+ "id": 404,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -65,7 +65,7 @@
}
},
{
- "id": 369,
+ "id": 405,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -76,7 +76,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 370,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -85,7 +85,7 @@
},
"children": [
{
- "id": 371,
+ "id": 407,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -98,14 +98,14 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 18,
+ "line": 19,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 372,
+ "id": 408,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -114,7 +114,7 @@
},
"indexSignature": [
{
- "id": 373,
+ "id": 409,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -123,7 +123,7 @@
},
"parameters": [
{
- "id": 374,
+ "id": 410,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -146,7 +146,7 @@
}
},
{
- "id": 375,
+ "id": 411,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -159,7 +159,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 18,
+ "line": 19,
"character": 26
}
],
@@ -183,15 +183,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 371,
- 375
+ 407,
+ 411
]
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 17,
+ "line": 18,
"character": 16
}
]
@@ -202,7 +202,7 @@
],
"type": {
"type": "reference",
- "id": 359,
+ "id": 395,
"name": "PostgrestClient"
}
}
@@ -210,13 +210,13 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 7,
+ "line": 8,
"character": 17
}
]
},
{
- "id": 361,
+ "id": 397,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -226,14 +226,14 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 6,
+ "line": 7,
"character": 9
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 362,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -242,7 +242,7 @@
},
"indexSignature": [
{
- "id": 363,
+ "id": 399,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -251,7 +251,7 @@
},
"parameters": [
{
- "id": 364,
+ "id": 400,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -273,7 +273,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 6,
+ "line": 7,
"character": 10
}
]
@@ -281,7 +281,7 @@
}
},
{
- "id": 365,
+ "id": 401,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -292,7 +292,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 7,
+ "line": 8,
"character": 8
}
],
@@ -311,7 +311,7 @@
}
},
{
- "id": 360,
+ "id": 396,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -321,7 +321,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 5,
+ "line": 6,
"character": 5
}
],
@@ -331,7 +331,7 @@
}
},
{
- "id": 376,
+ "id": 412,
"name": "auth",
"kind": 2048,
"kindString": "Method",
@@ -340,7 +340,7 @@
},
"signatures": [
{
- "id": 377,
+ "id": 413,
"name": "auth",
"kind": 4096,
"kindString": "Call signature",
@@ -352,7 +352,7 @@
},
"parameters": [
{
- "id": 378,
+ "id": 414,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -377,13 +377,13 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 30,
+ "line": 31,
"character": 6
}
]
},
{
- "id": 379,
+ "id": 415,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -392,7 +392,7 @@
},
"signatures": [
{
- "id": 380,
+ "id": 416,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -404,7 +404,7 @@
},
"typeParameter": [
{
- "id": 381,
+ "id": 417,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -415,7 +415,7 @@
],
"parameters": [
{
- "id": 382,
+ "id": 418,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -433,7 +433,7 @@
],
"type": {
"type": "reference",
- "id": 290,
+ "id": 294,
"typeArguments": [
{
"type": "typeParameter",
@@ -451,13 +451,13 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 40,
+ "line": 41,
"character": 6
}
]
},
{
- "id": 383,
+ "id": 419,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -466,7 +466,7 @@
},
"signatures": [
{
- "id": 384,
+ "id": 420,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -478,7 +478,7 @@
},
"typeParameter": [
{
- "id": 385,
+ "id": 421,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -489,7 +489,7 @@
],
"parameters": [
{
- "id": 386,
+ "id": 422,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -505,7 +505,7 @@
}
},
{
- "id": 387,
+ "id": 423,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -514,7 +514,7 @@
"isOptional": true
},
"comment": {
- "text": "The parameters to pass to the function call.\n"
+ "text": "The parameters to pass to the function call."
},
"type": {
"type": "union",
@@ -529,11 +529,93 @@
}
]
}
+ },
+ {
+ "id": 424,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 425,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 426,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 57,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 426
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 55,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
}
],
"type": {
"type": "reference",
- "id": 62,
+ "id": 63,
"typeArguments": [
{
"type": "typeParameter",
@@ -551,7 +633,7 @@
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 51,
+ "line": 53,
"character": 5
}
]
@@ -562,32 +644,32 @@
"title": "Constructors",
"kind": 512,
"children": [
- 366
+ 402
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 361,
- 365,
- 360
+ 397,
+ 401,
+ 396
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 376,
- 379,
- 383
+ 412,
+ 415,
+ 419
]
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
- "line": 4,
+ "line": 5,
"character": 36
}
]
@@ -598,7 +680,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 359
+ 395
]
}
],
@@ -611,7 +693,7 @@
]
},
{
- "id": 388,
+ "id": 427,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -628,7 +710,7 @@
]
},
{
- "id": 113,
+ "id": 114,
"name": "\"lib/PostgrestFilterBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -638,7 +720,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
"children": [
{
- "id": 114,
+ "id": 115,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
@@ -647,7 +729,7 @@
},
"typeParameter": [
{
- "id": 115,
+ "id": 116,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -658,7 +740,7 @@
],
"children": [
{
- "id": 269,
+ "id": 273,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -667,7 +749,7 @@
},
"signatures": [
{
- "id": 270,
+ "id": 274,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -676,7 +758,7 @@
},
"parameters": [
{
- "id": 271,
+ "id": 275,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -685,7 +767,7 @@
},
"type": {
"type": "reference",
- "id": 32,
+ "id": 27,
"typeArguments": [
{
"type": "typeParameter",
@@ -698,12 +780,12 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"name": "PostgrestFilterBuilder"
},
"inheritedFrom": {
"type": "reference",
- "id": 42,
+ "id": 37,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -717,12 +799,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 42,
+ "id": 37,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 268,
+ "id": 272,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -768,12 +850,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 36,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 263,
+ "id": 267,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -791,7 +873,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 264,
+ "id": 268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -800,7 +882,7 @@
},
"indexSignature": [
{
- "id": 265,
+ "id": 269,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -809,7 +891,7 @@
},
"parameters": [
{
- "id": 266,
+ "id": 270,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -839,12 +921,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 36,
+ "id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 261,
+ "id": 265,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -886,12 +968,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 29,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 267,
+ "id": 271,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -922,12 +1004,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 40,
+ "id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 262,
+ "id": 266,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -948,12 +1030,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 35,
+ "id": 30,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 188,
+ "id": 192,
"name": "adj",
"kind": 2048,
"kindString": "Method",
@@ -962,7 +1044,7 @@
},
"signatures": [
{
- "id": 189,
+ "id": 193,
"name": "adj",
"kind": 4096,
"kindString": "Call signature",
@@ -974,7 +1056,7 @@
},
"parameters": [
{
- "id": 190,
+ "id": 194,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -994,7 +1076,7 @@
}
},
{
- "id": 191,
+ "id": 195,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -1019,13 +1101,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 274,
+ "line": 276,
"character": 5
}
]
},
{
- "id": 168,
+ "id": 172,
"name": "cd",
"kind": 2048,
"kindString": "Method",
@@ -1034,7 +1116,7 @@
},
"signatures": [
{
- "id": 169,
+ "id": 173,
"name": "cd",
"kind": 4096,
"kindString": "Call signature",
@@ -1046,7 +1128,7 @@
},
"parameters": [
{
- "id": 170,
+ "id": 174,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1066,7 +1148,7 @@
}
},
{
- "id": 171,
+ "id": 175,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1118,13 +1200,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 205,
+ "line": 207,
"character": 4
}
]
},
{
- "id": 164,
+ "id": 168,
"name": "cs",
"kind": 2048,
"kindString": "Method",
@@ -1133,7 +1215,7 @@
},
"signatures": [
{
- "id": 165,
+ "id": 169,
"name": "cs",
"kind": 4096,
"kindString": "Call signature",
@@ -1145,7 +1227,7 @@
},
"parameters": [
{
- "id": 166,
+ "id": 170,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1165,7 +1247,7 @@
}
},
{
- "id": 167,
+ "id": 171,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1217,13 +1299,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 183,
+ "line": 185,
"character": 4
}
]
},
{
- "id": 124,
+ "id": 128,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -1232,7 +1314,7 @@
},
"signatures": [
{
- "id": 125,
+ "id": 129,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
@@ -1244,7 +1326,7 @@
},
"parameters": [
{
- "id": 126,
+ "id": 130,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1264,7 +1346,7 @@
}
},
{
- "id": 127,
+ "id": 131,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1300,13 +1382,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 63,
+ "line": 65,
"character": 4
}
]
},
{
- "id": 224,
+ "id": 228,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -1315,7 +1397,7 @@
},
"signatures": [
{
- "id": 225,
+ "id": 229,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -1327,7 +1409,7 @@
},
"parameters": [
{
- "id": 226,
+ "id": 230,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1347,7 +1429,7 @@
}
},
{
- "id": 227,
+ "id": 231,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -1359,12 +1441,12 @@
},
"type": {
"type": "reference",
- "id": 288,
+ "id": 292,
"name": "FilterOperator"
}
},
{
- "id": 228,
+ "id": 232,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1389,13 +1471,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 360,
+ "line": 362,
"character": 8
}
]
},
{
- "id": 196,
+ "id": 200,
"name": "fts",
"kind": 2048,
"kindString": "Method",
@@ -1404,7 +1486,7 @@
},
"signatures": [
{
- "id": 197,
+ "id": 201,
"name": "fts",
"kind": 4096,
"kindString": "Call signature",
@@ -1416,7 +1498,7 @@
},
"parameters": [
{
- "id": 198,
+ "id": 202,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1436,7 +1518,7 @@
}
},
{
- "id": 199,
+ "id": 203,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -1452,7 +1534,7 @@
}
},
{
- "id": 200,
+ "id": 204,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -1463,7 +1545,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 205,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1472,7 +1554,7 @@
},
"children": [
{
- "id": 202,
+ "id": 206,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -1485,7 +1567,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 305,
+ "line": 307,
"character": 46
}
],
@@ -1509,14 +1591,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 202
+ 206
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 305,
+ "line": 307,
"character": 37
}
]
@@ -1534,13 +1616,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 305,
+ "line": 307,
"character": 5
}
]
},
{
- "id": 132,
+ "id": 136,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -1549,7 +1631,7 @@
},
"signatures": [
{
- "id": 133,
+ "id": 137,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
@@ -1561,7 +1643,7 @@
},
"parameters": [
{
- "id": 134,
+ "id": 138,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1581,7 +1663,7 @@
}
},
{
- "id": 135,
+ "id": 139,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1617,13 +1699,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 87,
+ "line": 89,
"character": 4
}
]
},
{
- "id": 136,
+ "id": 140,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -1632,7 +1714,7 @@
},
"signatures": [
{
- "id": 137,
+ "id": 141,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
@@ -1644,7 +1726,7 @@
},
"parameters": [
{
- "id": 138,
+ "id": 142,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1664,7 +1746,7 @@
}
},
{
- "id": 139,
+ "id": 143,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1700,13 +1782,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 99,
+ "line": 101,
"character": 5
}
]
},
{
- "id": 152,
+ "id": 156,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -1715,7 +1797,7 @@
},
"signatures": [
{
- "id": 153,
+ "id": 157,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
@@ -1727,7 +1809,7 @@
},
"parameters": [
{
- "id": 154,
+ "id": 158,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1747,7 +1829,7 @@
}
},
{
- "id": 155,
+ "id": 159,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -1772,13 +1854,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 147,
+ "line": 149,
"character": 7
}
]
},
{
- "id": 160,
+ "id": 164,
"name": "in",
"kind": 2048,
"kindString": "Method",
@@ -1787,7 +1869,7 @@
},
"signatures": [
{
- "id": 161,
+ "id": 165,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
@@ -1799,7 +1881,7 @@
},
"parameters": [
{
- "id": 162,
+ "id": 166,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1819,7 +1901,7 @@
}
},
{
- "id": 163,
+ "id": 167,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -1858,13 +1940,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 171,
+ "line": 173,
"character": 4
}
]
},
{
- "id": 156,
+ "id": 160,
"name": "is",
"kind": 2048,
"kindString": "Method",
@@ -1873,7 +1955,7 @@
},
"signatures": [
{
- "id": 157,
+ "id": 161,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
@@ -1885,7 +1967,7 @@
},
"parameters": [
{
- "id": 158,
+ "id": 162,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1905,7 +1987,7 @@
}
},
{
- "id": 159,
+ "id": 163,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1939,13 +2021,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 159,
+ "line": 161,
"character": 4
}
]
},
{
- "id": 148,
+ "id": 152,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -1954,7 +2036,7 @@
},
"signatures": [
{
- "id": 149,
+ "id": 153,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
@@ -1966,7 +2048,7 @@
},
"parameters": [
{
- "id": 150,
+ "id": 154,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1986,7 +2068,7 @@
}
},
{
- "id": 151,
+ "id": 155,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -2011,13 +2093,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 135,
+ "line": 137,
"character": 6
}
]
},
{
- "id": 246,
+ "id": 250,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -2026,7 +2108,7 @@
},
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -2038,7 +2120,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -2054,7 +2136,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -2065,7 +2147,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 250,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2074,7 +2156,7 @@
},
"children": [
{
- "id": 251,
+ "id": 255,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -2087,7 +2169,7 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 37
}
],
@@ -2111,14 +2193,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 251
+ 255
]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 22
}
]
@@ -2133,7 +2215,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "PostgrestTransformBuilder.limit"
}
}
@@ -2141,18 +2223,18 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 7
}
],
"inheritedFrom": {
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "PostgrestTransformBuilder.limit"
}
},
{
- "id": 140,
+ "id": 144,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -2161,7 +2243,7 @@
},
"signatures": [
{
- "id": 141,
+ "id": 145,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
@@ -2173,7 +2255,7 @@
},
"parameters": [
{
- "id": 142,
+ "id": 146,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2193,7 +2275,7 @@
}
},
{
- "id": 143,
+ "id": 147,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2229,13 +2311,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 111,
+ "line": 113,
"character": 4
}
]
},
{
- "id": 144,
+ "id": 148,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -2244,7 +2326,7 @@
},
"signatures": [
{
- "id": 145,
+ "id": 149,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
@@ -2256,7 +2338,7 @@
},
"parameters": [
{
- "id": 146,
+ "id": 150,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2276,7 +2358,7 @@
}
},
{
- "id": 147,
+ "id": 151,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2312,13 +2394,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 123,
+ "line": 125,
"character": 5
}
]
},
{
- "id": 229,
+ "id": 233,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -2327,7 +2409,7 @@
},
"signatures": [
{
- "id": 230,
+ "id": 234,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -2339,7 +2421,7 @@
},
"parameters": [
{
- "id": 231,
+ "id": 235,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -2352,7 +2434,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 232,
+ "id": 236,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2361,7 +2443,7 @@
},
"indexSignature": [
{
- "id": 233,
+ "id": 237,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -2370,7 +2452,7 @@
},
"parameters": [
{
- "id": 234,
+ "id": 238,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -2392,7 +2474,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 371,
+ "line": 373,
"character": 14
}
]
@@ -2409,13 +2491,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 371,
+ "line": 373,
"character": 7
}
]
},
{
- "id": 128,
+ "id": 132,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -2424,7 +2506,7 @@
},
"signatures": [
{
- "id": 129,
+ "id": 133,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
@@ -2436,7 +2518,7 @@
},
"parameters": [
{
- "id": 130,
+ "id": 134,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2456,7 +2538,7 @@
}
},
{
- "id": 131,
+ "id": 135,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2492,13 +2574,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 75,
+ "line": 77,
"character": 5
}
]
},
{
- "id": 116,
+ "id": 117,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -2507,7 +2589,7 @@
},
"signatures": [
{
- "id": 117,
+ "id": 118,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
@@ -2519,7 +2601,7 @@
},
"parameters": [
{
- "id": 118,
+ "id": 119,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2539,7 +2621,7 @@
}
},
{
- "id": 119,
+ "id": 120,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -2551,12 +2633,12 @@
},
"type": {
"type": "reference",
- "id": 288,
+ "id": 292,
"name": "FilterOperator"
}
},
{
- "id": 120,
+ "id": 121,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2587,7 +2669,7 @@
]
},
{
- "id": 180,
+ "id": 184,
"name": "nxl",
"kind": 2048,
"kindString": "Method",
@@ -2596,7 +2678,7 @@
},
"signatures": [
{
- "id": 181,
+ "id": 185,
"name": "nxl",
"kind": 4096,
"kindString": "Call signature",
@@ -2608,7 +2690,7 @@
},
"parameters": [
{
- "id": 182,
+ "id": 186,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2628,7 +2710,7 @@
}
},
{
- "id": 183,
+ "id": 187,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -2653,13 +2735,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 250,
+ "line": 252,
"character": 5
}
]
},
{
- "id": 184,
+ "id": 188,
"name": "nxr",
"kind": 2048,
"kindString": "Method",
@@ -2668,7 +2750,7 @@
},
"signatures": [
{
- "id": 185,
+ "id": 189,
"name": "nxr",
"kind": 4096,
"kindString": "Call signature",
@@ -2680,7 +2762,7 @@
},
"parameters": [
{
- "id": 186,
+ "id": 190,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2700,7 +2782,7 @@
}
},
{
- "id": 187,
+ "id": 191,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -2725,13 +2807,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 262,
+ "line": 264,
"character": 5
}
]
},
{
- "id": 121,
+ "id": 122,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -2740,7 +2822,7 @@
},
"signatures": [
{
- "id": 122,
+ "id": 123,
"name": "or",
"kind": 4096,
"kindString": "Call signature",
@@ -2752,7 +2834,7 @@
},
"parameters": [
{
- "id": 123,
+ "id": 124,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
@@ -2760,39 +2842,112 @@
"isExported": true
},
"comment": {
- "text": "The filters to use, separated by commas.\n"
+ "text": "The filters to use, separated by commas."
},
"type": {
"type": "intrinsic",
"name": "string"
}
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 51,
- "character": 4
- }
- ]
- },
- {
- "id": 238,
- "name": "order",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
+ },
+ {
+ "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": 239,
+ "id": 243,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -2804,7 +2959,7 @@
},
"parameters": [
{
- "id": 240,
+ "id": 244,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2824,7 +2979,7 @@
}
},
{
- "id": 241,
+ "id": 245,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -2835,7 +2990,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 246,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2844,7 +2999,7 @@
},
"children": [
{
- "id": 243,
+ "id": 247,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -2868,7 +3023,7 @@
"defaultValue": "true"
},
{
- "id": 245,
+ "id": 249,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -2900,7 +3055,7 @@
}
},
{
- "id": 244,
+ "id": 248,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -2929,9 +3084,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 243,
- 245,
- 244
+ 247,
+ 249,
+ 248
]
}
],
@@ -2953,7 +3108,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 67,
+ "id": 68,
"name": "PostgrestTransformBuilder.order"
}
}
@@ -2967,12 +3122,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 67,
+ "id": 68,
"name": "PostgrestTransformBuilder.order"
}
},
{
- "id": 192,
+ "id": 196,
"name": "ov",
"kind": 2048,
"kindString": "Method",
@@ -2981,7 +3136,7 @@
},
"signatures": [
{
- "id": 193,
+ "id": 197,
"name": "ov",
"kind": 4096,
"kindString": "Call signature",
@@ -2993,7 +3148,7 @@
},
"parameters": [
{
- "id": 194,
+ "id": 198,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3013,7 +3168,7 @@
}
},
{
- "id": 195,
+ "id": 199,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3061,13 +3216,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 286,
+ "line": 288,
"character": 4
}
]
},
{
- "id": 210,
+ "id": 214,
"name": "phfts",
"kind": 2048,
"kindString": "Method",
@@ -3076,7 +3231,7 @@
},
"signatures": [
{
- "id": 211,
+ "id": 215,
"name": "phfts",
"kind": 4096,
"kindString": "Call signature",
@@ -3088,7 +3243,7 @@
},
"parameters": [
{
- "id": 212,
+ "id": 216,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3108,7 +3263,7 @@
}
},
{
- "id": 213,
+ "id": 217,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -3124,7 +3279,7 @@
}
},
{
- "id": 214,
+ "id": 218,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3135,7 +3290,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 215,
+ "id": 219,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3144,7 +3299,7 @@
},
"children": [
{
- "id": 216,
+ "id": 220,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -3157,7 +3312,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 333,
+ "line": 335,
"character": 48
}
],
@@ -3181,14 +3336,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 216
+ 220
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 333,
+ "line": 335,
"character": 39
}
]
@@ -3206,13 +3361,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 333,
+ "line": 335,
"character": 7
}
]
},
{
- "id": 203,
+ "id": 207,
"name": "plfts",
"kind": 2048,
"kindString": "Method",
@@ -3221,7 +3376,7 @@
},
"signatures": [
{
- "id": 204,
+ "id": 208,
"name": "plfts",
"kind": 4096,
"kindString": "Call signature",
@@ -3233,7 +3388,7 @@
},
"parameters": [
{
- "id": 205,
+ "id": 209,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3253,7 +3408,7 @@
}
},
{
- "id": 206,
+ "id": 210,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -3269,7 +3424,7 @@
}
},
{
- "id": 207,
+ "id": 211,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3280,7 +3435,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 208,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3289,7 +3444,7 @@
},
"children": [
{
- "id": 209,
+ "id": 213,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -3302,7 +3457,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 319,
+ "line": 321,
"character": 48
}
],
@@ -3326,14 +3481,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 209
+ 213
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 319,
+ "line": 321,
"character": 39
}
]
@@ -3351,13 +3506,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 319,
+ "line": 321,
"character": 7
}
]
},
{
- "id": 252,
+ "id": 256,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -3366,7 +3521,7 @@
},
"signatures": [
{
- "id": 253,
+ "id": 257,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -3378,7 +3533,7 @@
},
"parameters": [
{
- "id": 254,
+ "id": 258,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -3394,7 +3549,7 @@
}
},
{
- "id": 255,
+ "id": 259,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -3410,7 +3565,7 @@
}
},
{
- "id": 256,
+ "id": 260,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3421,7 +3576,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 257,
+ "id": 261,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3430,7 +3585,7 @@
},
"children": [
{
- "id": 258,
+ "id": 262,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -3443,7 +3598,7 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 48
}
],
@@ -3467,14 +3622,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 258
+ 262
]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 33
}
]
@@ -3489,7 +3644,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 81,
+ "id": 82,
"name": "PostgrestTransformBuilder.range"
}
}
@@ -3497,18 +3652,18 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 7
}
],
"inheritedFrom": {
"type": "reference",
- "id": 81,
+ "id": 82,
"name": "PostgrestTransformBuilder.range"
}
},
{
- "id": 235,
+ "id": 239,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -3517,7 +3672,7 @@
},
"signatures": [
{
- "id": 236,
+ "id": 240,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -3529,7 +3684,7 @@
},
"parameters": [
{
- "id": 237,
+ "id": 241,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -3552,7 +3707,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 64,
+ "id": 65,
"name": "PostgrestTransformBuilder.select"
}
}
@@ -3566,12 +3721,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 64,
+ "id": 65,
"name": "PostgrestTransformBuilder.select"
}
},
{
- "id": 259,
+ "id": 263,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -3580,7 +3735,7 @@
},
"signatures": [
{
- "id": 260,
+ "id": 264,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -3595,7 +3750,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 59,
+ "id": 60,
"typeArguments": [
{
"type": "typeParameter",
@@ -3609,7 +3764,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 88,
+ "id": 89,
"name": "PostgrestTransformBuilder.single"
}
}
@@ -3617,18 +3772,18 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 88,
+ "line": 92,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
- "id": 88,
+ "id": 89,
"name": "PostgrestTransformBuilder.single"
}
},
{
- "id": 172,
+ "id": 176,
"name": "sl",
"kind": 2048,
"kindString": "Method",
@@ -3637,7 +3792,7 @@
},
"signatures": [
{
- "id": 173,
+ "id": 177,
"name": "sl",
"kind": 4096,
"kindString": "Call signature",
@@ -3649,7 +3804,7 @@
},
"parameters": [
{
- "id": 174,
+ "id": 178,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3669,7 +3824,7 @@
}
},
{
- "id": 175,
+ "id": 179,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -3694,13 +3849,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 226,
+ "line": 228,
"character": 4
}
]
},
{
- "id": 176,
+ "id": 180,
"name": "sr",
"kind": 2048,
"kindString": "Method",
@@ -3709,7 +3864,7 @@
},
"signatures": [
{
- "id": 177,
+ "id": 181,
"name": "sr",
"kind": 4096,
"kindString": "Call signature",
@@ -3721,7 +3876,7 @@
},
"parameters": [
{
- "id": 178,
+ "id": 182,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3741,7 +3896,7 @@
}
},
{
- "id": 179,
+ "id": 183,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -3766,13 +3921,13 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 238,
+ "line": 240,
"character": 4
}
]
},
{
- "id": 272,
+ "id": 276,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -3781,7 +3936,7 @@
},
"signatures": [
{
- "id": 273,
+ "id": 277,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -3790,7 +3945,7 @@
},
"typeParameter": [
{
- "id": 274,
+ "id": 278,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -3799,7 +3954,7 @@
}
},
{
- "id": 275,
+ "id": 279,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -3810,7 +3965,7 @@
],
"parameters": [
{
- "id": 276,
+ "id": 280,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -3824,7 +3979,7 @@
{
"type": "reflection",
"declaration": {
- "id": 277,
+ "id": 281,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3833,7 +3988,7 @@
},
"signatures": [
{
- "id": 278,
+ "id": 282,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -3842,7 +3997,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 283,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3851,7 +4006,7 @@
},
"type": {
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -3924,7 +4079,7 @@
}
},
{
- "id": 280,
+ "id": 284,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -3938,7 +4093,7 @@
{
"type": "reflection",
"declaration": {
- "id": 281,
+ "id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3947,7 +4102,7 @@
},
"signatures": [
{
- "id": 282,
+ "id": 286,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -3956,7 +4111,7 @@
},
"parameters": [
{
- "id": 283,
+ "id": 287,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -4054,7 +4209,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
}
@@ -4068,12 +4223,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 217,
+ "id": 221,
"name": "wfts",
"kind": 2048,
"kindString": "Method",
@@ -4082,7 +4237,7 @@
},
"signatures": [
{
- "id": 218,
+ "id": 222,
"name": "wfts",
"kind": 4096,
"kindString": "Call signature",
@@ -4094,7 +4249,7 @@
},
"parameters": [
{
- "id": 219,
+ "id": 223,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4114,7 +4269,7 @@
}
},
{
- "id": 220,
+ "id": 224,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -4130,7 +4285,7 @@
}
},
{
- "id": 221,
+ "id": 225,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4141,7 +4296,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 222,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4150,7 +4305,7 @@
},
"children": [
{
- "id": 223,
+ "id": 227,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -4163,7 +4318,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 347,
+ "line": 349,
"character": 47
}
],
@@ -4187,14 +4342,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 223
+ 227
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 347,
+ "line": 349,
"character": 38
}
]
@@ -4212,7 +4367,7 @@
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
- "line": 347,
+ "line": 349,
"character": 6
}
]
@@ -4223,56 +4378,56 @@
"title": "Constructors",
"kind": 512,
"children": [
- 269
+ 273
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 268,
- 263,
- 261,
+ 272,
267,
- 262
+ 265,
+ 271,
+ 266
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 188,
+ 192,
+ 172,
168,
- 164,
- 124,
- 224,
- 196,
- 132,
+ 128,
+ 228,
+ 200,
136,
- 152,
- 160,
- 156,
- 148,
- 246,
140,
+ 156,
+ 164,
+ 160,
+ 152,
+ 250,
144,
- 229,
- 128,
- 116,
- 180,
+ 148,
+ 233,
+ 132,
+ 117,
184,
- 121,
- 238,
- 192,
- 210,
- 203,
- 252,
- 235,
- 259,
- 172,
+ 188,
+ 122,
+ 242,
+ 196,
+ 214,
+ 207,
+ 256,
+ 239,
+ 263,
176,
- 272,
- 217
+ 180,
+ 276,
+ 221
]
}
],
@@ -4286,7 +4441,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 62,
+ "id": 63,
"typeArguments": [
{
"type": "typeParameter",
@@ -4302,7 +4457,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -4317,7 +4472,7 @@
]
},
{
- "id": 288,
+ "id": 292,
"name": "FilterOperator",
"kind": 4194304,
"kindString": "Type alias",
@@ -4424,7 +4579,7 @@
}
},
{
- "id": 284,
+ "id": 288,
"name": "cleanFilterArray",
"kind": 64,
"kindString": "Function",
@@ -4436,7 +4591,7 @@
},
"signatures": [
{
- "id": 285,
+ "id": 289,
"name": "cleanFilterArray",
"kind": 4096,
"kindString": "Call signature",
@@ -4446,7 +4601,7 @@
},
"typeParameter": [
{
- "id": 286,
+ "id": 290,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -4455,7 +4610,7 @@
],
"parameters": [
{
- "id": 287,
+ "id": 291,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -4500,21 +4655,21 @@
"title": "Classes",
"kind": 128,
"children": [
- 114
+ 115
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 288
+ 292
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 284
+ 288
]
}
],
@@ -4527,7 +4682,7 @@
]
},
{
- "id": 289,
+ "id": 293,
"name": "\"lib/PostgrestQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -4537,7 +4692,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
"children": [
{
- "id": 290,
+ "id": 294,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -4546,7 +4701,7 @@
},
"typeParameter": [
{
- "id": 291,
+ "id": 295,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -4557,7 +4712,7 @@
],
"children": [
{
- "id": 292,
+ "id": 296,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4566,7 +4721,7 @@
},
"signatures": [
{
- "id": 293,
+ "id": 297,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -4575,7 +4730,7 @@
},
"parameters": [
{
- "id": 294,
+ "id": 298,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -4588,7 +4743,7 @@
}
},
{
- "id": 295,
+ "id": 299,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4599,7 +4754,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 300,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4608,7 +4763,7 @@
},
"children": [
{
- "id": 297,
+ "id": 301,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -4618,14 +4773,14 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 8,
+ "line": 7,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 298,
+ "id": 302,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4634,7 +4789,7 @@
},
"indexSignature": [
{
- "id": 299,
+ "id": 303,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4643,7 +4798,7 @@
},
"parameters": [
{
- "id": 300,
+ "id": 304,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4666,7 +4821,7 @@
}
},
{
- "id": 301,
+ "id": 305,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -4676,7 +4831,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 8,
+ "line": 7,
"character": 26
}
],
@@ -4700,15 +4855,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 297,
- 301
+ 301,
+ 305
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 7,
+ "line": 6,
"character": 16
}
]
@@ -4719,12 +4874,12 @@
],
"type": {
"type": "reference",
- "id": 290,
+ "id": 294,
"name": "PostgrestQueryBuilder"
},
"overwrites": {
"type": "reference",
- "id": 42,
+ "id": 37,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -4732,18 +4887,18 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 5,
+ "line": 4,
"character": 75
}
],
"overwrites": {
"type": "reference",
- "id": 42,
+ "id": 37,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 345,
+ "id": 342,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -4789,12 +4944,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 36,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 340,
+ "id": 337,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -4812,7 +4967,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 341,
+ "id": 338,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4821,7 +4976,7 @@
},
"indexSignature": [
{
- "id": 342,
+ "id": 339,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4830,7 +4985,7 @@
},
"parameters": [
{
- "id": 343,
+ "id": 340,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4860,12 +5015,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 36,
+ "id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 338,
+ "id": 335,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -4907,12 +5062,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 29,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 344,
+ "id": 341,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -4943,12 +5098,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 40,
+ "id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 339,
+ "id": 336,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -4969,12 +5124,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 35,
+ "id": 30,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 325,
+ "id": 329,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -4983,7 +5138,7 @@
},
"signatures": [
{
- "id": 326,
+ "id": 330,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -4995,7 +5150,7 @@
},
"parameters": [
{
- "id": 327,
+ "id": 331,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5006,7 +5161,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 328,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5015,7 +5170,7 @@
},
"children": [
{
- "id": 330,
+ "id": 334,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5025,7 +5180,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 131,
+ "line": 130,
"character": 9
}
],
@@ -5053,7 +5208,7 @@
"defaultValue": "null"
},
{
- "id": 329,
+ "id": 333,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5066,7 +5221,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 130,
+ "line": 129,
"character": 13
}
],
@@ -5091,15 +5246,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 330,
- 329
+ 334,
+ 333
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 129,
+ "line": 128,
"character": 9
}
]
@@ -5110,7 +5265,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"typeArguments": [
{
"type": "typeParameter",
@@ -5124,13 +5279,13 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 129,
+ "line": 128,
"character": 8
}
]
},
{
- "id": 309,
+ "id": 313,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -5139,7 +5294,7 @@
},
"signatures": [
{
- "id": 310,
+ "id": 314,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -5151,7 +5306,7 @@
},
"parameters": [
{
- "id": 311,
+ "id": 315,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5191,7 +5346,7 @@
}
},
{
- "id": 312,
+ "id": 316,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5202,7 +5357,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 313,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5211,7 +5366,7 @@
},
"children": [
{
- "id": 317,
+ "id": 321,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5221,7 +5376,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 72,
+ "line": 71,
"character": 11
}
],
@@ -5249,7 +5404,7 @@
"defaultValue": "null"
},
{
- "id": 315,
+ "id": 319,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -5262,7 +5417,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 70,
+ "line": 69,
"character": 16
}
],
@@ -5281,7 +5436,7 @@
}
},
{
- "id": 316,
+ "id": 320,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5294,7 +5449,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 71,
+ "line": 70,
"character": 15
}
],
@@ -5314,7 +5469,7 @@
"defaultValue": "\"representation\""
},
{
- "id": 314,
+ "id": 318,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -5327,7 +5482,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 69,
+ "line": 68,
"character": 12
}
],
@@ -5343,17 +5498,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 317,
- 315,
- 316,
- 314
+ 321,
+ 319,
+ 320,
+ 318
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 67,
+ "line": 66,
"character": 38
}
]
@@ -5364,7 +5519,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"typeArguments": [
{
"type": "typeParameter",
@@ -5378,13 +5533,13 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 66,
+ "line": 65,
"character": 8
}
]
},
{
- "id": 302,
+ "id": 306,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -5393,7 +5548,7 @@
},
"signatures": [
{
- "id": 303,
+ "id": 307,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -5405,7 +5560,7 @@
},
"parameters": [
{
- "id": 304,
+ "id": 308,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -5422,7 +5577,7 @@
"defaultValue": "\"*\""
},
{
- "id": 305,
+ "id": 309,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5433,7 +5588,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5442,7 +5597,7 @@
},
"children": [
{
- "id": 308,
+ "id": 312,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5455,7 +5610,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 27,
+ "line": 26,
"character": 11
}
],
@@ -5483,7 +5638,7 @@
"defaultValue": "null"
},
{
- "id": 307,
+ "id": 311,
"name": "head",
"kind": 32,
"kindString": "Variable",
@@ -5496,7 +5651,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 26,
+ "line": 25,
"character": 10
}
],
@@ -5512,15 +5667,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 308,
- 307
+ 312,
+ 311
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 24,
+ "line": 23,
"character": 18
}
]
@@ -5531,7 +5686,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"typeArguments": [
{
"type": "typeParameter",
@@ -5545,13 +5700,13 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 23,
+ "line": 22,
"character": 8
}
]
},
{
- "id": 346,
+ "id": 343,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -5560,7 +5715,7 @@
},
"signatures": [
{
- "id": 347,
+ "id": 344,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -5569,7 +5724,7 @@
},
"typeParameter": [
{
- "id": 348,
+ "id": 345,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -5578,7 +5733,7 @@
}
},
{
- "id": 349,
+ "id": 346,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -5589,7 +5744,7 @@
],
"parameters": [
{
- "id": 350,
+ "id": 347,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -5603,7 +5758,7 @@
{
"type": "reflection",
"declaration": {
- "id": 351,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5612,7 +5767,7 @@
},
"signatures": [
{
- "id": 352,
+ "id": 349,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5621,7 +5776,7 @@
},
"parameters": [
{
- "id": 353,
+ "id": 350,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5630,7 +5785,7 @@
},
"type": {
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -5703,7 +5858,7 @@
}
},
{
- "id": 354,
+ "id": 351,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -5717,7 +5872,7 @@
{
"type": "reflection",
"declaration": {
- "id": 355,
+ "id": 352,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5726,7 +5881,7 @@
},
"signatures": [
{
- "id": 356,
+ "id": 353,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5735,7 +5890,7 @@
},
"parameters": [
{
- "id": 357,
+ "id": 354,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -5833,7 +5988,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
}
@@ -5847,12 +6002,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 318,
+ "id": 322,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -5861,7 +6016,7 @@
},
"signatures": [
{
- "id": 319,
+ "id": 323,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -5873,7 +6028,7 @@
},
"parameters": [
{
- "id": 320,
+ "id": 324,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5895,7 +6050,7 @@
}
},
{
- "id": 321,
+ "id": 325,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5906,7 +6061,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 322,
+ "id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5915,7 +6070,7 @@
},
"children": [
{
- "id": 324,
+ "id": 328,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5925,7 +6080,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 107,
+ "line": 106,
"character": 11
}
],
@@ -5953,7 +6108,7 @@
"defaultValue": "null"
},
{
- "id": 323,
+ "id": 327,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5966,7 +6121,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 106,
+ "line": 105,
"character": 15
}
],
@@ -5991,15 +6146,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 324,
- 323
+ 328,
+ 327
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 104,
+ "line": 103,
"character": 23
}
]
@@ -6010,7 +6165,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 115,
"typeArguments": [
{
"type": "typeParameter",
@@ -6024,7 +6179,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 103,
+ "line": 102,
"character": 8
}
]
@@ -6035,43 +6190,43 @@
"title": "Constructors",
"kind": 512,
"children": [
- 292
+ 296
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 345,
- 340,
- 338,
- 344,
- 339
+ 342,
+ 337,
+ 335,
+ 341,
+ 336
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 325,
- 309,
- 302,
- 346,
- 318
+ 329,
+ 313,
+ 306,
+ 343,
+ 322
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 5,
+ "line": 4,
"character": 42
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 32,
+ "id": 27,
"typeArguments": [
{
"type": "typeParameter",
@@ -6087,7 +6242,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -6107,7 +6262,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 290
+ 294
]
}
],
@@ -6120,29 +6275,26 @@
]
},
{
- "id": 61,
- "name": "\"lib/PostgrestTransformBuilder\"",
+ "id": 355,
+ "name": "\"lib/PostgrestRpcBuilder\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts",
"children": [
{
- "id": 62,
- "name": "PostgrestTransformBuilder",
+ "id": 356,
+ "name": "PostgrestRpcBuilder",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
- "comment": {
- "shortText": "Post-filters (transforms)"
- },
"typeParameter": [
{
- "id": 63,
+ "id": 357,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -6153,7 +6305,7 @@
],
"children": [
{
- "id": 98,
+ "id": 358,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6162,8 +6314,8 @@
},
"signatures": [
{
- "id": 99,
- "name": "new PostgrestTransformBuilder",
+ "id": 359,
+ "name": "new PostgrestRpcBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
@@ -6171,77 +6323,1060 @@
},
"parameters": [
{
- "id": 100,
- "name": "builder",
+ "id": 360,
+ "name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
- "type": "reference",
- "id": 32,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
+ "type": "intrinsic",
+ "name": "string"
}
- }
- ],
- "type": {
- "type": "reference",
- "id": 62,
- "name": "PostgrestTransformBuilder"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 42,
- "name": "PostgrestBuilder.__constructor"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 55,
- "character": 44
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 42,
- "name": "PostgrestBuilder.__constructor"
- }
- },
- {
- "id": 97,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 55,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
+ },
+ {
+ "id": 361,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 362,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 363,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 7,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 364,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 365,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 366,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 367,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 7,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 363,
+ 367
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 6,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 356,
+ "name": "PostgrestRpcBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 4,
+ "character": 73
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 381,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 16
+ }
+ ],
+ "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"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 36,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 376,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 377,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 378,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 379,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 374,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 29,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 380,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 375,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 368,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 369,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a stored procedure call."
+ },
+ "parameters": [
+ {
+ "id": 370,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 371,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 372,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 373,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 21,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 373
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 19,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 63,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 18,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 382,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 383,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 384,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 385,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 386,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 387,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 388,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 389,
+ "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": 390,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 391,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 392,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 393,
+ "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"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 358
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 381,
+ 376,
+ 374,
+ 380,
+ 375
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 368,
+ 382
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 4,
+ "character": 40
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 58,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 356
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 62,
+ "name": "\"lib/PostgrestTransformBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
+ "children": [
+ {
+ "id": 63,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Post-filters (transforms)"
+ },
+ "typeParameter": [
+ {
+ "id": 64,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 99,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 100,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 101,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 63,
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 44
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 98,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
}
],
"name": "Partial"
@@ -6263,12 +7398,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 36,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 92,
+ "id": 93,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -6286,7 +7421,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 93,
+ "id": 94,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6295,7 +7430,7 @@
},
"indexSignature": [
{
- "id": 94,
+ "id": 95,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -6304,7 +7439,7 @@
},
"parameters": [
{
- "id": 95,
+ "id": 96,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -6334,12 +7469,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 36,
+ "id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 90,
+ "id": 91,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -6381,12 +7516,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 29,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 96,
+ "id": 97,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -6417,12 +7552,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 40,
+ "id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 91,
+ "id": 92,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -6443,12 +7578,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 35,
+ "id": 30,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 75,
+ "id": 76,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -6457,7 +7592,7 @@
},
"signatures": [
{
- "id": 76,
+ "id": 77,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -6469,7 +7604,7 @@
},
"parameters": [
{
- "id": 77,
+ "id": 78,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -6485,7 +7620,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6496,7 +7631,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 79,
+ "id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6505,7 +7640,7 @@
},
"children": [
{
- "id": 80,
+ "id": 81,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -6518,7 +7653,7 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 37
}
],
@@ -6542,14 +7677,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 80
+ 81
]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 22
}
]
@@ -6567,13 +7702,13 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 7
}
]
},
{
- "id": 67,
+ "id": 68,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -6582,7 +7717,7 @@
},
"signatures": [
{
- "id": 68,
+ "id": 69,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -6594,7 +7729,7 @@
},
"parameters": [
{
- "id": 69,
+ "id": 70,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6614,7 +7749,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6625,7 +7760,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 71,
+ "id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6634,7 +7769,7 @@
},
"children": [
{
- "id": 72,
+ "id": 73,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -6658,7 +7793,7 @@
"defaultValue": "true"
},
{
- "id": 74,
+ "id": 75,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -6690,7 +7825,7 @@
}
},
{
- "id": 73,
+ "id": 74,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -6719,9 +7854,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 72,
- 74,
- 73
+ 73,
+ 75,
+ 74
]
}
],
@@ -6752,7 +7887,7 @@
]
},
{
- "id": 81,
+ "id": 82,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -6761,7 +7896,7 @@
},
"signatures": [
{
- "id": 82,
+ "id": 83,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -6773,7 +7908,7 @@
},
"parameters": [
{
- "id": 83,
+ "id": 84,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -6789,7 +7924,7 @@
}
},
{
- "id": 84,
+ "id": 85,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -6805,7 +7940,7 @@
}
},
{
- "id": 85,
+ "id": 86,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6816,7 +7951,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 86,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6825,7 +7960,7 @@
},
"children": [
{
- "id": 87,
+ "id": 88,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -6838,7 +7973,7 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 48
}
],
@@ -6862,14 +7997,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 87
+ 88
]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 33
}
]
@@ -6887,13 +8022,13 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 75,
+ "line": 79,
"character": 7
}
]
},
{
- "id": 64,
+ "id": 65,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -6902,7 +8037,7 @@
},
"signatures": [
{
- "id": 65,
+ "id": 66,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -6914,7 +8049,7 @@
},
"parameters": [
{
- "id": 66,
+ "id": 67,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -6946,7 +8081,7 @@
]
},
{
- "id": 88,
+ "id": 89,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -6955,7 +8090,7 @@
},
"signatures": [
{
- "id": 89,
+ "id": 90,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -6970,7 +8105,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 59,
+ "id": 60,
"typeArguments": [
{
"type": "typeParameter",
@@ -6987,13 +8122,13 @@
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
- "line": 88,
+ "line": 92,
"character": 8
}
]
},
{
- "id": 101,
+ "id": 102,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -7002,7 +8137,7 @@
},
"signatures": [
{
- "id": 102,
+ "id": 103,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -7011,7 +8146,7 @@
},
"typeParameter": [
{
- "id": 103,
+ "id": 104,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -7020,7 +8155,7 @@
}
},
{
- "id": 104,
+ "id": 105,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -7031,7 +8166,7 @@
],
"parameters": [
{
- "id": 105,
+ "id": 106,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -7045,7 +8180,7 @@
{
"type": "reflection",
"declaration": {
- "id": 106,
+ "id": 107,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7054,7 +8189,7 @@
},
"signatures": [
{
- "id": 107,
+ "id": 108,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -7063,7 +8198,7 @@
},
"parameters": [
{
- "id": 108,
+ "id": 109,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7072,7 +8207,7 @@
},
"type": {
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -7145,7 +8280,7 @@
}
},
{
- "id": 109,
+ "id": 110,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -7159,7 +8294,7 @@
{
"type": "reflection",
"declaration": {
- "id": 110,
+ "id": 111,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7168,7 +8303,7 @@
},
"signatures": [
{
- "id": 111,
+ "id": 112,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -7177,7 +8312,7 @@
},
"parameters": [
{
- "id": 112,
+ "id": 113,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -7275,7 +8410,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
}
@@ -7289,7 +8424,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 40,
"name": "PostgrestBuilder.then"
}
}
@@ -7299,30 +8434,30 @@
"title": "Constructors",
"kind": 512,
"children": [
- 98
+ 99
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
+ 98,
+ 93,
+ 91,
97,
- 92,
- 90,
- 96,
- 91
+ 92
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 75,
- 67,
- 81,
- 64,
- 88,
- 101
+ 76,
+ 68,
+ 82,
+ 65,
+ 89,
+ 102
]
}
],
@@ -7336,7 +8471,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 32,
+ "id": 27,
"typeArguments": [
{
"type": "typeParameter",
@@ -7349,7 +8484,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 114,
+ "id": 115,
"name": "PostgrestFilterBuilder"
}
],
@@ -7359,7 +8494,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -7379,7 +8514,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 62
+ 63
]
}
],
@@ -7402,7 +8537,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/types.ts",
"children": [
{
- "id": 32,
+ "id": 27,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -7412,7 +8547,7 @@
},
"typeParameter": [
{
- "id": 33,
+ "id": 28,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -7423,7 +8558,7 @@
],
"children": [
{
- "id": 42,
+ "id": 37,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -7432,7 +8567,7 @@
},
"signatures": [
{
- "id": 43,
+ "id": 38,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -7441,7 +8576,7 @@
},
"parameters": [
{
- "id": 44,
+ "id": 39,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -7450,7 +8585,7 @@
},
"type": {
"type": "reference",
- "id": 32,
+ "id": 27,
"typeArguments": [
{
"type": "typeParameter",
@@ -7463,7 +8598,7 @@
],
"type": {
"type": "reference",
- "id": 32,
+ "id": 27,
"name": "PostgrestBuilder"
}
}
@@ -7477,7 +8612,7 @@
]
},
{
- "id": 41,
+ "id": 36,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -7523,7 +8658,7 @@
}
},
{
- "id": 36,
+ "id": 31,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -7541,7 +8676,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 37,
+ "id": 32,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7550,7 +8685,7 @@
},
"indexSignature": [
{
- "id": 38,
+ "id": 33,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -7559,7 +8694,7 @@
},
"parameters": [
{
- "id": 39,
+ "id": 34,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -7589,7 +8724,7 @@
}
},
{
- "id": 34,
+ "id": 29,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -7631,7 +8766,7 @@
}
},
{
- "id": 40,
+ "id": 35,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -7662,7 +8797,7 @@
}
},
{
- "id": 35,
+ "id": 30,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -7683,7 +8818,7 @@
}
},
{
- "id": 45,
+ "id": 40,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -7692,7 +8827,7 @@
},
"signatures": [
{
- "id": 46,
+ "id": 41,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -7701,7 +8836,7 @@
},
"typeParameter": [
{
- "id": 47,
+ "id": 42,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -7710,7 +8845,7 @@
}
},
{
- "id": 48,
+ "id": 43,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -7721,7 +8856,7 @@
],
"parameters": [
{
- "id": 49,
+ "id": 44,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -7735,7 +8870,7 @@
{
"type": "reflection",
"declaration": {
- "id": 50,
+ "id": 45,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7744,7 +8879,7 @@
},
"signatures": [
{
- "id": 51,
+ "id": 46,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -7753,7 +8888,7 @@
},
"parameters": [
{
- "id": 52,
+ "id": 47,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7762,7 +8897,7 @@
},
"type": {
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -7835,7 +8970,7 @@
}
},
{
- "id": 53,
+ "id": 48,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -7849,7 +8984,7 @@
{
"type": "reflection",
"declaration": {
- "id": 54,
+ "id": 49,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7858,7 +8993,7 @@
},
"signatures": [
{
- "id": 55,
+ "id": 50,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -7867,7 +9002,7 @@
},
"parameters": [
{
- "id": 56,
+ "id": 51,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -7979,25 +9114,25 @@
"title": "Constructors",
"kind": 512,
"children": [
- 42
+ 37
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 41,
36,
- 34,
- 40,
- 35
+ 31,
+ 29,
+ 35,
+ 30
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 45
+ 40
]
}
],
@@ -8011,13 +9146,18 @@
"extendedBy": [
{
"type": "reference",
- "id": 62,
+ "id": 63,
"name": "PostgrestTransformBuilder"
},
{
"type": "reference",
- "id": 290,
+ "id": 294,
"name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 356,
+ "name": "PostgrestRpcBuilder"
}
],
"implementedTypes": [
@@ -8026,7 +9166,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "typeParameter",
@@ -8042,110 +9182,6 @@
},
{
"id": 2,
- "name": "PostgrestError",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Error format",
- "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
- },
- "children": [
- {
- "id": 6,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 12,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 4,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 10,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 5,
- "name": "hint",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 11,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 3,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 9,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 6,
- 4,
- 5,
- 3
- ]
- }
- ],
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 8,
- "character": 24
- }
- ]
- },
- {
- "id": 7,
"name": "PostgrestResponseBase",
"kind": 256,
"kindString": "Interface",
@@ -8156,7 +9192,7 @@
},
"children": [
{
- "id": 8,
+ "id": 3,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8174,7 +9210,7 @@
}
},
{
- "id": 9,
+ "id": 4,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -8197,8 +9233,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 8,
- 9
+ 3,
+ 4
]
}
],
@@ -8212,30 +9248,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 10,
+ "id": 5,
"name": "PostgrestResponseSuccess"
},
{
"type": "reference",
- "id": 18,
+ "id": 13,
"name": "PostgrestResponseFailure"
},
{
"type": "reference",
- "id": 25,
+ "id": 20,
"name": "PostgrestSingleResponseSuccess"
}
]
},
{
- "id": 18,
+ "id": 13,
"name": "PostgrestResponseFailure",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 21,
+ "id": 16,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -8253,7 +9289,7 @@
}
},
{
- "id": 22,
+ "id": 17,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -8271,7 +9307,7 @@
}
},
{
- "id": 20,
+ "id": 15,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8289,7 +9325,7 @@
}
},
{
- "id": 19,
+ "id": 14,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8303,12 +9339,12 @@
],
"type": {
"type": "reference",
- "id": 2,
+ "id": 52,
"name": "PostgrestError"
}
},
{
- "id": 23,
+ "id": 18,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8326,12 +9362,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 8,
+ "id": 3,
"name": "PostgrestResponseBase.status"
}
},
{
- "id": 24,
+ "id": 19,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -8349,7 +9385,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 9,
+ "id": 4,
"name": "PostgrestResponseBase.statusText"
}
}
@@ -8359,12 +9395,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 21,
- 22,
- 20,
- 19,
- 23,
- 24
+ 16,
+ 17,
+ 15,
+ 14,
+ 18,
+ 19
]
}
],
@@ -8378,20 +9414,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 7,
+ "id": 2,
"name": "PostgrestResponseBase"
}
]
},
{
- "id": 10,
+ "id": 5,
"name": "PostgrestResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"typeParameter": [
{
- "id": 11,
+ "id": 6,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -8400,7 +9436,7 @@
],
"children": [
{
- "id": 14,
+ "id": 9,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -8421,7 +9457,7 @@
}
},
{
- "id": 15,
+ "id": 10,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -8448,7 +9484,7 @@
}
},
{
- "id": 13,
+ "id": 8,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8469,7 +9505,7 @@
}
},
{
- "id": 12,
+ "id": 7,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8487,7 +9523,7 @@
}
},
{
- "id": 16,
+ "id": 11,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8505,12 +9541,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 8,
+ "id": 3,
"name": "PostgrestResponseBase.status"
}
},
{
- "id": 17,
+ "id": 12,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -8528,7 +9564,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 9,
+ "id": 4,
"name": "PostgrestResponseBase.statusText"
}
}
@@ -8538,12 +9574,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 14,
- 15,
- 13,
- 12,
- 16,
- 17
+ 9,
+ 10,
+ 8,
+ 7,
+ 11,
+ 12
]
}
],
@@ -8557,20 +9593,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 7,
+ "id": 2,
"name": "PostgrestResponseBase"
}
]
},
{
- "id": 25,
+ "id": 20,
"name": "PostgrestSingleResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"typeParameter": [
{
- "id": 26,
+ "id": 21,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -8579,7 +9615,7 @@
],
"children": [
{
- "id": 29,
+ "id": 24,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -8597,7 +9633,7 @@
}
},
{
- "id": 28,
+ "id": 23,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8615,7 +9651,7 @@
}
},
{
- "id": 27,
+ "id": 22,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8633,7 +9669,7 @@
}
},
{
- "id": 30,
+ "id": 25,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8651,12 +9687,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 8,
+ "id": 3,
"name": "PostgrestResponseBase.status"
}
},
{
- "id": 31,
+ "id": 26,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -8674,7 +9710,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 9,
+ "id": 4,
"name": "PostgrestResponseBase.statusText"
}
}
@@ -8684,11 +9720,11 @@
"title": "Properties",
"kind": 1024,
"children": [
- 29,
- 28,
- 27,
- 30,
- 31
+ 24,
+ 23,
+ 22,
+ 25,
+ 26
]
}
],
@@ -8702,13 +9738,134 @@
"extendedTypes": [
{
"type": "reference",
- "id": 7,
+ "id": 2,
"name": "PostgrestResponseBase"
}
]
},
{
- "id": 57,
+ "id": 52,
+ "name": "PostgrestError",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 53,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 57,
+ "name": "code",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 55,
+ "name": "details",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 56,
+ "name": "hint",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 54,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 57,
+ 55,
+ 56,
+ 54
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 58,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8717,7 +9874,7 @@
},
"typeParameter": [
{
- "id": 58,
+ "id": 59,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -8738,7 +9895,7 @@
"types": [
{
"type": "reference",
- "id": 10,
+ "id": 5,
"typeArguments": [
{
"type": "typeParameter",
@@ -8749,14 +9906,14 @@
},
{
"type": "reference",
- "id": 18,
+ "id": 13,
"name": "PostgrestResponseFailure"
}
]
}
},
{
- "id": 59,
+ "id": 60,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8765,7 +9922,7 @@
},
"typeParameter": [
{
- "id": 60,
+ "id": 61,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -8786,7 +9943,7 @@
"types": [
{
"type": "reference",
- "id": 25,
+ "id": 20,
"typeArguments": [
{
"type": "typeParameter",
@@ -8797,7 +9954,7 @@
},
{
"type": "reference",
- "id": 18,
+ "id": 13,
"name": "PostgrestResponseFailure"
}
]
@@ -8809,7 +9966,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 32
+ 27
]
},
{
@@ -8817,18 +9974,18 @@
"kind": 256,
"children": [
2,
- 7,
- 18,
- 10,
- 25
+ 13,
+ 5,
+ 20
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 57,
- 59
+ 52,
+ 58,
+ 60
]
}
],
@@ -8846,11 +10003,12 @@
"title": "Modules",
"kind": 1,
"children": [
- 358,
- 388,
- 113,
- 289,
- 61,
+ 394,
+ 427,
+ 114,
+ 293,
+ 355,
+ 62,
1
]
}
diff --git a/web/spec/realtime.json b/web/spec/realtime.json
index e6a23bef376..c3a9e7af7ae 100644
--- a/web/spec/realtime.json
+++ b/web/spec/realtime.json
@@ -2923,7 +2923,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 191,
+ "line": 198,
"character": 10
}
]
@@ -2954,7 +2954,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 194,
+ "line": 201,
"character": 11
}
]
@@ -2985,7 +2985,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 197,
+ "line": 204,
"character": 10
}
]
@@ -3016,7 +3016,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 200,
+ "line": 207,
"character": 11
}
]
@@ -3047,7 +3047,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 203,
+ "line": 210,
"character": 11
}
]
@@ -3606,7 +3606,7 @@
"sources": [
{
"fileName": "RealtimeSubscription.ts",
- "line": 187,
+ "line": 194,
"character": 16
}
]
diff --git a/web/spec/supabase.json b/web/spec/supabase.json
index 869e752299b..e8292921a27 100644
--- a/web/spec/supabase.json
+++ b/web/spec/supabase.json
@@ -4104,7 +4104,7 @@
"isExported": true
},
"comment": {
- "shortText": "Subscribe to realtime changes in your database."
+ "shortText": "Subscribe to realtime changes in your databse."
},
"parameters": [
{