diff --git a/web/sidebar_spec_dart.js b/web/sidebar_spec_dart.js index d5dc6629f3a..21f587a0f3a 100644 --- a/web/sidebar_spec_dart.js +++ b/web/sidebar_spec_dart.js @@ -39,7 +39,7 @@ module.exports = { { type: 'category', label: 'Filters', - items: ['reference/dart/using-filters', 'reference/dart/filter', 'reference/dart/or', 'reference/dart/not', 'reference/dart/match', 'reference/dart/eq', 'reference/dart/neq', 'reference/dart/gt', 'reference/dart/gte', 'reference/dart/lt', 'reference/dart/lte', 'reference/dart/like', 'reference/dart/ilike', 'reference/dart/is_', 'reference/dart/in_', 'reference/dart/contains', 'reference/dart/containedby', 'reference/dart/rangelt', 'reference/dart/rangegt', 'reference/dart/rangegte', 'reference/dart/rangelte', 'reference/dart/rangeadjacent', 'reference/dart/overlaps', 'reference/dart/textsearch'], + items: ['reference/dart/using-filters', 'reference/dart/or', 'reference/dart/not', 'reference/dart/match', 'reference/dart/eq', 'reference/dart/neq', 'reference/dart/gt', 'reference/dart/gte', 'reference/dart/lt', 'reference/dart/lte', 'reference/dart/like', 'reference/dart/ilike', 'reference/dart/is_', 'reference/dart/in_', 'reference/dart/contains', 'reference/dart/containedby', 'reference/dart/rangelt', 'reference/dart/rangegt', 'reference/dart/rangegte', 'reference/dart/rangelte', 'reference/dart/rangeadjacent', 'reference/dart/overlaps', 'reference/dart/textsearch', 'reference/dart/filter'], collapsed: true, } ], diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.js index b91bede61ae..15771bf0d1c 100644 --- a/web/sidebar_spec_supabase.js +++ b/web/sidebar_spec_supabase.js @@ -9,7 +9,7 @@ module.exports = { { type: 'category', label: 'Auth', - items: ['reference/javascript/auth-signup', 'reference/javascript/auth-signin', 'reference/javascript/auth-signout', 'reference/javascript/auth-session', 'reference/javascript/auth-user', 'reference/javascript/auth-update', 'reference/javascript/auth-onauthstatechange', 'reference/javascript/reset-password-email', 'reference/javascript/delete-user'], + items: ['reference/javascript/auth-signup', 'reference/javascript/auth-signin', 'reference/javascript/auth-signout', 'reference/javascript/auth-session', 'reference/javascript/auth-user', 'reference/javascript/auth-update', 'reference/javascript/auth-setauth', 'reference/javascript/auth-onauthstatechange', 'reference/javascript/reset-password-email', 'reference/javascript/delete-user'], collapsed: true, }, { @@ -39,7 +39,7 @@ module.exports = { { type: 'category', label: 'Filters', - items: ['reference/javascript/using-filters', 'reference/javascript/filter', 'reference/javascript/or', 'reference/javascript/not', 'reference/javascript/match', 'reference/javascript/eq', 'reference/javascript/neq', 'reference/javascript/gt', 'reference/javascript/gte', 'reference/javascript/lt', 'reference/javascript/lte', 'reference/javascript/like', 'reference/javascript/ilike', 'reference/javascript/is', 'reference/javascript/in', 'reference/javascript/contains', 'reference/javascript/containedby', 'reference/javascript/rangelt', 'reference/javascript/rangegt', 'reference/javascript/rangegte', 'reference/javascript/rangelte', 'reference/javascript/rangeadjacent', 'reference/javascript/overlaps', 'reference/javascript/textsearch'], + items: ['reference/javascript/using-filters', 'reference/javascript/or', 'reference/javascript/not', 'reference/javascript/match', 'reference/javascript/eq', 'reference/javascript/neq', 'reference/javascript/gt', 'reference/javascript/gte', 'reference/javascript/lt', 'reference/javascript/lte', 'reference/javascript/like', 'reference/javascript/ilike', 'reference/javascript/is', 'reference/javascript/in', 'reference/javascript/contains', 'reference/javascript/containedby', 'reference/javascript/rangelt', 'reference/javascript/rangegt', 'reference/javascript/rangegte', 'reference/javascript/rangelte', 'reference/javascript/rangeadjacent', 'reference/javascript/overlaps', 'reference/javascript/textsearch', 'reference/javascript/filter'], collapsed: true, } ], diff --git a/web/spec/combined.json b/web/spec/combined.json index e051aec5ddd..0eab563f5ae 100644 --- a/web/spec/combined.json +++ b/web/spec/combined.json @@ -9,7 +9,7 @@ "originalName": "", "children": [ { - "id": 279, + "id": 291, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -19,7 +19,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 280, + "id": 292, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -32,7 +32,7 @@ }, "children": [ { - "id": 288, + "id": 300, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44,7 +44,7 @@ }, "signatures": [ { - "id": 291, + "id": 303, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -56,7 +56,7 @@ }, "parameters": [ { - "id": 292, + "id": 304, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -72,7 +72,7 @@ } }, { - "id": 293, + "id": 305, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -88,7 +88,7 @@ } }, { - "id": 294, + "id": 306, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -98,14 +98,14 @@ }, "type": { "type": "reference", - "id": 30, + "id": 36, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 280, + "id": 292, "name": "SupabaseClient" } } @@ -113,13 +113,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 33, + "line": 34, "character": 36 } ] }, { - "id": 281, + "id": 293, "name": "auth", "kind": 1024, "kindString": "Property", @@ -132,18 +132,18 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 26, + "line": 27, "character": 6 } ], "type": { "type": "reference", - "id": 53, + "id": 59, "name": "SupabaseAuthClient" } }, { - "id": 285, + "id": 297, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -154,7 +154,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 31, + "line": 32, "character": 19 } ], @@ -164,7 +164,7 @@ } }, { - "id": 287, + "id": 299, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -175,7 +175,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 33, + "line": 34, "character": 20 } ], @@ -185,7 +185,7 @@ } }, { - "id": 284, + "id": 296, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -196,7 +196,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 30, + "line": 31, "character": 23 } ], @@ -206,7 +206,7 @@ } }, { - "id": 283, + "id": 295, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -217,7 +217,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 29, + "line": 30, "character": 19 } ], @@ -227,7 +227,7 @@ } }, { - "id": 282, + "id": 294, "name": "schema", "kind": 1024, "kindString": "Property", @@ -238,7 +238,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 28, + "line": 29, "character": 18 } ], @@ -248,7 +248,7 @@ } }, { - "id": 286, + "id": 298, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -259,7 +259,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 32, + "line": 33, "character": 22 } ], @@ -269,7 +269,7 @@ } }, { - "id": 290, + "id": 302, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -284,7 +284,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 48, + "line": 49, "character": 25 } ], @@ -294,7 +294,7 @@ } }, { - "id": 289, + "id": 301, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -309,7 +309,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 47, + "line": 48, "character": 25 } ], @@ -319,7 +319,7 @@ } }, { - "id": 295, + "id": 307, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -331,7 +331,7 @@ }, "getSignature": [ { - "id": 296, + "id": 308, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -350,13 +350,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 73, + "line": 76, "character": 13 } ] }, { - "id": 339, + "id": 352, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -366,7 +366,7 @@ }, "signatures": [ { - "id": 340, + "id": 353, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -375,7 +375,7 @@ }, "parameters": [ { - "id": 341, + "id": 354, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -403,13 +403,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 187, + "line": 194, "character": 23 } ] }, { - "id": 312, + "id": 325, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -419,7 +419,7 @@ }, "signatures": [ { - "id": 313, + "id": 326, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -428,7 +428,7 @@ }, "parameters": [ { - "id": 314, + "id": 327, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -456,13 +456,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 131, + "line": 138, "character": 34 } ] }, { - "id": 334, + "id": 347, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -472,7 +472,7 @@ }, "signatures": [ { - "id": 335, + "id": 348, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -482,7 +482,7 @@ "type": { "type": "reflection", "declaration": { - "id": 336, + "id": 349, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -491,7 +491,7 @@ }, "indexSignature": [ { - "id": 337, + "id": 350, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -500,7 +500,7 @@ }, "parameters": [ { - "id": 338, + "id": 351, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -522,7 +522,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 179, + "line": 186, "character": 28 } ] @@ -533,13 +533,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 179, + "line": 186, "character": 25 } ] }, { - "id": 332, + "id": 345, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -549,7 +549,7 @@ }, "signatures": [ { - "id": 333, + "id": 346, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -565,13 +565,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 172, + "line": 179, "character": 30 } ] }, { - "id": 329, + "id": 342, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -581,7 +581,7 @@ }, "signatures": [ { - "id": 330, + "id": 343, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -590,7 +590,7 @@ }, "parameters": [ { - "id": 331, + "id": 344, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -613,13 +613,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 165, + "line": 172, "character": 29 } ] }, { - "id": 317, + "id": 330, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -629,7 +629,7 @@ }, "signatures": [ { - "id": 318, + "id": 331, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -638,7 +638,7 @@ }, "parameters": [ { - "id": 319, + "id": 332, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -649,7 +649,7 @@ "type": { "type": "reflection", "declaration": { - "id": 320, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -658,7 +658,7 @@ }, "children": [ { - "id": 321, + "id": 334, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -668,7 +668,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 152, "character": 20 } ], @@ -691,7 +691,7 @@ } }, { - "id": 323, + "id": 336, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -701,7 +701,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 147, + "line": 154, "character": 22 } ], @@ -724,7 +724,7 @@ } }, { - "id": 325, + "id": 338, "name": "headers", "kind": 32, "kindString": "Variable", @@ -734,7 +734,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 149, + "line": 156, "character": 11 } ], @@ -748,7 +748,7 @@ { "type": "reflection", "declaration": { - "id": 326, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -757,7 +757,7 @@ }, "indexSignature": [ { - "id": 327, + "id": 340, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -766,7 +766,7 @@ }, "parameters": [ { - "id": 328, + "id": 341, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -791,7 +791,7 @@ } }, { - "id": 324, + "id": 337, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -801,7 +801,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 148, + "line": 155, "character": 16 } ], @@ -849,7 +849,7 @@ } }, { - "id": 322, + "id": 335, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -859,7 +859,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 146, + "line": 153, "character": 18 } ], @@ -887,18 +887,18 @@ "title": "Variables", "kind": 32, "children": [ - 321, - 323, - 325, - 324, - 322 + 334, + 336, + 338, + 337, + 335 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, + "line": 151, "character": 34 } ] @@ -908,7 +908,7 @@ ], "type": { "type": "reference", - "id": 53, + "id": 59, "name": "SupabaseAuthClient" } } @@ -916,13 +916,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, + "line": 151, "character": 33 } ] }, { - "id": 297, + "id": 309, "name": "from", "kind": 2048, "kindString": "Method", @@ -931,7 +931,7 @@ }, "signatures": [ { - "id": 298, + "id": 310, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -943,7 +943,7 @@ }, "typeParameter": [ { - "id": 299, + "id": 311, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -954,7 +954,7 @@ ], "parameters": [ { - "id": 300, + "id": 312, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -972,7 +972,7 @@ ], "type": { "type": "reference", - "id": 189, + "id": 200, "typeArguments": [ { "type": "typeParameter", @@ -990,13 +990,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 82, + "line": 85, "character": 6 } ] }, { - "id": 315, + "id": 328, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -1005,7 +1005,7 @@ }, "signatures": [ { - "id": 316, + "id": 329, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -1027,13 +1027,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 140, + "line": 147, "character": 18 } ] }, { - "id": 309, + "id": 322, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -1042,7 +1042,7 @@ }, "signatures": [ { - "id": 310, + "id": 323, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -1054,7 +1054,7 @@ }, "parameters": [ { - "id": 311, + "id": 324, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -1085,13 +1085,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 114, + "line": 121, "character": 20 } ] }, { - "id": 301, + "id": 313, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1100,7 +1100,7 @@ }, "signatures": [ { - "id": 302, + "id": 314, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1112,7 +1112,7 @@ }, "typeParameter": [ { - "id": 303, + "id": 315, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1123,7 +1123,7 @@ ], "parameters": [ { - "id": 304, + "id": 316, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1139,7 +1139,7 @@ } }, { - "id": 305, + "id": 317, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1165,7 +1165,7 @@ } }, { - "id": 306, + "id": 318, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1176,7 +1176,7 @@ "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1185,7 +1185,7 @@ }, "children": [ { - "id": 308, + "id": 321, "name": "count", "kind": 32, "kindString": "Variable", @@ -1198,7 +1198,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 103, + "line": 109, "character": 11 } ], @@ -1224,6 +1224,30 @@ ] }, "defaultValue": "null" + }, + { + "id": 320, + "name": "head", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "When set to true, no data will be returned." + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 108, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" } ], "groups": [ @@ -1231,14 +1255,15 @@ "title": "Variables", "kind": 32, "children": [ - 308 + 321, + 320 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 102, + "line": 106, "character": 20 } ] @@ -1262,7 +1287,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 100, + "line": 104, "character": 5 } ] @@ -1273,58 +1298,58 @@ "title": "Constructors", "kind": 512, "children": [ - 288 + 300 ] }, { "title": "Properties", "kind": 1024, "children": [ - 281, - 285, - 287, - 284, - 283, - 282, - 286, - 290, - 289 + 293, + 297, + 299, + 296, + 295, + 294, + 298, + 302, + 301 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 295 + 307 ] }, { "title": "Methods", "kind": 2048, "children": [ - 339, - 312, - 334, - 332, - 329, - 317, - 297, - 315, + 352, + 325, + 347, + 345, + 342, + 330, 309, - 301 + 328, + 322, + 313 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 22, + "line": 23, "character": 35 } ] }, { - "id": 342, + "id": 355, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1333,7 +1358,7 @@ }, "children": [ { - "id": 344, + "id": 357, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1341,7 +1366,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 11, + "line": 12, "character": 18 } ], @@ -1352,7 +1377,7 @@ "defaultValue": "true" }, { - "id": 346, + "id": 359, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1360,7 +1385,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 13, + "line": 14, "character": 20 } ], @@ -1371,7 +1396,7 @@ "defaultValue": "true" }, { - "id": 347, + "id": 360, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1379,21 +1404,21 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 14, + "line": 15, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 348, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 349, + "id": 362, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -1417,7 +1442,7 @@ "title": "Variables", "kind": 32, "children": [ - 349 + 362 ] } ] @@ -1426,7 +1451,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 345, + "id": 358, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1434,7 +1459,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 12, + "line": 13, "character": 16 } ], @@ -1445,7 +1470,7 @@ "defaultValue": "true" }, { - "id": 343, + "id": 356, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1453,7 +1478,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 10, + "line": 11, "character": 8 } ], @@ -1469,18 +1494,18 @@ "title": "Variables", "kind": 32, "children": [ - 344, - 346, - 347, - 345, - 343 + 357, + 359, + 360, + 358, + 356 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 9, + "line": 10, "character": 21 } ], @@ -1495,14 +1520,14 @@ "title": "Classes", "kind": 128, "children": [ - 280 + 292 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 342 + 355 ] } ], @@ -1515,7 +1540,7 @@ ] }, { - "id": 350, + "id": 363, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1525,7 +1550,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 351, + "id": 364, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1538,7 +1563,7 @@ }, "signatures": [ { - "id": 352, + "id": 365, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1550,7 +1575,7 @@ }, "parameters": [ { - "id": 353, + "id": 366, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1563,7 +1588,7 @@ } }, { - "id": 354, + "id": 367, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1576,7 +1601,7 @@ } }, { - "id": 355, + "id": 368, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1586,14 +1611,14 @@ }, "type": { "type": "reference", - "id": 30, + "id": 36, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 280, + "id": 292, "name": "SupabaseClient" } } @@ -1612,7 +1637,7 @@ "title": "Functions", "kind": 64, "children": [ - 351 + 364 ] } ], @@ -1625,7 +1650,7 @@ ] }, { - "id": 52, + "id": 58, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", @@ -1635,7 +1660,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { - "id": 53, + "id": 59, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", @@ -1644,7 +1669,7 @@ }, "children": [ { - "id": 54, + "id": 60, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1653,7 +1678,7 @@ }, "signatures": [ { - "id": 55, + "id": 61, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", @@ -1662,7 +1687,7 @@ }, "parameters": [ { - "id": 56, + "id": 62, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1671,14 +1696,14 @@ }, "type": { "type": "reference", - "id": 7, + "id": 13, "name": "SupabaseAuthClientOptions" } } ], "type": { "type": "reference", - "id": 53, + "id": 59, "name": "SupabaseAuthClient" }, "overwrites": { @@ -1700,7 +1725,7 @@ } }, { - "id": 57, + "id": 63, "name": "api", "kind": 1024, "kindString": "Property", @@ -1723,12 +1748,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 57, + "id": 63, "name": "GoTrueClient.api" } }, { - "id": 60, + "id": 66, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -1749,12 +1774,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 60, + "id": 66, "name": "GoTrueClient.autoRefreshToken" } }, { - "id": 59, + "id": 65, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -1787,12 +1812,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 59, + "id": 65, "name": "GoTrueClient.currentSession" } }, { - "id": 58, + "id": 64, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -1825,12 +1850,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 58, + "id": 64, "name": "GoTrueClient.currentUser" } }, { - "id": 62, + "id": 68, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -1851,12 +1876,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 62, + "id": 68, "name": "GoTrueClient.localStorage" } }, { - "id": 61, + "id": 67, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -1877,12 +1902,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 61, + "id": 67, "name": "GoTrueClient.persistSession" } }, { - "id": 64, + "id": 70, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -1913,12 +1938,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 64, + "id": 70, "name": "GoTrueClient.refreshTokenTimer" } }, { - "id": 63, + "id": 69, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -1949,12 +1974,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 63, + "id": 69, "name": "GoTrueClient.stateChangeEmitters" } }, { - "id": 140, + "id": 147, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -1963,7 +1988,7 @@ }, "signatures": [ { - "id": 141, + "id": 148, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -1975,7 +2000,7 @@ }, "parameters": [ { - "id": 142, + "id": 149, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1993,7 +2018,7 @@ { "type": "reflection", "declaration": { - "id": 143, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2002,7 +2027,7 @@ }, "children": [ { - "id": 144, + "id": 151, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2016,7 +2041,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 143, + "line": 146, "character": 20 } ], @@ -2044,7 +2069,7 @@ "title": "Variables", "kind": 32, "children": [ - 144 + 151 ] } ] @@ -2060,7 +2085,7 @@ { "type": "reflection", "declaration": { - "id": 145, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2069,7 +2094,7 @@ }, "children": [ { - "id": 146, + "id": 153, "name": "data", "kind": 32, "kindString": "Variable", @@ -2079,7 +2104,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 145, + "line": 148, "character": 12 } ], @@ -2098,7 +2123,7 @@ } }, { - "id": 147, + "id": 154, "name": "error", "kind": 32, "kindString": "Variable", @@ -2108,7 +2133,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 146, + "line": 149, "character": 13 } ], @@ -2132,15 +2157,15 @@ "title": "Variables", "kind": 32, "children": [ - 146, - 147 + 153, + 154 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 144, + "line": 147, "character": 16 } ] @@ -2151,7 +2176,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 140, + "id": 147, "name": "GoTrueClient.getSessionFromUrl" } } @@ -2159,18 +2184,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 142, + "line": 145, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 140, + "id": 147, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 152, + "id": 159, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -2179,7 +2204,7 @@ }, "signatures": [ { - "id": 153, + "id": 160, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -2192,7 +2217,7 @@ }, "parameters": [ { - "id": 154, + "id": 161, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -2202,7 +2227,7 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2211,7 +2236,7 @@ }, "signatures": [ { - "id": 156, + "id": 163, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2220,7 +2245,7 @@ }, "parameters": [ { - "id": 157, + "id": 164, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -2233,7 +2258,7 @@ } }, { - "id": 158, + "id": 165, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -2264,7 +2289,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 161, + "line": 164, "character": 31 } ] @@ -2275,7 +2300,7 @@ "type": { "type": "reflection", "declaration": { - "id": 159, + "id": 166, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2284,7 +2309,7 @@ }, "children": [ { - "id": 160, + "id": 167, "name": "data", "kind": 32, "kindString": "Variable", @@ -2294,7 +2319,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 162, + "line": 165, "character": 12 } ], @@ -2313,7 +2338,7 @@ } }, { - "id": 161, + "id": 168, "name": "error", "kind": 32, "kindString": "Variable", @@ -2323,7 +2348,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 163, + "line": 166, "character": 13 } ], @@ -2347,15 +2372,15 @@ "title": "Variables", "kind": 32, "children": [ - 160, - 161 + 167, + 168 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 161, + "line": 164, "character": 91 } ] @@ -2363,7 +2388,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 152, + "id": 159, "name": "GoTrueClient.onAuthStateChange" } } @@ -2371,18 +2396,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 161, + "line": 164, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 152, + "id": 159, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 118, + "id": 125, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -2391,7 +2416,7 @@ }, "signatures": [ { - "id": 119, + "id": 126, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -2407,7 +2432,7 @@ { "type": "reflection", "declaration": { - "id": 120, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2416,7 +2441,7 @@ }, "children": [ { - "id": 121, + "id": 128, "name": "data", "kind": 32, "kindString": "Variable", @@ -2426,7 +2451,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 113, + "line": 116, "character": 12 } ], @@ -2445,7 +2470,7 @@ } }, { - "id": 123, + "id": 130, "name": "error", "kind": 32, "kindString": "Variable", @@ -2455,7 +2480,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 115, + "line": 118, "character": 13 } ], @@ -2474,7 +2499,7 @@ } }, { - "id": 122, + "id": 129, "name": "user", "kind": 32, "kindString": "Variable", @@ -2484,7 +2509,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 117, "character": 12 } ], @@ -2508,16 +2533,16 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 123, - 122 + 128, + 130, + 129 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 112, + "line": 115, "character": 30 } ] @@ -2528,7 +2553,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 118, + "id": 125, "name": "GoTrueClient.refreshSession" } } @@ -2536,18 +2561,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 112, + "line": 115, "character": 18 } ], "inheritedFrom": { "type": "reference", - "id": 118, + "id": 125, "name": "GoTrueClient.refreshSession" } }, { - "id": 116, + "id": 123, "name": "session", "kind": 2048, "kindString": "Method", @@ -2556,7 +2581,7 @@ }, "signatures": [ { - "id": 117, + "id": 124, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -2581,7 +2606,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 116, + "id": 123, "name": "GoTrueClient.session" } } @@ -2589,18 +2614,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 108, + "line": 111, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 116, + "id": 123, "name": "GoTrueClient.session" } }, { - "id": 137, + "id": 144, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -2609,7 +2634,7 @@ }, "signatures": [ { - "id": 138, + "id": 145, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -2621,7 +2646,7 @@ }, "parameters": [ { - "id": 139, + "id": 146, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -2643,7 +2668,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 137, + "id": 144, "name": "GoTrueClient.setAuth" } } @@ -2651,18 +2676,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 137, + "line": 140, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 137, + "id": 144, "name": "GoTrueClient.setAuth" } }, { - "id": 131, + "id": 138, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -2671,7 +2696,7 @@ }, "signatures": [ { - "id": 132, + "id": 139, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -2683,7 +2708,7 @@ }, "parameters": [ { - "id": 133, + "id": 140, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -2705,7 +2730,7 @@ { "type": "reflection", "declaration": { - "id": 134, + "id": 141, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2714,7 +2739,7 @@ }, "children": [ { - "id": 136, + "id": 143, "name": "error", "kind": 32, "kindString": "Variable", @@ -2724,7 +2749,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 131, + "line": 134, "character": 13 } ], @@ -2743,7 +2768,7 @@ } }, { - "id": 135, + "id": 142, "name": "session", "kind": 32, "kindString": "Variable", @@ -2753,7 +2778,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 130, + "line": 133, "character": 15 } ], @@ -2777,15 +2802,15 @@ "title": "Variables", "kind": 32, "children": [ - 136, - 135 + 143, + 142 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 129, + "line": 132, "character": 47 } ] @@ -2796,7 +2821,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 131, + "id": 138, "name": "GoTrueClient.setSession" } } @@ -2804,18 +2829,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 129, + "line": 132, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 131, + "id": 138, "name": "GoTrueClient.setSession" } }, { - "id": 80, + "id": 87, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -2824,7 +2849,7 @@ }, "signatures": [ { - "id": 81, + "id": 88, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -2836,7 +2861,7 @@ }, "parameters": [ { - "id": 82, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -2847,7 +2872,7 @@ "type": { "type": "reflection", "declaration": { - "id": 83, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2856,7 +2881,7 @@ }, "children": [ { - "id": 84, + "id": 91, "name": "email", "kind": 32, "kindString": "Variable", @@ -2869,7 +2894,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 18 } ], @@ -2888,7 +2913,7 @@ } }, { - "id": 86, + "id": 93, "name": "password", "kind": 32, "kindString": "Variable", @@ -2901,7 +2926,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 35 } ], @@ -2920,7 +2945,7 @@ } }, { - "id": 85, + "id": 92, "name": "phone", "kind": 32, "kindString": "Variable", @@ -2930,7 +2955,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 25 } ], @@ -2949,7 +2974,7 @@ } }, { - "id": 88, + "id": 95, "name": "provider", "kind": 32, "kindString": "Variable", @@ -2962,7 +2987,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 59 } ], @@ -3017,7 +3042,7 @@ } }, { - "id": 87, + "id": 94, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -3030,7 +3055,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 49 } ], @@ -3054,18 +3079,18 @@ "title": "Variables", "kind": 32, "children": [ - 84, - 86, - 85, - 88, - 87 + 91, + 93, + 92, + 95, + 94 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 11 } ] @@ -3073,7 +3098,7 @@ } }, { - "id": 89, + "id": 96, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3091,7 +3116,7 @@ { "type": "reflection", "declaration": { - "id": 90, + "id": 97, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3100,7 +3125,7 @@ }, "children": [ { - "id": 91, + "id": 98, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3111,7 +3136,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 75, + "line": 78, "character": 18 } ], @@ -3130,7 +3155,7 @@ } }, { - "id": 92, + "id": 99, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -3141,7 +3166,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 76, + "line": 79, "character": 14 } ], @@ -3165,8 +3190,8 @@ "title": "Variables", "kind": 32, "children": [ - 91, - 92 + 98, + 99 ] } ] @@ -3182,7 +3207,7 @@ { "type": "reflection", "declaration": { - "id": 93, + "id": 100, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3191,7 +3216,7 @@ }, "children": [ { - "id": 99, + "id": 106, "name": "data", "kind": 32, "kindString": "Variable", @@ -3201,7 +3226,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 83, + "line": 86, "character": 12 } ], @@ -3220,7 +3245,7 @@ } }, { - "id": 98, + "id": 105, "name": "error", "kind": 32, "kindString": "Variable", @@ -3230,7 +3255,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 82, + "line": 85, "character": 13 } ], @@ -3249,7 +3274,7 @@ } }, { - "id": 96, + "id": 103, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3260,7 +3285,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 80, + "line": 83, "character": 16 } ], @@ -3270,7 +3295,7 @@ } }, { - "id": 94, + "id": 101, "name": "session", "kind": 32, "kindString": "Variable", @@ -3280,7 +3305,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 78, + "line": 81, "character": 15 } ], @@ -3299,7 +3324,7 @@ } }, { - "id": 97, + "id": 104, "name": "url", "kind": 32, "kindString": "Variable", @@ -3310,7 +3335,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 81, + "line": 84, "character": 11 } ], @@ -3329,7 +3354,7 @@ } }, { - "id": 95, + "id": 102, "name": "user", "kind": 32, "kindString": "Variable", @@ -3339,7 +3364,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 79, + "line": 82, "character": 12 } ], @@ -3363,19 +3388,19 @@ "title": "Variables", "kind": 32, "children": [ - 99, - 98, - 96, - 94, - 97, - 95 + 106, + 105, + 103, + 101, + 104, + 102 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 77, + "line": 80, "character": 16 } ] @@ -3386,7 +3411,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 80, + "id": 87, "name": "GoTrueClient.signIn" } } @@ -3394,18 +3419,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 80, + "id": 87, "name": "GoTrueClient.signIn" } }, { - "id": 148, + "id": 155, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -3414,7 +3439,7 @@ }, "signatures": [ { - "id": 149, + "id": 156, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3431,7 +3456,7 @@ { "type": "reflection", "declaration": { - "id": 150, + "id": 157, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3440,7 +3465,7 @@ }, "children": [ { - "id": 151, + "id": 158, "name": "error", "kind": 32, "kindString": "Variable", @@ -3450,7 +3475,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 158, "character": 13 } ], @@ -3474,14 +3499,14 @@ "title": "Variables", "kind": 32, "children": [ - 151 + 158 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 154, + "line": 157, "character": 23 } ] @@ -3492,7 +3517,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 148, + "id": 155, "name": "GoTrueClient.signOut" } } @@ -3500,18 +3525,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 154, + "line": 157, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 148, + "id": 155, "name": "GoTrueClient.signOut" } }, { - "id": 65, + "id": 71, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -3520,7 +3545,7 @@ }, "signatures": [ { - "id": 66, + "id": 72, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -3532,7 +3557,7 @@ }, "parameters": [ { - "id": 67, + "id": 73, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3543,7 +3568,7 @@ "type": { "type": "reflection", "declaration": { - "id": 68, + "id": 74, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3552,7 +3577,7 @@ }, "children": [ { - "id": 69, + "id": 75, "name": "email", "kind": 32, "kindString": "Variable", @@ -3565,7 +3590,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 18 } ], @@ -3584,7 +3609,7 @@ } }, { - "id": 70, + "id": 76, "name": "password", "kind": 32, "kindString": "Variable", @@ -3597,7 +3622,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 28 } ], @@ -3616,7 +3641,7 @@ } }, { - "id": 71, + "id": 77, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3629,7 +3654,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 35 } ], @@ -3653,16 +3678,16 @@ "title": "Variables", "kind": 32, "children": [ - 69, - 70, - 71 + 75, + 76, + 77 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 11 } ] @@ -3670,7 +3695,7 @@ } }, { - "id": 72, + "id": 78, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3688,7 +3713,7 @@ { "type": "reflection", "declaration": { - "id": 73, + "id": 79, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3697,7 +3722,37 @@ }, "children": [ { - "id": 74, + "id": 81, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 60, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "object" + } + ] + } + }, + { + "id": 80, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3708,7 +3763,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 57, + "line": 59, "character": 18 } ], @@ -3732,7 +3787,8 @@ "title": "Variables", "kind": 32, "children": [ - 74 + 81, + 80 ] } ] @@ -3748,7 +3804,7 @@ { "type": "reflection", "declaration": { - "id": 75, + "id": 82, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3757,17 +3813,20 @@ }, "children": [ { - "id": 79, + "id": 86, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, + "comment": { + "text": "Optional user metadata.\n" + }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 62, + "line": 65, "character": 12 } ], @@ -3790,7 +3849,7 @@ } }, { - "id": 78, + "id": 85, "name": "error", "kind": 32, "kindString": "Variable", @@ -3800,7 +3859,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 61, + "line": 64, "character": 13 } ], @@ -3819,7 +3878,7 @@ } }, { - "id": 77, + "id": 84, "name": "session", "kind": 32, "kindString": "Variable", @@ -3829,7 +3888,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 60, + "line": 63, "character": 15 } ], @@ -3848,7 +3907,7 @@ } }, { - "id": 76, + "id": 83, "name": "user", "kind": 32, "kindString": "Variable", @@ -3858,7 +3917,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 59, + "line": 62, "character": 12 } ], @@ -3882,17 +3941,17 @@ "title": "Variables", "kind": 32, "children": [ - 79, - 78, - 77, - 76 + 86, + 85, + 84, + 83 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 58, + "line": 61, "character": 16 } ] @@ -3903,7 +3962,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 65, + "id": 71, "name": "GoTrueClient.signUp" } } @@ -3911,18 +3970,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 65, + "id": 71, "name": "GoTrueClient.signUp" } }, { - "id": 124, + "id": 131, "name": "update", "kind": 2048, "kindString": "Method", @@ -3931,7 +3990,7 @@ }, "signatures": [ { - "id": 125, + "id": 132, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -3943,7 +4002,7 @@ }, "parameters": [ { - "id": 126, + "id": 133, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -3962,7 +4021,7 @@ { "type": "reflection", "declaration": { - "id": 127, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3971,7 +4030,7 @@ }, "children": [ { - "id": 128, + "id": 135, "name": "data", "kind": 32, "kindString": "Variable", @@ -3981,7 +4040,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 121, + "line": 124, "character": 12 } ], @@ -4000,7 +4059,7 @@ } }, { - "id": 130, + "id": 137, "name": "error", "kind": 32, "kindString": "Variable", @@ -4010,7 +4069,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 126, "character": 13 } ], @@ -4029,7 +4088,7 @@ } }, { - "id": 129, + "id": 136, "name": "user", "kind": 32, "kindString": "Variable", @@ -4039,7 +4098,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 122, + "line": 125, "character": 12 } ], @@ -4063,16 +4122,16 @@ "title": "Variables", "kind": 32, "children": [ - 128, - 130, - 129 + 135, + 137, + 136 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 120, + "line": 123, "character": 48 } ] @@ -4083,7 +4142,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 124, + "id": 131, "name": "GoTrueClient.update" } } @@ -4091,18 +4150,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 120, + "line": 123, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 124, + "id": 131, "name": "GoTrueClient.update" } }, { - "id": 114, + "id": 121, "name": "user", "kind": 2048, "kindString": "Method", @@ -4111,7 +4170,7 @@ }, "signatures": [ { - "id": 115, + "id": 122, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -4137,7 +4196,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 114, + "id": 121, "name": "GoTrueClient.user" } } @@ -4145,18 +4204,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 104, + "line": 107, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 114, + "id": 121, "name": "GoTrueClient.user" } }, { - "id": 100, + "id": 107, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -4165,7 +4224,7 @@ }, "signatures": [ { - "id": 101, + "id": 108, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -4177,7 +4236,7 @@ }, "parameters": [ { - "id": 102, + "id": 109, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4188,7 +4247,7 @@ "type": { "type": "reflection", "declaration": { - "id": 103, + "id": 110, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4197,7 +4256,7 @@ }, "children": [ { - "id": 104, + "id": 111, "name": "phone", "kind": 32, "kindString": "Variable", @@ -4210,7 +4269,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 94, "character": 21 } ], @@ -4220,7 +4279,7 @@ } }, { - "id": 105, + "id": 112, "name": "token", "kind": 32, "kindString": "Variable", @@ -4233,7 +4292,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 94, "character": 28 } ], @@ -4248,15 +4307,15 @@ "title": "Variables", "kind": 32, "children": [ - 104, - 105 + 111, + 112 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 94, "character": 14 } ] @@ -4264,7 +4323,7 @@ } }, { - "id": 106, + "id": 113, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4282,7 +4341,7 @@ { "type": "reflection", "declaration": { - "id": 107, + "id": 114, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4291,7 +4350,7 @@ }, "children": [ { - "id": 108, + "id": 115, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4302,7 +4361,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 92, + "line": 95, "character": 18 } ], @@ -4326,7 +4385,7 @@ "title": "Variables", "kind": 32, "children": [ - 108 + 115 ] } ] @@ -4342,7 +4401,7 @@ { "type": "reflection", "declaration": { - "id": 109, + "id": 116, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4351,7 +4410,7 @@ }, "children": [ { - "id": 113, + "id": 120, "name": "data", "kind": 32, "kindString": "Variable", @@ -4361,7 +4420,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 97, + "line": 100, "character": 12 } ], @@ -4384,7 +4443,7 @@ } }, { - "id": 112, + "id": 119, "name": "error", "kind": 32, "kindString": "Variable", @@ -4394,7 +4453,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 96, + "line": 99, "character": 13 } ], @@ -4413,7 +4472,7 @@ } }, { - "id": 111, + "id": 118, "name": "session", "kind": 32, "kindString": "Variable", @@ -4423,7 +4482,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 95, + "line": 98, "character": 15 } ], @@ -4442,7 +4501,7 @@ } }, { - "id": 110, + "id": 117, "name": "user", "kind": 32, "kindString": "Variable", @@ -4452,7 +4511,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 94, + "line": 97, "character": 12 } ], @@ -4476,17 +4535,17 @@ "title": "Variables", "kind": 32, "children": [ - 113, - 112, - 111, - 110 + 120, + 119, + 118, + 117 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 93, + "line": 96, "character": 16 } ] @@ -4497,7 +4556,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 100, + "id": 107, "name": "GoTrueClient.verifyOTP" } } @@ -4505,13 +4564,13 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 94, "character": 13 } ], "inheritedFrom": { "type": "reference", - "id": 100, + "id": 107, "name": "GoTrueClient.verifyOTP" } } @@ -4521,39 +4580,39 @@ "title": "Constructors", "kind": 512, "children": [ - 54 + 60 ] }, { "title": "Properties", "kind": 1024, "children": [ - 57, - 60, - 59, - 58, - 62, - 61, + 63, + 66, + 65, 64, - 63 + 68, + 67, + 70, + 69 ] }, { "title": "Methods", "kind": 2048, "children": [ - 140, - 152, - 118, - 116, - 137, + 147, + 159, + 125, + 123, + 144, + 138, + 87, + 155, + 71, 131, - 80, - 148, - 65, - 124, - 114, - 100 + 121, + 107 ] } ], @@ -4577,7 +4636,7 @@ "title": "Classes", "kind": 128, "children": [ - 53 + 59 ] } ], @@ -4590,7 +4649,7 @@ ] }, { - "id": 188, + "id": 199, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -4600,7 +4659,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 189, + "id": 200, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -4609,7 +4668,7 @@ }, "typeParameter": [ { - "id": 190, + "id": 201, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4620,7 +4679,7 @@ ], "children": [ { - "id": 193, + "id": 204, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4629,7 +4688,7 @@ }, "signatures": [ { - "id": 194, + "id": 205, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -4638,7 +4697,7 @@ }, "parameters": [ { - "id": 195, + "id": 206, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -4651,7 +4710,7 @@ } }, { - "id": 196, + "id": 207, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4662,7 +4721,7 @@ "type": { "type": "reflection", "declaration": { - "id": 197, + "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4671,7 +4730,7 @@ }, "children": [ { - "id": 198, + "id": 209, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4688,7 +4747,7 @@ "type": { "type": "reflection", "declaration": { - "id": 199, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4697,7 +4756,7 @@ }, "indexSignature": [ { - "id": 200, + "id": 211, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4706,7 +4765,7 @@ }, "parameters": [ { - "id": 201, + "id": 212, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4729,7 +4788,7 @@ } }, { - "id": 203, + "id": 214, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -4749,7 +4808,7 @@ } }, { - "id": 202, + "id": 213, "name": "schema", "kind": 32, "kindString": "Variable", @@ -4769,7 +4828,7 @@ } }, { - "id": 204, + "id": 215, "name": "table", "kind": 32, "kindString": "Variable", @@ -4794,10 +4853,10 @@ "title": "Variables", "kind": 32, "children": [ - 198, - 203, - 202, - 204 + 209, + 214, + 213, + 215 ] } ], @@ -4814,7 +4873,7 @@ ], "type": { "type": "reference", - "id": 189, + "id": 200, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -4836,7 +4895,7 @@ } }, { - "id": 192, + "id": 203, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -4857,7 +4916,7 @@ } }, { - "id": 191, + "id": 202, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -4874,12 +4933,12 @@ ], "type": { "type": "reference", - "id": 163, + "id": 170, "name": "SupabaseRealtimeClient" } }, { - "id": 263, + "id": 274, "name": "body", "kind": 1024, "kindString": "Property", @@ -4925,12 +4984,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 263, + "id": 274, "name": "PostgrestBuilder.body" } }, { - "id": 258, + "id": 269, "name": "headers", "kind": 1024, "kindString": "Property", @@ -4948,7 +5007,7 @@ "type": { "type": "reflection", "declaration": { - "id": 259, + "id": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4957,7 +5016,7 @@ }, "indexSignature": [ { - "id": 260, + "id": 271, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4966,7 +5025,7 @@ }, "parameters": [ { - "id": 261, + "id": 272, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4996,12 +5055,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 258, + "id": 269, "name": "PostgrestBuilder.headers" } }, { - "id": 256, + "id": 267, "name": "method", "kind": 1024, "kindString": "Property", @@ -5043,12 +5102,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 256, + "id": 267, "name": "PostgrestBuilder.method" } }, { - "id": 262, + "id": 273, "name": "schema", "kind": 1024, "kindString": "Property", @@ -5079,15 +5138,41 @@ }, "inheritedFrom": { "type": "reference", - "id": 262, + "id": 273, "name": "PostgrestBuilder.schema" } }, { - "id": 264, + "id": 275, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", + "line": 49, + "character": 32 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 275, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 276, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -5096,35 +5181,22 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 49, - "character": 32 + "line": 50, + "character": 20 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 264, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 276, + "name": "PostgrestBuilder.signal" } }, { - "id": 257, + "id": 268, "name": "url", "kind": 1024, "kindString": "Property", @@ -5145,12 +5217,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 257, + "id": 268, "name": "PostgrestBuilder.url" } }, { - "id": 250, + "id": 261, "name": "delete", "kind": 2048, "kindString": "Method", @@ -5159,7 +5231,7 @@ }, "signatures": [ { - "id": 251, + "id": 262, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -5171,7 +5243,7 @@ }, "parameters": [ { - "id": 252, + "id": 263, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5183,7 +5255,7 @@ "type": { "type": "reflection", "declaration": { - "id": 253, + "id": 264, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5192,7 +5264,7 @@ }, "children": [ { - "id": 255, + "id": 266, "name": "count", "kind": 32, "kindString": "Variable", @@ -5236,7 +5308,7 @@ } }, { - "id": 254, + "id": 265, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5277,8 +5349,8 @@ "title": "Variables", "kind": 32, "children": [ - 255, - 254 + 266, + 265 ] } ], @@ -5305,7 +5377,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 250, + "id": 261, "name": "PostgrestQueryBuilder.delete" } } @@ -5319,12 +5391,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 250, + "id": 261, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 219, + "id": 230, "name": "insert", "kind": 2048, "kindString": "Method", @@ -5333,7 +5405,7 @@ }, "signatures": [ { - "id": 220, + "id": 231, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5345,7 +5417,7 @@ }, "parameters": [ { - "id": 221, + "id": 232, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5385,7 +5457,7 @@ } }, { - "id": 222, + "id": 233, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5403,7 +5475,7 @@ { "type": "reflection", "declaration": { - "id": 223, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5412,7 +5484,7 @@ }, "children": [ { - "id": 225, + "id": 236, "name": "count", "kind": 32, "kindString": "Variable", @@ -5450,7 +5522,7 @@ } }, { - "id": 224, + "id": 235, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5485,8 +5557,8 @@ "title": "Variables", "kind": 32, "children": [ - 225, - 224 + 236, + 235 ] } ] @@ -5508,12 +5580,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 230, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 226, + "id": 237, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5530,7 +5602,7 @@ }, "parameters": [ { - "id": 227, + "id": 238, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5567,7 +5639,7 @@ } }, { - "id": 228, + "id": 239, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5585,7 +5657,7 @@ { "type": "reflection", "declaration": { - "id": 229, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5594,7 +5666,7 @@ }, "children": [ { - "id": 233, + "id": 244, "name": "count", "kind": 32, "kindString": "Variable", @@ -5632,7 +5704,7 @@ } }, { - "id": 231, + "id": 242, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -5662,7 +5734,7 @@ } }, { - "id": 232, + "id": 243, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5692,7 +5764,7 @@ } }, { - "id": 230, + "id": 241, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5731,10 +5803,10 @@ "title": "Variables", "kind": 32, "children": [ - 233, - 231, - 232, - 230 + 244, + 242, + 243, + 241 ] } ] @@ -5756,7 +5828,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 230, "name": "PostgrestQueryBuilder.insert" } } @@ -5775,12 +5847,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 219, + "id": 230, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 205, + "id": 216, "name": "on", "kind": 2048, "kindString": "Method", @@ -5789,7 +5861,7 @@ }, "signatures": [ { - "id": 206, + "id": 217, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -5801,7 +5873,7 @@ }, "parameters": [ { - "id": 207, + "id": 218, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5813,12 +5885,12 @@ }, "type": { "type": "reference", - "id": 51, + "id": 57, "name": "SupabaseEventTypes" } }, { - "id": 208, + "id": 219, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5831,7 +5903,7 @@ "type": { "type": "reflection", "declaration": { - "id": 209, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5840,7 +5912,7 @@ }, "signatures": [ { - "id": 210, + "id": 221, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5849,7 +5921,7 @@ }, "parameters": [ { - "id": 211, + "id": 222, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -5858,7 +5930,7 @@ }, "type": { "type": "reference", - "id": 42, + "id": 48, "typeArguments": [ { "type": "typeParameter", @@ -5888,7 +5960,7 @@ ], "type": { "type": "reference", - "id": 163, + "id": 170, "name": "SupabaseRealtimeClient" } } @@ -5902,7 +5974,7 @@ ] }, { - "id": 212, + "id": 223, "name": "select", "kind": 2048, "kindString": "Method", @@ -5911,7 +5983,7 @@ }, "signatures": [ { - "id": 213, + "id": 224, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -5923,7 +5995,7 @@ }, "parameters": [ { - "id": 214, + "id": 225, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -5949,7 +6021,7 @@ } }, { - "id": 215, + "id": 226, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5961,7 +6033,7 @@ "type": { "type": "reflection", "declaration": { - "id": 216, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5970,7 +6042,7 @@ }, "children": [ { - "id": 218, + "id": 229, "name": "count", "kind": 32, "kindString": "Variable", @@ -6014,7 +6086,7 @@ } }, { - "id": 217, + "id": 228, "name": "head", "kind": 32, "kindString": "Variable", @@ -6055,8 +6127,8 @@ "title": "Variables", "kind": 32, "children": [ - 218, - 217 + 229, + 228 ] } ], @@ -6083,7 +6155,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 212, + "id": 223, "name": "PostgrestQueryBuilder.select" } } @@ -6097,12 +6169,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 212, + "id": 223, "name": "PostgrestQueryBuilder.select" } }, { - "id": 267, + "id": 279, "name": "then", "kind": 2048, "kindString": "Method", @@ -6111,7 +6183,7 @@ }, "signatures": [ { - "id": 268, + "id": 280, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -6120,7 +6192,7 @@ }, "typeParameter": [ { - "id": 269, + "id": 281, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -6129,7 +6201,7 @@ } }, { - "id": 270, + "id": 282, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -6140,7 +6212,7 @@ ], "parameters": [ { - "id": 271, + "id": 283, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -6154,7 +6226,7 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 284, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6163,7 +6235,7 @@ }, "signatures": [ { - "id": 273, + "id": 285, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6172,7 +6244,7 @@ }, "parameters": [ { - "id": 274, + "id": 286, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6235,7 +6307,7 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 58, + "line": 59, "character": 75 } ] @@ -6253,7 +6325,7 @@ } }, { - "id": 275, + "id": 287, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -6267,7 +6339,7 @@ { "type": "reflection", "declaration": { - "id": 276, + "id": 288, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6276,7 +6348,7 @@ }, "signatures": [ { - "id": 277, + "id": 289, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6285,7 +6357,7 @@ }, "parameters": [ { - "id": 278, + "id": 290, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -6330,7 +6402,7 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 58, + "line": 59, "character": 176 } ] @@ -6383,7 +6455,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 267, + "id": 279, "name": "PostgrestBuilder.then" } } @@ -6391,18 +6463,18 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 58, + "line": 59, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 267, + "id": 279, "name": "PostgrestBuilder.then" } }, { - "id": 265, + "id": 277, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -6411,7 +6483,7 @@ }, "signatures": [ { - "id": 266, + "id": 278, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -6434,7 +6506,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 265, + "id": 277, "name": "PostgrestBuilder.throwOnError" } } @@ -6442,18 +6514,18 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 57, + "line": 58, "character": 16 } ], "inheritedFrom": { "type": "reference", - "id": 265, + "id": 277, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 243, + "id": 254, "name": "update", "kind": 2048, "kindString": "Method", @@ -6462,7 +6534,7 @@ }, "signatures": [ { - "id": 244, + "id": 255, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6474,7 +6546,7 @@ }, "parameters": [ { - "id": 245, + "id": 256, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6496,7 +6568,7 @@ } }, { - "id": 246, + "id": 257, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6508,7 +6580,7 @@ "type": { "type": "reflection", "declaration": { - "id": 247, + "id": 258, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6517,7 +6589,7 @@ }, "children": [ { - "id": 249, + "id": 260, "name": "count", "kind": 32, "kindString": "Variable", @@ -6561,7 +6633,7 @@ } }, { - "id": 248, + "id": 259, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6602,8 +6674,8 @@ "title": "Variables", "kind": 32, "children": [ - 249, - 248 + 260, + 259 ] } ], @@ -6630,7 +6702,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 243, + "id": 254, "name": "PostgrestQueryBuilder.update" } } @@ -6644,12 +6716,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 243, + "id": 254, "name": "PostgrestQueryBuilder.update" } }, { - "id": 234, + "id": 245, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -6658,7 +6730,7 @@ }, "signatures": [ { - "id": 235, + "id": 246, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -6670,7 +6742,7 @@ }, "parameters": [ { - "id": 236, + "id": 247, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6710,7 +6782,7 @@ } }, { - "id": 237, + "id": 248, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6722,7 +6794,7 @@ "type": { "type": "reflection", "declaration": { - "id": 238, + "id": 249, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6731,7 +6803,7 @@ }, "children": [ { - "id": 241, + "id": 252, "name": "count", "kind": 32, "kindString": "Variable", @@ -6775,7 +6847,7 @@ } }, { - "id": 242, + "id": 253, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -6811,7 +6883,7 @@ } }, { - "id": 239, + "id": 250, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -6843,7 +6915,7 @@ } }, { - "id": 240, + "id": 251, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6884,10 +6956,10 @@ "title": "Variables", "kind": 32, "children": [ - 241, - 242, - 239, - 240 + 252, + 253, + 250, + 251 ] } ], @@ -6914,7 +6986,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 234, + "id": 245, "name": "PostgrestQueryBuilder.upsert" } } @@ -6928,7 +7000,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 234, + "id": 245, "name": "PostgrestQueryBuilder.upsert" } } @@ -6938,35 +7010,36 @@ "title": "Constructors", "kind": 512, "children": [ - 193 + 204 ] }, { "title": "Properties", "kind": 1024, "children": [ - 192, - 191, - 263, - 258, - 256, - 262, - 264, - 257 + 203, + 202, + 274, + 269, + 267, + 273, + 275, + 276, + 268 ] }, { "title": "Methods", "kind": 2048, "children": [ - 250, - 219, - 205, - 212, - 267, - 265, - 243, - 234 + 261, + 230, + 216, + 223, + 279, + 277, + 254, + 245 ] } ], @@ -7014,7 +7087,7 @@ "title": "Classes", "kind": 128, "children": [ - 189 + 200 ] } ], @@ -7027,7 +7100,7 @@ ] }, { - "id": 162, + "id": 169, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -7037,7 +7110,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 163, + "id": 170, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -7046,7 +7119,7 @@ }, "children": [ { - "id": 165, + "id": 172, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7055,7 +7128,7 @@ }, "signatures": [ { - "id": 166, + "id": 173, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -7064,7 +7137,7 @@ }, "parameters": [ { - "id": 167, + "id": 174, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -7077,7 +7150,65 @@ } }, { - "id": 168, + "id": 175, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 176, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 177, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 178, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeClient.ts", + "line": 9, + "character": 12 + } + ] + } + } + }, + { + "id": 179, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -7090,7 +7221,7 @@ } }, { - "id": 169, + "id": 180, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -7105,7 +7236,7 @@ ], "type": { "type": "reference", - "id": 163, + "id": 170, "name": "SupabaseRealtimeClient" } } @@ -7119,7 +7250,7 @@ ] }, { - "id": 164, + "id": 171, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -7139,7 +7270,7 @@ } }, { - "id": 170, + "id": 181, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -7149,7 +7280,7 @@ }, "signatures": [ { - "id": 171, + "id": 182, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -7158,7 +7289,7 @@ }, "parameters": [ { - "id": 172, + "id": 183, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7174,7 +7305,7 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 184, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7183,7 +7314,7 @@ }, "children": [ { - "id": 174, + "id": 185, "name": "new", "kind": 32, "kindString": "Variable", @@ -7193,14 +7324,14 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 14, + "line": 26, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 175, + "id": 186, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7211,7 +7342,7 @@ } }, { - "id": 176, + "id": 187, "name": "old", "kind": 32, "kindString": "Variable", @@ -7221,14 +7352,14 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 15, + "line": 27, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7244,8 +7375,8 @@ "title": "Variables", "kind": 32, "children": [ - 174, - 176 + 185, + 187 ] } ] @@ -7256,13 +7387,13 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 12, + "line": 24, "character": 27 } ] }, { - "id": 178, + "id": 189, "name": "on", "kind": 2048, "kindString": "Method", @@ -7271,7 +7402,7 @@ }, "signatures": [ { - "id": 179, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -7283,7 +7414,7 @@ }, "parameters": [ { - "id": 180, + "id": 191, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -7295,12 +7426,12 @@ }, "type": { "type": "reference", - "id": 51, + "id": 57, "name": "SupabaseEventTypes" } }, { - "id": 181, + "id": 192, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7313,7 +7444,7 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 193, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7322,7 +7453,7 @@ }, "signatures": [ { - "id": 183, + "id": 194, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7331,7 +7462,7 @@ }, "parameters": [ { - "id": 184, + "id": 195, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7340,7 +7471,7 @@ }, "type": { "type": "reference", - "id": 42, + "id": 48, "typeArguments": [ { "type": "intrinsic", @@ -7360,7 +7491,7 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 35, + "line": 47, "character": 41 } ] @@ -7377,13 +7508,13 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 35, + "line": 47, "character": 4 } ] }, { - "id": 185, + "id": 196, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -7392,7 +7523,7 @@ }, "signatures": [ { - "id": 186, + "id": 197, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -7404,7 +7535,7 @@ }, "parameters": [ { - "id": 187, + "id": 198, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7427,7 +7558,7 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 56, + "line": 68, "character": 11 } ] @@ -7438,23 +7569,23 @@ "title": "Constructors", "kind": 512, "children": [ - 165 + 172 ] }, { "title": "Properties", "kind": 1024, "children": [ - 164 + 171 ] }, { "title": "Methods", "kind": 2048, "children": [ - 170, - 178, - 185 + 181, + 189, + 196 ] } ], @@ -7472,7 +7603,7 @@ "title": "Classes", "kind": 128, "children": [ - 163 + 170 ] } ], @@ -7566,7 +7697,7 @@ ] }, { - "id": 356, + "id": 6, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7576,7 +7707,53 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 357, + "id": 9, + "name": "stripTrailingSlash", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 10, + "name": "stripTrailingSlash", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 11, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 11, + "character": 34 + } + ] + }, + { + "id": 7, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7585,7 +7762,7 @@ }, "signatures": [ { - "id": 358, + "id": 8, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7612,7 +7789,8 @@ "title": "Functions", "kind": 64, "children": [ - 357 + 9, + 7 ] } ], @@ -7625,7 +7803,7 @@ ] }, { - "id": 6, + "id": 12, "name": "\"lib/types\"", "kind": 1, "kindString": "Module", @@ -7635,7 +7813,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts", "children": [ { - "id": 7, + "id": 13, "name": "SupabaseAuthClientOptions", "kind": 256, "kindString": "Interface", @@ -7644,7 +7822,7 @@ }, "children": [ { - "id": 25, + "id": 31, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -7655,7 +7833,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 43, + "line": 44, "character": 24 } ], @@ -7678,12 +7856,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 15, + "id": 21, "name": "__type.autoRefreshToken" } }, { - "id": 28, + "id": 34, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -7694,7 +7872,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 46, + "line": 47, "character": 21 } ], @@ -7704,12 +7882,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 18, + "id": 24, "name": "__type.cookieOptions" } }, { - "id": 24, + "id": 30, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -7720,7 +7898,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 42, + "line": 43, "character": 26 } ], @@ -7743,12 +7921,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 14, + "id": 20, "name": "__type.detectSessionInUrl" } }, { - "id": 20, + "id": 26, "name": "headers", "kind": 1024, "kindString": "Property", @@ -7759,7 +7937,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 39, + "line": 40, "character": 15 } ], @@ -7773,7 +7951,7 @@ { "type": "reflection", "declaration": { - "id": 21, + "id": 27, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7782,7 +7960,7 @@ }, "indexSignature": [ { - "id": 22, + "id": 28, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7791,7 +7969,7 @@ }, "parameters": [ { - "id": 23, + "id": 29, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7816,12 +7994,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 10, + "id": 16, "name": "__type.headers" } }, { - "id": 27, + "id": 33, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -7832,7 +8010,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 45, + "line": 46, "character": 20 } ], @@ -7842,12 +8020,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 17, + "id": 23, "name": "__type.localStorage" } }, { - "id": 26, + "id": 32, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -7858,7 +8036,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 44, + "line": 45, "character": 22 } ], @@ -7881,12 +8059,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 16, + "id": 22, "name": "__type.persistSession" } }, { - "id": 19, + "id": 25, "name": "url", "kind": 1024, "kindString": "Property", @@ -7897,7 +8075,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 38, + "line": 39, "character": 11 } ], @@ -7916,7 +8094,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 9, + "id": 15, "name": "__type.url" } } @@ -7926,13 +8104,13 @@ "title": "Properties", "kind": 1024, "children": [ - 25, - 28, - 24, - 20, - 27, + 31, + 34, + 30, 26, - 19 + 33, + 32, + 25 ] } ], @@ -7947,7 +8125,7 @@ { "type": "reflection", "declaration": { - "id": 8, + "id": 14, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7956,7 +8134,7 @@ }, "children": [ { - "id": 15, + "id": 21, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -7967,7 +8145,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 43, + "line": 44, "character": 24 } ], @@ -7990,7 +8168,7 @@ } }, { - "id": 18, + "id": 24, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -8001,7 +8179,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 46, + "line": 47, "character": 21 } ], @@ -8011,7 +8189,7 @@ } }, { - "id": 14, + "id": 20, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -8022,7 +8200,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 42, + "line": 43, "character": 26 } ], @@ -8045,7 +8223,7 @@ } }, { - "id": 10, + "id": 16, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8056,7 +8234,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 39, + "line": 40, "character": 15 } ], @@ -8070,7 +8248,7 @@ { "type": "reflection", "declaration": { - "id": 11, + "id": 17, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8079,7 +8257,7 @@ }, "indexSignature": [ { - "id": 12, + "id": 18, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8088,7 +8266,7 @@ }, "parameters": [ { - "id": 13, + "id": 19, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8113,7 +8291,7 @@ } }, { - "id": 17, + "id": 23, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -8124,7 +8302,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 45, + "line": 46, "character": 20 } ], @@ -8134,7 +8312,7 @@ } }, { - "id": 16, + "id": 22, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -8145,7 +8323,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 44, + "line": 45, "character": 22 } ], @@ -8168,7 +8346,7 @@ } }, { - "id": 9, + "id": 15, "name": "url", "kind": 32, "kindString": "Variable", @@ -8179,7 +8357,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 38, + "line": 39, "character": 11 } ], @@ -8203,13 +8381,13 @@ "title": "Variables", "kind": 32, "children": [ - 15, - 18, - 14, - 10, - 17, + 21, + 24, + 20, 16, - 9 + 23, + 22, + 15 ] } ], @@ -8225,7 +8403,7 @@ ] }, { - "id": 29, + "id": 35, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -8259,7 +8437,7 @@ } }, { - "id": 30, + "id": 36, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -8276,7 +8454,7 @@ "type": { "type": "reflection", "declaration": { - "id": 31, + "id": 37, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8285,7 +8463,7 @@ }, "children": [ { - "id": 37, + "id": 43, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -8322,7 +8500,7 @@ } }, { - "id": 39, + "id": 45, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -8359,7 +8537,7 @@ } }, { - "id": 33, + "id": 39, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8387,7 +8565,7 @@ { "type": "reflection", "declaration": { - "id": 34, + "id": 40, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8396,7 +8574,7 @@ }, "indexSignature": [ { - "id": 35, + "id": 41, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8405,7 +8583,7 @@ }, "parameters": [ { - "id": 36, + "id": 42, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8430,7 +8608,7 @@ } }, { - "id": 40, + "id": 46, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -8461,7 +8639,7 @@ } }, { - "id": 38, + "id": 44, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -8498,7 +8676,7 @@ } }, { - "id": 41, + "id": 47, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -8522,7 +8700,7 @@ } }, { - "id": 32, + "id": 38, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8560,13 +8738,13 @@ "title": "Variables", "kind": 32, "children": [ - 37, + 43, + 45, 39, - 33, - 40, - 38, - 41, - 32 + 46, + 44, + 47, + 38 ] } ], @@ -8581,7 +8759,7 @@ } }, { - "id": 51, + "id": 57, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", @@ -8618,7 +8796,7 @@ } }, { - "id": 42, + "id": 48, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", @@ -8627,7 +8805,7 @@ }, "typeParameter": [ { - "id": 43, + "id": 49, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8646,7 +8824,7 @@ "type": { "type": "reflection", "declaration": { - "id": 44, + "id": 50, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8655,7 +8833,7 @@ }, "children": [ { - "id": 45, + "id": 51, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", @@ -8675,7 +8853,7 @@ } }, { - "id": 46, + "id": 52, "name": "eventType", "kind": 32, "kindString": "Variable", @@ -8708,7 +8886,7 @@ } }, { - "id": 49, + "id": 55, "name": "new", "kind": 32, "kindString": "Variable", @@ -8731,7 +8909,7 @@ } }, { - "id": 50, + "id": 56, "name": "old", "kind": 32, "kindString": "Variable", @@ -8754,7 +8932,7 @@ } }, { - "id": 47, + "id": 53, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8774,7 +8952,7 @@ } }, { - "id": 48, + "id": 54, "name": "table", "kind": 32, "kindString": "Variable", @@ -8799,12 +8977,12 @@ "title": "Variables", "kind": 32, "children": [ - 45, - 46, - 49, - 50, - 47, - 48 + 51, + 52, + 55, + 56, + 53, + 54 ] } ], @@ -8824,17 +9002,17 @@ "title": "Interfaces", "kind": 256, "children": [ - 7 + 13 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 29, - 30, - 51, - 42 + 35, + 36, + 57, + 48 ] } ], @@ -8902,14 +9080,14 @@ "title": "Modules", "kind": 1, "children": [ - 279, - 350, - 52, - 188, - 162, + 291, + 363, + 58, + 199, + 169, 3, - 356, 6, + 12, 1 ] } @@ -8933,7 +9111,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts", "children": [ { - "id": 186, + "id": 189, "name": "GoTrueApi", "kind": 128, "kindString": "Class", @@ -8942,7 +9120,7 @@ }, "children": [ { - "id": 193, + "id": 196, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8951,7 +9129,7 @@ }, "signatures": [ { - "id": 194, + "id": 197, "name": "new GoTrueApi", "kind": 16384, "kindString": "Constructor signature", @@ -8960,7 +9138,7 @@ }, "parameters": [ { - "id": 195, + "id": 198, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -8971,7 +9149,7 @@ "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8980,7 +9158,7 @@ }, "children": [ { - "id": 202, + "id": 205, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -8990,7 +9168,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 17, + "line": 22, "character": 17 } ], @@ -9010,7 +9188,7 @@ } }, { - "id": 198, + "id": 201, "name": "headers", "kind": 32, "kindString": "Variable", @@ -9020,14 +9198,14 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 16, + "line": 21, "character": 11 } ], "type": { "type": "reflection", "declaration": { - "id": 199, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9036,7 +9214,7 @@ }, "indexSignature": [ { - "id": 200, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -9045,7 +9223,7 @@ }, "parameters": [ { - "id": 201, + "id": 204, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -9068,7 +9246,7 @@ } }, { - "id": 197, + "id": 200, "name": "url", "kind": 32, "kindString": "Variable", @@ -9078,7 +9256,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 15, + "line": 20, "character": 7 } ], @@ -9094,16 +9272,16 @@ "title": "Variables", "kind": 32, "children": [ - 202, - 198, - 197 + 205, + 201, + 200 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 14, + "line": 19, "character": 14 } ] @@ -9113,7 +9291,7 @@ ], "type": { "type": "reference", - "id": 186, + "id": 189, "name": "GoTrueApi" } } @@ -9121,13 +9299,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 12, + "line": 17, "character": 40 } ] }, { - "id": 192, + "id": 195, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -9138,7 +9316,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 12, + "line": 17, "character": 25 } ], @@ -9149,7 +9327,7 @@ } }, { - "id": 188, + "id": 191, "name": "headers", "kind": 1024, "kindString": "Property", @@ -9160,14 +9338,14 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 9, + "line": 14, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 189, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9176,7 +9354,7 @@ }, "indexSignature": [ { - "id": 190, + "id": 193, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -9185,7 +9363,7 @@ }, "parameters": [ { - "id": 191, + "id": 194, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -9207,7 +9385,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 9, + "line": 14, "character": 20 } ] @@ -9215,7 +9393,7 @@ } }, { - "id": 187, + "id": 190, "name": "url", "kind": 1024, "kindString": "Property", @@ -9226,7 +9404,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 8, + "line": 13, "character": 15 } ], @@ -9236,7 +9414,7 @@ } }, { - "id": 288, + "id": 291, "name": "_createRequestHeaders", "kind": 2048, "kindString": "Method", @@ -9246,7 +9424,7 @@ }, "signatures": [ { - "id": 289, + "id": 292, "name": "_createRequestHeaders", "kind": 4096, "kindString": "Call signature", @@ -9258,7 +9436,7 @@ }, "parameters": [ { - "id": 290, + "id": 293, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -9277,7 +9455,7 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 294, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9291,13 +9469,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 267, + "line": 272, "character": 31 } ] }, { - "id": 319, + "id": 322, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -9306,7 +9484,7 @@ }, "signatures": [ { - "id": 320, + "id": 323, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -9319,7 +9497,7 @@ }, "parameters": [ { - "id": 321, + "id": 324, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -9335,7 +9513,7 @@ } }, { - "id": 322, + "id": 325, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -9357,7 +9535,7 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9366,7 +9544,7 @@ }, "children": [ { - "id": 325, + "id": 328, "name": "data", "kind": 32, "kindString": "Variable", @@ -9376,7 +9554,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 358, + "line": 363, "character": 38 } ], @@ -9396,7 +9574,7 @@ } }, { - "id": 326, + "id": 329, "name": "error", "kind": 32, "kindString": "Variable", @@ -9406,7 +9584,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 358, + "line": 363, "character": 58 } ], @@ -9415,7 +9593,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -9425,7 +9604,7 @@ } }, { - "id": 324, + "id": 327, "name": "user", "kind": 32, "kindString": "Variable", @@ -9435,7 +9614,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 358, + "line": 363, "character": 19 } ], @@ -9460,16 +9639,16 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 326, - 324 + 328, + 329, + 327 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 358, + "line": 363, "character": 13 } ] @@ -9483,13 +9662,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 355, + "line": 360, "character": 18 } ] }, { - "id": 344, + "id": 347, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -9498,7 +9677,7 @@ }, "signatures": [ { - "id": 345, + "id": 348, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -9510,7 +9689,7 @@ }, "parameters": [ { - "id": 346, + "id": 349, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -9543,7 +9722,7 @@ } }, { - "id": 347, + "id": 350, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -9559,7 +9738,7 @@ } }, { - "id": 348, + "id": 351, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9569,7 +9748,7 @@ "type": { "type": "reflection", "declaration": { - "id": 349, + "id": 352, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9578,7 +9757,7 @@ }, "children": [ { - "id": 351, + "id": 354, "name": "data", "kind": 32, "kindString": "Variable", @@ -9589,7 +9768,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 455, + "line": 460, "character": 10 } ], @@ -9608,7 +9787,7 @@ } }, { - "id": 350, + "id": 353, "name": "password", "kind": 32, "kindString": "Variable", @@ -9619,7 +9798,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 454, + "line": 459, "character": 14 } ], @@ -9638,7 +9817,7 @@ } }, { - "id": 352, + "id": 355, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9649,7 +9828,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 456, + "line": 461, "character": 16 } ], @@ -9673,16 +9852,16 @@ "title": "Variables", "kind": 32, "children": [ - 351, - 350, - 352 + 354, + 353, + 355 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 453, + "line": 458, "character": 12 } ] @@ -9697,7 +9876,7 @@ { "type": "reflection", "declaration": { - "id": 353, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9706,7 +9885,7 @@ }, "children": [ { - "id": 354, + "id": 357, "name": "data", "kind": 32, "kindString": "Variable", @@ -9719,7 +9898,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 458, + "line": 463, "character": 19 } ], @@ -9744,7 +9923,7 @@ } }, { - "id": 355, + "id": 358, "name": "error", "kind": 32, "kindString": "Variable", @@ -9754,7 +9933,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 458, + "line": 463, "character": 49 } ], @@ -9763,7 +9942,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -9778,15 +9958,15 @@ "title": "Variables", "kind": 32, "children": [ - 354, - 355 + 357, + 358 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 458, + "line": 463, "character": 13 } ] @@ -9800,13 +9980,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 450, + "line": 455, "character": 20 } ] }, { - "id": 297, + "id": 300, "name": "getUrlForProvider", "kind": 2048, "kindString": "Method", @@ -9815,7 +9995,7 @@ }, "signatures": [ { - "id": 298, + "id": 301, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -9827,7 +10007,7 @@ }, "parameters": [ { - "id": 299, + "id": 302, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -9844,7 +10024,7 @@ } }, { - "id": 300, + "id": 303, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9854,7 +10034,7 @@ "type": { "type": "reflection", "declaration": { - "id": 301, + "id": 304, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9863,7 +10043,7 @@ }, "children": [ { - "id": 302, + "id": 305, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9874,7 +10054,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 299, + "line": 304, "character": 16 } ], @@ -9893,7 +10073,7 @@ } }, { - "id": 303, + "id": 306, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -9904,7 +10084,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 300, + "line": 305, "character": 12 } ], @@ -9928,15 +10108,15 @@ "title": "Variables", "kind": 32, "children": [ - 302, - 303 + 305, + 306 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 298, + "line": 303, "character": 12 } ] @@ -9953,13 +10133,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 296, + "line": 301, "character": 19 } ] }, { - "id": 304, + "id": 307, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -9968,7 +10148,7 @@ }, "signatures": [ { - "id": 305, + "id": 308, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -9980,7 +10160,7 @@ }, "parameters": [ { - "id": 306, + "id": 309, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -10002,7 +10182,7 @@ { "type": "reflection", "declaration": { - "id": 307, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10011,7 +10191,7 @@ }, "children": [ { - "id": 309, + "id": 312, "name": "data", "kind": 32, "kindString": "Variable", @@ -10021,7 +10201,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 319, + "line": 324, "character": 38 } ], @@ -10041,7 +10221,7 @@ } }, { - "id": 310, + "id": 313, "name": "error", "kind": 32, "kindString": "Variable", @@ -10051,7 +10231,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 319, + "line": 324, "character": 58 } ], @@ -10060,7 +10240,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -10070,7 +10251,7 @@ } }, { - "id": 308, + "id": 311, "name": "user", "kind": 32, "kindString": "Variable", @@ -10080,7 +10261,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 319, + "line": 324, "character": 19 } ], @@ -10105,16 +10286,16 @@ "title": "Variables", "kind": 32, "children": [ - 309, - 310, - 308 + 312, + 313, + 311 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 319, + "line": 324, "character": 13 } ] @@ -10128,13 +10309,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 317, + "line": 322, "character": 15 } ] }, { - "id": 337, + "id": 340, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -10143,7 +10324,7 @@ }, "signatures": [ { - "id": 338, + "id": 341, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -10155,7 +10336,7 @@ }, "parameters": [ { - "id": 339, + "id": 342, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -10174,7 +10355,7 @@ { "type": "reflection", "declaration": { - "id": 340, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10183,7 +10364,7 @@ }, "children": [ { - "id": 342, + "id": 345, "name": "data", "kind": 32, "kindString": "Variable", @@ -10193,7 +10374,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 426, + "line": 431, "character": 38 } ], @@ -10213,7 +10394,7 @@ } }, { - "id": 343, + "id": 346, "name": "error", "kind": 32, "kindString": "Variable", @@ -10223,7 +10404,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 426, + "line": 431, "character": 58 } ], @@ -10232,7 +10413,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -10242,7 +10424,7 @@ } }, { - "id": 341, + "id": 344, "name": "user", "kind": 32, "kindString": "Variable", @@ -10252,7 +10434,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 426, + "line": 431, "character": 19 } ], @@ -10277,16 +10459,16 @@ "title": "Variables", "kind": 32, "children": [ - 342, - 343, - 341 + 345, + 346, + 344 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 426, + "line": 431, "character": 13 } ] @@ -10300,13 +10482,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 424, + "line": 429, "character": 23 } ] }, { - "id": 268, + "id": 271, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -10315,7 +10497,7 @@ }, "signatures": [ { - "id": 269, + "id": 272, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -10327,7 +10509,7 @@ }, "parameters": [ { - "id": 270, + "id": 273, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10343,7 +10525,7 @@ } }, { - "id": 271, + "id": 274, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10353,7 +10535,7 @@ "type": { "type": "reflection", "declaration": { - "id": 272, + "id": 275, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10362,7 +10544,7 @@ }, "children": [ { - "id": 274, + "id": 277, "name": "data", "kind": 32, "kindString": "Variable", @@ -10373,7 +10555,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 223, "character": 10 } ], @@ -10392,7 +10574,7 @@ } }, { - "id": 273, + "id": 276, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10403,7 +10585,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 217, + "line": 222, "character": 16 } ], @@ -10427,15 +10609,15 @@ "title": "Variables", "kind": 32, "children": [ - 274, - 273 + 277, + 276 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 216, + "line": 221, "character": 12 } ] @@ -10450,7 +10632,7 @@ { "type": "reflection", "declaration": { - "id": 275, + "id": 278, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10459,7 +10641,7 @@ }, "children": [ { - "id": 276, + "id": 279, "name": "data", "kind": 32, "kindString": "Variable", @@ -10472,7 +10654,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 220, + "line": 225, "character": 19 } ], @@ -10492,7 +10674,7 @@ } }, { - "id": 277, + "id": 280, "name": "error", "kind": 32, "kindString": "Variable", @@ -10502,7 +10684,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 220, + "line": 225, "character": 39 } ], @@ -10511,7 +10693,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -10526,15 +10709,15 @@ "title": "Variables", "kind": 32, "children": [ - 276, - 277 + 279, + 280 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 220, + "line": 225, "character": 13 } ] @@ -10548,13 +10731,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 214, + "line": 219, "character": 25 } ] }, { - "id": 327, + "id": 330, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -10563,7 +10746,7 @@ }, "signatures": [ { - "id": 328, + "id": 331, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -10575,7 +10758,7 @@ }, "parameters": [ { - "id": 329, + "id": 332, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -10597,7 +10780,7 @@ { "type": "reflection", "declaration": { - "id": 330, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10606,7 +10789,7 @@ }, "children": [ { - "id": 331, + "id": 334, "name": "data", "kind": 32, "kindString": "Variable", @@ -10616,7 +10799,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 379, + "line": 384, "character": 19 } ], @@ -10636,7 +10819,7 @@ } }, { - "id": 332, + "id": 335, "name": "error", "kind": 32, "kindString": "Variable", @@ -10646,7 +10829,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 379, + "line": 384, "character": 42 } ], @@ -10655,7 +10838,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -10670,15 +10854,15 @@ "title": "Variables", "kind": 32, "children": [ - 331, - 332 + 334, + 335 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 379, + "line": 384, "character": 13 } ] @@ -10692,13 +10876,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 377, + "line": 382, "character": 26 } ] }, { - "id": 278, + "id": 281, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -10707,7 +10891,7 @@ }, "signatures": [ { - "id": 279, + "id": 282, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -10719,7 +10903,7 @@ }, "parameters": [ { - "id": 280, + "id": 283, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10735,7 +10919,7 @@ } }, { - "id": 281, + "id": 284, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10745,7 +10929,7 @@ "type": { "type": "reflection", "declaration": { - "id": 282, + "id": 285, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10754,7 +10938,7 @@ }, "children": [ { - "id": 283, + "id": 286, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10765,7 +10949,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 246, + "line": 251, "character": 16 } ], @@ -10789,14 +10973,14 @@ "title": "Variables", "kind": 32, "children": [ - 283 + 286 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 245, + "line": 250, "character": 12 } ] @@ -10811,7 +10995,7 @@ { "type": "reflection", "declaration": { - "id": 284, + "id": 287, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10820,7 +11004,7 @@ }, "children": [ { - "id": 285, + "id": 288, "name": "data", "kind": 32, "kindString": "Variable", @@ -10830,7 +11014,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 248, + "line": 253, "character": 19 } ], @@ -10840,7 +11024,7 @@ { "type": "reflection", "declaration": { - "id": 286, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10850,7 +11034,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 248, + "line": 253, "character": 20 } ] @@ -10864,7 +11048,7 @@ } }, { - "id": 287, + "id": 290, "name": "error", "kind": 32, "kindString": "Variable", @@ -10874,7 +11058,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 248, + "line": 253, "character": 37 } ], @@ -10883,7 +11067,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -10898,15 +11083,15 @@ "title": "Variables", "kind": 32, "children": [ - 285, - 287 + 288, + 290 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 248, + "line": 253, "character": 13 } ] @@ -10920,13 +11105,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 243, + "line": 248, "character": 29 } ] }, { - "id": 241, + "id": 244, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -10935,7 +11120,7 @@ }, "signatures": [ { - "id": 242, + "id": 245, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -10947,7 +11132,7 @@ }, "parameters": [ { - "id": 243, + "id": 246, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10963,7 +11148,7 @@ } }, { - "id": 244, + "id": 247, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10973,7 +11158,7 @@ "type": { "type": "reflection", "declaration": { - "id": 245, + "id": 248, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10982,7 +11167,7 @@ }, "children": [ { - "id": 246, + "id": 249, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10993,7 +11178,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 152, + "line": 157, "character": 16 } ], @@ -11017,14 +11202,14 @@ "title": "Variables", "kind": 32, "children": [ - 246 + 249 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 151, + "line": 156, "character": 12 } ] @@ -11039,7 +11224,7 @@ { "type": "reflection", "declaration": { - "id": 247, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11048,7 +11233,7 @@ }, "children": [ { - "id": 248, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -11058,7 +11243,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 154, + "line": 159, "character": 19 } ], @@ -11068,7 +11253,7 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 252, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11078,7 +11263,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 154, + "line": 159, "character": 20 } ] @@ -11092,7 +11277,7 @@ } }, { - "id": 250, + "id": 253, "name": "error", "kind": 32, "kindString": "Variable", @@ -11102,7 +11287,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 154, + "line": 159, "character": 37 } ], @@ -11111,7 +11296,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -11126,15 +11312,15 @@ "title": "Variables", "kind": 32, "children": [ - 248, - 250 + 251, + 253 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 154, + "line": 159, "character": 13 } ] @@ -11148,13 +11334,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 149, + "line": 154, "character": 26 } ] }, { - "id": 251, + "id": 254, "name": "sendMobileOTP", "kind": 2048, "kindString": "Method", @@ -11163,7 +11349,7 @@ }, "signatures": [ { - "id": 252, + "id": 255, "name": "sendMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -11175,7 +11361,7 @@ }, "parameters": [ { - "id": 253, + "id": 256, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -11197,7 +11383,7 @@ { "type": "reflection", "declaration": { - "id": 254, + "id": 257, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11206,7 +11392,7 @@ }, "children": [ { - "id": 255, + "id": 258, "name": "data", "kind": 32, "kindString": "Variable", @@ -11216,7 +11402,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 52 } ], @@ -11226,7 +11412,7 @@ { "type": "reflection", "declaration": { - "id": 256, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11236,7 +11422,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 53 } ] @@ -11250,7 +11436,7 @@ } }, { - "id": 257, + "id": 260, "name": "error", "kind": 32, "kindString": "Variable", @@ -11260,7 +11446,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 70 } ], @@ -11269,7 +11455,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -11284,15 +11471,15 @@ "title": "Variables", "kind": 32, "children": [ - 255, - 257 + 258, + 260 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 46 } ] @@ -11306,13 +11493,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 21 } ] }, { - "id": 333, + "id": 336, "name": "setAuthCookie", "kind": 2048, "kindString": "Method", @@ -11321,7 +11508,7 @@ }, "signatures": [ { - "id": 334, + "id": 337, "name": "setAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -11333,7 +11520,7 @@ }, "parameters": [ { - "id": 335, + "id": 338, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -11346,7 +11533,7 @@ } }, { - "id": 336, + "id": 339, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -11368,13 +11555,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 398, + "line": 403, "character": 15 } ] }, { - "id": 214, + "id": 217, "name": "signInWithEmail", "kind": 2048, "kindString": "Method", @@ -11383,7 +11570,7 @@ }, "signatures": [ { - "id": 215, + "id": 218, "name": "signInWithEmail", "kind": 4096, "kindString": "Call signature", @@ -11395,7 +11582,7 @@ }, "parameters": [ { - "id": 216, + "id": 219, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -11411,7 +11598,7 @@ } }, { - "id": 217, + "id": 220, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11427,7 +11614,7 @@ } }, { - "id": 218, + "id": 221, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11437,7 +11624,7 @@ "type": { "type": "reflection", "declaration": { - "id": 219, + "id": 222, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11446,7 +11633,7 @@ }, "children": [ { - "id": 220, + "id": 223, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -11457,7 +11644,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 77, + "line": 82, "character": 16 } ], @@ -11481,14 +11668,14 @@ "title": "Variables", "kind": 32, "children": [ - 220 + 223 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 76, + "line": 81, "character": 12 } ] @@ -11503,7 +11690,7 @@ { "type": "reflection", "declaration": { - "id": 221, + "id": 224, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11512,7 +11699,7 @@ }, "children": [ { - "id": 222, + "id": 225, "name": "data", "kind": 32, "kindString": "Variable", @@ -11522,7 +11709,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 79, + "line": 84, "character": 19 } ], @@ -11542,7 +11729,7 @@ } }, { - "id": 223, + "id": 226, "name": "error", "kind": 32, "kindString": "Variable", @@ -11552,7 +11739,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 79, + "line": 84, "character": 42 } ], @@ -11561,7 +11748,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -11576,15 +11764,15 @@ "title": "Variables", "kind": 32, "children": [ - 222, - 223 + 225, + 226 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 79, + "line": 84, "character": 13 } ] @@ -11598,13 +11786,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 73, + "line": 78, "character": 23 } ] }, { - "id": 234, + "id": 237, "name": "signInWithPhone", "kind": 2048, "kindString": "Method", @@ -11613,7 +11801,7 @@ }, "signatures": [ { - "id": 235, + "id": 238, "name": "signInWithPhone", "kind": 4096, "kindString": "Call signature", @@ -11625,7 +11813,7 @@ }, "parameters": [ { - "id": 236, + "id": 239, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -11641,7 +11829,7 @@ } }, { - "id": 237, + "id": 240, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11663,7 +11851,7 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11672,7 +11860,7 @@ }, "children": [ { - "id": 239, + "id": 242, "name": "data", "kind": 32, "kindString": "Variable", @@ -11682,7 +11870,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 131, + "line": 136, "character": 19 } ], @@ -11702,7 +11890,7 @@ } }, { - "id": 240, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -11712,7 +11900,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 131, + "line": 136, "character": 42 } ], @@ -11721,7 +11909,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -11736,15 +11925,15 @@ "title": "Variables", "kind": 32, "children": [ - 239, - 240 + 242, + 243 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 131, + "line": 136, "character": 13 } ] @@ -11758,13 +11947,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 128, + "line": 133, "character": 23 } ] }, { - "id": 292, + "id": 295, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -11773,7 +11962,7 @@ }, "signatures": [ { - "id": 293, + "id": 296, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -11785,7 +11974,7 @@ }, "parameters": [ { - "id": 294, + "id": 297, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -11807,7 +11996,7 @@ { "type": "reflection", "declaration": { - "id": 295, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11816,7 +12005,7 @@ }, "children": [ { - "id": 296, + "id": 299, "name": "error", "kind": 32, "kindString": "Variable", @@ -11826,7 +12015,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 277, + "line": 282, "character": 45 } ], @@ -11835,7 +12024,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -11850,14 +12040,14 @@ "title": "Variables", "kind": 32, "children": [ - 296 + 299 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 277, + "line": 282, "character": 38 } ] @@ -11871,13 +12061,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 277, + "line": 282, "character": 15 } ] }, { - "id": 203, + "id": 206, "name": "signUpWithEmail", "kind": 2048, "kindString": "Method", @@ -11886,7 +12076,7 @@ }, "signatures": [ { - "id": 204, + "id": 207, "name": "signUpWithEmail", "kind": 4096, "kindString": "Call signature", @@ -11899,7 +12089,7 @@ }, "parameters": [ { - "id": 205, + "id": 208, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -11915,7 +12105,7 @@ } }, { - "id": 206, + "id": 209, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11931,7 +12121,7 @@ } }, { - "id": 207, + "id": 210, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11941,7 +12131,7 @@ "type": { "type": "reflection", "declaration": { - "id": 208, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11950,7 +12140,7 @@ }, "children": [ { - "id": 210, + "id": 213, "name": "data", "kind": 32, "kindString": "Variable", @@ -11961,7 +12151,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 45, + "line": 50, "character": 10 } ], @@ -11980,7 +12170,7 @@ } }, { - "id": 209, + "id": 212, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -11991,7 +12181,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 44, + "line": 49, "character": 16 } ], @@ -12015,15 +12205,15 @@ "title": "Variables", "kind": 32, "children": [ - 210, - 209 + 213, + 212 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 43, + "line": 48, "character": 12 } ] @@ -12038,7 +12228,7 @@ { "type": "reflection", "declaration": { - "id": 211, + "id": 214, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12047,7 +12237,7 @@ }, "children": [ { - "id": 212, + "id": 215, "name": "data", "kind": 32, "kindString": "Variable", @@ -12060,7 +12250,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 47, + "line": 52, "character": 19 } ], @@ -12085,7 +12275,7 @@ } }, { - "id": 213, + "id": 216, "name": "error", "kind": 32, "kindString": "Variable", @@ -12095,7 +12285,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 47, + "line": 52, "character": 49 } ], @@ -12104,7 +12294,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -12119,15 +12310,15 @@ "title": "Variables", "kind": 32, "children": [ - 212, - 213 + 215, + 216 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 47, + "line": 52, "character": 13 } ] @@ -12141,13 +12332,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 40, + "line": 45, "character": 23 } ] }, { - "id": 224, + "id": 227, "name": "signUpWithPhone", "kind": 2048, "kindString": "Method", @@ -12156,7 +12347,7 @@ }, "signatures": [ { - "id": 225, + "id": 228, "name": "signUpWithPhone", "kind": 4096, "kindString": "Call signature", @@ -12168,7 +12359,7 @@ }, "parameters": [ { - "id": 226, + "id": 229, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -12184,7 +12375,7 @@ } }, { - "id": 227, + "id": 230, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -12200,7 +12391,7 @@ } }, { - "id": 228, + "id": 231, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12210,7 +12401,7 @@ "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 232, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12219,7 +12410,7 @@ }, "children": [ { - "id": 230, + "id": 233, "name": "data", "kind": 32, "kindString": "Variable", @@ -12230,7 +12421,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 105, + "line": 110, "character": 10 } ], @@ -12254,14 +12445,14 @@ "title": "Variables", "kind": 32, "children": [ - 230 + 233 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 104, + "line": 109, "character": 12 } ] @@ -12276,7 +12467,7 @@ { "type": "reflection", "declaration": { - "id": 231, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12285,7 +12476,7 @@ }, "children": [ { - "id": 232, + "id": 235, "name": "data", "kind": 32, "kindString": "Variable", @@ -12298,7 +12489,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 107, + "line": 112, "character": 19 } ], @@ -12323,7 +12514,7 @@ } }, { - "id": 233, + "id": 236, "name": "error", "kind": 32, "kindString": "Variable", @@ -12333,7 +12524,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 107, + "line": 112, "character": 49 } ], @@ -12342,7 +12533,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -12357,15 +12549,15 @@ "title": "Variables", "kind": 32, "children": [ - 232, - 233 + 235, + 236 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 107, + "line": 112, "character": 13 } ] @@ -12379,13 +12571,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 101, + "line": 106, "character": 23 } ] }, { - "id": 311, + "id": 314, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -12394,7 +12586,7 @@ }, "signatures": [ { - "id": 312, + "id": 315, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -12406,7 +12598,7 @@ }, "parameters": [ { - "id": 313, + "id": 316, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -12422,7 +12614,7 @@ } }, { - "id": 314, + "id": 317, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -12445,7 +12637,7 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12454,7 +12646,7 @@ }, "children": [ { - "id": 317, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -12464,7 +12656,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 336, + "line": 341, "character": 38 } ], @@ -12484,7 +12676,7 @@ } }, { - "id": 318, + "id": 321, "name": "error", "kind": 32, "kindString": "Variable", @@ -12494,7 +12686,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 336, + "line": 341, "character": 58 } ], @@ -12503,7 +12695,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -12513,7 +12706,7 @@ } }, { - "id": 316, + "id": 319, "name": "user", "kind": 32, "kindString": "Variable", @@ -12523,7 +12716,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 336, + "line": 341, "character": 19 } ], @@ -12548,16 +12741,16 @@ "title": "Variables", "kind": 32, "children": [ - 317, - 318, - 316 + 320, + 321, + 319 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 336, + "line": 341, "character": 13 } ] @@ -12571,13 +12764,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 333, + "line": 338, "character": 18 } ] }, { - "id": 258, + "id": 261, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -12586,7 +12779,7 @@ }, "signatures": [ { - "id": 259, + "id": 262, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -12598,7 +12791,7 @@ }, "parameters": [ { - "id": 260, + "id": 263, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -12614,7 +12807,7 @@ } }, { - "id": 261, + "id": 264, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -12630,7 +12823,7 @@ } }, { - "id": 262, + "id": 265, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12640,7 +12833,7 @@ "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 266, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12649,7 +12842,7 @@ }, "children": [ { - "id": 264, + "id": 267, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -12660,7 +12853,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 192, + "line": 197, "character": 16 } ], @@ -12684,14 +12877,14 @@ "title": "Variables", "kind": 32, "children": [ - 264 + 267 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 191, + "line": 196, "character": 12 } ] @@ -12706,7 +12899,7 @@ { "type": "reflection", "declaration": { - "id": 265, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12715,7 +12908,7 @@ }, "children": [ { - "id": 266, + "id": 269, "name": "data", "kind": 32, "kindString": "Variable", @@ -12725,7 +12918,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 194, + "line": 199, "character": 19 } ], @@ -12750,7 +12943,7 @@ } }, { - "id": 267, + "id": 270, "name": "error", "kind": 32, "kindString": "Variable", @@ -12760,7 +12953,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 194, + "line": 199, "character": 49 } ], @@ -12769,7 +12962,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -12784,15 +12978,15 @@ "title": "Variables", "kind": 32, "children": [ - 266, - 267 + 269, + 270 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 194, + "line": 199, "character": 13 } ] @@ -12806,7 +13000,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 188, + "line": 193, "character": 23 } ] @@ -12817,41 +13011,109 @@ "title": "Constructors", "kind": 512, "children": [ - 193 + 196 ] }, { "title": "Properties", "kind": 1024, "children": [ - 192, - 188, - 187 + 195, + 191, + 190 ] }, { "title": "Methods", "kind": 2048, "children": [ - 288, - 319, - 344, - 297, - 304, - 337, - 268, - 327, - 278, - 241, - 251, - 333, - 214, - 234, - 292, - 203, - 224, - 311, - 258 + 291, + 322, + 347, + 300, + 307, + 340, + 271, + 330, + 281, + 244, + 254, + 336, + 217, + 237, + 295, + 206, + 227, + 314, + 261 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 12, + "character": 30 + } + ] + }, + { + "id": 186, + "name": "ApiError", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 187, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 8, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 188, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 9, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 187, + 188 ] } ], @@ -12859,7 +13121,7 @@ { "fileName": "GoTrueApi.ts", "line": 7, - "character": 30 + "character": 25 } ] } @@ -12868,6 +13130,13 @@ { "title": "Classes", "kind": 128, + "children": [ + 189 + ] + }, + { + "title": "Interfaces", + "kind": 256, "children": [ 186 ] @@ -12882,7 +13151,7 @@ ] }, { - "id": 359, + "id": 362, "name": "\"GoTrueClient\"", "kind": 1, "kindString": "Module", @@ -12892,7 +13161,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts", "children": [ { - "id": 360, + "id": 363, "name": "GoTrueClient", "kind": 128, "kindString": "Class", @@ -12901,7 +13170,7 @@ }, "children": [ { - "id": 369, + "id": 372, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12913,7 +13182,7 @@ }, "signatures": [ { - "id": 370, + "id": 373, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -12925,7 +13194,7 @@ }, "parameters": [ { - "id": 371, + "id": 374, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12935,7 +13204,7 @@ "type": { "type": "reflection", "declaration": { - "id": 372, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12944,7 +13213,7 @@ }, "children": [ { - "id": 379, + "id": 382, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -12958,7 +13227,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 72, + "line": 73, "character": 20 } ], @@ -12981,7 +13250,7 @@ } }, { - "id": 382, + "id": 385, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -12989,10 +13258,13 @@ "isExported": true, "isOptional": true }, + "comment": { + "text": "\n" + }, "sources": [ { "fileName": "GoTrueClient.ts", - "line": 75, + "line": 76, "character": 17 } ], @@ -13003,7 +13275,7 @@ } }, { - "id": 378, + "id": 381, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -13017,7 +13289,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 71, + "line": 72, "character": 22 } ], @@ -13040,7 +13312,7 @@ } }, { - "id": 374, + "id": 377, "name": "headers", "kind": 32, "kindString": "Variable", @@ -13054,7 +13326,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 70, + "line": 71, "character": 11 } ], @@ -13068,7 +13340,7 @@ { "type": "reflection", "declaration": { - "id": 375, + "id": 378, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13077,7 +13349,7 @@ }, "indexSignature": [ { - "id": 376, + "id": 379, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -13086,7 +13358,7 @@ }, "parameters": [ { - "id": 377, + "id": 380, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -13111,7 +13383,7 @@ } }, { - "id": 381, + "id": 384, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -13119,24 +13391,22 @@ "isExported": true, "isOptional": true }, - "comment": { - "text": "\n" - }, + "comment": {}, "sources": [ { "fileName": "GoTrueClient.ts", - "line": 74, + "line": 75, "character": 16 } ], "type": { "type": "reference", - "id": 575, + "id": 578, "name": "SupportedStorage" } }, { - "id": 380, + "id": 383, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -13150,7 +13420,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 73, + "line": 74, "character": 18 } ], @@ -13173,7 +13443,7 @@ } }, { - "id": 373, + "id": 376, "name": "url", "kind": 32, "kindString": "Variable", @@ -13187,7 +13457,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 69, + "line": 70, "character": 7 } ], @@ -13211,20 +13481,20 @@ "title": "Variables", "kind": 32, "children": [ - 379, 382, - 378, - 374, + 385, 381, - 380, - 373 + 377, + 384, + 383, + 376 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 68, + "line": 69, "character": 22 } ] @@ -13234,7 +13504,7 @@ ], "type": { "type": "reference", - "id": 360, + "id": 363, "name": "GoTrueClient" } } @@ -13248,7 +13518,7 @@ ] }, { - "id": 361, + "id": 364, "name": "api", "kind": 1024, "kindString": "Property", @@ -13267,12 +13537,12 @@ ], "type": { "type": "reference", - "id": 186, + "id": 189, "name": "GoTrueApi" } }, { - "id": 364, + "id": 367, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -13293,7 +13563,7 @@ } }, { - "id": 363, + "id": 366, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -13327,7 +13597,7 @@ } }, { - "id": 362, + "id": 365, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -13361,7 +13631,7 @@ } }, { - "id": 366, + "id": 369, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -13378,12 +13648,12 @@ ], "type": { "type": "reference", - "id": 575, + "id": 578, "name": "SupportedStorage" } }, { - "id": 365, + "id": 368, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -13404,7 +13674,7 @@ } }, { - "id": 368, + "id": 371, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -13435,7 +13705,7 @@ } }, { - "id": 367, + "id": 370, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -13468,7 +13738,7 @@ "defaultValue": "new Map()" }, { - "id": 535, + "id": 538, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -13478,7 +13748,7 @@ }, "signatures": [ { - "id": 536, + "id": 539, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -13487,7 +13757,7 @@ }, "parameters": [ { - "id": 537, + "id": 540, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -13516,72 +13786,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 538, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 539, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 626, - "character": 19 - } - ], - "type": { - "type": "reference", - "id": 50, - "name": "Session" - } - }, - { - "id": 540, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 626, - "character": 26 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 539, - 540 - ] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -13604,15 +13808,15 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 628, + "line": 621, "character": 19 } ], "type": { - "type": "intrinsic", - "name": "null" - }, - "defaultValue": "null" + "type": "reference", + "id": 50, + "name": "Session" + } }, { "id": 543, @@ -13625,7 +13829,73 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 628, + "line": 621, + "character": 26 + } + ], + "type": { + "type": "intrinsic", + "name": "null" + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 542, + 543 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 544, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 545, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 623, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "null" + }, + "defaultValue": "null" + }, + { + "id": 546, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 623, "character": 32 } ], @@ -13640,8 +13910,8 @@ "title": "Variables", "kind": 32, "children": [ - 542, - 543 + 545, + 546 ] } ] @@ -13657,13 +13927,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 614, + "line": 609, "character": 33 } ] }, { - "id": 481, + "id": 484, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -13673,7 +13943,7 @@ }, "signatures": [ { - "id": 482, + "id": 485, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -13682,7 +13952,7 @@ }, "parameters": [ { - "id": 483, + "id": 486, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -13695,7 +13965,7 @@ } }, { - "id": 484, + "id": 487, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -13708,7 +13978,7 @@ } }, { - "id": 485, + "id": 488, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13718,7 +13988,7 @@ "type": { "type": "reflection", "declaration": { - "id": 486, + "id": 489, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13727,7 +13997,7 @@ }, "children": [ { - "id": 487, + "id": 490, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -13738,7 +14008,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 484, "character": 16 } ], @@ -13762,14 +14032,14 @@ "title": "Variables", "kind": 32, "children": [ - 487 + 490 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 488, + "line": 483, "character": 12 } ] @@ -13787,7 +14057,7 @@ { "type": "reflection", "declaration": { - "id": 488, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13796,7 +14066,7 @@ }, "children": [ { - "id": 489, + "id": 492, "name": "data", "kind": 32, "kindString": "Variable", @@ -13806,7 +14076,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 498, "character": 19 } ], @@ -13817,7 +14087,7 @@ } }, { - "id": 492, + "id": 495, "name": "error", "kind": 32, "kindString": "Variable", @@ -13827,7 +14097,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 498, "character": 58 } ], @@ -13838,7 +14108,7 @@ "defaultValue": "null" }, { - "id": 491, + "id": 494, "name": "session", "kind": 32, "kindString": "Variable", @@ -13848,7 +14118,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 498, "character": 45 } ], @@ -13860,7 +14130,7 @@ "defaultValue": "data" }, { - "id": 490, + "id": 493, "name": "user", "kind": 32, "kindString": "Variable", @@ -13870,7 +14140,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 498, "character": 25 } ], @@ -13896,10 +14166,10 @@ "title": "Variables", "kind": 32, "children": [ - 489, 492, - 491, - 490 + 495, + 494, + 493 ] } ] @@ -13908,7 +14178,7 @@ { "type": "reflection", "declaration": { - "id": 493, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13917,7 +14187,7 @@ }, "children": [ { - "id": 494, + "id": 497, "name": "data", "kind": 32, "kindString": "Variable", @@ -13927,7 +14197,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 500, "character": 19 } ], @@ -13938,7 +14208,7 @@ "defaultValue": "null" }, { - "id": 497, + "id": 500, "name": "error", "kind": 32, "kindString": "Variable", @@ -13948,7 +14218,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 500, "character": 59 } ], @@ -13958,7 +14228,7 @@ } }, { - "id": 496, + "id": 499, "name": "session", "kind": 32, "kindString": "Variable", @@ -13968,7 +14238,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 500, "character": 46 } ], @@ -13979,7 +14249,7 @@ "defaultValue": "null" }, { - "id": 495, + "id": 498, "name": "user", "kind": 32, "kindString": "Variable", @@ -13989,7 +14259,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 500, "character": 31 } ], @@ -14005,10 +14275,10 @@ "title": "Variables", "kind": 32, "children": [ - 494, 497, - 496, - 495 + 500, + 499, + 498 ] } ] @@ -14024,13 +14294,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 485, + "line": 480, "character": 34 } ] }, { - "id": 498, + "id": 501, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -14040,7 +14310,7 @@ }, "signatures": [ { - "id": 499, + "id": 502, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", @@ -14049,7 +14319,7 @@ }, "parameters": [ { - "id": 500, + "id": 503, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -14062,7 +14332,7 @@ } }, { - "id": 501, + "id": 504, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -14084,7 +14354,7 @@ { "type": "reflection", "declaration": { - "id": 502, + "id": 505, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14093,7 +14363,7 @@ }, "children": [ { - "id": 503, + "id": 506, "name": "data", "kind": 32, "kindString": "Variable", @@ -14103,7 +14373,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 519, + "line": 514, "character": 19 } ], @@ -14114,7 +14384,7 @@ } }, { - "id": 506, + "id": 509, "name": "error", "kind": 32, "kindString": "Variable", @@ -14124,7 +14394,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 519, + "line": 514, "character": 58 } ], @@ -14135,7 +14405,7 @@ "defaultValue": "null" }, { - "id": 505, + "id": 508, "name": "session", "kind": 32, "kindString": "Variable", @@ -14145,7 +14415,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 519, + "line": 514, "character": 45 } ], @@ -14157,7 +14427,7 @@ "defaultValue": "data" }, { - "id": 504, + "id": 507, "name": "user", "kind": 32, "kindString": "Variable", @@ -14167,7 +14437,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 519, + "line": 514, "character": 25 } ], @@ -14193,10 +14463,10 @@ "title": "Variables", "kind": 32, "children": [ - 503, 506, - 505, - 504 + 509, + 508, + 507 ] } ] @@ -14205,7 +14475,7 @@ { "type": "reflection", "declaration": { - "id": 507, + "id": 510, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14214,7 +14484,7 @@ }, "children": [ { - "id": 508, + "id": 511, "name": "data", "kind": 32, "kindString": "Variable", @@ -14224,7 +14494,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 521, + "line": 516, "character": 19 } ], @@ -14235,7 +14505,7 @@ "defaultValue": "null" }, { - "id": 511, + "id": 514, "name": "error", "kind": 32, "kindString": "Variable", @@ -14245,7 +14515,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 521, + "line": 516, "character": 59 } ], @@ -14255,7 +14525,7 @@ } }, { - "id": 510, + "id": 513, "name": "session", "kind": 32, "kindString": "Variable", @@ -14265,7 +14535,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 521, + "line": 516, "character": 46 } ], @@ -14276,7 +14546,7 @@ "defaultValue": "null" }, { - "id": 509, + "id": 512, "name": "user", "kind": 32, "kindString": "Variable", @@ -14286,7 +14556,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 521, + "line": 516, "character": 31 } ], @@ -14302,10 +14572,10 @@ "title": "Variables", "kind": 32, "children": [ - 508, 511, - 510, - 509 + 514, + 513, + 512 ] } ] @@ -14321,13 +14591,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 509, + "line": 504, "character": 34 } ] }, { - "id": 512, + "id": 515, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -14337,7 +14607,7 @@ }, "signatures": [ { - "id": 513, + "id": 516, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", @@ -14346,7 +14616,7 @@ }, "parameters": [ { - "id": 514, + "id": 517, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -14360,7 +14630,7 @@ } }, { - "id": 515, + "id": 518, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14370,7 +14640,7 @@ "type": { "type": "reflection", "declaration": { - "id": 516, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14379,7 +14649,7 @@ }, "children": [ { - "id": 517, + "id": 520, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -14390,7 +14660,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 528, + "line": 523, "character": 16 } ], @@ -14409,7 +14679,7 @@ } }, { - "id": 518, + "id": 521, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -14420,7 +14690,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 529, + "line": 524, "character": 12 } ], @@ -14444,15 +14714,15 @@ "title": "Variables", "kind": 32, "children": [ - 517, - 518 + 520, + 521 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 527, + "line": 522, "character": 12 } ] @@ -14467,7 +14737,7 @@ { "type": "reflection", "declaration": { - "id": 519, + "id": 522, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14476,7 +14746,7 @@ }, "children": [ { - "id": 522, + "id": 525, "name": "data", "kind": 32, "kindString": "Variable", @@ -14486,7 +14756,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 34 } ], @@ -14497,7 +14767,7 @@ "defaultValue": "null" }, { - "id": 525, + "id": 528, "name": "error", "kind": 32, "kindString": "Variable", @@ -14507,7 +14777,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 74 } ], @@ -14518,7 +14788,7 @@ "defaultValue": "null" }, { - "id": 520, + "id": 523, "name": "provider", "kind": 32, "kindString": "Variable", @@ -14528,7 +14798,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 23 } ], @@ -14539,7 +14809,7 @@ } }, { - "id": 523, + "id": 526, "name": "session", "kind": 32, "kindString": "Variable", @@ -14549,7 +14819,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 49 } ], @@ -14560,7 +14830,7 @@ "defaultValue": "null" }, { - "id": 521, + "id": 524, "name": "url", "kind": 32, "kindString": "Variable", @@ -14570,7 +14840,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 28 } ], @@ -14580,7 +14850,7 @@ } }, { - "id": 524, + "id": 527, "name": "user", "kind": 32, "kindString": "Variable", @@ -14590,7 +14860,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 61 } ], @@ -14606,12 +14876,12 @@ "title": "Variables", "kind": 32, "children": [ - 522, 525, - 520, + 528, 523, - 521, - 524 + 526, + 524, + 527 ] } ] @@ -14620,7 +14890,7 @@ { "type": "reflection", "declaration": { - "id": 526, + "id": 529, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14629,7 +14899,7 @@ }, "children": [ { - "id": 527, + "id": 530, "name": "data", "kind": 32, "kindString": "Variable", @@ -14639,7 +14909,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 546, + "line": 541, "character": 19 } ], @@ -14650,7 +14920,7 @@ "defaultValue": "null" }, { - "id": 530, + "id": 533, "name": "error", "kind": 32, "kindString": "Variable", @@ -14660,7 +14930,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 546, + "line": 541, "character": 59 } ], @@ -14670,7 +14940,7 @@ } }, { - "id": 529, + "id": 532, "name": "session", "kind": 32, "kindString": "Variable", @@ -14680,7 +14950,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 546, + "line": 541, "character": 46 } ], @@ -14691,7 +14961,7 @@ "defaultValue": "null" }, { - "id": 528, + "id": 531, "name": "user", "kind": 32, "kindString": "Variable", @@ -14701,7 +14971,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 546, + "line": 541, "character": 31 } ], @@ -14717,10 +14987,10 @@ "title": "Variables", "kind": 32, "children": [ - 527, 530, - 529, - 528 + 533, + 532, + 531 ] } ] @@ -14733,13 +15003,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 525, + "line": 520, "character": 31 } ] }, { - "id": 544, + "id": 547, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -14749,7 +15019,7 @@ }, "signatures": [ { - "id": 545, + "id": 548, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", @@ -14758,7 +15028,7 @@ }, "parameters": [ { - "id": 546, + "id": 549, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -14781,13 +15051,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 632, + "line": 627, "character": 31 } ] }, { - "id": 550, + "id": 553, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -14797,7 +15067,7 @@ }, "signatures": [ { - "id": 551, + "id": 554, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", @@ -14806,7 +15076,7 @@ }, "parameters": [ { - "id": 552, + "id": 555, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -14829,13 +15099,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 659, + "line": 654, "character": 25 } ] }, { - "id": 533, + "id": 536, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -14845,7 +15115,7 @@ }, "signatures": [ { - "id": 534, + "id": 537, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -14879,13 +15149,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 578, + "line": 573, "character": 34 } ] }, { - "id": 531, + "id": 534, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -14895,7 +15165,7 @@ }, "signatures": [ { - "id": 532, + "id": 535, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -14923,13 +15193,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 554, + "line": 549, "character": 25 } ] }, { - "id": 553, + "id": 556, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -14939,7 +15209,7 @@ }, "signatures": [ { - "id": 554, + "id": 557, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -14961,13 +15231,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 664, + "line": 659, "character": 30 } ] }, { - "id": 547, + "id": 550, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -14977,7 +15247,7 @@ }, "signatures": [ { - "id": 548, + "id": 551, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -14989,7 +15259,7 @@ }, "parameters": [ { - "id": 549, + "id": 552, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -15012,13 +15282,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 640, + "line": 635, "character": 22 } ] }, { - "id": 555, + "id": 558, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -15028,7 +15298,7 @@ }, "signatures": [ { - "id": 556, + "id": 559, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -15040,7 +15310,7 @@ }, "parameters": [ { - "id": 557, + "id": 560, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -15065,13 +15335,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 675, + "line": 670, "character": 32 } ] }, { - "id": 459, + "id": 462, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -15080,7 +15350,7 @@ }, "signatures": [ { - "id": 460, + "id": 463, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -15092,7 +15362,7 @@ }, "parameters": [ { - "id": 461, + "id": 464, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15110,7 +15380,7 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15119,7 +15389,7 @@ }, "children": [ { - "id": 463, + "id": 466, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -15133,7 +15403,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 395, + "line": 390, "character": 16 } ], @@ -15161,7 +15431,7 @@ "title": "Variables", "kind": 32, "children": [ - 463 + 466 ] } ] @@ -15177,7 +15447,7 @@ { "type": "reflection", "declaration": { - "id": 464, + "id": 467, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15186,7 +15456,7 @@ }, "children": [ { - "id": 465, + "id": 468, "name": "data", "kind": 32, "kindString": "Variable", @@ -15196,7 +15466,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 396, + "line": 391, "character": 20 } ], @@ -15216,7 +15486,7 @@ } }, { - "id": 466, + "id": 469, "name": "error", "kind": 32, "kindString": "Variable", @@ -15226,7 +15496,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 396, + "line": 391, "character": 43 } ], @@ -15235,7 +15505,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -15250,15 +15521,15 @@ "title": "Variables", "kind": 32, "children": [ - 465, - 466 + 468, + 469 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 396, + "line": 391, "character": 14 } ] @@ -15272,13 +15543,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 394, + "line": 389, "character": 25 } ] }, { - "id": 471, + "id": 474, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -15287,7 +15558,7 @@ }, "signatures": [ { - "id": 472, + "id": 475, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -15300,7 +15571,7 @@ }, "parameters": [ { - "id": 473, + "id": 476, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -15310,7 +15581,7 @@ "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15319,7 +15590,7 @@ }, "signatures": [ { - "id": 475, + "id": 478, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -15328,7 +15599,7 @@ }, "parameters": [ { - "id": 476, + "id": 479, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -15342,7 +15613,7 @@ } }, { - "id": 477, + "id": 480, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -15374,7 +15645,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 466, + "line": 461, "character": 13 } ] @@ -15385,7 +15656,7 @@ "type": { "type": "reflection", "declaration": { - "id": 478, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15394,7 +15665,7 @@ }, "children": [ { - "id": 479, + "id": 482, "name": "data", "kind": 32, "kindString": "Variable", @@ -15404,7 +15675,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 467, + "line": 462, "character": 11 } ], @@ -15424,7 +15695,7 @@ } }, { - "id": 480, + "id": 483, "name": "error", "kind": 32, "kindString": "Variable", @@ -15434,7 +15705,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 467, + "line": 462, "character": 39 } ], @@ -15443,7 +15714,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -15458,15 +15730,15 @@ "title": "Variables", "kind": 32, "children": [ - 479, - 480 + 482, + 483 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 467, + "line": 462, "character": 4 } ] @@ -15477,13 +15749,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 465, + "line": 460, "character": 19 } ] }, { - "id": 437, + "id": 440, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -15492,7 +15764,7 @@ }, "signatures": [ { - "id": 438, + "id": 441, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -15508,7 +15780,7 @@ { "type": "reflection", "declaration": { - "id": 439, + "id": 442, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15517,7 +15789,7 @@ }, "children": [ { - "id": 440, + "id": 443, "name": "data", "kind": 32, "kindString": "Variable", @@ -15527,7 +15799,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 302, + "line": 303, "character": 8 } ], @@ -15547,7 +15819,7 @@ } }, { - "id": 442, + "id": 445, "name": "error", "kind": 32, "kindString": "Variable", @@ -15557,7 +15829,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 304, + "line": 305, "character": 9 } ], @@ -15566,7 +15838,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -15576,7 +15849,7 @@ } }, { - "id": 441, + "id": 444, "name": "user", "kind": 32, "kindString": "Variable", @@ -15586,7 +15859,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 303, + "line": 304, "character": 8 } ], @@ -15611,16 +15884,16 @@ "title": "Variables", "kind": 32, "children": [ - 440, - 442, - 441 + 443, + 445, + 444 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 301, + "line": 302, "character": 34 } ] @@ -15634,13 +15907,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 301, + "line": 302, "character": 22 } ] }, { - "id": 435, + "id": 438, "name": "session", "kind": 2048, "kindString": "Method", @@ -15649,7 +15922,7 @@ }, "signatures": [ { - "id": 436, + "id": 439, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -15678,13 +15951,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 294, + "line": 295, "character": 9 } ] }, { - "id": 456, + "id": 459, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -15693,7 +15966,7 @@ }, "signatures": [ { - "id": 457, + "id": 460, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -15705,7 +15978,7 @@ }, "parameters": [ { - "id": 458, + "id": 461, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -15731,13 +16004,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 379, + "line": 374, "character": 9 } ] }, { - "id": 450, + "id": 453, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -15746,7 +16019,7 @@ }, "signatures": [ { - "id": 451, + "id": 454, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -15758,7 +16031,7 @@ }, "parameters": [ { - "id": 452, + "id": 455, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -15780,7 +16053,7 @@ { "type": "reflection", "declaration": { - "id": 453, + "id": 456, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15789,7 +16062,7 @@ }, "children": [ { - "id": 455, + "id": 458, "name": "error", "kind": 32, "kindString": "Variable", @@ -15799,7 +16072,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 351, + "line": 352, "character": 45 } ], @@ -15808,7 +16081,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -15818,7 +16092,7 @@ } }, { - "id": 454, + "id": 457, "name": "session", "kind": 32, "kindString": "Variable", @@ -15828,7 +16102,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 351, + "line": 352, "character": 22 } ], @@ -15853,15 +16127,15 @@ "title": "Variables", "kind": 32, "children": [ - 455, - 454 + 458, + 457 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 351, + "line": 352, "character": 13 } ] @@ -15875,13 +16149,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 349, + "line": 350, "character": 18 } ] }, { - "id": 399, + "id": 402, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -15890,7 +16164,7 @@ }, "signatures": [ { - "id": 400, + "id": 403, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -15902,7 +16176,7 @@ }, "parameters": [ { - "id": 401, + "id": 404, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -15913,7 +16187,7 @@ "type": { "type": "reflection", "declaration": { - "id": 402, + "id": 405, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15922,7 +16196,7 @@ }, "children": [ { - "id": 403, + "id": 406, "name": "email", "kind": 32, "kindString": "Variable", @@ -15935,7 +16209,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 11 } ], @@ -15954,7 +16228,7 @@ } }, { - "id": 405, + "id": 408, "name": "password", "kind": 32, "kindString": "Variable", @@ -15967,7 +16241,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 28 } ], @@ -15986,7 +16260,7 @@ } }, { - "id": 404, + "id": 407, "name": "phone", "kind": 32, "kindString": "Variable", @@ -15996,7 +16270,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 18 } ], @@ -16015,7 +16289,7 @@ } }, { - "id": 407, + "id": 410, "name": "provider", "kind": 32, "kindString": "Variable", @@ -16028,7 +16302,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 52 } ], @@ -16083,7 +16357,7 @@ } }, { - "id": 406, + "id": 409, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -16096,7 +16370,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 42 } ], @@ -16120,18 +16394,18 @@ "title": "Variables", "kind": 32, "children": [ - 403, - 405, - 404, + 406, + 408, 407, - 406 + 410, + 409 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 173, + "line": 174, "character": 15 } ] @@ -16139,7 +16413,7 @@ } }, { - "id": 408, + "id": 411, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16149,7 +16423,7 @@ "type": { "type": "reflection", "declaration": { - "id": 409, + "id": 412, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16158,7 +16432,7 @@ }, "children": [ { - "id": 410, + "id": 413, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -16169,7 +16443,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 176, + "line": 177, "character": 16 } ], @@ -16188,7 +16462,7 @@ } }, { - "id": 411, + "id": 414, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -16199,7 +16473,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 177, + "line": 178, "character": 12 } ], @@ -16223,15 +16497,15 @@ "title": "Variables", "kind": 32, "children": [ - 410, - 411 + 413, + 414 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 175, + "line": 176, "character": 12 } ] @@ -16246,7 +16520,7 @@ { "type": "reflection", "declaration": { - "id": 412, + "id": 415, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16255,7 +16529,7 @@ }, "children": [ { - "id": 418, + "id": 421, "name": "data", "kind": 32, "kindString": "Variable", @@ -16265,7 +16539,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 185, + "line": 186, "character": 8 } ], @@ -16285,7 +16559,7 @@ } }, { - "id": 417, + "id": 420, "name": "error", "kind": 32, "kindString": "Variable", @@ -16295,7 +16569,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 184, + "line": 185, "character": 9 } ], @@ -16304,7 +16578,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -16314,7 +16589,7 @@ } }, { - "id": 415, + "id": 418, "name": "provider", "kind": 32, "kindString": "Variable", @@ -16325,7 +16600,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 182, + "line": 183, "character": 12 } ], @@ -16336,7 +16611,7 @@ } }, { - "id": 413, + "id": 416, "name": "session", "kind": 32, "kindString": "Variable", @@ -16346,7 +16621,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 180, + "line": 181, "character": 11 } ], @@ -16366,7 +16641,7 @@ } }, { - "id": 416, + "id": 419, "name": "url", "kind": 32, "kindString": "Variable", @@ -16377,7 +16652,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 183, + "line": 184, "character": 7 } ], @@ -16396,7 +16671,7 @@ } }, { - "id": 414, + "id": 417, "name": "user", "kind": 32, "kindString": "Variable", @@ -16406,7 +16681,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 181, + "line": 182, "character": 8 } ], @@ -16431,19 +16706,19 @@ "title": "Variables", "kind": 32, "children": [ + 421, + 420, 418, - 417, - 415, - 413, 416, - 414 + 419, + 417 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 179, + "line": 180, "character": 13 } ] @@ -16457,13 +16732,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 173, + "line": 174, "character": 14 } ] }, { - "id": 467, + "id": 470, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -16472,7 +16747,7 @@ }, "signatures": [ { - "id": 468, + "id": 471, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -16489,7 +16764,7 @@ { "type": "reflection", "declaration": { - "id": 469, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16498,7 +16773,7 @@ }, "children": [ { - "id": 470, + "id": 473, "name": "error", "kind": 32, "kindString": "Variable", @@ -16508,7 +16783,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 445, "character": 34 } ], @@ -16517,7 +16792,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -16532,14 +16808,14 @@ "title": "Variables", "kind": 32, "children": [ - 470 + 473 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 445, "character": 27 } ] @@ -16553,13 +16829,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 445, "character": 15 } ] }, { - "id": 383, + "id": 386, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -16568,7 +16844,7 @@ }, "signatures": [ { - "id": 384, + "id": 387, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -16580,7 +16856,7 @@ }, "parameters": [ { - "id": 385, + "id": 388, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -16591,7 +16867,7 @@ "type": { "type": "reflection", "declaration": { - "id": 386, + "id": 389, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16600,7 +16876,7 @@ }, "children": [ { - "id": 387, + "id": 390, "name": "email", "kind": 32, "kindString": "Variable", @@ -16613,7 +16889,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 111, + "line": 112, "character": 11 } ], @@ -16632,7 +16908,7 @@ } }, { - "id": 388, + "id": 391, "name": "password", "kind": 32, "kindString": "Variable", @@ -16645,7 +16921,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 111, + "line": 112, "character": 21 } ], @@ -16664,7 +16940,7 @@ } }, { - "id": 389, + "id": 392, "name": "phone", "kind": 32, "kindString": "Variable", @@ -16677,7 +16953,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 111, + "line": 112, "character": 28 } ], @@ -16701,16 +16977,16 @@ "title": "Variables", "kind": 32, "children": [ - 387, - 388, - 389 + 390, + 391, + 392 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 110, + "line": 111, "character": 15 } ] @@ -16718,7 +16994,7 @@ } }, { - "id": 390, + "id": 393, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16728,7 +17004,7 @@ "type": { "type": "reflection", "declaration": { - "id": 391, + "id": 394, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16737,7 +17013,7 @@ }, "children": [ { - "id": 393, + "id": 396, "name": "data", "kind": 32, "kindString": "Variable", @@ -16748,7 +17024,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 114, + "line": 115, "character": 10 } ], @@ -16767,7 +17043,7 @@ } }, { - "id": 392, + "id": 395, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -16778,7 +17054,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 113, + "line": 114, "character": 16 } ], @@ -16802,15 +17078,15 @@ "title": "Variables", "kind": 32, "children": [ - 393, - 392 + 396, + 395 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 112, + "line": 113, "character": 12 } ] @@ -16825,7 +17101,7 @@ { "type": "reflection", "declaration": { - "id": 394, + "id": 397, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16834,7 +17110,7 @@ }, "children": [ { - "id": 398, + "id": 401, "name": "data", "kind": 32, "kindString": "Variable", @@ -16847,7 +17123,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 120, + "line": 121, "character": 8 } ], @@ -16872,7 +17148,7 @@ } }, { - "id": 397, + "id": 400, "name": "error", "kind": 32, "kindString": "Variable", @@ -16882,7 +17158,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 119, + "line": 120, "character": 9 } ], @@ -16891,7 +17167,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -16901,7 +17178,7 @@ } }, { - "id": 396, + "id": 399, "name": "session", "kind": 32, "kindString": "Variable", @@ -16911,7 +17188,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 118, + "line": 119, "character": 11 } ], @@ -16931,7 +17208,7 @@ } }, { - "id": 395, + "id": 398, "name": "user", "kind": 32, "kindString": "Variable", @@ -16941,7 +17218,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 117, + "line": 118, "character": 8 } ], @@ -16966,17 +17243,17 @@ "title": "Variables", "kind": 32, "children": [ - 398, - 397, - 396, - 395 + 401, + 400, + 399, + 398 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 116, + "line": 117, "character": 13 } ] @@ -16990,13 +17267,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 110, + "line": 111, "character": 14 } ] }, { - "id": 443, + "id": 446, "name": "update", "kind": 2048, "kindString": "Method", @@ -17005,7 +17282,7 @@ }, "signatures": [ { - "id": 444, + "id": 447, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -17017,7 +17294,7 @@ }, "parameters": [ { - "id": 445, + "id": 448, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -17037,7 +17314,7 @@ { "type": "reflection", "declaration": { - "id": 446, + "id": 449, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17046,7 +17323,7 @@ }, "children": [ { - "id": 447, + "id": 450, "name": "data", "kind": 32, "kindString": "Variable", @@ -17056,7 +17333,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 324, + "line": 325, "character": 19 } ], @@ -17076,7 +17353,7 @@ } }, { - "id": 449, + "id": 452, "name": "error", "kind": 32, "kindString": "Variable", @@ -17086,7 +17363,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 324, + "line": 325, "character": 58 } ], @@ -17095,7 +17372,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -17105,7 +17383,7 @@ } }, { - "id": 448, + "id": 451, "name": "user", "kind": 32, "kindString": "Variable", @@ -17115,7 +17393,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 324, + "line": 325, "character": 38 } ], @@ -17140,16 +17418,16 @@ "title": "Variables", "kind": 32, "children": [ - 447, - 449, - 448 + 450, + 452, + 451 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 324, + "line": 325, "character": 13 } ] @@ -17163,13 +17441,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 322, + "line": 323, "character": 14 } ] }, { - "id": 433, + "id": 436, "name": "user", "kind": 2048, "kindString": "Method", @@ -17178,7 +17456,7 @@ }, "signatures": [ { - "id": 434, + "id": 437, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -17208,13 +17486,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 287, + "line": 288, "character": 6 } ] }, { - "id": 419, + "id": 422, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -17223,7 +17501,7 @@ }, "signatures": [ { - "id": 420, + "id": 423, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -17235,7 +17513,7 @@ }, "parameters": [ { - "id": 421, + "id": 424, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -17246,7 +17524,7 @@ "type": { "type": "reflection", "declaration": { - "id": 422, + "id": 425, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17255,7 +17533,7 @@ }, "children": [ { - "id": 423, + "id": 426, "name": "phone", "kind": 32, "kindString": "Variable", @@ -17268,7 +17546,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 239, + "line": 240, "character": 11 } ], @@ -17278,7 +17556,7 @@ } }, { - "id": 424, + "id": 427, "name": "token", "kind": 32, "kindString": "Variable", @@ -17291,7 +17569,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 239, + "line": 240, "character": 18 } ], @@ -17306,15 +17584,15 @@ "title": "Variables", "kind": 32, "children": [ - 423, - 424 + 426, + 427 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 238, + "line": 239, "character": 18 } ] @@ -17322,7 +17600,7 @@ } }, { - "id": 425, + "id": 428, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17332,7 +17610,7 @@ "type": { "type": "reflection", "declaration": { - "id": 426, + "id": 429, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17341,7 +17619,7 @@ }, "children": [ { - "id": 427, + "id": 430, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -17352,7 +17630,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 241, + "line": 242, "character": 16 } ], @@ -17376,14 +17654,14 @@ "title": "Variables", "kind": 32, "children": [ - 427 + 430 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 240, + "line": 241, "character": 12 } ] @@ -17398,7 +17676,7 @@ { "type": "reflection", "declaration": { - "id": 428, + "id": 431, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17407,7 +17685,7 @@ }, "children": [ { - "id": 432, + "id": 435, "name": "data", "kind": 32, "kindString": "Variable", @@ -17417,7 +17695,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 247, + "line": 248, "character": 8 } ], @@ -17442,7 +17720,7 @@ } }, { - "id": 431, + "id": 434, "name": "error", "kind": 32, "kindString": "Variable", @@ -17452,7 +17730,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 246, + "line": 247, "character": 9 } ], @@ -17461,7 +17739,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -17471,7 +17750,7 @@ } }, { - "id": 430, + "id": 433, "name": "session", "kind": 32, "kindString": "Variable", @@ -17481,7 +17760,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 245, + "line": 246, "character": 11 } ], @@ -17501,7 +17780,7 @@ } }, { - "id": 429, + "id": 432, "name": "user", "kind": 32, "kindString": "Variable", @@ -17511,7 +17790,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 244, + "line": 245, "character": 8 } ], @@ -17536,17 +17815,17 @@ "title": "Variables", "kind": 32, "children": [ - 432, - 431, - 430, - 429 + 435, + 434, + 433, + 432 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 243, + "line": 244, "character": 13 } ] @@ -17560,7 +17839,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 238, + "line": 239, "character": 17 } ] @@ -17571,50 +17850,50 @@ "title": "Constructors", "kind": 512, "children": [ - 369 + 372 ] }, { "title": "Properties", "kind": 1024, "children": [ - 361, 364, - 363, - 362, + 367, 366, 365, + 369, 368, - 367 + 371, + 370 ] }, { "title": "Methods", "kind": 2048, "children": [ - 535, - 481, - 498, - 512, - 544, - 550, - 533, - 531, - 553, + 538, + 484, + 501, + 515, 547, - 555, + 553, + 536, + 534, + 556, + 550, + 558, + 462, + 474, + 440, + 438, 459, - 471, - 437, - 435, - 456, - 450, - 399, - 467, - 383, - 443, - 433, - 419 + 453, + 402, + 470, + 386, + 446, + 436, + 422 ] } ], @@ -17627,7 +17906,7 @@ ] }, { - "id": 566, + "id": 569, "name": "AnyFunction", "kind": 4194304, "kindString": "Type alias", @@ -17642,21 +17921,21 @@ "type": { "type": "reflection", "declaration": { - "id": 567, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 568, + "id": 571, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 569, + "id": 572, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -17689,14 +17968,14 @@ } }, { - "id": 570, + "id": 573, "name": "MaybePromisify", "kind": 4194304, "kindString": "Type alias", "flags": {}, "typeParameter": [ { - "id": 571, + "id": 574, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -17731,14 +18010,14 @@ } }, { - "id": 572, + "id": 575, "name": "PromisifyMethods", "kind": 4194304, "kindString": "Type alias", "flags": {}, "typeParameter": [ { - "id": 573, + "id": 576, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -17755,7 +18034,7 @@ "type": { "type": "reflection", "declaration": { - "id": 574, + "id": 577, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17771,7 +18050,7 @@ } }, { - "id": 575, + "id": 578, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -17785,7 +18064,7 @@ ], "type": { "type": "reference", - "id": 572, + "id": 575, "typeArguments": [ { "type": "reference", @@ -17819,7 +18098,7 @@ } }, { - "id": 558, + "id": 561, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -17828,7 +18107,7 @@ }, "children": [ { - "id": 560, + "id": 563, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -17847,7 +18126,7 @@ "defaultValue": "true" }, { - "id": 562, + "id": 565, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -17866,7 +18145,7 @@ "defaultValue": "true" }, { - "id": 563, + "id": 566, "name": "headers", "kind": 32, "kindString": "Variable", @@ -17881,14 +18160,14 @@ "type": { "type": "reflection", "declaration": { - "id": 564, + "id": 567, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 565, + "id": 568, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -17912,7 +18191,7 @@ "title": "Variables", "kind": 32, "children": [ - 565 + 568 ] } ] @@ -17921,7 +18200,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 561, + "id": 564, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -17940,7 +18219,7 @@ "defaultValue": "true" }, { - "id": 559, + "id": 562, "name": "url", "kind": 32, "kindString": "Variable", @@ -17964,11 +18243,11 @@ "title": "Variables", "kind": 32, "children": [ - 560, - 562, 563, - 561, - 559 + 565, + 566, + 564, + 562 ] } ], @@ -17990,24 +18269,24 @@ "title": "Classes", "kind": 128, "children": [ - 360 + 363 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 566, - 570, - 572, - 575 + 569, + 573, + 575, + 578 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 558 + 561 ] } ], @@ -18020,7 +18299,7 @@ ] }, { - "id": 576, + "id": 579, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -18030,7 +18309,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts", "children": [ { - "id": 578, + "id": 581, "name": "AuthChangeEvent", "kind": 16777216, "kindString": "Reference", @@ -18040,7 +18319,7 @@ "target": 113 }, { - "id": 583, + "id": 586, "name": "CookieOptions", "kind": 16777216, "kindString": "Reference", @@ -18050,7 +18329,7 @@ "target": 97 }, { - "id": 577, + "id": 580, "name": "Provider", "kind": 16777216, "kindString": "Reference", @@ -18060,7 +18339,7 @@ "target": 112 }, { - "id": 579, + "id": 582, "name": "Session", "kind": 16777216, "kindString": "Reference", @@ -18070,7 +18349,7 @@ "target": 50 }, { - "id": 582, + "id": 585, "name": "Subscription", "kind": 16777216, "kindString": "Reference", @@ -18080,7 +18359,7 @@ "target": 87 }, { - "id": 580, + "id": 583, "name": "User", "kind": 16777216, "kindString": "Reference", @@ -18090,7 +18369,7 @@ "target": 58 }, { - "id": 581, + "id": 584, "name": "UserAttributes", "kind": 16777216, "kindString": "Reference", @@ -18100,7 +18379,7 @@ "target": 82 }, { - "id": 584, + "id": 587, "name": "UserCredentials", "kind": 16777216, "kindString": "Reference", @@ -18110,7 +18389,7 @@ "target": 103 }, { - "id": 585, + "id": 588, "name": "VerifyOTPParams", "kind": 16777216, "kindString": "Reference", @@ -18125,15 +18404,15 @@ "title": "References", "kind": 16777216, "children": [ - 578, - 583, - 577, - 579, - 582, - 580, 581, + 586, + 580, + 582, + 585, + 583, 584, - 585 + 587, + 588 ] } ], @@ -20289,7 +20568,7 @@ ] }, { - "id": 356, + "id": 359, "name": "\"lib/polyfills\"", "kind": 1, "kindString": "Module", @@ -20299,7 +20578,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts", "children": [ { - "id": 357, + "id": 360, "name": "polyfillGlobalThis", "kind": 64, "kindString": "Function", @@ -20308,7 +20587,7 @@ }, "signatures": [ { - "id": 358, + "id": 361, "name": "polyfillGlobalThis", "kind": 4096, "kindString": "Call signature", @@ -20338,7 +20617,7 @@ "title": "Functions", "kind": 64, "children": [ - 357 + 360 ] } ], @@ -22164,13 +22443,13 @@ "kind": 1, "children": [ 185, - 359, - 576, + 362, + 579, 116, 129, 1, 173, - 356, + 359, 49, 114 ] @@ -22185,7 +22464,7 @@ "originalName": "", "children": [ { - "id": 448, + "id": 460, "name": "\"PostgrestClient\"", "kind": 1, "kindString": "Module", @@ -22195,7 +22474,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", "children": [ { - "id": 449, + "id": 461, "name": "PostgrestClient", "kind": 128, "kindString": "Class", @@ -22204,7 +22483,7 @@ }, "children": [ { - "id": 456, + "id": 468, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -22216,7 +22495,7 @@ }, "signatures": [ { - "id": 457, + "id": 469, "name": "new PostgrestClient", "kind": 16384, "kindString": "Constructor signature", @@ -22228,7 +22507,7 @@ }, "parameters": [ { - "id": 458, + "id": 470, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -22244,7 +22523,7 @@ } }, { - "id": 459, + "id": 471, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -22255,7 +22534,7 @@ "type": { "type": "reflection", "declaration": { - "id": 460, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22264,7 +22543,7 @@ }, "children": [ { - "id": 461, + "id": 473, "name": "headers", "kind": 32, "kindString": "Variable", @@ -22284,7 +22563,7 @@ "type": { "type": "reflection", "declaration": { - "id": 462, + "id": 474, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22293,7 +22572,7 @@ }, "indexSignature": [ { - "id": 463, + "id": 475, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -22302,7 +22581,7 @@ }, "parameters": [ { - "id": 464, + "id": 476, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -22325,7 +22604,7 @@ } }, { - "id": 465, + "id": 477, "name": "schema", "kind": 32, "kindString": "Variable", @@ -22362,8 +22641,8 @@ "title": "Variables", "kind": 32, "children": [ - 461, - 465 + 473, + 477 ] } ], @@ -22381,7 +22660,7 @@ ], "type": { "type": "reference", - "id": 449, + "id": 461, "name": "PostgrestClient" } } @@ -22395,7 +22674,7 @@ ] }, { - "id": 451, + "id": 463, "name": "headers", "kind": 1024, "kindString": "Property", @@ -22412,7 +22691,7 @@ "type": { "type": "reflection", "declaration": { - "id": 452, + "id": 464, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22421,7 +22700,7 @@ }, "indexSignature": [ { - "id": 453, + "id": 465, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -22430,7 +22709,7 @@ }, "parameters": [ { - "id": 454, + "id": 466, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -22460,7 +22739,7 @@ } }, { - "id": 455, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -22490,7 +22769,7 @@ } }, { - "id": 450, + "id": 462, "name": "url", "kind": 1024, "kindString": "Property", @@ -22510,7 +22789,7 @@ } }, { - "id": 466, + "id": 478, "name": "auth", "kind": 2048, "kindString": "Method", @@ -22519,7 +22798,7 @@ }, "signatures": [ { - "id": 467, + "id": 479, "name": "auth", "kind": 4096, "kindString": "Call signature", @@ -22531,7 +22810,7 @@ }, "parameters": [ { - "id": 468, + "id": 480, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -22562,7 +22841,7 @@ ] }, { - "id": 469, + "id": 481, "name": "from", "kind": 2048, "kindString": "Method", @@ -22571,7 +22850,7 @@ }, "signatures": [ { - "id": 470, + "id": 482, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -22583,7 +22862,7 @@ }, "typeParameter": [ { - "id": 471, + "id": 483, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -22594,7 +22873,7 @@ ], "parameters": [ { - "id": 472, + "id": 484, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -22612,7 +22891,7 @@ ], "type": { "type": "reference", - "id": 322, + "id": 331, "typeArguments": [ { "type": "typeParameter", @@ -22636,7 +22915,7 @@ ] }, { - "id": 473, + "id": 485, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -22645,7 +22924,7 @@ }, "signatures": [ { - "id": 474, + "id": 486, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -22657,7 +22936,7 @@ }, "typeParameter": [ { - "id": 475, + "id": 487, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -22668,7 +22947,7 @@ ], "parameters": [ { - "id": 476, + "id": 488, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -22684,7 +22963,7 @@ } }, { - "id": 477, + "id": 489, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -22710,7 +22989,7 @@ } }, { - "id": 478, + "id": 490, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -22721,7 +23000,7 @@ "type": { "type": "reflection", "declaration": { - "id": 479, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22730,7 +23009,7 @@ }, "children": [ { - "id": 480, + "id": 493, "name": "count", "kind": 32, "kindString": "Variable", @@ -22743,7 +23022,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 58, + "line": 60, "character": 11 } ], @@ -22769,6 +23048,30 @@ ] }, "defaultValue": "null" + }, + { + "id": 492, + "name": "head", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "When set to true, no data will be returned." + }, + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 59, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" } ], "groups": [ @@ -22776,14 +23079,15 @@ "title": "Variables", "kind": 32, "children": [ - 480 + 493, + 492 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 56, + "line": 57, "character": 20 } ] @@ -22794,7 +23098,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -22812,7 +23116,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 54, + "line": 55, "character": 5 } ] @@ -22823,25 +23127,25 @@ "title": "Constructors", "kind": 512, "children": [ - 456 + 468 ] }, { "title": "Properties", "kind": 1024, "children": [ - 451, - 455, - 450 + 463, + 467, + 462 ] }, { "title": "Methods", "kind": 2048, "children": [ - 466, - 469, - 473 + 478, + 481, + 485 ] } ], @@ -22859,7 +23163,7 @@ "title": "Classes", "kind": 128, "children": [ - 449 + 461 ] } ], @@ -22872,7 +23176,7 @@ ] }, { - "id": 481, + "id": 494, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -22889,7 +23193,7 @@ ] }, { - "id": 126, + "id": 131, "name": "\"lib/PostgrestFilterBuilder\"", "kind": 1, "kindString": "Module", @@ -22899,7 +23203,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts", "children": [ { - "id": 127, + "id": 132, "name": "PostgrestFilterBuilder", "kind": 128, "kindString": "Class", @@ -22908,7 +23212,7 @@ }, "typeParameter": [ { - "id": 128, + "id": 133, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -22919,7 +23223,7 @@ ], "children": [ { - "id": 303, + "id": 312, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -22928,7 +23232,7 @@ }, "signatures": [ { - "id": 304, + "id": 313, "name": "new PostgrestFilterBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -22937,7 +23241,7 @@ }, "parameters": [ { - "id": 305, + "id": 314, "name": "builder", "kind": 32768, "kindString": "Parameter", @@ -22959,12 +23263,12 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } } @@ -22972,18 +23276,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 40 + "line": 58, + "character": 32 } ], "inheritedFrom": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } }, { - "id": 214, + "id": 219, "name": "adj", "kind": 1024, "kindString": "Property", @@ -23001,19 +23305,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 306, + "line": 328, "character": 5 } ], "type": { "type": "reference", - "id": 210, + "id": 215, "name": "rangeAdjacent" }, "defaultValue": "this.rangeAdjacent" }, { - "id": 301, + "id": 309, "name": "body", "kind": 1024, "kindString": "Property", @@ -23064,7 +23368,7 @@ } }, { - "id": 189, + "id": 194, "name": "cd", "kind": 1024, "kindString": "Property", @@ -23082,19 +23386,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 231, + "line": 253, "character": 4 } ], "type": { "type": "reference", - "id": 185, + "id": 190, "name": "containedBy" }, "defaultValue": "this.containedBy" }, { - "id": 184, + "id": 189, "name": "cs", "kind": 1024, "kindString": "Property", @@ -23112,19 +23416,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 207, + "line": 229, "character": 4 } ], "type": { "type": "reference", - "id": 180, + "id": 185, "name": "contains" }, "defaultValue": "this.contains" }, { - "id": 296, + "id": 304, "name": "headers", "kind": 1024, "kindString": "Property", @@ -23142,7 +23446,7 @@ "type": { "type": "reflection", "declaration": { - "id": 297, + "id": 305, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -23151,7 +23455,7 @@ }, "indexSignature": [ { - "id": 298, + "id": 306, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -23160,7 +23464,7 @@ }, "parameters": [ { - "id": 299, + "id": 307, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -23195,7 +23499,7 @@ } }, { - "id": 294, + "id": 302, "name": "method", "kind": 1024, "kindString": "Property", @@ -23242,7 +23546,7 @@ } }, { - "id": 204, + "id": 209, "name": "nxl", "kind": 1024, "kindString": "Property", @@ -23260,19 +23564,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 276, + "line": 298, "character": 5 } ], "type": { "type": "reference", - "id": 200, + "id": 205, "name": "rangeGte" }, "defaultValue": "this.rangeGte" }, { - "id": 209, + "id": 214, "name": "nxr", "kind": 1024, "kindString": "Property", @@ -23290,19 +23594,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 291, + "line": 313, "character": 5 } ], "type": { "type": "reference", - "id": 205, + "id": 210, "name": "rangeLte" }, "defaultValue": "this.rangeLte" }, { - "id": 219, + "id": 224, "name": "ov", "kind": 1024, "kindString": "Property", @@ -23320,19 +23624,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 327, + "line": 349, "character": 4 } ], "type": { "type": "reference", - "id": 215, + "id": 220, "name": "overlaps" }, "defaultValue": "this.overlaps" }, { - "id": 300, + "id": 308, "name": "schema", "kind": 1024, "kindString": "Property", @@ -23368,10 +23672,37 @@ } }, { - "id": 302, + "id": 310, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 57, + "character": 30 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 37, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 311, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -23380,35 +23711,22 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 30 + "line": 58, + "character": 18 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 38, + "name": "PostgrestBuilder.signal" } }, { - "id": 194, + "id": 199, "name": "sl", "kind": 1024, "kindString": "Property", @@ -23426,19 +23744,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 246, + "line": 268, "character": 4 } ], "type": { "type": "reference", - "id": 190, + "id": 195, "name": "rangeLt" }, "defaultValue": "this.rangeLt" }, { - "id": 199, + "id": 204, "name": "sr", "kind": 1024, "kindString": "Property", @@ -23456,19 +23774,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 261, + "line": 283, "character": 4 } ], "type": { "type": "reference", - "id": 195, + "id": 200, "name": "rangeGt" }, "defaultValue": "this.rangeGt" }, { - "id": 295, + "id": 303, "name": "url", "kind": 1024, "kindString": "Property", @@ -23494,7 +23812,66 @@ } }, { - "id": 185, + "id": 293, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 294, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Sets the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 295, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "id": 95, + "name": "PostgrestTransformBuilder.abortSignal" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestTransformBuilder.ts", + "line": 91, + "character": 13 + } + ], + "inheritedFrom": { + "type": "reference", + "id": 95, + "name": "PostgrestTransformBuilder.abortSignal" + } + }, + { + "id": 190, "name": "containedBy", "kind": 2048, "kindString": "Method", @@ -23503,7 +23880,7 @@ }, "signatures": [ { - "id": 186, + "id": 191, "name": "containedBy", "kind": 4096, "kindString": "Call signature", @@ -23513,6 +23890,105 @@ "comment": { "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`." }, + "parameters": [ + { + "id": 192, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 193, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The value to filter with.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + }, + "objectType": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "type": "intrinsic", + "name": "object" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestFilterBuilder.ts", + "line": 238, + "character": 13 + } + ] + }, + { + "id": 185, + "name": "contains", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 186, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`." + }, "parameters": [ { "id": 187, @@ -23587,112 +24063,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 216, - "character": 13 - } - ] - }, - { - "id": 180, - "name": "contains", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 181, - "name": "contains", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`." - }, - "parameters": [ - { - "id": 182, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 183, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 191, + "line": 213, "character": 10 } ] }, { - "id": 292, + "id": 300, "name": "csv", "kind": 2048, "kindString": "Method", @@ -23701,7 +24078,7 @@ }, "signatures": [ { - "id": 293, + "id": 301, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -23716,7 +24093,7 @@ "typeArguments": [ { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "intrinsic", @@ -23730,7 +24107,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 98, + "id": 102, "name": "PostgrestTransformBuilder.csv" } } @@ -23738,18 +24115,18 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 126, + "line": 134, "character": 5 } ], "inheritedFrom": { "type": "reference", - "id": 98, + "id": 102, "name": "PostgrestTransformBuilder.csv" } }, { - "id": 140, + "id": 145, "name": "eq", "kind": 2048, "kindString": "Method", @@ -23758,7 +24135,7 @@ }, "signatures": [ { - "id": 141, + "id": 146, "name": "eq", "kind": 4096, "kindString": "Call signature", @@ -23770,7 +24147,7 @@ }, "parameters": [ { - "id": 142, + "id": 147, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -23790,7 +24167,7 @@ } }, { - "id": 143, + "id": 148, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -23826,13 +24203,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 63, + "line": 85, "character": 4 } ] }, { - "id": 256, + "id": 261, "name": "filter", "kind": 2048, "kindString": "Method", @@ -23841,7 +24218,7 @@ }, "signatures": [ { - "id": 257, + "id": 262, "name": "filter", "kind": 4096, "kindString": "Call signature", @@ -23853,7 +24230,7 @@ }, "parameters": [ { - "id": 258, + "id": 263, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -23873,7 +24250,7 @@ } }, { - "id": 259, + "id": 264, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -23885,12 +24262,12 @@ }, "type": { "type": "reference", - "id": 320, + "id": 329, "name": "FilterOperator" } }, { - "id": 260, + "id": 265, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -23915,13 +24292,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 430, + "line": 452, "character": 8 } ] }, { - "id": 228, + "id": 233, "name": "fts", "kind": 2048, "kindString": "Method", @@ -23930,7 +24307,7 @@ }, "signatures": [ { - "id": 229, + "id": 234, "name": "fts", "kind": 4096, "kindString": "Call signature", @@ -23948,7 +24325,7 @@ }, "parameters": [ { - "id": 230, + "id": 235, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -23968,7 +24345,7 @@ } }, { - "id": 231, + "id": 236, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -23984,7 +24361,7 @@ } }, { - "id": 232, + "id": 237, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -23995,7 +24372,7 @@ "type": { "type": "reflection", "declaration": { - "id": 233, + "id": 238, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -24004,7 +24381,7 @@ }, "children": [ { - "id": 234, + "id": 239, "name": "config", "kind": 32, "kindString": "Variable", @@ -24017,7 +24394,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 369, + "line": 391, "character": 46 } ], @@ -24041,14 +24418,14 @@ "title": "Variables", "kind": 32, "children": [ - 234 + 239 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 369, + "line": 391, "character": 37 } ] @@ -24066,13 +24443,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 369, + "line": 391, "character": 5 } ] }, { - "id": 148, + "id": 153, "name": "gt", "kind": 2048, "kindString": "Method", @@ -24081,7 +24458,7 @@ }, "signatures": [ { - "id": 149, + "id": 154, "name": "gt", "kind": 4096, "kindString": "Call signature", @@ -24093,7 +24470,7 @@ }, "parameters": [ { - "id": 150, + "id": 155, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -24113,7 +24490,7 @@ } }, { - "id": 151, + "id": 156, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -24149,13 +24526,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 87, + "line": 109, "character": 4 } ] }, { - "id": 152, + "id": 157, "name": "gte", "kind": 2048, "kindString": "Method", @@ -24164,7 +24541,7 @@ }, "signatures": [ { - "id": 153, + "id": 158, "name": "gte", "kind": 4096, "kindString": "Call signature", @@ -24176,7 +24553,7 @@ }, "parameters": [ { - "id": 154, + "id": 159, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -24196,7 +24573,7 @@ } }, { - "id": 155, + "id": 160, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -24232,13 +24609,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 99, + "line": 121, "character": 5 } ] }, { - "id": 168, + "id": 173, "name": "ilike", "kind": 2048, "kindString": "Method", @@ -24247,7 +24624,7 @@ }, "signatures": [ { - "id": 169, + "id": 174, "name": "ilike", "kind": 4096, "kindString": "Call signature", @@ -24259,7 +24636,7 @@ }, "parameters": [ { - "id": 170, + "id": 175, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -24279,7 +24656,7 @@ } }, { - "id": 171, + "id": 176, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -24304,13 +24681,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 147, + "line": 169, "character": 7 } ] }, { - "id": 176, + "id": 181, "name": "in", "kind": 2048, "kindString": "Method", @@ -24319,7 +24696,7 @@ }, "signatures": [ { - "id": 177, + "id": 182, "name": "in", "kind": 4096, "kindString": "Call signature", @@ -24331,7 +24708,7 @@ }, "parameters": [ { - "id": 178, + "id": 183, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -24351,7 +24728,7 @@ } }, { - "id": 179, + "id": 184, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -24390,13 +24767,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 171, + "line": 193, "character": 4 } ] }, { - "id": 172, + "id": 177, "name": "is", "kind": 2048, "kindString": "Method", @@ -24405,7 +24782,7 @@ }, "signatures": [ { - "id": 173, + "id": 178, "name": "is", "kind": 4096, "kindString": "Call signature", @@ -24417,7 +24794,7 @@ }, "parameters": [ { - "id": 174, + "id": 179, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -24437,7 +24814,7 @@ } }, { - "id": 175, + "id": 180, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -24471,13 +24848,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 159, + "line": 181, "character": 4 } ] }, { - "id": 164, + "id": 169, "name": "like", "kind": 2048, "kindString": "Method", @@ -24486,7 +24863,7 @@ }, "signatures": [ { - "id": 165, + "id": 170, "name": "like", "kind": 4096, "kindString": "Call signature", @@ -24498,7 +24875,7 @@ }, "parameters": [ { - "id": 166, + "id": 171, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -24518,7 +24895,7 @@ } }, { - "id": 167, + "id": 172, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -24543,13 +24920,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 135, + "line": 157, "character": 6 } ] }, { - "id": 275, + "id": 280, "name": "limit", "kind": 2048, "kindString": "Method", @@ -24558,7 +24935,7 @@ }, "signatures": [ { - "id": 276, + "id": 281, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -24570,7 +24947,7 @@ }, "parameters": [ { - "id": 277, + "id": 282, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -24586,7 +24963,7 @@ } }, { - "id": 278, + "id": 283, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -24597,7 +24974,7 @@ "type": { "type": "reflection", "declaration": { - "id": 279, + "id": 284, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -24606,7 +24983,7 @@ }, "children": [ { - "id": 280, + "id": 285, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -24643,7 +25020,7 @@ "title": "Variables", "kind": 32, "children": [ - 280 + 285 ] } ], @@ -24665,7 +25042,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 81, + "id": 82, "name": "PostgrestTransformBuilder.limit" } } @@ -24679,12 +25056,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 81, + "id": 82, "name": "PostgrestTransformBuilder.limit" } }, { - "id": 156, + "id": 161, "name": "lt", "kind": 2048, "kindString": "Method", @@ -24693,7 +25070,7 @@ }, "signatures": [ { - "id": 157, + "id": 162, "name": "lt", "kind": 4096, "kindString": "Call signature", @@ -24705,7 +25082,7 @@ }, "parameters": [ { - "id": 158, + "id": 163, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -24725,7 +25102,7 @@ } }, { - "id": 159, + "id": 164, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -24761,13 +25138,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 111, + "line": 133, "character": 4 } ] }, { - "id": 160, + "id": 165, "name": "lte", "kind": 2048, "kindString": "Method", @@ -24776,7 +25153,7 @@ }, "signatures": [ { - "id": 161, + "id": 166, "name": "lte", "kind": 4096, "kindString": "Call signature", @@ -24788,7 +25165,7 @@ }, "parameters": [ { - "id": 162, + "id": 167, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -24808,7 +25185,7 @@ } }, { - "id": 163, + "id": 168, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -24844,13 +25221,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 123, + "line": 145, "character": 5 } ] }, { - "id": 261, + "id": 266, "name": "match", "kind": 2048, "kindString": "Method", @@ -24859,7 +25236,7 @@ }, "signatures": [ { - "id": 262, + "id": 267, "name": "match", "kind": 4096, "kindString": "Call signature", @@ -24871,7 +25248,7 @@ }, "parameters": [ { - "id": 263, + "id": 268, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -24906,13 +25283,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 441, + "line": 463, "character": 7 } ] }, { - "id": 290, + "id": 298, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -24921,7 +25298,7 @@ }, "signatures": [ { - "id": 291, + "id": 299, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -24936,7 +25313,7 @@ "typeArguments": [ { "type": "reference", - "id": 65, + "id": 66, "typeArguments": [ { "type": "typeParameter", @@ -24950,7 +25327,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 96, + "id": 100, "name": "PostgrestTransformBuilder.maybeSingle" } } @@ -24958,18 +25335,18 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 102, + "line": 110, "character": 13 } ], "inheritedFrom": { "type": "reference", - "id": 96, + "id": 100, "name": "PostgrestTransformBuilder.maybeSingle" } }, { - "id": 144, + "id": 149, "name": "neq", "kind": 2048, "kindString": "Method", @@ -24978,7 +25355,7 @@ }, "signatures": [ { - "id": 145, + "id": 150, "name": "neq", "kind": 4096, "kindString": "Call signature", @@ -24990,7 +25367,7 @@ }, "parameters": [ { - "id": 146, + "id": 151, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -25010,7 +25387,7 @@ } }, { - "id": 147, + "id": 152, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -25046,13 +25423,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 75, + "line": 97, "character": 5 } ] }, { - "id": 129, + "id": 134, "name": "not", "kind": 2048, "kindString": "Method", @@ -25061,7 +25438,7 @@ }, "signatures": [ { - "id": 130, + "id": 135, "name": "not", "kind": 4096, "kindString": "Call signature", @@ -25073,7 +25450,7 @@ }, "parameters": [ { - "id": 131, + "id": 136, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -25093,7 +25470,7 @@ } }, { - "id": 132, + "id": 137, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -25105,12 +25482,12 @@ }, "type": { "type": "reference", - "id": 320, + "id": 329, "name": "FilterOperator" } }, { - "id": 133, + "id": 138, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -25135,13 +25512,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 39, + "line": 61, "character": 5 } ] }, { - "id": 134, + "id": 139, "name": "or", "kind": 2048, "kindString": "Method", @@ -25150,7 +25527,7 @@ }, "signatures": [ { - "id": 135, + "id": 140, "name": "or", "kind": 4096, "kindString": "Call signature", @@ -25162,7 +25539,7 @@ }, "parameters": [ { - "id": 136, + "id": 141, "name": "filters", "kind": 32768, "kindString": "Parameter", @@ -25178,7 +25555,7 @@ } }, { - "id": 137, + "id": 142, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -25189,7 +25566,7 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -25198,7 +25575,7 @@ }, "children": [ { - "id": 139, + "id": 144, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -25211,7 +25588,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 50, + "line": 72, "character": 36 } ], @@ -25235,14 +25612,14 @@ "title": "Variables", "kind": 32, "children": [ - 139 + 144 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 50, + "line": 72, "character": 21 } ] @@ -25260,13 +25637,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 50, + "line": 72, "character": 4 } ] }, { - "id": 267, + "id": 272, "name": "order", "kind": 2048, "kindString": "Method", @@ -25275,7 +25652,7 @@ }, "signatures": [ { - "id": 268, + "id": 273, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -25287,7 +25664,7 @@ }, "parameters": [ { - "id": 269, + "id": 274, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -25307,7 +25684,7 @@ } }, { - "id": 270, + "id": 275, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -25318,7 +25695,7 @@ "type": { "type": "reflection", "declaration": { - "id": 271, + "id": 276, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -25327,7 +25704,7 @@ }, "children": [ { - "id": 272, + "id": 277, "name": "ascending", "kind": 32, "kindString": "Variable", @@ -25351,7 +25728,7 @@ "defaultValue": "true" }, { - "id": 274, + "id": 279, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -25383,7 +25760,7 @@ } }, { - "id": 273, + "id": 278, "name": "nullsFirst", "kind": 32, "kindString": "Variable", @@ -25412,9 +25789,9 @@ "title": "Variables", "kind": 32, "children": [ - 272, - 274, - 273 + 277, + 279, + 278 ] } ], @@ -25436,7 +25813,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 73, + "id": 74, "name": "PostgrestTransformBuilder.order" } } @@ -25450,12 +25827,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 73, + "id": 74, "name": "PostgrestTransformBuilder.order" } }, { - "id": 215, + "id": 220, "name": "overlaps", "kind": 2048, "kindString": "Method", @@ -25464,7 +25841,7 @@ }, "signatures": [ { - "id": 216, + "id": 221, "name": "overlaps", "kind": 4096, "kindString": "Call signature", @@ -25476,7 +25853,7 @@ }, "parameters": [ { - "id": 217, + "id": 222, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -25496,7 +25873,7 @@ } }, { - "id": 218, + "id": 223, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -25544,13 +25921,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 315, + "line": 337, "character": 10 } ] }, { - "id": 242, + "id": 247, "name": "phfts", "kind": 2048, "kindString": "Method", @@ -25559,7 +25936,7 @@ }, "signatures": [ { - "id": 243, + "id": 248, "name": "phfts", "kind": 4096, "kindString": "Call signature", @@ -25577,7 +25954,7 @@ }, "parameters": [ { - "id": 244, + "id": 249, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -25597,7 +25974,7 @@ } }, { - "id": 245, + "id": 250, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -25613,7 +25990,7 @@ } }, { - "id": 246, + "id": 251, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -25624,7 +26001,7 @@ "type": { "type": "reflection", "declaration": { - "id": 247, + "id": 252, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -25633,7 +26010,7 @@ }, "children": [ { - "id": 248, + "id": 253, "name": "config", "kind": 32, "kindString": "Variable", @@ -25646,7 +26023,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 401, + "line": 423, "character": 48 } ], @@ -25670,14 +26047,14 @@ "title": "Variables", "kind": 32, "children": [ - 248 + 253 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 401, + "line": 423, "character": 39 } ] @@ -25695,13 +26072,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 401, + "line": 423, "character": 7 } ] }, { - "id": 235, + "id": 240, "name": "plfts", "kind": 2048, "kindString": "Method", @@ -25710,7 +26087,7 @@ }, "signatures": [ { - "id": 236, + "id": 241, "name": "plfts", "kind": 4096, "kindString": "Call signature", @@ -25728,7 +26105,7 @@ }, "parameters": [ { - "id": 237, + "id": 242, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -25748,7 +26125,7 @@ } }, { - "id": 238, + "id": 243, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -25764,7 +26141,7 @@ } }, { - "id": 239, + "id": 244, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -25775,7 +26152,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 245, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -25784,7 +26161,7 @@ }, "children": [ { - "id": 241, + "id": 246, "name": "config", "kind": 32, "kindString": "Variable", @@ -25797,7 +26174,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 385, + "line": 407, "character": 48 } ], @@ -25821,14 +26198,14 @@ "title": "Variables", "kind": 32, "children": [ - 241 + 246 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 385, + "line": 407, "character": 39 } ] @@ -25846,13 +26223,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 385, + "line": 407, "character": 7 } ] }, { - "id": 281, + "id": 286, "name": "range", "kind": 2048, "kindString": "Method", @@ -25861,7 +26238,7 @@ }, "signatures": [ { - "id": 282, + "id": 287, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -25873,7 +26250,7 @@ }, "parameters": [ { - "id": 283, + "id": 288, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -25889,7 +26266,7 @@ } }, { - "id": 284, + "id": 289, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -25905,7 +26282,7 @@ } }, { - "id": 285, + "id": 290, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -25916,7 +26293,7 @@ "type": { "type": "reflection", "declaration": { - "id": 286, + "id": 291, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -25925,7 +26302,7 @@ }, "children": [ { - "id": 287, + "id": 292, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -25962,7 +26339,7 @@ "title": "Variables", "kind": 32, "children": [ - 287 + 292 ] } ], @@ -25984,7 +26361,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 87, + "id": 88, "name": "PostgrestTransformBuilder.range" } } @@ -25998,12 +26375,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 87, + "id": 88, "name": "PostgrestTransformBuilder.range" } }, { - "id": 210, + "id": 215, "name": "rangeAdjacent", "kind": 2048, "kindString": "Method", @@ -26012,7 +26389,7 @@ }, "signatures": [ { - "id": 211, + "id": 216, "name": "rangeAdjacent", "kind": 4096, "kindString": "Call signature", @@ -26024,7 +26401,7 @@ }, "parameters": [ { - "id": 212, + "id": 217, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -26044,7 +26421,7 @@ } }, { - "id": 213, + "id": 218, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -26069,13 +26446,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 300, + "line": 322, "character": 15 } ] }, { - "id": 195, + "id": 200, "name": "rangeGt", "kind": 2048, "kindString": "Method", @@ -26084,7 +26461,7 @@ }, "signatures": [ { - "id": 196, + "id": 201, "name": "rangeGt", "kind": 4096, "kindString": "Call signature", @@ -26094,78 +26471,6 @@ "comment": { "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`." }, - "parameters": [ - { - "id": 197, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 198, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 255, - "character": 9 - } - ] - }, - { - "id": 200, - "name": "rangeGte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 201, - "name": "rangeGte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`." - }, "parameters": [ { "id": 202, @@ -26213,86 +26518,14 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 270, - "character": 10 - } - ] - }, - { - "id": 190, - "name": "rangeLt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 191, - "name": "rangeLt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`." - }, - "parameters": [ - { - "id": 192, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 193, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 240, + "line": 277, "character": 9 } ] }, { "id": 205, - "name": "rangeLte", + "name": "rangeGte", "kind": 2048, "kindString": "Method", "flags": { @@ -26301,14 +26534,14 @@ "signatures": [ { "id": 206, - "name": "rangeLte", + "name": "rangeGte", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`." + "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`." }, "parameters": [ { @@ -26357,13 +26590,157 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 285, + "line": 292, "character": 10 } ] }, { - "id": 264, + "id": 195, + "name": "rangeLt", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 196, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`." + }, + "parameters": [ + { + "id": 197, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 198, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestFilterBuilder.ts", + "line": 262, + "character": 9 + } + ] + }, + { + "id": 210, + "name": "rangeLte", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 211, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`." + }, + "parameters": [ + { + "id": 212, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 213, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestFilterBuilder.ts", + "line": 307, + "character": 10 + } + ] + }, + { + "id": 269, "name": "select", "kind": 2048, "kindString": "Method", @@ -26372,7 +26749,7 @@ }, "signatures": [ { - "id": 265, + "id": 270, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -26384,7 +26761,7 @@ }, "parameters": [ { - "id": 266, + "id": 271, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -26407,7 +26784,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 70, + "id": 71, "name": "PostgrestTransformBuilder.select" } } @@ -26421,12 +26798,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 70, + "id": 71, "name": "PostgrestTransformBuilder.select" } }, { - "id": 288, + "id": 296, "name": "single", "kind": 2048, "kindString": "Method", @@ -26435,7 +26812,7 @@ }, "signatures": [ { - "id": 289, + "id": 297, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -26450,7 +26827,7 @@ "typeArguments": [ { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "typeParameter", @@ -26464,7 +26841,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 94, + "id": 98, "name": "PostgrestTransformBuilder.single" } } @@ -26472,18 +26849,18 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 92, + "line": 100, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 94, + "id": 98, "name": "PostgrestTransformBuilder.single" } }, { - "id": 220, + "id": 225, "name": "textSearch", "kind": 2048, "kindString": "Method", @@ -26492,7 +26869,7 @@ }, "signatures": [ { - "id": 221, + "id": 226, "name": "textSearch", "kind": 4096, "kindString": "Call signature", @@ -26504,7 +26881,7 @@ }, "parameters": [ { - "id": 222, + "id": 227, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -26524,7 +26901,7 @@ } }, { - "id": 223, + "id": 228, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -26540,7 +26917,7 @@ } }, { - "id": 224, + "id": 229, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -26551,7 +26928,7 @@ "type": { "type": "reflection", "declaration": { - "id": 225, + "id": 230, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -26560,7 +26937,7 @@ }, "children": [ { - "id": 226, + "id": 231, "name": "config", "kind": 32, "kindString": "Variable", @@ -26573,7 +26950,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 342, + "line": 364, "character": 12 } ], @@ -26592,7 +26969,7 @@ } }, { - "id": 227, + "id": 232, "name": "type", "kind": 32, "kindString": "Variable", @@ -26605,7 +26982,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 343, + "line": 365, "character": 10 } ], @@ -26638,15 +27015,15 @@ "title": "Variables", "kind": 32, "children": [ - 226, - 227 + 231, + 232 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 340, + "line": 362, "character": 18 } ] @@ -26664,13 +27041,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 338, + "line": 360, "character": 12 } ] }, { - "id": 308, + "id": 317, "name": "then", "kind": 2048, "kindString": "Method", @@ -26679,7 +27056,7 @@ }, "signatures": [ { - "id": 309, + "id": 318, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -26688,7 +27065,7 @@ }, "typeParameter": [ { - "id": 310, + "id": 319, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -26697,7 +27074,7 @@ } }, { - "id": 311, + "id": 320, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -26708,7 +27085,7 @@ ], "parameters": [ { - "id": 312, + "id": 321, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -26722,7 +27099,7 @@ { "type": "reflection", "declaration": { - "id": 313, + "id": 322, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -26731,7 +27108,7 @@ }, "signatures": [ { - "id": 314, + "id": 323, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -26740,7 +27117,7 @@ }, "parameters": [ { - "id": 315, + "id": 324, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -26749,7 +27126,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -26804,7 +27181,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -26822,7 +27199,7 @@ } }, { - "id": 316, + "id": 325, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -26836,7 +27213,7 @@ { "type": "reflection", "declaration": { - "id": 317, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -26845,7 +27222,7 @@ }, "signatures": [ { - "id": 318, + "id": 327, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -26854,7 +27231,7 @@ }, "parameters": [ { - "id": 319, + "id": 328, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -26899,7 +27276,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -26952,7 +27329,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } } @@ -26960,18 +27337,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } }, { - "id": 306, + "id": 315, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -26980,7 +27357,7 @@ }, "signatures": [ { - "id": 307, + "id": 316, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -27004,7 +27381,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -27012,18 +27389,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 249, + "id": 254, "name": "wfts", "kind": 2048, "kindString": "Method", @@ -27032,7 +27409,7 @@ }, "signatures": [ { - "id": 250, + "id": 255, "name": "wfts", "kind": 4096, "kindString": "Call signature", @@ -27050,7 +27427,7 @@ }, "parameters": [ { - "id": 251, + "id": 256, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -27070,7 +27447,7 @@ } }, { - "id": 252, + "id": 257, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -27086,7 +27463,7 @@ } }, { - "id": 253, + "id": 258, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -27097,7 +27474,7 @@ "type": { "type": "reflection", "declaration": { - "id": 254, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -27106,7 +27483,7 @@ }, "children": [ { - "id": 255, + "id": 260, "name": "config", "kind": 32, "kindString": "Variable", @@ -27119,7 +27496,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 417, + "line": 439, "character": 47 } ], @@ -27143,14 +27520,14 @@ "title": "Variables", "kind": 32, "children": [ - 255 + 260 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 417, + "line": 439, "character": 38 } ] @@ -27168,7 +27545,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 417, + "line": 439, "character": 6 } ] @@ -27179,83 +27556,85 @@ "title": "Constructors", "kind": 512, "children": [ - 303 + 312 ] }, { "title": "Properties", "kind": 1024, "children": [ - 214, - 301, - 189, - 184, - 296, - 294, - 204, - 209, 219, - 300, - 302, + 309, 194, + 189, + 304, + 302, + 209, + 214, + 224, + 308, + 310, + 311, 199, - 295 + 204, + 303 ] }, { "title": "Methods", "kind": 2048, "children": [ - 185, - 180, - 292, - 140, - 256, - 228, - 148, - 152, - 168, - 176, - 172, - 164, - 275, - 156, - 160, - 261, - 290, - 144, - 129, - 134, - 267, - 215, - 242, - 235, - 281, - 210, - 195, - 200, + 293, 190, - 205, - 264, - 288, + 185, + 300, + 145, + 261, + 233, + 153, + 157, + 173, + 181, + 177, + 169, + 280, + 161, + 165, + 266, + 298, + 149, + 134, + 139, + 272, 220, - 308, - 306, - 249 + 247, + 240, + 286, + 215, + 200, + 205, + 195, + 210, + 269, + 296, + 225, + 317, + 315, + 254 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 31, + "line": 53, "character": 43 } ], "extendedTypes": [ { "type": "reference", - "id": 68, + "id": 69, "typeArguments": [ { "type": "typeParameter", @@ -27271,7 +27650,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -27286,7 +27665,7 @@ ] }, { - "id": 320, + "id": 329, "name": "FilterOperator", "kind": 4194304, "kindString": "Type alias", @@ -27391,6 +27770,94 @@ { "type": "stringLiteral", "value": "wfts" + }, + { + "type": "stringLiteral", + "value": "not.eq" + }, + { + "type": "stringLiteral", + "value": "not.neq" + }, + { + "type": "stringLiteral", + "value": "not.gt" + }, + { + "type": "stringLiteral", + "value": "not.gte" + }, + { + "type": "stringLiteral", + "value": "not.lt" + }, + { + "type": "stringLiteral", + "value": "not.lte" + }, + { + "type": "stringLiteral", + "value": "not.like" + }, + { + "type": "stringLiteral", + "value": "not.ilike" + }, + { + "type": "stringLiteral", + "value": "not.is" + }, + { + "type": "stringLiteral", + "value": "not.in" + }, + { + "type": "stringLiteral", + "value": "not.cs" + }, + { + "type": "stringLiteral", + "value": "not.cd" + }, + { + "type": "stringLiteral", + "value": "not.sl" + }, + { + "type": "stringLiteral", + "value": "not.sr" + }, + { + "type": "stringLiteral", + "value": "not.nxl" + }, + { + "type": "stringLiteral", + "value": "not.nxr" + }, + { + "type": "stringLiteral", + "value": "not.adj" + }, + { + "type": "stringLiteral", + "value": "not.ov" + }, + { + "type": "stringLiteral", + "value": "not.fts" + }, + { + "type": "stringLiteral", + "value": "not.plfts" + }, + { + "type": "stringLiteral", + "value": "not.phfts" + }, + { + "type": "stringLiteral", + "value": "not.wfts" } ] } @@ -27401,14 +27868,14 @@ "title": "Classes", "kind": 128, "children": [ - 127 + 132 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 320 + 329 ] } ], @@ -27421,7 +27888,7 @@ ] }, { - "id": 321, + "id": 330, "name": "\"lib/PostgrestQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -27431,7 +27898,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts", "children": [ { - "id": 322, + "id": 331, "name": "PostgrestQueryBuilder", "kind": 128, "kindString": "Class", @@ -27440,7 +27907,7 @@ }, "typeParameter": [ { - "id": 323, + "id": 332, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -27451,7 +27918,7 @@ ], "children": [ { - "id": 324, + "id": 333, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -27460,7 +27927,7 @@ }, "signatures": [ { - "id": 325, + "id": 334, "name": "new PostgrestQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -27469,7 +27936,7 @@ }, "parameters": [ { - "id": 326, + "id": 335, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -27482,7 +27949,7 @@ } }, { - "id": 327, + "id": 336, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -27493,7 +27960,7 @@ "type": { "type": "reflection", "declaration": { - "id": 328, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -27502,7 +27969,7 @@ }, "children": [ { - "id": 329, + "id": 338, "name": "headers", "kind": 32, "kindString": "Variable", @@ -27519,7 +27986,7 @@ "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -27528,7 +27995,7 @@ }, "indexSignature": [ { - "id": 331, + "id": 340, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -27537,7 +28004,7 @@ }, "parameters": [ { - "id": 332, + "id": 341, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -27560,7 +28027,7 @@ } }, { - "id": 333, + "id": 342, "name": "schema", "kind": 32, "kindString": "Variable", @@ -27594,8 +28061,8 @@ "title": "Variables", "kind": 32, "children": [ - 329, - 333 + 338, + 342 ] } ], @@ -27613,12 +28080,12 @@ ], "type": { "type": "reference", - "id": 322, + "id": 331, "name": "PostgrestQueryBuilder" }, "overwrites": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } } @@ -27632,12 +28099,12 @@ ], "overwrites": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } }, { - "id": 385, + "id": 394, "name": "body", "kind": 1024, "kindString": "Property", @@ -27688,7 +28155,7 @@ } }, { - "id": 380, + "id": 389, "name": "headers", "kind": 1024, "kindString": "Property", @@ -27706,7 +28173,7 @@ "type": { "type": "reflection", "declaration": { - "id": 381, + "id": 390, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -27715,7 +28182,7 @@ }, "indexSignature": [ { - "id": 382, + "id": 391, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -27724,7 +28191,7 @@ }, "parameters": [ { - "id": 383, + "id": 392, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -27759,7 +28226,7 @@ } }, { - "id": 378, + "id": 387, "name": "method", "kind": 1024, "kindString": "Property", @@ -27806,7 +28273,7 @@ } }, { - "id": 384, + "id": 393, "name": "schema", "kind": 1024, "kindString": "Property", @@ -27842,10 +28309,37 @@ } }, { - "id": 386, + "id": 395, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 57, + "character": 30 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 37, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 396, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -27854,35 +28348,22 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 30 + "line": 58, + "character": 18 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 38, + "name": "PostgrestBuilder.signal" } }, { - "id": 379, + "id": 388, "name": "url", "kind": 1024, "kindString": "Property", @@ -27908,7 +28389,7 @@ } }, { - "id": 372, + "id": 381, "name": "delete", "kind": 2048, "kindString": "Method", @@ -27917,7 +28398,7 @@ }, "signatures": [ { - "id": 373, + "id": 382, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -27929,7 +28410,7 @@ }, "parameters": [ { - "id": 374, + "id": 383, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -27940,7 +28421,7 @@ "type": { "type": "reflection", "declaration": { - "id": 375, + "id": 384, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -27949,7 +28430,7 @@ }, "children": [ { - "id": 377, + "id": 386, "name": "count", "kind": 32, "kindString": "Variable", @@ -27990,7 +28471,7 @@ "defaultValue": "null" }, { - "id": 376, + "id": 385, "name": "returning", "kind": 32, "kindString": "Variable", @@ -28028,8 +28509,8 @@ "title": "Variables", "kind": 32, "children": [ - 377, - 376 + 386, + 385 ] } ], @@ -28047,7 +28528,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -28067,7 +28548,7 @@ ] }, { - "id": 341, + "id": 350, "name": "insert", "kind": 2048, "kindString": "Method", @@ -28076,7 +28557,7 @@ }, "signatures": [ { - "id": 342, + "id": 351, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -28088,7 +28569,7 @@ }, "parameters": [ { - "id": 343, + "id": 352, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -28128,7 +28609,7 @@ } }, { - "id": 344, + "id": 353, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -28146,7 +28627,7 @@ { "type": "reflection", "declaration": { - "id": 345, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28155,7 +28636,7 @@ }, "children": [ { - "id": 347, + "id": 356, "name": "count", "kind": 32, "kindString": "Variable", @@ -28193,7 +28674,7 @@ } }, { - "id": 346, + "id": 355, "name": "returning", "kind": 32, "kindString": "Variable", @@ -28228,8 +28709,8 @@ "title": "Variables", "kind": 32, "children": [ - 347, - 346 + 356, + 355 ] } ] @@ -28241,7 +28722,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -28252,7 +28733,7 @@ } }, { - "id": 348, + "id": 357, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -28269,7 +28750,7 @@ }, "parameters": [ { - "id": 349, + "id": 358, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -28306,7 +28787,7 @@ } }, { - "id": 350, + "id": 359, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -28324,7 +28805,7 @@ { "type": "reflection", "declaration": { - "id": 351, + "id": 360, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28333,7 +28814,7 @@ }, "children": [ { - "id": 355, + "id": 364, "name": "count", "kind": 32, "kindString": "Variable", @@ -28371,7 +28852,7 @@ } }, { - "id": 353, + "id": 362, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -28401,7 +28882,7 @@ } }, { - "id": 354, + "id": 363, "name": "returning", "kind": 32, "kindString": "Variable", @@ -28431,7 +28912,7 @@ } }, { - "id": 352, + "id": 361, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -28470,10 +28951,10 @@ "title": "Variables", "kind": 32, "children": [ - 355, - 353, - 354, - 352 + 364, + 362, + 363, + 361 ] } ] @@ -28485,7 +28966,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -28515,7 +28996,7 @@ ] }, { - "id": 334, + "id": 343, "name": "select", "kind": 2048, "kindString": "Method", @@ -28524,7 +29005,7 @@ }, "signatures": [ { - "id": 335, + "id": 344, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -28536,7 +29017,7 @@ }, "parameters": [ { - "id": 336, + "id": 345, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -28553,7 +29034,7 @@ "defaultValue": "\"*\"" }, { - "id": 337, + "id": 346, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -28564,7 +29045,7 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 347, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28573,7 +29054,7 @@ }, "children": [ { - "id": 340, + "id": 349, "name": "count", "kind": 32, "kindString": "Variable", @@ -28614,7 +29095,7 @@ "defaultValue": "null" }, { - "id": 339, + "id": 348, "name": "head", "kind": 32, "kindString": "Variable", @@ -28643,8 +29124,8 @@ "title": "Variables", "kind": 32, "children": [ - 340, - 339 + 349, + 348 ] } ], @@ -28662,7 +29143,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -28682,7 +29163,7 @@ ] }, { - "id": 389, + "id": 399, "name": "then", "kind": 2048, "kindString": "Method", @@ -28691,7 +29172,7 @@ }, "signatures": [ { - "id": 390, + "id": 400, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -28700,7 +29181,7 @@ }, "typeParameter": [ { - "id": 391, + "id": 401, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -28709,7 +29190,7 @@ } }, { - "id": 392, + "id": 402, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -28720,7 +29201,7 @@ ], "parameters": [ { - "id": 393, + "id": 403, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -28734,7 +29215,7 @@ { "type": "reflection", "declaration": { - "id": 394, + "id": 404, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28743,7 +29224,7 @@ }, "signatures": [ { - "id": 395, + "id": 405, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -28752,7 +29233,7 @@ }, "parameters": [ { - "id": 396, + "id": 406, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -28761,7 +29242,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -28816,7 +29297,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -28834,7 +29315,7 @@ } }, { - "id": 397, + "id": 407, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -28848,7 +29329,7 @@ { "type": "reflection", "declaration": { - "id": 398, + "id": 408, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28857,7 +29338,7 @@ }, "signatures": [ { - "id": 399, + "id": 409, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -28866,7 +29347,7 @@ }, "parameters": [ { - "id": 400, + "id": 410, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -28911,7 +29392,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -28964,7 +29445,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } } @@ -28972,18 +29453,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } }, { - "id": 387, + "id": 397, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -28992,7 +29473,7 @@ }, "signatures": [ { - "id": 388, + "id": 398, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -29016,7 +29497,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -29024,18 +29505,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 365, + "id": 374, "name": "update", "kind": 2048, "kindString": "Method", @@ -29044,7 +29525,7 @@ }, "signatures": [ { - "id": 366, + "id": 375, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -29056,7 +29537,7 @@ }, "parameters": [ { - "id": 367, + "id": 376, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -29078,7 +29559,7 @@ } }, { - "id": 368, + "id": 377, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -29089,7 +29570,7 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 378, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29098,7 +29579,7 @@ }, "children": [ { - "id": 371, + "id": 380, "name": "count", "kind": 32, "kindString": "Variable", @@ -29139,7 +29620,7 @@ "defaultValue": "null" }, { - "id": 370, + "id": 379, "name": "returning", "kind": 32, "kindString": "Variable", @@ -29177,8 +29658,8 @@ "title": "Variables", "kind": 32, "children": [ - 371, - 370 + 380, + 379 ] } ], @@ -29196,7 +29677,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -29216,7 +29697,7 @@ ] }, { - "id": 356, + "id": 365, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -29225,7 +29706,7 @@ }, "signatures": [ { - "id": 357, + "id": 366, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -29237,7 +29718,7 @@ }, "parameters": [ { - "id": 358, + "id": 367, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -29277,7 +29758,7 @@ } }, { - "id": 359, + "id": 368, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -29288,7 +29769,7 @@ "type": { "type": "reflection", "declaration": { - "id": 360, + "id": 369, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29297,7 +29778,7 @@ }, "children": [ { - "id": 363, + "id": 372, "name": "count", "kind": 32, "kindString": "Variable", @@ -29338,7 +29819,7 @@ "defaultValue": "null" }, { - "id": 364, + "id": 373, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -29362,7 +29843,7 @@ "defaultValue": "false" }, { - "id": 361, + "id": 370, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -29394,7 +29875,7 @@ } }, { - "id": 362, + "id": 371, "name": "returning", "kind": 32, "kindString": "Variable", @@ -29432,10 +29913,10 @@ "title": "Variables", "kind": 32, "children": [ - 363, - 364, - 361, - 362 + 372, + 373, + 370, + 371 ] } ], @@ -29453,7 +29934,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -29478,32 +29959,33 @@ "title": "Constructors", "kind": 512, "children": [ - 324 + 333 ] }, { "title": "Properties", "kind": 1024, "children": [ - 385, - 380, - 378, - 384, - 386, - 379 + 394, + 389, + 387, + 393, + 395, + 396, + 388 ] }, { "title": "Methods", "kind": 2048, "children": [ - 372, - 341, - 334, - 389, - 387, - 365, - 356 + 381, + 350, + 343, + 399, + 397, + 374, + 365 ] } ], @@ -29533,7 +30015,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -29553,7 +30035,7 @@ "title": "Classes", "kind": 128, "children": [ - 322 + 331 ] } ], @@ -29566,7 +30048,7 @@ ] }, { - "id": 401, + "id": 411, "name": "\"lib/PostgrestRpcBuilder\"", "kind": 1, "kindString": "Module", @@ -29576,7 +30058,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts", "children": [ { - "id": 402, + "id": 412, "name": "PostgrestRpcBuilder", "kind": 128, "kindString": "Class", @@ -29585,7 +30067,7 @@ }, "typeParameter": [ { - "id": 403, + "id": 413, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -29596,7 +30078,7 @@ ], "children": [ { - "id": 404, + "id": 414, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -29605,7 +30087,7 @@ }, "signatures": [ { - "id": 405, + "id": 415, "name": "new PostgrestRpcBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -29614,7 +30096,7 @@ }, "parameters": [ { - "id": 406, + "id": 416, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -29627,7 +30109,7 @@ } }, { - "id": 407, + "id": 417, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -29638,7 +30120,7 @@ "type": { "type": "reflection", "declaration": { - "id": 408, + "id": 418, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29647,7 +30129,7 @@ }, "children": [ { - "id": 409, + "id": 419, "name": "headers", "kind": 32, "kindString": "Variable", @@ -29664,7 +30146,7 @@ "type": { "type": "reflection", "declaration": { - "id": 410, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29673,7 +30155,7 @@ }, "indexSignature": [ { - "id": 411, + "id": 421, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -29682,7 +30164,7 @@ }, "parameters": [ { - "id": 412, + "id": 422, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -29705,7 +30187,7 @@ } }, { - "id": 413, + "id": 423, "name": "schema", "kind": 32, "kindString": "Variable", @@ -29739,8 +30221,8 @@ "title": "Variables", "kind": 32, "children": [ - 409, - 413 + 419, + 423 ] } ], @@ -29758,12 +30240,12 @@ ], "type": { "type": "reference", - "id": 402, + "id": 412, "name": "PostgrestRpcBuilder" }, "overwrites": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } } @@ -29777,12 +30259,12 @@ ], "overwrites": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } }, { - "id": 427, + "id": 438, "name": "body", "kind": 1024, "kindString": "Property", @@ -29833,7 +30315,7 @@ } }, { - "id": 422, + "id": 433, "name": "headers", "kind": 1024, "kindString": "Property", @@ -29851,7 +30333,7 @@ "type": { "type": "reflection", "declaration": { - "id": 423, + "id": 434, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29860,7 +30342,7 @@ }, "indexSignature": [ { - "id": 424, + "id": 435, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -29869,7 +30351,7 @@ }, "parameters": [ { - "id": 425, + "id": 436, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -29904,7 +30386,7 @@ } }, { - "id": 420, + "id": 431, "name": "method", "kind": 1024, "kindString": "Property", @@ -29951,7 +30433,7 @@ } }, { - "id": 426, + "id": 437, "name": "schema", "kind": 1024, "kindString": "Property", @@ -29987,10 +30469,37 @@ } }, { - "id": 428, + "id": 439, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 57, + "character": 30 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 37, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 440, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -29999,35 +30508,22 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 30 + "line": 58, + "character": 18 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 38, + "name": "PostgrestBuilder.signal" } }, { - "id": 421, + "id": 432, "name": "url", "kind": 1024, "kindString": "Property", @@ -30053,7 +30549,7 @@ } }, { - "id": 414, + "id": 424, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -30062,7 +30558,7 @@ }, "signatures": [ { - "id": 415, + "id": 425, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -30074,7 +30570,7 @@ }, "parameters": [ { - "id": 416, + "id": 426, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -30097,7 +30593,7 @@ } }, { - "id": 417, + "id": 427, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -30108,7 +30604,7 @@ "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 428, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30117,7 +30613,7 @@ }, "children": [ { - "id": 419, + "id": 430, "name": "count", "kind": 32, "kindString": "Variable", @@ -30127,7 +30623,7 @@ "sources": [ { "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 21, + "line": 22, "character": 11 } ], @@ -30153,6 +30649,27 @@ ] }, "defaultValue": "null" + }, + { + "id": 429, + "name": "head", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/PostgrestRpcBuilder.ts", + "line": 21, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" } ], "groups": [ @@ -30160,7 +30677,8 @@ "title": "Variables", "kind": 32, "children": [ - 419 + 430, + 429 ] } ], @@ -30178,7 +30696,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -30198,7 +30716,7 @@ ] }, { - "id": 431, + "id": 443, "name": "then", "kind": 2048, "kindString": "Method", @@ -30207,7 +30725,7 @@ }, "signatures": [ { - "id": 432, + "id": 444, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -30216,7 +30734,7 @@ }, "typeParameter": [ { - "id": 433, + "id": 445, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -30225,7 +30743,7 @@ } }, { - "id": 434, + "id": 446, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -30236,7 +30754,7 @@ ], "parameters": [ { - "id": 435, + "id": 447, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -30250,7 +30768,7 @@ { "type": "reflection", "declaration": { - "id": 436, + "id": 448, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30259,7 +30777,7 @@ }, "signatures": [ { - "id": 437, + "id": 449, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -30268,7 +30786,7 @@ }, "parameters": [ { - "id": 438, + "id": 450, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -30277,7 +30795,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -30332,7 +30850,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -30350,7 +30868,7 @@ } }, { - "id": 439, + "id": 451, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -30364,7 +30882,7 @@ { "type": "reflection", "declaration": { - "id": 440, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30373,7 +30891,7 @@ }, "signatures": [ { - "id": 441, + "id": 453, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -30382,7 +30900,7 @@ }, "parameters": [ { - "id": 442, + "id": 454, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -30427,7 +30945,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -30480,7 +30998,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } } @@ -30488,18 +31006,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } }, { - "id": 429, + "id": 441, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -30508,7 +31026,7 @@ }, "signatures": [ { - "id": 430, + "id": 442, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -30532,7 +31050,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -30540,13 +31058,13 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -30556,28 +31074,29 @@ "title": "Constructors", "kind": 512, "children": [ - 404 + 414 ] }, { "title": "Properties", "kind": 1024, "children": [ - 427, - 422, - 420, - 426, - 428, - 421 + 438, + 433, + 431, + 437, + 439, + 440, + 432 ] }, { "title": "Methods", "kind": 2048, "children": [ - 414, - 431, - 429 + 424, + 443, + 441 ] } ], @@ -30607,7 +31126,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -30627,7 +31146,7 @@ "title": "Classes", "kind": 128, "children": [ - 402 + 412 ] } ], @@ -30640,7 +31159,7 @@ ] }, { - "id": 67, + "id": 68, "name": "\"lib/PostgrestTransformBuilder\"", "kind": 1, "kindString": "Module", @@ -30650,7 +31169,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts", "children": [ { - "id": 68, + "id": 69, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", @@ -30662,7 +31181,7 @@ }, "typeParameter": [ { - "id": 69, + "id": 70, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -30673,7 +31192,7 @@ ], "children": [ { - "id": 109, + "id": 114, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -30682,7 +31201,7 @@ }, "signatures": [ { - "id": 110, + "id": 115, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -30691,7 +31210,7 @@ }, "parameters": [ { - "id": 111, + "id": 116, "name": "builder", "kind": 32768, "kindString": "Parameter", @@ -30713,12 +31232,12 @@ ], "type": { "type": "reference", - "id": 68, + "id": 69, "name": "PostgrestTransformBuilder" }, "inheritedFrom": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } } @@ -30726,18 +31245,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 40 + "line": 58, + "character": 32 } ], "inheritedFrom": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } }, { - "id": 107, + "id": 111, "name": "body", "kind": 1024, "kindString": "Property", @@ -30788,7 +31307,7 @@ } }, { - "id": 102, + "id": 106, "name": "headers", "kind": 1024, "kindString": "Property", @@ -30806,7 +31325,7 @@ "type": { "type": "reflection", "declaration": { - "id": 103, + "id": 107, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30815,7 +31334,7 @@ }, "indexSignature": [ { - "id": 104, + "id": 108, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -30824,7 +31343,7 @@ }, "parameters": [ { - "id": 105, + "id": 109, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -30859,7 +31378,7 @@ } }, { - "id": 100, + "id": 104, "name": "method", "kind": 1024, "kindString": "Property", @@ -30906,7 +31425,7 @@ } }, { - "id": 106, + "id": 110, "name": "schema", "kind": 1024, "kindString": "Property", @@ -30942,10 +31461,37 @@ } }, { - "id": 108, + "id": 112, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 57, + "character": 30 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 37, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 113, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -30954,35 +31500,22 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 30 + "line": 58, + "character": 18 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 38, + "name": "PostgrestBuilder.signal" } }, { - "id": 101, + "id": 105, "name": "url", "kind": 1024, "kindString": "Property", @@ -31008,7 +31541,56 @@ } }, { - "id": 98, + "id": 95, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 96, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Sets the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 97, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestTransformBuilder.ts", + "line": 91, + "character": 13 + } + ] + }, + { + "id": 102, "name": "csv", "kind": 2048, "kindString": "Method", @@ -31017,7 +31599,7 @@ }, "signatures": [ { - "id": 99, + "id": 103, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -31032,7 +31614,7 @@ "typeArguments": [ { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "intrinsic", @@ -31049,13 +31631,13 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 126, + "line": 134, "character": 5 } ] }, { - "id": 81, + "id": 82, "name": "limit", "kind": 2048, "kindString": "Method", @@ -31064,7 +31646,7 @@ }, "signatures": [ { - "id": 82, + "id": 83, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -31076,7 +31658,7 @@ }, "parameters": [ { - "id": 83, + "id": 84, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -31092,7 +31674,7 @@ } }, { - "id": 84, + "id": 85, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -31103,7 +31685,7 @@ "type": { "type": "reflection", "declaration": { - "id": 85, + "id": 86, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -31112,7 +31694,7 @@ }, "children": [ { - "id": 86, + "id": 87, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -31149,7 +31731,7 @@ "title": "Variables", "kind": 32, "children": [ - 86 + 87 ] } ], @@ -31180,7 +31762,7 @@ ] }, { - "id": 96, + "id": 100, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -31189,7 +31771,7 @@ }, "signatures": [ { - "id": 97, + "id": 101, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -31204,7 +31786,7 @@ "typeArguments": [ { "type": "reference", - "id": 65, + "id": 66, "typeArguments": [ { "type": "typeParameter", @@ -31221,13 +31803,13 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 102, + "line": 110, "character": 13 } ] }, { - "id": 73, + "id": 74, "name": "order", "kind": 2048, "kindString": "Method", @@ -31236,7 +31818,7 @@ }, "signatures": [ { - "id": 74, + "id": 75, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -31248,7 +31830,7 @@ }, "parameters": [ { - "id": 75, + "id": 76, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -31268,7 +31850,7 @@ } }, { - "id": 76, + "id": 77, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -31279,7 +31861,7 @@ "type": { "type": "reflection", "declaration": { - "id": 77, + "id": 78, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -31288,7 +31870,7 @@ }, "children": [ { - "id": 78, + "id": 79, "name": "ascending", "kind": 32, "kindString": "Variable", @@ -31312,7 +31894,7 @@ "defaultValue": "true" }, { - "id": 80, + "id": 81, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -31344,7 +31926,7 @@ } }, { - "id": 79, + "id": 80, "name": "nullsFirst", "kind": 32, "kindString": "Variable", @@ -31373,9 +31955,9 @@ "title": "Variables", "kind": 32, "children": [ - 78, - 80, - 79 + 79, + 81, + 80 ] } ], @@ -31406,7 +31988,7 @@ ] }, { - "id": 87, + "id": 88, "name": "range", "kind": 2048, "kindString": "Method", @@ -31415,7 +31997,7 @@ }, "signatures": [ { - "id": 88, + "id": 89, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -31427,7 +32009,7 @@ }, "parameters": [ { - "id": 89, + "id": 90, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -31443,7 +32025,7 @@ } }, { - "id": 90, + "id": 91, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -31459,7 +32041,7 @@ } }, { - "id": 91, + "id": 92, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -31470,7 +32052,7 @@ "type": { "type": "reflection", "declaration": { - "id": 92, + "id": 93, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -31479,7 +32061,7 @@ }, "children": [ { - "id": 93, + "id": 94, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -31516,7 +32098,7 @@ "title": "Variables", "kind": 32, "children": [ - 93 + 94 ] } ], @@ -31547,7 +32129,7 @@ ] }, { - "id": 70, + "id": 71, "name": "select", "kind": 2048, "kindString": "Method", @@ -31556,7 +32138,7 @@ }, "signatures": [ { - "id": 71, + "id": 72, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -31568,7 +32150,7 @@ }, "parameters": [ { - "id": 72, + "id": 73, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -31600,7 +32182,7 @@ ] }, { - "id": 94, + "id": 98, "name": "single", "kind": 2048, "kindString": "Method", @@ -31609,7 +32191,7 @@ }, "signatures": [ { - "id": 95, + "id": 99, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -31624,7 +32206,7 @@ "typeArguments": [ { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "typeParameter", @@ -31641,13 +32223,13 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 92, + "line": 100, "character": 8 } ] }, { - "id": 114, + "id": 119, "name": "then", "kind": 2048, "kindString": "Method", @@ -31656,7 +32238,7 @@ }, "signatures": [ { - "id": 115, + "id": 120, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -31665,7 +32247,7 @@ }, "typeParameter": [ { - "id": 116, + "id": 121, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -31674,7 +32256,7 @@ } }, { - "id": 117, + "id": 122, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -31685,7 +32267,7 @@ ], "parameters": [ { - "id": 118, + "id": 123, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -31699,7 +32281,7 @@ { "type": "reflection", "declaration": { - "id": 119, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -31708,7 +32290,7 @@ }, "signatures": [ { - "id": 120, + "id": 125, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -31717,7 +32299,7 @@ }, "parameters": [ { - "id": 121, + "id": 126, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -31726,7 +32308,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -31781,7 +32363,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -31799,7 +32381,7 @@ } }, { - "id": 122, + "id": 127, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -31813,7 +32395,7 @@ { "type": "reflection", "declaration": { - "id": 123, + "id": 128, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -31822,7 +32404,7 @@ }, "signatures": [ { - "id": 124, + "id": 129, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -31831,7 +32413,7 @@ }, "parameters": [ { - "id": 125, + "id": 130, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -31876,7 +32458,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -31929,7 +32511,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } } @@ -31937,18 +32519,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } }, { - "id": 112, + "id": 117, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -31957,7 +32539,7 @@ }, "signatures": [ { - "id": 113, + "id": 118, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -31981,7 +32563,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -31989,13 +32571,13 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -32005,34 +32587,36 @@ "title": "Constructors", "kind": 512, "children": [ - 109 + 114 ] }, { "title": "Properties", "kind": 1024, "children": [ - 107, - 102, - 100, + 111, 106, - 108, - 101 + 104, + 110, + 112, + 113, + 105 ] }, { "title": "Methods", "kind": 2048, "children": [ + 95, + 102, + 82, + 100, + 74, + 88, + 71, 98, - 81, - 96, - 73, - 87, - 70, - 94, - 114, - 112 + 119, + 117 ] } ], @@ -32059,7 +32643,7 @@ "extendedBy": [ { "type": "reference", - "id": 127, + "id": 132, "name": "PostgrestFilterBuilder" } ], @@ -32069,7 +32653,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -32089,7 +32673,7 @@ "title": "Classes", "kind": 128, "children": [ - 68 + 69 ] } ], @@ -32102,7 +32686,7 @@ ] }, { - "id": 445, + "id": 457, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -32112,7 +32696,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/constants.ts", "children": [ { - "id": 446, + "id": 458, "name": "DEFAULT_HEADERS", "kind": 2097152, "kindString": "Object literal", @@ -32122,7 +32706,7 @@ }, "children": [ { - "id": 447, + "id": 459, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -32148,7 +32732,7 @@ "title": "Variables", "kind": 32, "children": [ - 447 + 459 ] } ], @@ -32170,7 +32754,7 @@ "title": "Object literals", "kind": 2097152, "children": [ - 446 + 458 ] } ], @@ -32214,7 +32798,7 @@ ], "children": [ { - "id": 38, + "id": 39, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -32223,7 +32807,7 @@ }, "signatures": [ { - "id": 39, + "id": 40, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -32232,7 +32816,7 @@ }, "parameters": [ { - "id": 40, + "id": 41, "name": "builder", "kind": 32768, "kindString": "Parameter", @@ -32262,8 +32846,8 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 40 + "line": 58, + "character": 32 } ] }, @@ -32459,8 +33043,7 @@ "kindString": "Property", "flags": { "isProtected": true, - "isExported": true, - "isOptional": true + "isExported": true }, "sources": [ { @@ -32470,21 +33053,31 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 38, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 58, + "character": 18 + } + ], + "type": { + "type": "reference", + "name": "AbortSignal" } }, { @@ -32509,7 +33102,7 @@ } }, { - "id": 43, + "id": 44, "name": "then", "kind": 2048, "kindString": "Method", @@ -32518,7 +33111,7 @@ }, "signatures": [ { - "id": 44, + "id": 45, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -32527,7 +33120,7 @@ }, "typeParameter": [ { - "id": 45, + "id": 46, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -32536,7 +33129,7 @@ } }, { - "id": 46, + "id": 47, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -32547,7 +33140,7 @@ ], "parameters": [ { - "id": 47, + "id": 48, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -32561,7 +33154,7 @@ { "type": "reflection", "declaration": { - "id": 48, + "id": 49, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -32570,7 +33163,7 @@ }, "signatures": [ { - "id": 49, + "id": 50, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -32579,7 +33172,7 @@ }, "parameters": [ { - "id": 50, + "id": 51, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -32588,7 +33181,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -32643,7 +33236,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -32661,7 +33254,7 @@ } }, { - "id": 51, + "id": 52, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -32675,7 +33268,7 @@ { "type": "reflection", "declaration": { - "id": 52, + "id": 53, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -32684,7 +33277,7 @@ }, "signatures": [ { - "id": 53, + "id": 54, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -32693,7 +33286,7 @@ }, "parameters": [ { - "id": 54, + "id": 55, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -32738,7 +33331,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -32794,13 +33387,13 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ] }, { - "id": 41, + "id": 42, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -32809,7 +33402,7 @@ }, "signatures": [ { - "id": 42, + "id": 43, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -32836,7 +33429,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ] @@ -32847,7 +33440,7 @@ "title": "Constructors", "kind": 512, "children": [ - 38 + 39 ] }, { @@ -32859,6 +33452,7 @@ 29, 35, 37, + 38, 30 ] }, @@ -32866,8 +33460,8 @@ "title": "Methods", "kind": 2048, "children": [ - 43, - 41 + 44, + 42 ] } ], @@ -32881,17 +33475,17 @@ "extendedBy": [ { "type": "reference", - "id": 68, + "id": 69, "name": "PostgrestTransformBuilder" }, { "type": "reference", - "id": 322, + "id": 331, "name": "PostgrestQueryBuilder" }, { "type": "reference", - "id": 402, + "id": 412, "name": "PostgrestRpcBuilder" } ], @@ -32901,7 +33495,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -33074,7 +33668,7 @@ ], "type": { "type": "reference", - "id": 55, + "id": 56, "name": "PostgrestError" } }, @@ -33479,7 +34073,7 @@ ] }, { - "id": 55, + "id": 56, "name": "PostgrestError", "kind": 4194304, "kindString": "Type alias", @@ -33500,7 +34094,7 @@ "type": { "type": "reflection", "declaration": { - "id": 56, + "id": 57, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -33509,7 +34103,7 @@ }, "children": [ { - "id": 60, + "id": 61, "name": "code", "kind": 32, "kindString": "Variable", @@ -33529,7 +34123,7 @@ } }, { - "id": 58, + "id": 59, "name": "details", "kind": 32, "kindString": "Variable", @@ -33549,7 +34143,7 @@ } }, { - "id": 59, + "id": 60, "name": "hint", "kind": 32, "kindString": "Variable", @@ -33569,7 +34163,7 @@ } }, { - "id": 57, + "id": 58, "name": "message", "kind": 32, "kindString": "Variable", @@ -33594,10 +34188,10 @@ "title": "Variables", "kind": 32, "children": [ - 60, - 58, + 61, 59, - 57 + 60, + 58 ] } ], @@ -33612,7 +34206,7 @@ } }, { - "id": 65, + "id": 66, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -33621,7 +34215,7 @@ }, "typeParameter": [ { - "id": 66, + "id": 67, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -33639,7 +34233,7 @@ ], "type": { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "union", @@ -33659,7 +34253,7 @@ } }, { - "id": 61, + "id": 62, "name": "PostgrestResponse", "kind": 4194304, "kindString": "Type alias", @@ -33668,7 +34262,7 @@ }, "typeParameter": [ { - "id": 62, + "id": 63, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -33707,7 +34301,7 @@ } }, { - "id": 63, + "id": 64, "name": "PostgrestSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -33716,7 +34310,7 @@ }, "typeParameter": [ { - "id": 64, + "id": 65, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -33777,10 +34371,10 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 55, - 65, - 61, - 63 + 56, + 66, + 62, + 64 ] } ], @@ -33793,7 +34387,7 @@ ] }, { - "id": 443, + "id": 455, "name": "\"lib/version\"", "kind": 1, "kindString": "Module", @@ -33803,7 +34397,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/version.ts", "children": [ { - "id": 444, + "id": 456, "name": "version", "kind": 32, "kindString": "Variable", @@ -33830,7 +34424,7 @@ "title": "Variables", "kind": 32, "children": [ - 444 + 456 ] } ], @@ -33848,15 +34442,15 @@ "title": "Modules", "kind": 1, "children": [ - 448, - 481, - 126, - 321, - 401, - 67, - 445, + 460, + 494, + 131, + 330, + 411, + 68, + 457, 1, - 443 + 455 ] } ] @@ -37875,7 +38469,7 @@ ] }, { - "id": 419, + "id": 407, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -40608,7 +41202,7 @@ }, { "id": 352, - "name": "time", + "name": "text", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -40621,11 +41215,11 @@ "character": 6 } ], - "defaultValue": "\"time\"" + "defaultValue": "\"text\"" }, { "id": 353, - "name": "timestamp", + "name": "time", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -40635,14 +41229,14 @@ { "fileName": "lib/transformers.ts", "line": 27, - "character": 11 + "character": 6 } ], - "defaultValue": "\"timestamp\"" + "defaultValue": "\"time\"" }, { "id": 354, - "name": "timestamptz", + "name": "timestamp", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -40652,14 +41246,14 @@ { "fileName": "lib/transformers.ts", "line": 28, - "character": 13 + "character": 11 } ], - "defaultValue": "\"timestamptz\"" + "defaultValue": "\"timestamp\"" }, { "id": 355, - "name": "timetz", + "name": "timestamptz", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -40669,14 +41263,14 @@ { "fileName": "lib/transformers.ts", "line": 29, - "character": 8 + "character": 13 } ], - "defaultValue": "\"timetz\"" + "defaultValue": "\"timestamptz\"" }, { "id": 356, - "name": "tsrange", + "name": "timetz", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -40686,14 +41280,14 @@ { "fileName": "lib/transformers.ts", "line": 30, - "character": 9 + "character": 8 } ], - "defaultValue": "\"tsrange\"" + "defaultValue": "\"timetz\"" }, { "id": 357, - "name": "tstzrange", + "name": "tsrange", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -40703,6 +41297,23 @@ { "fileName": "lib/transformers.ts", "line": 31, + "character": 9 + } + ], + "defaultValue": "\"tsrange\"" + }, + { + "id": 358, + "name": "tstzrange", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 32, "character": 11 } ], @@ -40736,7 +41347,8 @@ 354, 355, 356, - 357 + 357, + 358 ] } ], @@ -40749,156 +41361,207 @@ ] }, { - "id": 358, - "name": "Column", + "id": 365, + "name": "BaseValue", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "lib/transformers.ts", - "line": 34, + "line": 42, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "null" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 359, + "name": "Columns", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 35, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 360, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 363, + "name": "flags", + "kind": 32, + "kindString": "Variable", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 38, + "character": 7 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 361, + "name": "name", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 36, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 362, + "name": "type", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 37, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 364, + "name": "type_modifier", + "kind": 32, + "kindString": "Variable", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 363, + 361, + 362, + 364 + ] + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 35, + "character": 14 + } + ] + } + } + } + }, + { + "id": 367, + "name": "Record", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 45, "character": 11 } ], "type": { "type": "reflection", "declaration": { - "id": 359, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 360, - "name": "flags", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 35, - "character": 7 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 361, - "name": "name", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 36, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 362, - "name": "type", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 37, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 363, - "name": "type_modifier", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 38, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 360, - 361, - 362, - 363 - ] - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 34, - "character": 13 - } - ] - } - } - }, - { - "id": 364, - "name": "Records", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 41, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 365, + "id": 368, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": [ { - "id": 366, + "id": 369, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 367, + "id": 370, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -40910,21 +41573,54 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 41, - "character": 14 + "line": 45, + "character": 13 } ] } } }, + { + "id": 366, + "name": "RecordValue", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 43, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 365, + "name": "BaseValue" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 365, + "name": "BaseValue" + } + } + ] + } + }, { "id": 384, "name": "convertCell", @@ -40996,37 +41692,36 @@ }, { "id": 387, - "name": "stringValue", + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, - "comment": { - "shortText": "The cell value\n" - }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 112, + "line": 118, "character": 24 } ] }, { - "id": 368, + "id": 371, "name": "convertChangeData", "kind": 64, "kindString": "Function", @@ -41045,7 +41740,7 @@ }, "signatures": [ { - "id": 369, + "id": 372, "name": "convertChangeData", "kind": 4096, "kindString": "Call signature", @@ -41063,7 +41758,7 @@ }, "parameters": [ { - "id": 370, + "id": 373, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -41071,17 +41766,14 @@ "isExported": true }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 358, - "name": "Column" - } + "type": "reference", + "id": 359, + "name": "Columns" } }, { - "id": 371, - "name": "records", + "id": 374, + "name": "record", "kind": 32768, "kindString": "Parameter", "flags": { @@ -41090,12 +41782,12 @@ "comment": {}, "type": { "type": "reference", - "id": 364, - "name": "Records" + "id": 367, + "name": "Record" } }, { - "id": 372, + "id": 375, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -41108,7 +41800,7 @@ "type": { "type": "reflection", "declaration": { - "id": 373, + "id": 376, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41117,7 +41809,7 @@ }, "children": [ { - "id": 374, + "id": 377, "name": "skipTypes", "kind": 32, "kindString": "Variable", @@ -41128,7 +41820,7 @@ "sources": [ { "fileName": "lib/transformers.ts", - "line": 60, + "line": 64, "character": 22 } ], @@ -41146,14 +41838,14 @@ "title": "Variables", "kind": 32, "children": [ - 374 + 377 ] } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 60, + "line": 64, "character": 10 } ] @@ -41163,53 +41855,16 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 375, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 376, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 377, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } + "type": "reference", + "id": 367, + "name": "Record" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 57, + "line": 61, "character": 30 } ] @@ -41286,17 +41941,14 @@ "isExported": true }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 358, - "name": "Column" - } + "type": "reference", + "id": 359, + "name": "Columns" } }, { "id": 382, - "name": "records", + "name": "record", "kind": 32768, "kindString": "Parameter", "flags": { @@ -41307,8 +41959,8 @@ }, "type": { "type": "reference", - "id": 364, - "name": "Records" + "id": 367, + "name": "Record" } }, { @@ -41332,15 +41984,16 @@ } ], "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 85, + "line": 88, "character": 26 } ] @@ -41363,32 +42016,34 @@ "parameters": [ { "id": 390, - "name": "stringValue", + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 183, + "line": 162, "character": 10 } ] }, { - "id": 412, + "id": 400, "name": "toArray", "kind": 64, "kindString": "Function", @@ -41401,17 +42056,21 @@ "tags": [ { "tag": "example", - "text": "toArray('{1,2,3,4}', 'int4')\n//=> [1,2,3,4]" + "text": "toArray('{}', 'int4')\n//=> []" }, { "tag": "example", - "text": "toArray('{}', 'int4')\n//=> []\n" + "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']" + }, + { + "tag": "example", + "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n" } ] }, "signatures": [ { - "id": 413, + "id": 401, "name": "toArray", "kind": 4096, "kindString": "Call signature", @@ -41423,30 +42082,35 @@ "tags": [ { "tag": "example", - "text": "toArray('{1,2,3,4}', 'int4')\n//=> [1,2,3,4]" + "text": "toArray('{}', 'int4')\n//=> []" }, { "tag": "example", - "text": "toArray('{}', 'int4')\n//=> []\n" + "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']" + }, + { + "tag": "example", + "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n" } ] }, "parameters": [ { - "id": 414, - "name": "stringValue", + "id": 402, + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } }, { - "id": 415, + "id": 403, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -41460,18 +42124,16 @@ } ], "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 225, + "line": 206, "character": 20 } ] @@ -41497,288 +42159,36 @@ "parameters": [ { "id": 393, - "name": "stringValue", + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 186, - "character": 22 - } - ] - }, - { - "id": 394, - "name": "toDate", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 395, - "name": "toDate", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 396, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { "type": "reference", - "name": "Date" + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 196, - "character": 19 + "line": 165, + "character": 22 } ] }, { "id": 397, - "name": "toDateRange", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 398, - "name": "toDateRange", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 399, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Date" - } - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 199, - "character": 24 - } - ] - }, - { - "id": 400, - "name": "toFloat", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 401, - "name": "toFloat", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 402, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 203, - "character": 20 - } - ] - }, - { - "id": 403, - "name": "toInt", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 404, - "name": "toInt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 405, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 206, - "character": 18 - } - ] - }, - { - "id": 406, - "name": "toIntRange", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 407, - "name": "toIntRange", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 408, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "number" - } - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 209, - "character": 23 - } - ] - }, - { - "id": 409, "name": "toJson", "kind": 64, "kindString": "Function", @@ -41788,7 +42198,7 @@ }, "signatures": [ { - "id": 410, + "id": 398, "name": "toJson", "kind": 4096, "kindString": "Call signature", @@ -41797,35 +42207,86 @@ }, "parameters": [ { - "id": 411, - "name": "stringValue", + "id": 399, + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 213, + "line": 184, "character": 19 } ] }, { - "id": 416, + "id": 394, + "name": "toNumber", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": true + }, + "signatures": [ + { + "id": 395, + "name": "toNumber", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 396, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 366, + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "id": 366, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 175, + "character": 21 + } + ] + }, + { + "id": 404, "name": "toTimestampString", "kind": 64, "kindString": "Function", @@ -41844,7 +42305,7 @@ }, "signatures": [ { - "id": 417, + "id": 405, "name": "toTimestampString", "kind": 4096, "kindString": "Call signature", @@ -41862,29 +42323,31 @@ }, "parameters": [ { - "id": 418, - "name": "stringValue", + "id": 406, + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 246, + "line": 241, "character": 30 } ] @@ -41902,8 +42365,10 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 358, - 364 + 365, + 359, + 367, + 366 ] }, { @@ -41911,18 +42376,14 @@ "kind": 64, "children": [ 384, - 368, + 371, 378, 388, - 412, - 391, - 394, - 397, 400, - 403, - 406, - 409, - 416 + 391, + 397, + 394, + 404 ] } ], @@ -41992,7 +42453,7 @@ "children": [ 200, 96, - 419, + 407, 3, 42, 175, diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json index b19e867d87b..afe546f9493 100644 --- a/web/spec/gotrue.json +++ b/web/spec/gotrue.json @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts", "children": [ { - "id": 186, + "id": 189, "name": "GoTrueApi", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 193, + "id": 196, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,7 +34,7 @@ }, "signatures": [ { - "id": 194, + "id": 197, "name": "new GoTrueApi", "kind": 16384, "kindString": "Constructor signature", @@ -43,7 +43,7 @@ }, "parameters": [ { - "id": 195, + "id": 198, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -54,7 +54,7 @@ "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -63,7 +63,7 @@ }, "children": [ { - "id": 202, + "id": 205, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -73,7 +73,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 17, + "line": 22, "character": 17 } ], @@ -93,7 +93,7 @@ } }, { - "id": 198, + "id": 201, "name": "headers", "kind": 32, "kindString": "Variable", @@ -103,14 +103,14 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 16, + "line": 21, "character": 11 } ], "type": { "type": "reflection", "declaration": { - "id": 199, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -119,7 +119,7 @@ }, "indexSignature": [ { - "id": 200, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -128,7 +128,7 @@ }, "parameters": [ { - "id": 201, + "id": 204, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -151,7 +151,7 @@ } }, { - "id": 197, + "id": 200, "name": "url", "kind": 32, "kindString": "Variable", @@ -161,7 +161,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 15, + "line": 20, "character": 7 } ], @@ -177,16 +177,16 @@ "title": "Variables", "kind": 32, "children": [ - 202, - 198, - 197 + 205, + 201, + 200 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 14, + "line": 19, "character": 14 } ] @@ -196,7 +196,7 @@ ], "type": { "type": "reference", - "id": 186, + "id": 189, "name": "GoTrueApi" } } @@ -204,13 +204,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 12, + "line": 17, "character": 40 } ] }, { - "id": 192, + "id": 195, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -221,7 +221,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 12, + "line": 17, "character": 25 } ], @@ -232,7 +232,7 @@ } }, { - "id": 188, + "id": 191, "name": "headers", "kind": 1024, "kindString": "Property", @@ -243,14 +243,14 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 9, + "line": 14, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 189, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -259,7 +259,7 @@ }, "indexSignature": [ { - "id": 190, + "id": 193, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -268,7 +268,7 @@ }, "parameters": [ { - "id": 191, + "id": 194, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -290,7 +290,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 9, + "line": 14, "character": 20 } ] @@ -298,7 +298,7 @@ } }, { - "id": 187, + "id": 190, "name": "url", "kind": 1024, "kindString": "Property", @@ -309,7 +309,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 8, + "line": 13, "character": 15 } ], @@ -319,7 +319,7 @@ } }, { - "id": 288, + "id": 291, "name": "_createRequestHeaders", "kind": 2048, "kindString": "Method", @@ -329,7 +329,7 @@ }, "signatures": [ { - "id": 289, + "id": 292, "name": "_createRequestHeaders", "kind": 4096, "kindString": "Call signature", @@ -341,7 +341,7 @@ }, "parameters": [ { - "id": 290, + "id": 293, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -360,7 +360,7 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 294, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -374,13 +374,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 267, + "line": 272, "character": 31 } ] }, { - "id": 319, + "id": 322, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -389,7 +389,7 @@ }, "signatures": [ { - "id": 320, + "id": 323, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -402,7 +402,7 @@ }, "parameters": [ { - "id": 321, + "id": 324, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -418,7 +418,7 @@ } }, { - "id": 322, + "id": 325, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -440,7 +440,7 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -449,7 +449,7 @@ }, "children": [ { - "id": 325, + "id": 328, "name": "data", "kind": 32, "kindString": "Variable", @@ -459,7 +459,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 358, + "line": 363, "character": 38 } ], @@ -479,7 +479,7 @@ } }, { - "id": 326, + "id": 329, "name": "error", "kind": 32, "kindString": "Variable", @@ -489,7 +489,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 358, + "line": 363, "character": 58 } ], @@ -498,7 +498,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -508,7 +509,7 @@ } }, { - "id": 324, + "id": 327, "name": "user", "kind": 32, "kindString": "Variable", @@ -518,7 +519,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 358, + "line": 363, "character": 19 } ], @@ -543,16 +544,16 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 326, - 324 + 328, + 329, + 327 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 358, + "line": 363, "character": 13 } ] @@ -566,13 +567,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 355, + "line": 360, "character": 18 } ] }, { - "id": 344, + "id": 347, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -581,7 +582,7 @@ }, "signatures": [ { - "id": 345, + "id": 348, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -593,7 +594,7 @@ }, "parameters": [ { - "id": 346, + "id": 349, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -626,7 +627,7 @@ } }, { - "id": 347, + "id": 350, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -642,7 +643,7 @@ } }, { - "id": 348, + "id": 351, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -652,7 +653,7 @@ "type": { "type": "reflection", "declaration": { - "id": 349, + "id": 352, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -661,7 +662,7 @@ }, "children": [ { - "id": 351, + "id": 354, "name": "data", "kind": 32, "kindString": "Variable", @@ -672,7 +673,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 455, + "line": 460, "character": 10 } ], @@ -691,7 +692,7 @@ } }, { - "id": 350, + "id": 353, "name": "password", "kind": 32, "kindString": "Variable", @@ -702,7 +703,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 454, + "line": 459, "character": 14 } ], @@ -721,7 +722,7 @@ } }, { - "id": 352, + "id": 355, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -732,7 +733,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 456, + "line": 461, "character": 16 } ], @@ -756,16 +757,16 @@ "title": "Variables", "kind": 32, "children": [ - 351, - 350, - 352 + 354, + 353, + 355 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 453, + "line": 458, "character": 12 } ] @@ -780,7 +781,7 @@ { "type": "reflection", "declaration": { - "id": 353, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -789,7 +790,7 @@ }, "children": [ { - "id": 354, + "id": 357, "name": "data", "kind": 32, "kindString": "Variable", @@ -802,7 +803,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 458, + "line": 463, "character": 19 } ], @@ -827,7 +828,7 @@ } }, { - "id": 355, + "id": 358, "name": "error", "kind": 32, "kindString": "Variable", @@ -837,7 +838,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 458, + "line": 463, "character": 49 } ], @@ -846,7 +847,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -861,15 +863,15 @@ "title": "Variables", "kind": 32, "children": [ - 354, - 355 + 357, + 358 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 458, + "line": 463, "character": 13 } ] @@ -883,13 +885,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 450, + "line": 455, "character": 20 } ] }, { - "id": 297, + "id": 300, "name": "getUrlForProvider", "kind": 2048, "kindString": "Method", @@ -898,7 +900,7 @@ }, "signatures": [ { - "id": 298, + "id": 301, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -910,7 +912,7 @@ }, "parameters": [ { - "id": 299, + "id": 302, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -927,7 +929,7 @@ } }, { - "id": 300, + "id": 303, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -937,7 +939,7 @@ "type": { "type": "reflection", "declaration": { - "id": 301, + "id": 304, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -946,7 +948,7 @@ }, "children": [ { - "id": 302, + "id": 305, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -957,7 +959,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 299, + "line": 304, "character": 16 } ], @@ -976,7 +978,7 @@ } }, { - "id": 303, + "id": 306, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -987,7 +989,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 300, + "line": 305, "character": 12 } ], @@ -1011,15 +1013,15 @@ "title": "Variables", "kind": 32, "children": [ - 302, - 303 + 305, + 306 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 298, + "line": 303, "character": 12 } ] @@ -1036,13 +1038,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 296, + "line": 301, "character": 19 } ] }, { - "id": 304, + "id": 307, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -1051,7 +1053,7 @@ }, "signatures": [ { - "id": 305, + "id": 308, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -1063,7 +1065,7 @@ }, "parameters": [ { - "id": 306, + "id": 309, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -1085,7 +1087,7 @@ { "type": "reflection", "declaration": { - "id": 307, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1094,7 +1096,7 @@ }, "children": [ { - "id": 309, + "id": 312, "name": "data", "kind": 32, "kindString": "Variable", @@ -1104,7 +1106,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 319, + "line": 324, "character": 38 } ], @@ -1124,7 +1126,7 @@ } }, { - "id": 310, + "id": 313, "name": "error", "kind": 32, "kindString": "Variable", @@ -1134,7 +1136,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 319, + "line": 324, "character": 58 } ], @@ -1143,7 +1145,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -1153,7 +1156,7 @@ } }, { - "id": 308, + "id": 311, "name": "user", "kind": 32, "kindString": "Variable", @@ -1163,7 +1166,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 319, + "line": 324, "character": 19 } ], @@ -1188,16 +1191,16 @@ "title": "Variables", "kind": 32, "children": [ - 309, - 310, - 308 + 312, + 313, + 311 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 319, + "line": 324, "character": 13 } ] @@ -1211,13 +1214,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 317, + "line": 322, "character": 15 } ] }, { - "id": 337, + "id": 340, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -1226,7 +1229,7 @@ }, "signatures": [ { - "id": 338, + "id": 341, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -1238,7 +1241,7 @@ }, "parameters": [ { - "id": 339, + "id": 342, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -1257,7 +1260,7 @@ { "type": "reflection", "declaration": { - "id": 340, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1266,7 +1269,7 @@ }, "children": [ { - "id": 342, + "id": 345, "name": "data", "kind": 32, "kindString": "Variable", @@ -1276,7 +1279,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 426, + "line": 431, "character": 38 } ], @@ -1296,7 +1299,7 @@ } }, { - "id": 343, + "id": 346, "name": "error", "kind": 32, "kindString": "Variable", @@ -1306,7 +1309,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 426, + "line": 431, "character": 58 } ], @@ -1315,7 +1318,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -1325,7 +1329,7 @@ } }, { - "id": 341, + "id": 344, "name": "user", "kind": 32, "kindString": "Variable", @@ -1335,7 +1339,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 426, + "line": 431, "character": 19 } ], @@ -1360,16 +1364,16 @@ "title": "Variables", "kind": 32, "children": [ - 342, - 343, - 341 + 345, + 346, + 344 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 426, + "line": 431, "character": 13 } ] @@ -1383,13 +1387,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 424, + "line": 429, "character": 23 } ] }, { - "id": 268, + "id": 271, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -1398,7 +1402,7 @@ }, "signatures": [ { - "id": 269, + "id": 272, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -1410,7 +1414,7 @@ }, "parameters": [ { - "id": 270, + "id": 273, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1426,7 +1430,7 @@ } }, { - "id": 271, + "id": 274, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1436,7 +1440,7 @@ "type": { "type": "reflection", "declaration": { - "id": 272, + "id": 275, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1445,7 +1449,7 @@ }, "children": [ { - "id": 274, + "id": 277, "name": "data", "kind": 32, "kindString": "Variable", @@ -1456,7 +1460,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 223, "character": 10 } ], @@ -1475,7 +1479,7 @@ } }, { - "id": 273, + "id": 276, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1486,7 +1490,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 217, + "line": 222, "character": 16 } ], @@ -1510,15 +1514,15 @@ "title": "Variables", "kind": 32, "children": [ - 274, - 273 + 277, + 276 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 216, + "line": 221, "character": 12 } ] @@ -1533,7 +1537,7 @@ { "type": "reflection", "declaration": { - "id": 275, + "id": 278, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1542,7 +1546,7 @@ }, "children": [ { - "id": 276, + "id": 279, "name": "data", "kind": 32, "kindString": "Variable", @@ -1555,7 +1559,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 220, + "line": 225, "character": 19 } ], @@ -1575,7 +1579,7 @@ } }, { - "id": 277, + "id": 280, "name": "error", "kind": 32, "kindString": "Variable", @@ -1585,7 +1589,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 220, + "line": 225, "character": 39 } ], @@ -1594,7 +1598,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -1609,15 +1614,15 @@ "title": "Variables", "kind": 32, "children": [ - 276, - 277 + 279, + 280 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 220, + "line": 225, "character": 13 } ] @@ -1631,13 +1636,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 214, + "line": 219, "character": 25 } ] }, { - "id": 327, + "id": 330, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -1646,7 +1651,7 @@ }, "signatures": [ { - "id": 328, + "id": 331, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -1658,7 +1663,7 @@ }, "parameters": [ { - "id": 329, + "id": 332, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -1680,7 +1685,7 @@ { "type": "reflection", "declaration": { - "id": 330, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1689,7 +1694,7 @@ }, "children": [ { - "id": 331, + "id": 334, "name": "data", "kind": 32, "kindString": "Variable", @@ -1699,7 +1704,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 379, + "line": 384, "character": 19 } ], @@ -1719,7 +1724,7 @@ } }, { - "id": 332, + "id": 335, "name": "error", "kind": 32, "kindString": "Variable", @@ -1729,7 +1734,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 379, + "line": 384, "character": 42 } ], @@ -1738,7 +1743,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -1753,15 +1759,15 @@ "title": "Variables", "kind": 32, "children": [ - 331, - 332 + 334, + 335 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 379, + "line": 384, "character": 13 } ] @@ -1775,13 +1781,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 377, + "line": 382, "character": 26 } ] }, { - "id": 278, + "id": 281, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -1790,7 +1796,7 @@ }, "signatures": [ { - "id": 279, + "id": 282, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -1802,7 +1808,7 @@ }, "parameters": [ { - "id": 280, + "id": 283, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1818,7 +1824,7 @@ } }, { - "id": 281, + "id": 284, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1828,7 +1834,7 @@ "type": { "type": "reflection", "declaration": { - "id": 282, + "id": 285, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1837,7 +1843,7 @@ }, "children": [ { - "id": 283, + "id": 286, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1848,7 +1854,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 246, + "line": 251, "character": 16 } ], @@ -1872,14 +1878,14 @@ "title": "Variables", "kind": 32, "children": [ - 283 + 286 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 245, + "line": 250, "character": 12 } ] @@ -1894,7 +1900,7 @@ { "type": "reflection", "declaration": { - "id": 284, + "id": 287, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1903,7 +1909,7 @@ }, "children": [ { - "id": 285, + "id": 288, "name": "data", "kind": 32, "kindString": "Variable", @@ -1913,7 +1919,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 248, + "line": 253, "character": 19 } ], @@ -1923,7 +1929,7 @@ { "type": "reflection", "declaration": { - "id": 286, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1933,7 +1939,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 248, + "line": 253, "character": 20 } ] @@ -1947,7 +1953,7 @@ } }, { - "id": 287, + "id": 290, "name": "error", "kind": 32, "kindString": "Variable", @@ -1957,7 +1963,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 248, + "line": 253, "character": 37 } ], @@ -1966,7 +1972,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -1981,15 +1988,15 @@ "title": "Variables", "kind": 32, "children": [ - 285, - 287 + 288, + 290 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 248, + "line": 253, "character": 13 } ] @@ -2003,13 +2010,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 243, + "line": 248, "character": 29 } ] }, { - "id": 241, + "id": 244, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -2018,7 +2025,7 @@ }, "signatures": [ { - "id": 242, + "id": 245, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -2030,7 +2037,7 @@ }, "parameters": [ { - "id": 243, + "id": 246, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2046,7 +2053,7 @@ } }, { - "id": 244, + "id": 247, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2056,7 +2063,7 @@ "type": { "type": "reflection", "declaration": { - "id": 245, + "id": 248, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2065,7 +2072,7 @@ }, "children": [ { - "id": 246, + "id": 249, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -2076,7 +2083,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 152, + "line": 157, "character": 16 } ], @@ -2100,14 +2107,14 @@ "title": "Variables", "kind": 32, "children": [ - 246 + 249 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 151, + "line": 156, "character": 12 } ] @@ -2122,7 +2129,7 @@ { "type": "reflection", "declaration": { - "id": 247, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2131,7 +2138,7 @@ }, "children": [ { - "id": 248, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -2141,7 +2148,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 154, + "line": 159, "character": 19 } ], @@ -2151,7 +2158,7 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 252, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2161,7 +2168,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 154, + "line": 159, "character": 20 } ] @@ -2175,7 +2182,7 @@ } }, { - "id": 250, + "id": 253, "name": "error", "kind": 32, "kindString": "Variable", @@ -2185,7 +2192,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 154, + "line": 159, "character": 37 } ], @@ -2194,7 +2201,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -2209,15 +2217,15 @@ "title": "Variables", "kind": 32, "children": [ - 248, - 250 + 251, + 253 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 154, + "line": 159, "character": 13 } ] @@ -2231,13 +2239,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 149, + "line": 154, "character": 26 } ] }, { - "id": 251, + "id": 254, "name": "sendMobileOTP", "kind": 2048, "kindString": "Method", @@ -2246,7 +2254,7 @@ }, "signatures": [ { - "id": 252, + "id": 255, "name": "sendMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -2258,7 +2266,7 @@ }, "parameters": [ { - "id": 253, + "id": 256, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -2280,7 +2288,7 @@ { "type": "reflection", "declaration": { - "id": 254, + "id": 257, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2289,7 +2297,7 @@ }, "children": [ { - "id": 255, + "id": 258, "name": "data", "kind": 32, "kindString": "Variable", @@ -2299,7 +2307,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 52 } ], @@ -2309,7 +2317,7 @@ { "type": "reflection", "declaration": { - "id": 256, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2319,7 +2327,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 53 } ] @@ -2333,7 +2341,7 @@ } }, { - "id": 257, + "id": 260, "name": "error", "kind": 32, "kindString": "Variable", @@ -2343,7 +2351,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 70 } ], @@ -2352,7 +2360,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -2367,15 +2376,15 @@ "title": "Variables", "kind": 32, "children": [ - 255, - 257 + 258, + 260 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 46 } ] @@ -2389,13 +2398,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 172, + "line": 177, "character": 21 } ] }, { - "id": 333, + "id": 336, "name": "setAuthCookie", "kind": 2048, "kindString": "Method", @@ -2404,7 +2413,7 @@ }, "signatures": [ { - "id": 334, + "id": 337, "name": "setAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -2416,7 +2425,7 @@ }, "parameters": [ { - "id": 335, + "id": 338, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -2429,7 +2438,7 @@ } }, { - "id": 336, + "id": 339, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -2451,13 +2460,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 398, + "line": 403, "character": 15 } ] }, { - "id": 214, + "id": 217, "name": "signInWithEmail", "kind": 2048, "kindString": "Method", @@ -2466,7 +2475,7 @@ }, "signatures": [ { - "id": 215, + "id": 218, "name": "signInWithEmail", "kind": 4096, "kindString": "Call signature", @@ -2478,7 +2487,7 @@ }, "parameters": [ { - "id": 216, + "id": 219, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2494,7 +2503,7 @@ } }, { - "id": 217, + "id": 220, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2510,7 +2519,7 @@ } }, { - "id": 218, + "id": 221, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2520,7 +2529,7 @@ "type": { "type": "reflection", "declaration": { - "id": 219, + "id": 222, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2529,7 +2538,7 @@ }, "children": [ { - "id": 220, + "id": 223, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -2540,7 +2549,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 77, + "line": 82, "character": 16 } ], @@ -2564,14 +2573,14 @@ "title": "Variables", "kind": 32, "children": [ - 220 + 223 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 76, + "line": 81, "character": 12 } ] @@ -2586,7 +2595,7 @@ { "type": "reflection", "declaration": { - "id": 221, + "id": 224, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2595,7 +2604,7 @@ }, "children": [ { - "id": 222, + "id": 225, "name": "data", "kind": 32, "kindString": "Variable", @@ -2605,7 +2614,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 79, + "line": 84, "character": 19 } ], @@ -2625,7 +2634,7 @@ } }, { - "id": 223, + "id": 226, "name": "error", "kind": 32, "kindString": "Variable", @@ -2635,7 +2644,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 79, + "line": 84, "character": 42 } ], @@ -2644,7 +2653,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -2659,15 +2669,15 @@ "title": "Variables", "kind": 32, "children": [ - 222, - 223 + 225, + 226 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 79, + "line": 84, "character": 13 } ] @@ -2681,13 +2691,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 73, + "line": 78, "character": 23 } ] }, { - "id": 234, + "id": 237, "name": "signInWithPhone", "kind": 2048, "kindString": "Method", @@ -2696,7 +2706,7 @@ }, "signatures": [ { - "id": 235, + "id": 238, "name": "signInWithPhone", "kind": 4096, "kindString": "Call signature", @@ -2708,7 +2718,7 @@ }, "parameters": [ { - "id": 236, + "id": 239, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -2724,7 +2734,7 @@ } }, { - "id": 237, + "id": 240, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2746,7 +2756,7 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2755,7 +2765,7 @@ }, "children": [ { - "id": 239, + "id": 242, "name": "data", "kind": 32, "kindString": "Variable", @@ -2765,7 +2775,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 131, + "line": 136, "character": 19 } ], @@ -2785,7 +2795,7 @@ } }, { - "id": 240, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -2795,7 +2805,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 131, + "line": 136, "character": 42 } ], @@ -2804,7 +2814,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -2819,15 +2830,15 @@ "title": "Variables", "kind": 32, "children": [ - 239, - 240 + 242, + 243 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 131, + "line": 136, "character": 13 } ] @@ -2841,13 +2852,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 128, + "line": 133, "character": 23 } ] }, { - "id": 292, + "id": 295, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -2856,7 +2867,7 @@ }, "signatures": [ { - "id": 293, + "id": 296, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -2868,7 +2879,7 @@ }, "parameters": [ { - "id": 294, + "id": 297, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -2890,7 +2901,7 @@ { "type": "reflection", "declaration": { - "id": 295, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2899,7 +2910,7 @@ }, "children": [ { - "id": 296, + "id": 299, "name": "error", "kind": 32, "kindString": "Variable", @@ -2909,7 +2920,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 277, + "line": 282, "character": 45 } ], @@ -2918,7 +2929,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -2933,14 +2945,14 @@ "title": "Variables", "kind": 32, "children": [ - 296 + 299 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 277, + "line": 282, "character": 38 } ] @@ -2954,13 +2966,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 277, + "line": 282, "character": 15 } ] }, { - "id": 203, + "id": 206, "name": "signUpWithEmail", "kind": 2048, "kindString": "Method", @@ -2969,7 +2981,7 @@ }, "signatures": [ { - "id": 204, + "id": 207, "name": "signUpWithEmail", "kind": 4096, "kindString": "Call signature", @@ -2982,7 +2994,7 @@ }, "parameters": [ { - "id": 205, + "id": 208, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2998,7 +3010,7 @@ } }, { - "id": 206, + "id": 209, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -3014,7 +3026,7 @@ } }, { - "id": 207, + "id": 210, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3024,7 +3036,7 @@ "type": { "type": "reflection", "declaration": { - "id": 208, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3033,7 +3045,7 @@ }, "children": [ { - "id": 210, + "id": 213, "name": "data", "kind": 32, "kindString": "Variable", @@ -3044,7 +3056,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 45, + "line": 50, "character": 10 } ], @@ -3063,7 +3075,7 @@ } }, { - "id": 209, + "id": 212, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3074,7 +3086,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 44, + "line": 49, "character": 16 } ], @@ -3098,15 +3110,15 @@ "title": "Variables", "kind": 32, "children": [ - 210, - 209 + 213, + 212 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 43, + "line": 48, "character": 12 } ] @@ -3121,7 +3133,7 @@ { "type": "reflection", "declaration": { - "id": 211, + "id": 214, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3130,7 +3142,7 @@ }, "children": [ { - "id": 212, + "id": 215, "name": "data", "kind": 32, "kindString": "Variable", @@ -3143,7 +3155,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 47, + "line": 52, "character": 19 } ], @@ -3168,7 +3180,7 @@ } }, { - "id": 213, + "id": 216, "name": "error", "kind": 32, "kindString": "Variable", @@ -3178,7 +3190,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 47, + "line": 52, "character": 49 } ], @@ -3187,7 +3199,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -3202,15 +3215,15 @@ "title": "Variables", "kind": 32, "children": [ - 212, - 213 + 215, + 216 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 47, + "line": 52, "character": 13 } ] @@ -3224,13 +3237,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 40, + "line": 45, "character": 23 } ] }, { - "id": 224, + "id": 227, "name": "signUpWithPhone", "kind": 2048, "kindString": "Method", @@ -3239,7 +3252,7 @@ }, "signatures": [ { - "id": 225, + "id": 228, "name": "signUpWithPhone", "kind": 4096, "kindString": "Call signature", @@ -3251,7 +3264,7 @@ }, "parameters": [ { - "id": 226, + "id": 229, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -3267,7 +3280,7 @@ } }, { - "id": 227, + "id": 230, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -3283,7 +3296,7 @@ } }, { - "id": 228, + "id": 231, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3293,7 +3306,7 @@ "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 232, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3302,7 +3315,7 @@ }, "children": [ { - "id": 230, + "id": 233, "name": "data", "kind": 32, "kindString": "Variable", @@ -3313,7 +3326,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 105, + "line": 110, "character": 10 } ], @@ -3337,14 +3350,14 @@ "title": "Variables", "kind": 32, "children": [ - 230 + 233 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 104, + "line": 109, "character": 12 } ] @@ -3359,7 +3372,7 @@ { "type": "reflection", "declaration": { - "id": 231, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3368,7 +3381,7 @@ }, "children": [ { - "id": 232, + "id": 235, "name": "data", "kind": 32, "kindString": "Variable", @@ -3381,7 +3394,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 107, + "line": 112, "character": 19 } ], @@ -3406,7 +3419,7 @@ } }, { - "id": 233, + "id": 236, "name": "error", "kind": 32, "kindString": "Variable", @@ -3416,7 +3429,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 107, + "line": 112, "character": 49 } ], @@ -3425,7 +3438,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -3440,15 +3454,15 @@ "title": "Variables", "kind": 32, "children": [ - 232, - 233 + 235, + 236 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 107, + "line": 112, "character": 13 } ] @@ -3462,13 +3476,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 101, + "line": 106, "character": 23 } ] }, { - "id": 311, + "id": 314, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -3477,7 +3491,7 @@ }, "signatures": [ { - "id": 312, + "id": 315, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -3489,7 +3503,7 @@ }, "parameters": [ { - "id": 313, + "id": 316, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -3505,7 +3519,7 @@ } }, { - "id": 314, + "id": 317, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -3528,7 +3542,7 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3537,7 +3551,7 @@ }, "children": [ { - "id": 317, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -3547,7 +3561,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 336, + "line": 341, "character": 38 } ], @@ -3567,7 +3581,7 @@ } }, { - "id": 318, + "id": 321, "name": "error", "kind": 32, "kindString": "Variable", @@ -3577,7 +3591,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 336, + "line": 341, "character": 58 } ], @@ -3586,7 +3600,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -3596,7 +3611,7 @@ } }, { - "id": 316, + "id": 319, "name": "user", "kind": 32, "kindString": "Variable", @@ -3606,7 +3621,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 336, + "line": 341, "character": 19 } ], @@ -3631,16 +3646,16 @@ "title": "Variables", "kind": 32, "children": [ - 317, - 318, - 316 + 320, + 321, + 319 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 336, + "line": 341, "character": 13 } ] @@ -3654,13 +3669,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 333, + "line": 338, "character": 18 } ] }, { - "id": 258, + "id": 261, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -3669,7 +3684,7 @@ }, "signatures": [ { - "id": 259, + "id": 262, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -3681,7 +3696,7 @@ }, "parameters": [ { - "id": 260, + "id": 263, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -3697,7 +3712,7 @@ } }, { - "id": 261, + "id": 264, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -3713,7 +3728,7 @@ } }, { - "id": 262, + "id": 265, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3723,7 +3738,7 @@ "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 266, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3732,7 +3747,7 @@ }, "children": [ { - "id": 264, + "id": 267, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3743,7 +3758,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 192, + "line": 197, "character": 16 } ], @@ -3767,14 +3782,14 @@ "title": "Variables", "kind": 32, "children": [ - 264 + 267 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 191, + "line": 196, "character": 12 } ] @@ -3789,7 +3804,7 @@ { "type": "reflection", "declaration": { - "id": 265, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3798,7 +3813,7 @@ }, "children": [ { - "id": 266, + "id": 269, "name": "data", "kind": 32, "kindString": "Variable", @@ -3808,7 +3823,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 194, + "line": 199, "character": 19 } ], @@ -3833,7 +3848,7 @@ } }, { - "id": 267, + "id": 270, "name": "error", "kind": 32, "kindString": "Variable", @@ -3843,7 +3858,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 194, + "line": 199, "character": 49 } ], @@ -3852,7 +3867,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -3867,15 +3883,15 @@ "title": "Variables", "kind": 32, "children": [ - 266, - 267 + 269, + 270 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 194, + "line": 199, "character": 13 } ] @@ -3889,7 +3905,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 188, + "line": 193, "character": 23 } ] @@ -3900,41 +3916,109 @@ "title": "Constructors", "kind": 512, "children": [ - 193 + 196 ] }, { "title": "Properties", "kind": 1024, "children": [ - 192, - 188, - 187 + 195, + 191, + 190 ] }, { "title": "Methods", "kind": 2048, "children": [ - 288, - 319, - 344, - 297, - 304, - 337, - 268, - 327, - 278, - 241, - 251, - 333, - 214, - 234, - 292, - 203, - 224, - 311, - 258 + 291, + 322, + 347, + 300, + 307, + 340, + 271, + 330, + 281, + 244, + 254, + 336, + 217, + 237, + 295, + 206, + 227, + 314, + 261 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 12, + "character": 30 + } + ] + }, + { + "id": 186, + "name": "ApiError", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 187, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 8, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 188, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 9, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 187, + 188 ] } ], @@ -3942,7 +4026,7 @@ { "fileName": "GoTrueApi.ts", "line": 7, - "character": 30 + "character": 25 } ] } @@ -3951,6 +4035,13 @@ { "title": "Classes", "kind": 128, + "children": [ + 189 + ] + }, + { + "title": "Interfaces", + "kind": 256, "children": [ 186 ] @@ -3965,7 +4056,7 @@ ] }, { - "id": 359, + "id": 362, "name": "\"GoTrueClient\"", "kind": 1, "kindString": "Module", @@ -3975,7 +4066,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts", "children": [ { - "id": 360, + "id": 363, "name": "GoTrueClient", "kind": 128, "kindString": "Class", @@ -3984,7 +4075,7 @@ }, "children": [ { - "id": 369, + "id": 372, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3996,7 +4087,7 @@ }, "signatures": [ { - "id": 370, + "id": 373, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -4008,7 +4099,7 @@ }, "parameters": [ { - "id": 371, + "id": 374, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4018,7 +4109,7 @@ "type": { "type": "reflection", "declaration": { - "id": 372, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4027,7 +4118,7 @@ }, "children": [ { - "id": 379, + "id": 382, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -4041,7 +4132,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 72, + "line": 73, "character": 20 } ], @@ -4064,7 +4155,7 @@ } }, { - "id": 382, + "id": 385, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -4072,10 +4163,13 @@ "isExported": true, "isOptional": true }, + "comment": { + "text": "\n" + }, "sources": [ { "fileName": "GoTrueClient.ts", - "line": 75, + "line": 76, "character": 17 } ], @@ -4086,7 +4180,7 @@ } }, { - "id": 378, + "id": 381, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -4100,7 +4194,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 71, + "line": 72, "character": 22 } ], @@ -4123,7 +4217,7 @@ } }, { - "id": 374, + "id": 377, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4137,7 +4231,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 70, + "line": 71, "character": 11 } ], @@ -4151,7 +4245,7 @@ { "type": "reflection", "declaration": { - "id": 375, + "id": 378, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4160,7 +4254,7 @@ }, "indexSignature": [ { - "id": 376, + "id": 379, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4169,7 +4263,7 @@ }, "parameters": [ { - "id": 377, + "id": 380, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4194,7 +4288,7 @@ } }, { - "id": 381, + "id": 384, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -4202,24 +4296,22 @@ "isExported": true, "isOptional": true }, - "comment": { - "text": "\n" - }, + "comment": {}, "sources": [ { "fileName": "GoTrueClient.ts", - "line": 74, + "line": 75, "character": 16 } ], "type": { "type": "reference", - "id": 575, + "id": 578, "name": "SupportedStorage" } }, { - "id": 380, + "id": 383, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -4233,7 +4325,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 73, + "line": 74, "character": 18 } ], @@ -4256,7 +4348,7 @@ } }, { - "id": 373, + "id": 376, "name": "url", "kind": 32, "kindString": "Variable", @@ -4270,7 +4362,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 69, + "line": 70, "character": 7 } ], @@ -4294,20 +4386,20 @@ "title": "Variables", "kind": 32, "children": [ - 379, 382, - 378, - 374, + 385, 381, - 380, - 373 + 377, + 384, + 383, + 376 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 68, + "line": 69, "character": 22 } ] @@ -4317,7 +4409,7 @@ ], "type": { "type": "reference", - "id": 360, + "id": 363, "name": "GoTrueClient" } } @@ -4331,7 +4423,7 @@ ] }, { - "id": 361, + "id": 364, "name": "api", "kind": 1024, "kindString": "Property", @@ -4350,12 +4442,12 @@ ], "type": { "type": "reference", - "id": 186, + "id": 189, "name": "GoTrueApi" } }, { - "id": 364, + "id": 367, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -4376,7 +4468,7 @@ } }, { - "id": 363, + "id": 366, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -4410,7 +4502,7 @@ } }, { - "id": 362, + "id": 365, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -4444,7 +4536,7 @@ } }, { - "id": 366, + "id": 369, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -4461,12 +4553,12 @@ ], "type": { "type": "reference", - "id": 575, + "id": 578, "name": "SupportedStorage" } }, { - "id": 365, + "id": 368, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -4487,7 +4579,7 @@ } }, { - "id": 368, + "id": 371, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -4518,7 +4610,7 @@ } }, { - "id": 367, + "id": 370, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -4551,7 +4643,7 @@ "defaultValue": "new Map()" }, { - "id": 535, + "id": 538, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -4561,7 +4653,7 @@ }, "signatures": [ { - "id": 536, + "id": 539, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -4570,7 +4662,7 @@ }, "parameters": [ { - "id": 537, + "id": 540, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -4599,72 +4691,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 538, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 539, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 626, - "character": 19 - } - ], - "type": { - "type": "reference", - "id": 50, - "name": "Session" - } - }, - { - "id": 540, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 626, - "character": 26 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 539, - 540 - ] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -4687,15 +4713,15 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 628, + "line": 621, "character": 19 } ], "type": { - "type": "intrinsic", - "name": "null" - }, - "defaultValue": "null" + "type": "reference", + "id": 50, + "name": "Session" + } }, { "id": 543, @@ -4708,7 +4734,73 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 628, + "line": 621, + "character": 26 + } + ], + "type": { + "type": "intrinsic", + "name": "null" + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 542, + 543 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 544, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 545, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 623, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "null" + }, + "defaultValue": "null" + }, + { + "id": 546, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 623, "character": 32 } ], @@ -4723,8 +4815,8 @@ "title": "Variables", "kind": 32, "children": [ - 542, - 543 + 545, + 546 ] } ] @@ -4740,13 +4832,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 614, + "line": 609, "character": 33 } ] }, { - "id": 481, + "id": 484, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -4756,7 +4848,7 @@ }, "signatures": [ { - "id": 482, + "id": 485, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -4765,7 +4857,7 @@ }, "parameters": [ { - "id": 483, + "id": 486, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -4778,7 +4870,7 @@ } }, { - "id": 484, + "id": 487, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -4791,7 +4883,7 @@ } }, { - "id": 485, + "id": 488, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4801,7 +4893,7 @@ "type": { "type": "reflection", "declaration": { - "id": 486, + "id": 489, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4810,7 +4902,7 @@ }, "children": [ { - "id": 487, + "id": 490, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4821,7 +4913,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 484, "character": 16 } ], @@ -4845,14 +4937,14 @@ "title": "Variables", "kind": 32, "children": [ - 487 + 490 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 488, + "line": 483, "character": 12 } ] @@ -4870,7 +4962,7 @@ { "type": "reflection", "declaration": { - "id": 488, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4879,7 +4971,7 @@ }, "children": [ { - "id": 489, + "id": 492, "name": "data", "kind": 32, "kindString": "Variable", @@ -4889,7 +4981,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 498, "character": 19 } ], @@ -4900,7 +4992,7 @@ } }, { - "id": 492, + "id": 495, "name": "error", "kind": 32, "kindString": "Variable", @@ -4910,7 +5002,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 498, "character": 58 } ], @@ -4921,7 +5013,7 @@ "defaultValue": "null" }, { - "id": 491, + "id": 494, "name": "session", "kind": 32, "kindString": "Variable", @@ -4931,7 +5023,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 498, "character": 45 } ], @@ -4943,7 +5035,7 @@ "defaultValue": "data" }, { - "id": 490, + "id": 493, "name": "user", "kind": 32, "kindString": "Variable", @@ -4953,7 +5045,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 498, "character": 25 } ], @@ -4979,10 +5071,10 @@ "title": "Variables", "kind": 32, "children": [ - 489, 492, - 491, - 490 + 495, + 494, + 493 ] } ] @@ -4991,7 +5083,7 @@ { "type": "reflection", "declaration": { - "id": 493, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5000,7 +5092,7 @@ }, "children": [ { - "id": 494, + "id": 497, "name": "data", "kind": 32, "kindString": "Variable", @@ -5010,7 +5102,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 500, "character": 19 } ], @@ -5021,7 +5113,7 @@ "defaultValue": "null" }, { - "id": 497, + "id": 500, "name": "error", "kind": 32, "kindString": "Variable", @@ -5031,7 +5123,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 500, "character": 59 } ], @@ -5041,7 +5133,7 @@ } }, { - "id": 496, + "id": 499, "name": "session", "kind": 32, "kindString": "Variable", @@ -5051,7 +5143,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 500, "character": 46 } ], @@ -5062,7 +5154,7 @@ "defaultValue": "null" }, { - "id": 495, + "id": 498, "name": "user", "kind": 32, "kindString": "Variable", @@ -5072,7 +5164,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 500, "character": 31 } ], @@ -5088,10 +5180,10 @@ "title": "Variables", "kind": 32, "children": [ - 494, 497, - 496, - 495 + 500, + 499, + 498 ] } ] @@ -5107,13 +5199,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 485, + "line": 480, "character": 34 } ] }, { - "id": 498, + "id": 501, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -5123,7 +5215,7 @@ }, "signatures": [ { - "id": 499, + "id": 502, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", @@ -5132,7 +5224,7 @@ }, "parameters": [ { - "id": 500, + "id": 503, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -5145,7 +5237,7 @@ } }, { - "id": 501, + "id": 504, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -5167,7 +5259,7 @@ { "type": "reflection", "declaration": { - "id": 502, + "id": 505, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5176,7 +5268,7 @@ }, "children": [ { - "id": 503, + "id": 506, "name": "data", "kind": 32, "kindString": "Variable", @@ -5186,7 +5278,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 519, + "line": 514, "character": 19 } ], @@ -5197,7 +5289,7 @@ } }, { - "id": 506, + "id": 509, "name": "error", "kind": 32, "kindString": "Variable", @@ -5207,7 +5299,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 519, + "line": 514, "character": 58 } ], @@ -5218,7 +5310,7 @@ "defaultValue": "null" }, { - "id": 505, + "id": 508, "name": "session", "kind": 32, "kindString": "Variable", @@ -5228,7 +5320,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 519, + "line": 514, "character": 45 } ], @@ -5240,7 +5332,7 @@ "defaultValue": "data" }, { - "id": 504, + "id": 507, "name": "user", "kind": 32, "kindString": "Variable", @@ -5250,7 +5342,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 519, + "line": 514, "character": 25 } ], @@ -5276,10 +5368,10 @@ "title": "Variables", "kind": 32, "children": [ - 503, 506, - 505, - 504 + 509, + 508, + 507 ] } ] @@ -5288,7 +5380,7 @@ { "type": "reflection", "declaration": { - "id": 507, + "id": 510, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5297,7 +5389,7 @@ }, "children": [ { - "id": 508, + "id": 511, "name": "data", "kind": 32, "kindString": "Variable", @@ -5307,7 +5399,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 521, + "line": 516, "character": 19 } ], @@ -5318,7 +5410,7 @@ "defaultValue": "null" }, { - "id": 511, + "id": 514, "name": "error", "kind": 32, "kindString": "Variable", @@ -5328,7 +5420,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 521, + "line": 516, "character": 59 } ], @@ -5338,7 +5430,7 @@ } }, { - "id": 510, + "id": 513, "name": "session", "kind": 32, "kindString": "Variable", @@ -5348,7 +5440,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 521, + "line": 516, "character": 46 } ], @@ -5359,7 +5451,7 @@ "defaultValue": "null" }, { - "id": 509, + "id": 512, "name": "user", "kind": 32, "kindString": "Variable", @@ -5369,7 +5461,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 521, + "line": 516, "character": 31 } ], @@ -5385,10 +5477,10 @@ "title": "Variables", "kind": 32, "children": [ - 508, 511, - 510, - 509 + 514, + 513, + 512 ] } ] @@ -5404,13 +5496,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 509, + "line": 504, "character": 34 } ] }, { - "id": 512, + "id": 515, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -5420,7 +5512,7 @@ }, "signatures": [ { - "id": 513, + "id": 516, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", @@ -5429,7 +5521,7 @@ }, "parameters": [ { - "id": 514, + "id": 517, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -5443,7 +5535,7 @@ } }, { - "id": 515, + "id": 518, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5453,7 +5545,7 @@ "type": { "type": "reflection", "declaration": { - "id": 516, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5462,7 +5554,7 @@ }, "children": [ { - "id": 517, + "id": 520, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -5473,7 +5565,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 528, + "line": 523, "character": 16 } ], @@ -5492,7 +5584,7 @@ } }, { - "id": 518, + "id": 521, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -5503,7 +5595,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 529, + "line": 524, "character": 12 } ], @@ -5527,15 +5619,15 @@ "title": "Variables", "kind": 32, "children": [ - 517, - 518 + 520, + 521 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 527, + "line": 522, "character": 12 } ] @@ -5550,7 +5642,7 @@ { "type": "reflection", "declaration": { - "id": 519, + "id": 522, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5559,7 +5651,7 @@ }, "children": [ { - "id": 522, + "id": 525, "name": "data", "kind": 32, "kindString": "Variable", @@ -5569,7 +5661,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 34 } ], @@ -5580,7 +5672,7 @@ "defaultValue": "null" }, { - "id": 525, + "id": 528, "name": "error", "kind": 32, "kindString": "Variable", @@ -5590,7 +5682,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 74 } ], @@ -5601,7 +5693,7 @@ "defaultValue": "null" }, { - "id": 520, + "id": 523, "name": "provider", "kind": 32, "kindString": "Variable", @@ -5611,7 +5703,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 23 } ], @@ -5622,7 +5714,7 @@ } }, { - "id": 523, + "id": 526, "name": "session", "kind": 32, "kindString": "Variable", @@ -5632,7 +5724,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 49 } ], @@ -5643,7 +5735,7 @@ "defaultValue": "null" }, { - "id": 521, + "id": 524, "name": "url", "kind": 32, "kindString": "Variable", @@ -5653,7 +5745,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 28 } ], @@ -5663,7 +5755,7 @@ } }, { - "id": 524, + "id": 527, "name": "user", "kind": 32, "kindString": "Variable", @@ -5673,7 +5765,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 542, + "line": 537, "character": 61 } ], @@ -5689,12 +5781,12 @@ "title": "Variables", "kind": 32, "children": [ - 522, 525, - 520, + 528, 523, - 521, - 524 + 526, + 524, + 527 ] } ] @@ -5703,7 +5795,7 @@ { "type": "reflection", "declaration": { - "id": 526, + "id": 529, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5712,7 +5804,7 @@ }, "children": [ { - "id": 527, + "id": 530, "name": "data", "kind": 32, "kindString": "Variable", @@ -5722,7 +5814,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 546, + "line": 541, "character": 19 } ], @@ -5733,7 +5825,7 @@ "defaultValue": "null" }, { - "id": 530, + "id": 533, "name": "error", "kind": 32, "kindString": "Variable", @@ -5743,7 +5835,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 546, + "line": 541, "character": 59 } ], @@ -5753,7 +5845,7 @@ } }, { - "id": 529, + "id": 532, "name": "session", "kind": 32, "kindString": "Variable", @@ -5763,7 +5855,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 546, + "line": 541, "character": 46 } ], @@ -5774,7 +5866,7 @@ "defaultValue": "null" }, { - "id": 528, + "id": 531, "name": "user", "kind": 32, "kindString": "Variable", @@ -5784,7 +5876,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 546, + "line": 541, "character": 31 } ], @@ -5800,10 +5892,10 @@ "title": "Variables", "kind": 32, "children": [ - 527, 530, - 529, - 528 + 533, + 532, + 531 ] } ] @@ -5816,13 +5908,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 525, + "line": 520, "character": 31 } ] }, { - "id": 544, + "id": 547, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -5832,7 +5924,7 @@ }, "signatures": [ { - "id": 545, + "id": 548, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", @@ -5841,7 +5933,7 @@ }, "parameters": [ { - "id": 546, + "id": 549, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5864,13 +5956,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 632, + "line": 627, "character": 31 } ] }, { - "id": 550, + "id": 553, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -5880,7 +5972,7 @@ }, "signatures": [ { - "id": 551, + "id": 554, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", @@ -5889,7 +5981,7 @@ }, "parameters": [ { - "id": 552, + "id": 555, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5912,13 +6004,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 659, + "line": 654, "character": 25 } ] }, { - "id": 533, + "id": 536, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -5928,7 +6020,7 @@ }, "signatures": [ { - "id": 534, + "id": 537, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -5962,13 +6054,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 578, + "line": 573, "character": 34 } ] }, { - "id": 531, + "id": 534, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -5978,7 +6070,7 @@ }, "signatures": [ { - "id": 532, + "id": 535, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -6006,13 +6098,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 554, + "line": 549, "character": 25 } ] }, { - "id": 553, + "id": 556, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -6022,7 +6114,7 @@ }, "signatures": [ { - "id": 554, + "id": 557, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -6044,13 +6136,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 664, + "line": 659, "character": 30 } ] }, { - "id": 547, + "id": 550, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -6060,7 +6152,7 @@ }, "signatures": [ { - "id": 548, + "id": 551, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -6072,7 +6164,7 @@ }, "parameters": [ { - "id": 549, + "id": 552, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -6095,13 +6187,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 640, + "line": 635, "character": 22 } ] }, { - "id": 555, + "id": 558, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -6111,7 +6203,7 @@ }, "signatures": [ { - "id": 556, + "id": 559, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -6123,7 +6215,7 @@ }, "parameters": [ { - "id": 557, + "id": 560, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6148,13 +6240,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 675, + "line": 670, "character": 32 } ] }, { - "id": 459, + "id": 462, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -6163,7 +6255,7 @@ }, "signatures": [ { - "id": 460, + "id": 463, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -6175,7 +6267,7 @@ }, "parameters": [ { - "id": 461, + "id": 464, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6193,7 +6285,7 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6202,7 +6294,7 @@ }, "children": [ { - "id": 463, + "id": 466, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -6216,7 +6308,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 395, + "line": 390, "character": 16 } ], @@ -6244,7 +6336,7 @@ "title": "Variables", "kind": 32, "children": [ - 463 + 466 ] } ] @@ -6260,7 +6352,7 @@ { "type": "reflection", "declaration": { - "id": 464, + "id": 467, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6269,7 +6361,7 @@ }, "children": [ { - "id": 465, + "id": 468, "name": "data", "kind": 32, "kindString": "Variable", @@ -6279,7 +6371,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 396, + "line": 391, "character": 20 } ], @@ -6299,7 +6391,7 @@ } }, { - "id": 466, + "id": 469, "name": "error", "kind": 32, "kindString": "Variable", @@ -6309,7 +6401,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 396, + "line": 391, "character": 43 } ], @@ -6318,7 +6410,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -6333,15 +6426,15 @@ "title": "Variables", "kind": 32, "children": [ - 465, - 466 + 468, + 469 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 396, + "line": 391, "character": 14 } ] @@ -6355,13 +6448,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 394, + "line": 389, "character": 25 } ] }, { - "id": 471, + "id": 474, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -6370,7 +6463,7 @@ }, "signatures": [ { - "id": 472, + "id": 475, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -6383,7 +6476,7 @@ }, "parameters": [ { - "id": 473, + "id": 476, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6393,7 +6486,7 @@ "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6402,7 +6495,7 @@ }, "signatures": [ { - "id": 475, + "id": 478, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6411,7 +6504,7 @@ }, "parameters": [ { - "id": 476, + "id": 479, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -6425,7 +6518,7 @@ } }, { - "id": 477, + "id": 480, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -6457,7 +6550,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 466, + "line": 461, "character": 13 } ] @@ -6468,7 +6561,7 @@ "type": { "type": "reflection", "declaration": { - "id": 478, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6477,7 +6570,7 @@ }, "children": [ { - "id": 479, + "id": 482, "name": "data", "kind": 32, "kindString": "Variable", @@ -6487,7 +6580,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 467, + "line": 462, "character": 11 } ], @@ -6507,7 +6600,7 @@ } }, { - "id": 480, + "id": 483, "name": "error", "kind": 32, "kindString": "Variable", @@ -6517,7 +6610,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 467, + "line": 462, "character": 39 } ], @@ -6526,7 +6619,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -6541,15 +6635,15 @@ "title": "Variables", "kind": 32, "children": [ - 479, - 480 + 482, + 483 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 467, + "line": 462, "character": 4 } ] @@ -6560,13 +6654,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 465, + "line": 460, "character": 19 } ] }, { - "id": 437, + "id": 440, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -6575,7 +6669,7 @@ }, "signatures": [ { - "id": 438, + "id": 441, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -6591,7 +6685,7 @@ { "type": "reflection", "declaration": { - "id": 439, + "id": 442, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6600,7 +6694,7 @@ }, "children": [ { - "id": 440, + "id": 443, "name": "data", "kind": 32, "kindString": "Variable", @@ -6610,7 +6704,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 302, + "line": 303, "character": 8 } ], @@ -6630,7 +6724,7 @@ } }, { - "id": 442, + "id": 445, "name": "error", "kind": 32, "kindString": "Variable", @@ -6640,7 +6734,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 304, + "line": 305, "character": 9 } ], @@ -6649,7 +6743,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -6659,7 +6754,7 @@ } }, { - "id": 441, + "id": 444, "name": "user", "kind": 32, "kindString": "Variable", @@ -6669,7 +6764,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 303, + "line": 304, "character": 8 } ], @@ -6694,16 +6789,16 @@ "title": "Variables", "kind": 32, "children": [ - 440, - 442, - 441 + 443, + 445, + 444 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 301, + "line": 302, "character": 34 } ] @@ -6717,13 +6812,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 301, + "line": 302, "character": 22 } ] }, { - "id": 435, + "id": 438, "name": "session", "kind": 2048, "kindString": "Method", @@ -6732,7 +6827,7 @@ }, "signatures": [ { - "id": 436, + "id": 439, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -6761,13 +6856,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 294, + "line": 295, "character": 9 } ] }, { - "id": 456, + "id": 459, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -6776,7 +6871,7 @@ }, "signatures": [ { - "id": 457, + "id": 460, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -6788,7 +6883,7 @@ }, "parameters": [ { - "id": 458, + "id": 461, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -6814,13 +6909,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 379, + "line": 374, "character": 9 } ] }, { - "id": 450, + "id": 453, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -6829,7 +6924,7 @@ }, "signatures": [ { - "id": 451, + "id": 454, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -6841,7 +6936,7 @@ }, "parameters": [ { - "id": 452, + "id": 455, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -6863,7 +6958,7 @@ { "type": "reflection", "declaration": { - "id": 453, + "id": 456, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6872,7 +6967,7 @@ }, "children": [ { - "id": 455, + "id": 458, "name": "error", "kind": 32, "kindString": "Variable", @@ -6882,7 +6977,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 351, + "line": 352, "character": 45 } ], @@ -6891,7 +6986,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -6901,7 +6997,7 @@ } }, { - "id": 454, + "id": 457, "name": "session", "kind": 32, "kindString": "Variable", @@ -6911,7 +7007,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 351, + "line": 352, "character": 22 } ], @@ -6936,15 +7032,15 @@ "title": "Variables", "kind": 32, "children": [ - 455, - 454 + 458, + 457 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 351, + "line": 352, "character": 13 } ] @@ -6958,13 +7054,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 349, + "line": 350, "character": 18 } ] }, { - "id": 399, + "id": 402, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -6973,7 +7069,7 @@ }, "signatures": [ { - "id": 400, + "id": 403, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -6985,7 +7081,7 @@ }, "parameters": [ { - "id": 401, + "id": 404, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6996,7 +7092,7 @@ "type": { "type": "reflection", "declaration": { - "id": 402, + "id": 405, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7005,7 +7101,7 @@ }, "children": [ { - "id": 403, + "id": 406, "name": "email", "kind": 32, "kindString": "Variable", @@ -7018,7 +7114,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 11 } ], @@ -7037,7 +7133,7 @@ } }, { - "id": 405, + "id": 408, "name": "password", "kind": 32, "kindString": "Variable", @@ -7050,7 +7146,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 28 } ], @@ -7069,7 +7165,7 @@ } }, { - "id": 404, + "id": 407, "name": "phone", "kind": 32, "kindString": "Variable", @@ -7079,7 +7175,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 18 } ], @@ -7098,7 +7194,7 @@ } }, { - "id": 407, + "id": 410, "name": "provider", "kind": 32, "kindString": "Variable", @@ -7111,7 +7207,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 52 } ], @@ -7166,7 +7262,7 @@ } }, { - "id": 406, + "id": 409, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -7179,7 +7275,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 174, + "line": 175, "character": 42 } ], @@ -7203,18 +7299,18 @@ "title": "Variables", "kind": 32, "children": [ - 403, - 405, - 404, + 406, + 408, 407, - 406 + 410, + 409 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 173, + "line": 174, "character": 15 } ] @@ -7222,7 +7318,7 @@ } }, { - "id": 408, + "id": 411, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7232,7 +7328,7 @@ "type": { "type": "reflection", "declaration": { - "id": 409, + "id": 412, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7241,7 +7337,7 @@ }, "children": [ { - "id": 410, + "id": 413, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -7252,7 +7348,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 176, + "line": 177, "character": 16 } ], @@ -7271,7 +7367,7 @@ } }, { - "id": 411, + "id": 414, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -7282,7 +7378,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 177, + "line": 178, "character": 12 } ], @@ -7306,15 +7402,15 @@ "title": "Variables", "kind": 32, "children": [ - 410, - 411 + 413, + 414 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 175, + "line": 176, "character": 12 } ] @@ -7329,7 +7425,7 @@ { "type": "reflection", "declaration": { - "id": 412, + "id": 415, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7338,7 +7434,7 @@ }, "children": [ { - "id": 418, + "id": 421, "name": "data", "kind": 32, "kindString": "Variable", @@ -7348,7 +7444,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 185, + "line": 186, "character": 8 } ], @@ -7368,7 +7464,7 @@ } }, { - "id": 417, + "id": 420, "name": "error", "kind": 32, "kindString": "Variable", @@ -7378,7 +7474,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 184, + "line": 185, "character": 9 } ], @@ -7387,7 +7483,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -7397,7 +7494,7 @@ } }, { - "id": 415, + "id": 418, "name": "provider", "kind": 32, "kindString": "Variable", @@ -7408,7 +7505,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 182, + "line": 183, "character": 12 } ], @@ -7419,7 +7516,7 @@ } }, { - "id": 413, + "id": 416, "name": "session", "kind": 32, "kindString": "Variable", @@ -7429,7 +7526,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 180, + "line": 181, "character": 11 } ], @@ -7449,7 +7546,7 @@ } }, { - "id": 416, + "id": 419, "name": "url", "kind": 32, "kindString": "Variable", @@ -7460,7 +7557,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 183, + "line": 184, "character": 7 } ], @@ -7479,7 +7576,7 @@ } }, { - "id": 414, + "id": 417, "name": "user", "kind": 32, "kindString": "Variable", @@ -7489,7 +7586,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 181, + "line": 182, "character": 8 } ], @@ -7514,19 +7611,19 @@ "title": "Variables", "kind": 32, "children": [ + 421, + 420, 418, - 417, - 415, - 413, 416, - 414 + 419, + 417 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 179, + "line": 180, "character": 13 } ] @@ -7540,13 +7637,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 173, + "line": 174, "character": 14 } ] }, { - "id": 467, + "id": 470, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -7555,7 +7652,7 @@ }, "signatures": [ { - "id": 468, + "id": 471, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -7572,7 +7669,7 @@ { "type": "reflection", "declaration": { - "id": 469, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7581,7 +7678,7 @@ }, "children": [ { - "id": 470, + "id": 473, "name": "error", "kind": 32, "kindString": "Variable", @@ -7591,7 +7688,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 445, "character": 34 } ], @@ -7600,7 +7697,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -7615,14 +7713,14 @@ "title": "Variables", "kind": 32, "children": [ - 470 + 473 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 445, "character": 27 } ] @@ -7636,13 +7734,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 445, "character": 15 } ] }, { - "id": 383, + "id": 386, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -7651,7 +7749,7 @@ }, "signatures": [ { - "id": 384, + "id": 387, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -7663,7 +7761,7 @@ }, "parameters": [ { - "id": 385, + "id": 388, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -7674,7 +7772,7 @@ "type": { "type": "reflection", "declaration": { - "id": 386, + "id": 389, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7683,7 +7781,7 @@ }, "children": [ { - "id": 387, + "id": 390, "name": "email", "kind": 32, "kindString": "Variable", @@ -7696,7 +7794,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 111, + "line": 112, "character": 11 } ], @@ -7715,7 +7813,7 @@ } }, { - "id": 388, + "id": 391, "name": "password", "kind": 32, "kindString": "Variable", @@ -7728,7 +7826,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 111, + "line": 112, "character": 21 } ], @@ -7747,7 +7845,7 @@ } }, { - "id": 389, + "id": 392, "name": "phone", "kind": 32, "kindString": "Variable", @@ -7760,7 +7858,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 111, + "line": 112, "character": 28 } ], @@ -7784,16 +7882,16 @@ "title": "Variables", "kind": 32, "children": [ - 387, - 388, - 389 + 390, + 391, + 392 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 110, + "line": 111, "character": 15 } ] @@ -7801,7 +7899,7 @@ } }, { - "id": 390, + "id": 393, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7811,7 +7909,7 @@ "type": { "type": "reflection", "declaration": { - "id": 391, + "id": 394, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7820,7 +7918,7 @@ }, "children": [ { - "id": 393, + "id": 396, "name": "data", "kind": 32, "kindString": "Variable", @@ -7831,7 +7929,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 114, + "line": 115, "character": 10 } ], @@ -7850,7 +7948,7 @@ } }, { - "id": 392, + "id": 395, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -7861,7 +7959,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 113, + "line": 114, "character": 16 } ], @@ -7885,15 +7983,15 @@ "title": "Variables", "kind": 32, "children": [ - 393, - 392 + 396, + 395 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 112, + "line": 113, "character": 12 } ] @@ -7908,7 +8006,7 @@ { "type": "reflection", "declaration": { - "id": 394, + "id": 397, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7917,7 +8015,7 @@ }, "children": [ { - "id": 398, + "id": 401, "name": "data", "kind": 32, "kindString": "Variable", @@ -7930,7 +8028,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 120, + "line": 121, "character": 8 } ], @@ -7955,7 +8053,7 @@ } }, { - "id": 397, + "id": 400, "name": "error", "kind": 32, "kindString": "Variable", @@ -7965,7 +8063,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 119, + "line": 120, "character": 9 } ], @@ -7974,7 +8072,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -7984,7 +8083,7 @@ } }, { - "id": 396, + "id": 399, "name": "session", "kind": 32, "kindString": "Variable", @@ -7994,7 +8093,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 118, + "line": 119, "character": 11 } ], @@ -8014,7 +8113,7 @@ } }, { - "id": 395, + "id": 398, "name": "user", "kind": 32, "kindString": "Variable", @@ -8024,7 +8123,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 117, + "line": 118, "character": 8 } ], @@ -8049,17 +8148,17 @@ "title": "Variables", "kind": 32, "children": [ - 398, - 397, - 396, - 395 + 401, + 400, + 399, + 398 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 116, + "line": 117, "character": 13 } ] @@ -8073,13 +8172,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 110, + "line": 111, "character": 14 } ] }, { - "id": 443, + "id": 446, "name": "update", "kind": 2048, "kindString": "Method", @@ -8088,7 +8187,7 @@ }, "signatures": [ { - "id": 444, + "id": 447, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -8100,7 +8199,7 @@ }, "parameters": [ { - "id": 445, + "id": 448, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -8120,7 +8219,7 @@ { "type": "reflection", "declaration": { - "id": 446, + "id": 449, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8129,7 +8228,7 @@ }, "children": [ { - "id": 447, + "id": 450, "name": "data", "kind": 32, "kindString": "Variable", @@ -8139,7 +8238,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 324, + "line": 325, "character": 19 } ], @@ -8159,7 +8258,7 @@ } }, { - "id": 449, + "id": 452, "name": "error", "kind": 32, "kindString": "Variable", @@ -8169,7 +8268,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 324, + "line": 325, "character": 58 } ], @@ -8178,7 +8277,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -8188,7 +8288,7 @@ } }, { - "id": 448, + "id": 451, "name": "user", "kind": 32, "kindString": "Variable", @@ -8198,7 +8298,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 324, + "line": 325, "character": 38 } ], @@ -8223,16 +8323,16 @@ "title": "Variables", "kind": 32, "children": [ - 447, - 449, - 448 + 450, + 452, + 451 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 324, + "line": 325, "character": 13 } ] @@ -8246,13 +8346,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 322, + "line": 323, "character": 14 } ] }, { - "id": 433, + "id": 436, "name": "user", "kind": 2048, "kindString": "Method", @@ -8261,7 +8361,7 @@ }, "signatures": [ { - "id": 434, + "id": 437, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -8291,13 +8391,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 287, + "line": 288, "character": 6 } ] }, { - "id": 419, + "id": 422, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -8306,7 +8406,7 @@ }, "signatures": [ { - "id": 420, + "id": 423, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -8318,7 +8418,7 @@ }, "parameters": [ { - "id": 421, + "id": 424, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -8329,7 +8429,7 @@ "type": { "type": "reflection", "declaration": { - "id": 422, + "id": 425, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8338,7 +8438,7 @@ }, "children": [ { - "id": 423, + "id": 426, "name": "phone", "kind": 32, "kindString": "Variable", @@ -8351,7 +8451,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 239, + "line": 240, "character": 11 } ], @@ -8361,7 +8461,7 @@ } }, { - "id": 424, + "id": 427, "name": "token", "kind": 32, "kindString": "Variable", @@ -8374,7 +8474,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 239, + "line": 240, "character": 18 } ], @@ -8389,15 +8489,15 @@ "title": "Variables", "kind": 32, "children": [ - 423, - 424 + 426, + 427 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 238, + "line": 239, "character": 18 } ] @@ -8405,7 +8505,7 @@ } }, { - "id": 425, + "id": 428, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8415,7 +8515,7 @@ "type": { "type": "reflection", "declaration": { - "id": 426, + "id": 429, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8424,7 +8524,7 @@ }, "children": [ { - "id": 427, + "id": 430, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -8435,7 +8535,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 241, + "line": 242, "character": 16 } ], @@ -8459,14 +8559,14 @@ "title": "Variables", "kind": 32, "children": [ - 427 + 430 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 240, + "line": 241, "character": 12 } ] @@ -8481,7 +8581,7 @@ { "type": "reflection", "declaration": { - "id": 428, + "id": 431, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8490,7 +8590,7 @@ }, "children": [ { - "id": 432, + "id": 435, "name": "data", "kind": 32, "kindString": "Variable", @@ -8500,7 +8600,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 247, + "line": 248, "character": 8 } ], @@ -8525,7 +8625,7 @@ } }, { - "id": 431, + "id": 434, "name": "error", "kind": 32, "kindString": "Variable", @@ -8535,7 +8635,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 246, + "line": 247, "character": 9 } ], @@ -8544,7 +8644,8 @@ "types": [ { "type": "reference", - "name": "Error" + "id": 186, + "name": "ApiError" }, { "type": "intrinsic", @@ -8554,7 +8655,7 @@ } }, { - "id": 430, + "id": 433, "name": "session", "kind": 32, "kindString": "Variable", @@ -8564,7 +8665,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 245, + "line": 246, "character": 11 } ], @@ -8584,7 +8685,7 @@ } }, { - "id": 429, + "id": 432, "name": "user", "kind": 32, "kindString": "Variable", @@ -8594,7 +8695,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 244, + "line": 245, "character": 8 } ], @@ -8619,17 +8720,17 @@ "title": "Variables", "kind": 32, "children": [ - 432, - 431, - 430, - 429 + 435, + 434, + 433, + 432 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 243, + "line": 244, "character": 13 } ] @@ -8643,7 +8744,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 238, + "line": 239, "character": 17 } ] @@ -8654,50 +8755,50 @@ "title": "Constructors", "kind": 512, "children": [ - 369 + 372 ] }, { "title": "Properties", "kind": 1024, "children": [ - 361, 364, - 363, - 362, + 367, 366, 365, + 369, 368, - 367 + 371, + 370 ] }, { "title": "Methods", "kind": 2048, "children": [ - 535, - 481, - 498, - 512, - 544, - 550, - 533, - 531, - 553, + 538, + 484, + 501, + 515, 547, - 555, + 553, + 536, + 534, + 556, + 550, + 558, + 462, + 474, + 440, + 438, 459, - 471, - 437, - 435, - 456, - 450, - 399, - 467, - 383, - 443, - 433, - 419 + 453, + 402, + 470, + 386, + 446, + 436, + 422 ] } ], @@ -8710,7 +8811,7 @@ ] }, { - "id": 566, + "id": 569, "name": "AnyFunction", "kind": 4194304, "kindString": "Type alias", @@ -8725,21 +8826,21 @@ "type": { "type": "reflection", "declaration": { - "id": 567, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 568, + "id": 571, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 569, + "id": 572, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -8772,14 +8873,14 @@ } }, { - "id": 570, + "id": 573, "name": "MaybePromisify", "kind": 4194304, "kindString": "Type alias", "flags": {}, "typeParameter": [ { - "id": 571, + "id": 574, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8814,14 +8915,14 @@ } }, { - "id": 572, + "id": 575, "name": "PromisifyMethods", "kind": 4194304, "kindString": "Type alias", "flags": {}, "typeParameter": [ { - "id": 573, + "id": 576, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8838,7 +8939,7 @@ "type": { "type": "reflection", "declaration": { - "id": 574, + "id": 577, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8854,7 +8955,7 @@ } }, { - "id": 575, + "id": 578, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -8868,7 +8969,7 @@ ], "type": { "type": "reference", - "id": 572, + "id": 575, "typeArguments": [ { "type": "reference", @@ -8902,7 +9003,7 @@ } }, { - "id": 558, + "id": 561, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -8911,7 +9012,7 @@ }, "children": [ { - "id": 560, + "id": 563, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -8930,7 +9031,7 @@ "defaultValue": "true" }, { - "id": 562, + "id": 565, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -8949,7 +9050,7 @@ "defaultValue": "true" }, { - "id": 563, + "id": 566, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8964,14 +9065,14 @@ "type": { "type": "reflection", "declaration": { - "id": 564, + "id": 567, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 565, + "id": 568, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -8995,7 +9096,7 @@ "title": "Variables", "kind": 32, "children": [ - 565 + 568 ] } ] @@ -9004,7 +9105,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 561, + "id": 564, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -9023,7 +9124,7 @@ "defaultValue": "true" }, { - "id": 559, + "id": 562, "name": "url", "kind": 32, "kindString": "Variable", @@ -9047,11 +9148,11 @@ "title": "Variables", "kind": 32, "children": [ - 560, - 562, 563, - 561, - 559 + 565, + 566, + 564, + 562 ] } ], @@ -9073,24 +9174,24 @@ "title": "Classes", "kind": 128, "children": [ - 360 + 363 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 566, - 570, - 572, - 575 + 569, + 573, + 575, + 578 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 558 + 561 ] } ], @@ -9103,7 +9204,7 @@ ] }, { - "id": 576, + "id": 579, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -9113,7 +9214,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts", "children": [ { - "id": 578, + "id": 581, "name": "AuthChangeEvent", "kind": 16777216, "kindString": "Reference", @@ -9123,7 +9224,7 @@ "target": 113 }, { - "id": 583, + "id": 586, "name": "CookieOptions", "kind": 16777216, "kindString": "Reference", @@ -9133,7 +9234,7 @@ "target": 97 }, { - "id": 577, + "id": 580, "name": "Provider", "kind": 16777216, "kindString": "Reference", @@ -9143,7 +9244,7 @@ "target": 112 }, { - "id": 579, + "id": 582, "name": "Session", "kind": 16777216, "kindString": "Reference", @@ -9153,7 +9254,7 @@ "target": 50 }, { - "id": 582, + "id": 585, "name": "Subscription", "kind": 16777216, "kindString": "Reference", @@ -9163,7 +9264,7 @@ "target": 87 }, { - "id": 580, + "id": 583, "name": "User", "kind": 16777216, "kindString": "Reference", @@ -9173,7 +9274,7 @@ "target": 58 }, { - "id": 581, + "id": 584, "name": "UserAttributes", "kind": 16777216, "kindString": "Reference", @@ -9183,7 +9284,7 @@ "target": 82 }, { - "id": 584, + "id": 587, "name": "UserCredentials", "kind": 16777216, "kindString": "Reference", @@ -9193,7 +9294,7 @@ "target": 103 }, { - "id": 585, + "id": 588, "name": "VerifyOTPParams", "kind": 16777216, "kindString": "Reference", @@ -9208,15 +9309,15 @@ "title": "References", "kind": 16777216, "children": [ - 578, - 583, - 577, - 579, - 582, - 580, 581, + 586, + 580, + 582, + 585, + 583, 584, - 585 + 587, + 588 ] } ], @@ -11372,7 +11473,7 @@ ] }, { - "id": 356, + "id": 359, "name": "\"lib/polyfills\"", "kind": 1, "kindString": "Module", @@ -11382,7 +11483,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts", "children": [ { - "id": 357, + "id": 360, "name": "polyfillGlobalThis", "kind": 64, "kindString": "Function", @@ -11391,7 +11492,7 @@ }, "signatures": [ { - "id": 358, + "id": 361, "name": "polyfillGlobalThis", "kind": 4096, "kindString": "Call signature", @@ -11421,7 +11522,7 @@ "title": "Functions", "kind": 64, "children": [ - 357 + 360 ] } ], @@ -13247,13 +13348,13 @@ "kind": 1, "children": [ 185, - 359, - 576, + 362, + 579, 116, 129, 1, 173, - 356, + 359, 49, 114 ] diff --git a/web/spec/postgrest.json b/web/spec/postgrest.json index 6e9089b8e35..dda67ee9916 100644 --- a/web/spec/postgrest.json +++ b/web/spec/postgrest.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 448, + "id": 460, "name": "\"PostgrestClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", "children": [ { - "id": 449, + "id": 461, "name": "PostgrestClient", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 456, + "id": 468, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -37,7 +37,7 @@ }, "signatures": [ { - "id": 457, + "id": 469, "name": "new PostgrestClient", "kind": 16384, "kindString": "Constructor signature", @@ -49,7 +49,7 @@ }, "parameters": [ { - "id": 458, + "id": 470, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -65,7 +65,7 @@ } }, { - "id": 459, + "id": 471, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -76,7 +76,7 @@ "type": { "type": "reflection", "declaration": { - "id": 460, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -85,7 +85,7 @@ }, "children": [ { - "id": 461, + "id": 473, "name": "headers", "kind": 32, "kindString": "Variable", @@ -105,7 +105,7 @@ "type": { "type": "reflection", "declaration": { - "id": 462, + "id": 474, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -114,7 +114,7 @@ }, "indexSignature": [ { - "id": 463, + "id": 475, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -123,7 +123,7 @@ }, "parameters": [ { - "id": 464, + "id": 476, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -146,7 +146,7 @@ } }, { - "id": 465, + "id": 477, "name": "schema", "kind": 32, "kindString": "Variable", @@ -183,8 +183,8 @@ "title": "Variables", "kind": 32, "children": [ - 461, - 465 + 473, + 477 ] } ], @@ -202,7 +202,7 @@ ], "type": { "type": "reference", - "id": 449, + "id": 461, "name": "PostgrestClient" } } @@ -216,7 +216,7 @@ ] }, { - "id": 451, + "id": 463, "name": "headers", "kind": 1024, "kindString": "Property", @@ -233,7 +233,7 @@ "type": { "type": "reflection", "declaration": { - "id": 452, + "id": 464, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -242,7 +242,7 @@ }, "indexSignature": [ { - "id": 453, + "id": 465, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -251,7 +251,7 @@ }, "parameters": [ { - "id": 454, + "id": 466, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -281,7 +281,7 @@ } }, { - "id": 455, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -311,7 +311,7 @@ } }, { - "id": 450, + "id": 462, "name": "url", "kind": 1024, "kindString": "Property", @@ -331,7 +331,7 @@ } }, { - "id": 466, + "id": 478, "name": "auth", "kind": 2048, "kindString": "Method", @@ -340,7 +340,7 @@ }, "signatures": [ { - "id": 467, + "id": 479, "name": "auth", "kind": 4096, "kindString": "Call signature", @@ -352,7 +352,7 @@ }, "parameters": [ { - "id": 468, + "id": 480, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -383,7 +383,7 @@ ] }, { - "id": 469, + "id": 481, "name": "from", "kind": 2048, "kindString": "Method", @@ -392,7 +392,7 @@ }, "signatures": [ { - "id": 470, + "id": 482, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -404,7 +404,7 @@ }, "typeParameter": [ { - "id": 471, + "id": 483, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -415,7 +415,7 @@ ], "parameters": [ { - "id": 472, + "id": 484, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -433,7 +433,7 @@ ], "type": { "type": "reference", - "id": 322, + "id": 331, "typeArguments": [ { "type": "typeParameter", @@ -457,7 +457,7 @@ ] }, { - "id": 473, + "id": 485, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -466,7 +466,7 @@ }, "signatures": [ { - "id": 474, + "id": 486, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -478,7 +478,7 @@ }, "typeParameter": [ { - "id": 475, + "id": 487, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -489,7 +489,7 @@ ], "parameters": [ { - "id": 476, + "id": 488, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -505,7 +505,7 @@ } }, { - "id": 477, + "id": 489, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -531,7 +531,7 @@ } }, { - "id": 478, + "id": 490, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -542,7 +542,7 @@ "type": { "type": "reflection", "declaration": { - "id": 479, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -551,7 +551,7 @@ }, "children": [ { - "id": 480, + "id": 493, "name": "count", "kind": 32, "kindString": "Variable", @@ -564,7 +564,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 58, + "line": 60, "character": 11 } ], @@ -590,6 +590,30 @@ ] }, "defaultValue": "null" + }, + { + "id": 492, + "name": "head", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "When set to true, no data will be returned." + }, + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 59, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" } ], "groups": [ @@ -597,14 +621,15 @@ "title": "Variables", "kind": 32, "children": [ - 480 + 493, + 492 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 56, + "line": 57, "character": 20 } ] @@ -615,7 +640,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -633,7 +658,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 54, + "line": 55, "character": 5 } ] @@ -644,25 +669,25 @@ "title": "Constructors", "kind": 512, "children": [ - 456 + 468 ] }, { "title": "Properties", "kind": 1024, "children": [ - 451, - 455, - 450 + 463, + 467, + 462 ] }, { "title": "Methods", "kind": 2048, "children": [ - 466, - 469, - 473 + 478, + 481, + 485 ] } ], @@ -680,7 +705,7 @@ "title": "Classes", "kind": 128, "children": [ - 449 + 461 ] } ], @@ -693,7 +718,7 @@ ] }, { - "id": 481, + "id": 494, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -710,7 +735,7 @@ ] }, { - "id": 126, + "id": 131, "name": "\"lib/PostgrestFilterBuilder\"", "kind": 1, "kindString": "Module", @@ -720,7 +745,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts", "children": [ { - "id": 127, + "id": 132, "name": "PostgrestFilterBuilder", "kind": 128, "kindString": "Class", @@ -729,7 +754,7 @@ }, "typeParameter": [ { - "id": 128, + "id": 133, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -740,7 +765,7 @@ ], "children": [ { - "id": 303, + "id": 312, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -749,7 +774,7 @@ }, "signatures": [ { - "id": 304, + "id": 313, "name": "new PostgrestFilterBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -758,7 +783,7 @@ }, "parameters": [ { - "id": 305, + "id": 314, "name": "builder", "kind": 32768, "kindString": "Parameter", @@ -780,12 +805,12 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } } @@ -793,18 +818,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 40 + "line": 58, + "character": 32 } ], "inheritedFrom": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } }, { - "id": 214, + "id": 219, "name": "adj", "kind": 1024, "kindString": "Property", @@ -822,19 +847,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 306, + "line": 328, "character": 5 } ], "type": { "type": "reference", - "id": 210, + "id": 215, "name": "rangeAdjacent" }, "defaultValue": "this.rangeAdjacent" }, { - "id": 301, + "id": 309, "name": "body", "kind": 1024, "kindString": "Property", @@ -885,7 +910,7 @@ } }, { - "id": 189, + "id": 194, "name": "cd", "kind": 1024, "kindString": "Property", @@ -903,19 +928,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 231, + "line": 253, "character": 4 } ], "type": { "type": "reference", - "id": 185, + "id": 190, "name": "containedBy" }, "defaultValue": "this.containedBy" }, { - "id": 184, + "id": 189, "name": "cs", "kind": 1024, "kindString": "Property", @@ -933,19 +958,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 207, + "line": 229, "character": 4 } ], "type": { "type": "reference", - "id": 180, + "id": 185, "name": "contains" }, "defaultValue": "this.contains" }, { - "id": 296, + "id": 304, "name": "headers", "kind": 1024, "kindString": "Property", @@ -963,7 +988,7 @@ "type": { "type": "reflection", "declaration": { - "id": 297, + "id": 305, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -972,7 +997,7 @@ }, "indexSignature": [ { - "id": 298, + "id": 306, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -981,7 +1006,7 @@ }, "parameters": [ { - "id": 299, + "id": 307, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -1016,7 +1041,7 @@ } }, { - "id": 294, + "id": 302, "name": "method", "kind": 1024, "kindString": "Property", @@ -1063,7 +1088,7 @@ } }, { - "id": 204, + "id": 209, "name": "nxl", "kind": 1024, "kindString": "Property", @@ -1081,19 +1106,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 276, + "line": 298, "character": 5 } ], "type": { "type": "reference", - "id": 200, + "id": 205, "name": "rangeGte" }, "defaultValue": "this.rangeGte" }, { - "id": 209, + "id": 214, "name": "nxr", "kind": 1024, "kindString": "Property", @@ -1111,19 +1136,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 291, + "line": 313, "character": 5 } ], "type": { "type": "reference", - "id": 205, + "id": 210, "name": "rangeLte" }, "defaultValue": "this.rangeLte" }, { - "id": 219, + "id": 224, "name": "ov", "kind": 1024, "kindString": "Property", @@ -1141,19 +1166,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 327, + "line": 349, "character": 4 } ], "type": { "type": "reference", - "id": 215, + "id": 220, "name": "overlaps" }, "defaultValue": "this.overlaps" }, { - "id": 300, + "id": 308, "name": "schema", "kind": 1024, "kindString": "Property", @@ -1189,10 +1214,37 @@ } }, { - "id": 302, + "id": 310, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 57, + "character": 30 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 37, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 311, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -1201,35 +1253,22 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 30 + "line": 58, + "character": 18 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 38, + "name": "PostgrestBuilder.signal" } }, { - "id": 194, + "id": 199, "name": "sl", "kind": 1024, "kindString": "Property", @@ -1247,19 +1286,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 246, + "line": 268, "character": 4 } ], "type": { "type": "reference", - "id": 190, + "id": 195, "name": "rangeLt" }, "defaultValue": "this.rangeLt" }, { - "id": 199, + "id": 204, "name": "sr", "kind": 1024, "kindString": "Property", @@ -1277,19 +1316,19 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 261, + "line": 283, "character": 4 } ], "type": { "type": "reference", - "id": 195, + "id": 200, "name": "rangeGt" }, "defaultValue": "this.rangeGt" }, { - "id": 295, + "id": 303, "name": "url", "kind": 1024, "kindString": "Property", @@ -1315,7 +1354,66 @@ } }, { - "id": 185, + "id": 293, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 294, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Sets the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 295, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "id": 95, + "name": "PostgrestTransformBuilder.abortSignal" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestTransformBuilder.ts", + "line": 91, + "character": 13 + } + ], + "inheritedFrom": { + "type": "reference", + "id": 95, + "name": "PostgrestTransformBuilder.abortSignal" + } + }, + { + "id": 190, "name": "containedBy", "kind": 2048, "kindString": "Method", @@ -1324,7 +1422,7 @@ }, "signatures": [ { - "id": 186, + "id": 191, "name": "containedBy", "kind": 4096, "kindString": "Call signature", @@ -1334,6 +1432,105 @@ "comment": { "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`." }, + "parameters": [ + { + "id": 192, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 193, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The value to filter with.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + }, + "objectType": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "type": "intrinsic", + "name": "object" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestFilterBuilder.ts", + "line": 238, + "character": 13 + } + ] + }, + { + "id": 185, + "name": "contains", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 186, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`." + }, "parameters": [ { "id": 187, @@ -1408,112 +1605,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 216, - "character": 13 - } - ] - }, - { - "id": 180, - "name": "contains", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 181, - "name": "contains", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`." - }, - "parameters": [ - { - "id": 182, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 183, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 191, + "line": 213, "character": 10 } ] }, { - "id": 292, + "id": 300, "name": "csv", "kind": 2048, "kindString": "Method", @@ -1522,7 +1620,7 @@ }, "signatures": [ { - "id": 293, + "id": 301, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -1537,7 +1635,7 @@ "typeArguments": [ { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "intrinsic", @@ -1551,7 +1649,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 98, + "id": 102, "name": "PostgrestTransformBuilder.csv" } } @@ -1559,18 +1657,18 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 126, + "line": 134, "character": 5 } ], "inheritedFrom": { "type": "reference", - "id": 98, + "id": 102, "name": "PostgrestTransformBuilder.csv" } }, { - "id": 140, + "id": 145, "name": "eq", "kind": 2048, "kindString": "Method", @@ -1579,7 +1677,7 @@ }, "signatures": [ { - "id": 141, + "id": 146, "name": "eq", "kind": 4096, "kindString": "Call signature", @@ -1591,7 +1689,7 @@ }, "parameters": [ { - "id": 142, + "id": 147, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -1611,7 +1709,7 @@ } }, { - "id": 143, + "id": 148, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -1647,13 +1745,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 63, + "line": 85, "character": 4 } ] }, { - "id": 256, + "id": 261, "name": "filter", "kind": 2048, "kindString": "Method", @@ -1662,7 +1760,7 @@ }, "signatures": [ { - "id": 257, + "id": 262, "name": "filter", "kind": 4096, "kindString": "Call signature", @@ -1674,7 +1772,7 @@ }, "parameters": [ { - "id": 258, + "id": 263, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -1694,7 +1792,7 @@ } }, { - "id": 259, + "id": 264, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -1706,12 +1804,12 @@ }, "type": { "type": "reference", - "id": 320, + "id": 329, "name": "FilterOperator" } }, { - "id": 260, + "id": 265, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -1736,13 +1834,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 430, + "line": 452, "character": 8 } ] }, { - "id": 228, + "id": 233, "name": "fts", "kind": 2048, "kindString": "Method", @@ -1751,7 +1849,7 @@ }, "signatures": [ { - "id": 229, + "id": 234, "name": "fts", "kind": 4096, "kindString": "Call signature", @@ -1769,7 +1867,7 @@ }, "parameters": [ { - "id": 230, + "id": 235, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -1789,7 +1887,7 @@ } }, { - "id": 231, + "id": 236, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -1805,7 +1903,7 @@ } }, { - "id": 232, + "id": 237, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1816,7 +1914,7 @@ "type": { "type": "reflection", "declaration": { - "id": 233, + "id": 238, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1825,7 +1923,7 @@ }, "children": [ { - "id": 234, + "id": 239, "name": "config", "kind": 32, "kindString": "Variable", @@ -1838,7 +1936,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 369, + "line": 391, "character": 46 } ], @@ -1862,14 +1960,14 @@ "title": "Variables", "kind": 32, "children": [ - 234 + 239 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 369, + "line": 391, "character": 37 } ] @@ -1887,13 +1985,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 369, + "line": 391, "character": 5 } ] }, { - "id": 148, + "id": 153, "name": "gt", "kind": 2048, "kindString": "Method", @@ -1902,7 +2000,7 @@ }, "signatures": [ { - "id": 149, + "id": 154, "name": "gt", "kind": 4096, "kindString": "Call signature", @@ -1914,7 +2012,7 @@ }, "parameters": [ { - "id": 150, + "id": 155, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -1934,7 +2032,7 @@ } }, { - "id": 151, + "id": 156, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -1970,13 +2068,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 87, + "line": 109, "character": 4 } ] }, { - "id": 152, + "id": 157, "name": "gte", "kind": 2048, "kindString": "Method", @@ -1985,7 +2083,7 @@ }, "signatures": [ { - "id": 153, + "id": 158, "name": "gte", "kind": 4096, "kindString": "Call signature", @@ -1997,7 +2095,7 @@ }, "parameters": [ { - "id": 154, + "id": 159, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -2017,7 +2115,7 @@ } }, { - "id": 155, + "id": 160, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -2053,13 +2151,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 99, + "line": 121, "character": 5 } ] }, { - "id": 168, + "id": 173, "name": "ilike", "kind": 2048, "kindString": "Method", @@ -2068,7 +2166,7 @@ }, "signatures": [ { - "id": 169, + "id": 174, "name": "ilike", "kind": 4096, "kindString": "Call signature", @@ -2080,7 +2178,7 @@ }, "parameters": [ { - "id": 170, + "id": 175, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -2100,7 +2198,7 @@ } }, { - "id": 171, + "id": 176, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -2125,13 +2223,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 147, + "line": 169, "character": 7 } ] }, { - "id": 176, + "id": 181, "name": "in", "kind": 2048, "kindString": "Method", @@ -2140,7 +2238,7 @@ }, "signatures": [ { - "id": 177, + "id": 182, "name": "in", "kind": 4096, "kindString": "Call signature", @@ -2152,7 +2250,7 @@ }, "parameters": [ { - "id": 178, + "id": 183, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -2172,7 +2270,7 @@ } }, { - "id": 179, + "id": 184, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -2211,13 +2309,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 171, + "line": 193, "character": 4 } ] }, { - "id": 172, + "id": 177, "name": "is", "kind": 2048, "kindString": "Method", @@ -2226,7 +2324,7 @@ }, "signatures": [ { - "id": 173, + "id": 178, "name": "is", "kind": 4096, "kindString": "Call signature", @@ -2238,7 +2336,7 @@ }, "parameters": [ { - "id": 174, + "id": 179, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -2258,7 +2356,7 @@ } }, { - "id": 175, + "id": 180, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -2292,13 +2390,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 159, + "line": 181, "character": 4 } ] }, { - "id": 164, + "id": 169, "name": "like", "kind": 2048, "kindString": "Method", @@ -2307,7 +2405,7 @@ }, "signatures": [ { - "id": 165, + "id": 170, "name": "like", "kind": 4096, "kindString": "Call signature", @@ -2319,7 +2417,7 @@ }, "parameters": [ { - "id": 166, + "id": 171, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -2339,7 +2437,7 @@ } }, { - "id": 167, + "id": 172, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -2364,13 +2462,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 135, + "line": 157, "character": 6 } ] }, { - "id": 275, + "id": 280, "name": "limit", "kind": 2048, "kindString": "Method", @@ -2379,7 +2477,7 @@ }, "signatures": [ { - "id": 276, + "id": 281, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -2391,7 +2489,7 @@ }, "parameters": [ { - "id": 277, + "id": 282, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -2407,7 +2505,7 @@ } }, { - "id": 278, + "id": 283, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -2418,7 +2516,7 @@ "type": { "type": "reflection", "declaration": { - "id": 279, + "id": 284, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2427,7 +2525,7 @@ }, "children": [ { - "id": 280, + "id": 285, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -2464,7 +2562,7 @@ "title": "Variables", "kind": 32, "children": [ - 280 + 285 ] } ], @@ -2486,7 +2584,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 81, + "id": 82, "name": "PostgrestTransformBuilder.limit" } } @@ -2500,12 +2598,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 81, + "id": 82, "name": "PostgrestTransformBuilder.limit" } }, { - "id": 156, + "id": 161, "name": "lt", "kind": 2048, "kindString": "Method", @@ -2514,7 +2612,7 @@ }, "signatures": [ { - "id": 157, + "id": 162, "name": "lt", "kind": 4096, "kindString": "Call signature", @@ -2526,7 +2624,7 @@ }, "parameters": [ { - "id": 158, + "id": 163, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -2546,7 +2644,7 @@ } }, { - "id": 159, + "id": 164, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -2582,13 +2680,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 111, + "line": 133, "character": 4 } ] }, { - "id": 160, + "id": 165, "name": "lte", "kind": 2048, "kindString": "Method", @@ -2597,7 +2695,7 @@ }, "signatures": [ { - "id": 161, + "id": 166, "name": "lte", "kind": 4096, "kindString": "Call signature", @@ -2609,7 +2707,7 @@ }, "parameters": [ { - "id": 162, + "id": 167, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -2629,7 +2727,7 @@ } }, { - "id": 163, + "id": 168, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -2665,13 +2763,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 123, + "line": 145, "character": 5 } ] }, { - "id": 261, + "id": 266, "name": "match", "kind": 2048, "kindString": "Method", @@ -2680,7 +2778,7 @@ }, "signatures": [ { - "id": 262, + "id": 267, "name": "match", "kind": 4096, "kindString": "Call signature", @@ -2692,7 +2790,7 @@ }, "parameters": [ { - "id": 263, + "id": 268, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -2727,13 +2825,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 441, + "line": 463, "character": 7 } ] }, { - "id": 290, + "id": 298, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -2742,7 +2840,7 @@ }, "signatures": [ { - "id": 291, + "id": 299, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -2757,7 +2855,7 @@ "typeArguments": [ { "type": "reference", - "id": 65, + "id": 66, "typeArguments": [ { "type": "typeParameter", @@ -2771,7 +2869,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 96, + "id": 100, "name": "PostgrestTransformBuilder.maybeSingle" } } @@ -2779,18 +2877,18 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 102, + "line": 110, "character": 13 } ], "inheritedFrom": { "type": "reference", - "id": 96, + "id": 100, "name": "PostgrestTransformBuilder.maybeSingle" } }, { - "id": 144, + "id": 149, "name": "neq", "kind": 2048, "kindString": "Method", @@ -2799,7 +2897,7 @@ }, "signatures": [ { - "id": 145, + "id": 150, "name": "neq", "kind": 4096, "kindString": "Call signature", @@ -2811,7 +2909,7 @@ }, "parameters": [ { - "id": 146, + "id": 151, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -2831,7 +2929,7 @@ } }, { - "id": 147, + "id": 152, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -2867,13 +2965,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 75, + "line": 97, "character": 5 } ] }, { - "id": 129, + "id": 134, "name": "not", "kind": 2048, "kindString": "Method", @@ -2882,7 +2980,7 @@ }, "signatures": [ { - "id": 130, + "id": 135, "name": "not", "kind": 4096, "kindString": "Call signature", @@ -2894,7 +2992,7 @@ }, "parameters": [ { - "id": 131, + "id": 136, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -2914,7 +3012,7 @@ } }, { - "id": 132, + "id": 137, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -2926,12 +3024,12 @@ }, "type": { "type": "reference", - "id": 320, + "id": 329, "name": "FilterOperator" } }, { - "id": 133, + "id": 138, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -2956,13 +3054,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 39, + "line": 61, "character": 5 } ] }, { - "id": 134, + "id": 139, "name": "or", "kind": 2048, "kindString": "Method", @@ -2971,7 +3069,7 @@ }, "signatures": [ { - "id": 135, + "id": 140, "name": "or", "kind": 4096, "kindString": "Call signature", @@ -2983,7 +3081,7 @@ }, "parameters": [ { - "id": 136, + "id": 141, "name": "filters", "kind": 32768, "kindString": "Parameter", @@ -2999,7 +3097,7 @@ } }, { - "id": 137, + "id": 142, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3010,7 +3108,7 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3019,7 +3117,7 @@ }, "children": [ { - "id": 139, + "id": 144, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -3032,7 +3130,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 50, + "line": 72, "character": 36 } ], @@ -3056,14 +3154,14 @@ "title": "Variables", "kind": 32, "children": [ - 139 + 144 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 50, + "line": 72, "character": 21 } ] @@ -3081,13 +3179,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 50, + "line": 72, "character": 4 } ] }, { - "id": 267, + "id": 272, "name": "order", "kind": 2048, "kindString": "Method", @@ -3096,7 +3194,7 @@ }, "signatures": [ { - "id": 268, + "id": 273, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -3108,7 +3206,7 @@ }, "parameters": [ { - "id": 269, + "id": 274, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -3128,7 +3226,7 @@ } }, { - "id": 270, + "id": 275, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3139,7 +3237,7 @@ "type": { "type": "reflection", "declaration": { - "id": 271, + "id": 276, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3148,7 +3246,7 @@ }, "children": [ { - "id": 272, + "id": 277, "name": "ascending", "kind": 32, "kindString": "Variable", @@ -3172,7 +3270,7 @@ "defaultValue": "true" }, { - "id": 274, + "id": 279, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -3204,7 +3302,7 @@ } }, { - "id": 273, + "id": 278, "name": "nullsFirst", "kind": 32, "kindString": "Variable", @@ -3233,9 +3331,9 @@ "title": "Variables", "kind": 32, "children": [ - 272, - 274, - 273 + 277, + 279, + 278 ] } ], @@ -3257,7 +3355,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 73, + "id": 74, "name": "PostgrestTransformBuilder.order" } } @@ -3271,12 +3369,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 73, + "id": 74, "name": "PostgrestTransformBuilder.order" } }, { - "id": 215, + "id": 220, "name": "overlaps", "kind": 2048, "kindString": "Method", @@ -3285,7 +3383,7 @@ }, "signatures": [ { - "id": 216, + "id": 221, "name": "overlaps", "kind": 4096, "kindString": "Call signature", @@ -3297,7 +3395,7 @@ }, "parameters": [ { - "id": 217, + "id": 222, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -3317,7 +3415,7 @@ } }, { - "id": 218, + "id": 223, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -3365,13 +3463,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 315, + "line": 337, "character": 10 } ] }, { - "id": 242, + "id": 247, "name": "phfts", "kind": 2048, "kindString": "Method", @@ -3380,7 +3478,7 @@ }, "signatures": [ { - "id": 243, + "id": 248, "name": "phfts", "kind": 4096, "kindString": "Call signature", @@ -3398,7 +3496,7 @@ }, "parameters": [ { - "id": 244, + "id": 249, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -3418,7 +3516,7 @@ } }, { - "id": 245, + "id": 250, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -3434,7 +3532,7 @@ } }, { - "id": 246, + "id": 251, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3445,7 +3543,7 @@ "type": { "type": "reflection", "declaration": { - "id": 247, + "id": 252, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3454,7 +3552,7 @@ }, "children": [ { - "id": 248, + "id": 253, "name": "config", "kind": 32, "kindString": "Variable", @@ -3467,7 +3565,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 401, + "line": 423, "character": 48 } ], @@ -3491,14 +3589,14 @@ "title": "Variables", "kind": 32, "children": [ - 248 + 253 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 401, + "line": 423, "character": 39 } ] @@ -3516,13 +3614,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 401, + "line": 423, "character": 7 } ] }, { - "id": 235, + "id": 240, "name": "plfts", "kind": 2048, "kindString": "Method", @@ -3531,7 +3629,7 @@ }, "signatures": [ { - "id": 236, + "id": 241, "name": "plfts", "kind": 4096, "kindString": "Call signature", @@ -3549,7 +3647,7 @@ }, "parameters": [ { - "id": 237, + "id": 242, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -3569,7 +3667,7 @@ } }, { - "id": 238, + "id": 243, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -3585,7 +3683,7 @@ } }, { - "id": 239, + "id": 244, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3596,7 +3694,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 245, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3605,7 +3703,7 @@ }, "children": [ { - "id": 241, + "id": 246, "name": "config", "kind": 32, "kindString": "Variable", @@ -3618,7 +3716,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 385, + "line": 407, "character": 48 } ], @@ -3642,14 +3740,14 @@ "title": "Variables", "kind": 32, "children": [ - 241 + 246 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 385, + "line": 407, "character": 39 } ] @@ -3667,13 +3765,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 385, + "line": 407, "character": 7 } ] }, { - "id": 281, + "id": 286, "name": "range", "kind": 2048, "kindString": "Method", @@ -3682,7 +3780,7 @@ }, "signatures": [ { - "id": 282, + "id": 287, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -3694,7 +3792,7 @@ }, "parameters": [ { - "id": 283, + "id": 288, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -3710,7 +3808,7 @@ } }, { - "id": 284, + "id": 289, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -3726,7 +3824,7 @@ } }, { - "id": 285, + "id": 290, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3737,7 +3835,7 @@ "type": { "type": "reflection", "declaration": { - "id": 286, + "id": 291, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3746,7 +3844,7 @@ }, "children": [ { - "id": 287, + "id": 292, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -3783,7 +3881,7 @@ "title": "Variables", "kind": 32, "children": [ - 287 + 292 ] } ], @@ -3805,7 +3903,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 87, + "id": 88, "name": "PostgrestTransformBuilder.range" } } @@ -3819,12 +3917,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 87, + "id": 88, "name": "PostgrestTransformBuilder.range" } }, { - "id": 210, + "id": 215, "name": "rangeAdjacent", "kind": 2048, "kindString": "Method", @@ -3833,7 +3931,7 @@ }, "signatures": [ { - "id": 211, + "id": 216, "name": "rangeAdjacent", "kind": 4096, "kindString": "Call signature", @@ -3845,7 +3943,7 @@ }, "parameters": [ { - "id": 212, + "id": 217, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -3865,7 +3963,7 @@ } }, { - "id": 213, + "id": 218, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -3890,13 +3988,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 300, + "line": 322, "character": 15 } ] }, { - "id": 195, + "id": 200, "name": "rangeGt", "kind": 2048, "kindString": "Method", @@ -3905,7 +4003,7 @@ }, "signatures": [ { - "id": 196, + "id": 201, "name": "rangeGt", "kind": 4096, "kindString": "Call signature", @@ -3915,78 +4013,6 @@ "comment": { "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`." }, - "parameters": [ - { - "id": 197, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 198, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 255, - "character": 9 - } - ] - }, - { - "id": 200, - "name": "rangeGte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 201, - "name": "rangeGte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`." - }, "parameters": [ { "id": 202, @@ -4034,86 +4060,14 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 270, - "character": 10 - } - ] - }, - { - "id": 190, - "name": "rangeLt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 191, - "name": "rangeLt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`." - }, - "parameters": [ - { - "id": 192, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 193, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 240, + "line": 277, "character": 9 } ] }, { "id": 205, - "name": "rangeLte", + "name": "rangeGte", "kind": 2048, "kindString": "Method", "flags": { @@ -4122,14 +4076,14 @@ "signatures": [ { "id": 206, - "name": "rangeLte", + "name": "rangeGte", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`." + "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`." }, "parameters": [ { @@ -4178,13 +4132,157 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 285, + "line": 292, "character": 10 } ] }, { - "id": 264, + "id": 195, + "name": "rangeLt", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 196, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`." + }, + "parameters": [ + { + "id": 197, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 198, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestFilterBuilder.ts", + "line": 262, + "character": 9 + } + ] + }, + { + "id": 210, + "name": "rangeLte", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 211, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`." + }, + "parameters": [ + { + "id": 212, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 213, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestFilterBuilder.ts", + "line": 307, + "character": 10 + } + ] + }, + { + "id": 269, "name": "select", "kind": 2048, "kindString": "Method", @@ -4193,7 +4291,7 @@ }, "signatures": [ { - "id": 265, + "id": 270, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -4205,7 +4303,7 @@ }, "parameters": [ { - "id": 266, + "id": 271, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -4228,7 +4326,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 70, + "id": 71, "name": "PostgrestTransformBuilder.select" } } @@ -4242,12 +4340,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 70, + "id": 71, "name": "PostgrestTransformBuilder.select" } }, { - "id": 288, + "id": 296, "name": "single", "kind": 2048, "kindString": "Method", @@ -4256,7 +4354,7 @@ }, "signatures": [ { - "id": 289, + "id": 297, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -4271,7 +4369,7 @@ "typeArguments": [ { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "typeParameter", @@ -4285,7 +4383,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 94, + "id": 98, "name": "PostgrestTransformBuilder.single" } } @@ -4293,18 +4391,18 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 92, + "line": 100, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 94, + "id": 98, "name": "PostgrestTransformBuilder.single" } }, { - "id": 220, + "id": 225, "name": "textSearch", "kind": 2048, "kindString": "Method", @@ -4313,7 +4411,7 @@ }, "signatures": [ { - "id": 221, + "id": 226, "name": "textSearch", "kind": 4096, "kindString": "Call signature", @@ -4325,7 +4423,7 @@ }, "parameters": [ { - "id": 222, + "id": 227, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -4345,7 +4443,7 @@ } }, { - "id": 223, + "id": 228, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -4361,7 +4459,7 @@ } }, { - "id": 224, + "id": 229, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4372,7 +4470,7 @@ "type": { "type": "reflection", "declaration": { - "id": 225, + "id": 230, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4381,7 +4479,7 @@ }, "children": [ { - "id": 226, + "id": 231, "name": "config", "kind": 32, "kindString": "Variable", @@ -4394,7 +4492,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 342, + "line": 364, "character": 12 } ], @@ -4413,7 +4511,7 @@ } }, { - "id": 227, + "id": 232, "name": "type", "kind": 32, "kindString": "Variable", @@ -4426,7 +4524,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 343, + "line": 365, "character": 10 } ], @@ -4459,15 +4557,15 @@ "title": "Variables", "kind": 32, "children": [ - 226, - 227 + 231, + 232 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 340, + "line": 362, "character": 18 } ] @@ -4485,13 +4583,13 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 338, + "line": 360, "character": 12 } ] }, { - "id": 308, + "id": 317, "name": "then", "kind": 2048, "kindString": "Method", @@ -4500,7 +4598,7 @@ }, "signatures": [ { - "id": 309, + "id": 318, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -4509,7 +4607,7 @@ }, "typeParameter": [ { - "id": 310, + "id": 319, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -4518,7 +4616,7 @@ } }, { - "id": 311, + "id": 320, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -4529,7 +4627,7 @@ ], "parameters": [ { - "id": 312, + "id": 321, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -4543,7 +4641,7 @@ { "type": "reflection", "declaration": { - "id": 313, + "id": 322, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4552,7 +4650,7 @@ }, "signatures": [ { - "id": 314, + "id": 323, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4561,7 +4659,7 @@ }, "parameters": [ { - "id": 315, + "id": 324, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -4570,7 +4668,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -4625,7 +4723,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -4643,7 +4741,7 @@ } }, { - "id": 316, + "id": 325, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -4657,7 +4755,7 @@ { "type": "reflection", "declaration": { - "id": 317, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4666,7 +4764,7 @@ }, "signatures": [ { - "id": 318, + "id": 327, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4675,7 +4773,7 @@ }, "parameters": [ { - "id": 319, + "id": 328, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -4720,7 +4818,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -4773,7 +4871,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } } @@ -4781,18 +4879,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } }, { - "id": 306, + "id": 315, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -4801,7 +4899,7 @@ }, "signatures": [ { - "id": 307, + "id": 316, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -4825,7 +4923,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -4833,18 +4931,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 249, + "id": 254, "name": "wfts", "kind": 2048, "kindString": "Method", @@ -4853,7 +4951,7 @@ }, "signatures": [ { - "id": 250, + "id": 255, "name": "wfts", "kind": 4096, "kindString": "Call signature", @@ -4871,7 +4969,7 @@ }, "parameters": [ { - "id": 251, + "id": 256, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -4891,7 +4989,7 @@ } }, { - "id": 252, + "id": 257, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -4907,7 +5005,7 @@ } }, { - "id": 253, + "id": 258, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4918,7 +5016,7 @@ "type": { "type": "reflection", "declaration": { - "id": 254, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4927,7 +5025,7 @@ }, "children": [ { - "id": 255, + "id": 260, "name": "config", "kind": 32, "kindString": "Variable", @@ -4940,7 +5038,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 417, + "line": 439, "character": 47 } ], @@ -4964,14 +5062,14 @@ "title": "Variables", "kind": 32, "children": [ - 255 + 260 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 417, + "line": 439, "character": 38 } ] @@ -4989,7 +5087,7 @@ "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 417, + "line": 439, "character": 6 } ] @@ -5000,83 +5098,85 @@ "title": "Constructors", "kind": 512, "children": [ - 303 + 312 ] }, { "title": "Properties", "kind": 1024, "children": [ - 214, - 301, - 189, - 184, - 296, - 294, - 204, - 209, 219, - 300, - 302, + 309, 194, + 189, + 304, + 302, + 209, + 214, + 224, + 308, + 310, + 311, 199, - 295 + 204, + 303 ] }, { "title": "Methods", "kind": 2048, "children": [ - 185, - 180, - 292, - 140, - 256, - 228, - 148, - 152, - 168, - 176, - 172, - 164, - 275, - 156, - 160, - 261, - 290, - 144, - 129, - 134, - 267, - 215, - 242, - 235, - 281, - 210, - 195, - 200, + 293, 190, - 205, - 264, - 288, + 185, + 300, + 145, + 261, + 233, + 153, + 157, + 173, + 181, + 177, + 169, + 280, + 161, + 165, + 266, + 298, + 149, + 134, + 139, + 272, 220, - 308, - 306, - 249 + 247, + 240, + 286, + 215, + 200, + 205, + 195, + 210, + 269, + 296, + 225, + 317, + 315, + 254 ] } ], "sources": [ { "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 31, + "line": 53, "character": 43 } ], "extendedTypes": [ { "type": "reference", - "id": 68, + "id": 69, "typeArguments": [ { "type": "typeParameter", @@ -5092,7 +5192,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -5107,7 +5207,7 @@ ] }, { - "id": 320, + "id": 329, "name": "FilterOperator", "kind": 4194304, "kindString": "Type alias", @@ -5212,6 +5312,94 @@ { "type": "stringLiteral", "value": "wfts" + }, + { + "type": "stringLiteral", + "value": "not.eq" + }, + { + "type": "stringLiteral", + "value": "not.neq" + }, + { + "type": "stringLiteral", + "value": "not.gt" + }, + { + "type": "stringLiteral", + "value": "not.gte" + }, + { + "type": "stringLiteral", + "value": "not.lt" + }, + { + "type": "stringLiteral", + "value": "not.lte" + }, + { + "type": "stringLiteral", + "value": "not.like" + }, + { + "type": "stringLiteral", + "value": "not.ilike" + }, + { + "type": "stringLiteral", + "value": "not.is" + }, + { + "type": "stringLiteral", + "value": "not.in" + }, + { + "type": "stringLiteral", + "value": "not.cs" + }, + { + "type": "stringLiteral", + "value": "not.cd" + }, + { + "type": "stringLiteral", + "value": "not.sl" + }, + { + "type": "stringLiteral", + "value": "not.sr" + }, + { + "type": "stringLiteral", + "value": "not.nxl" + }, + { + "type": "stringLiteral", + "value": "not.nxr" + }, + { + "type": "stringLiteral", + "value": "not.adj" + }, + { + "type": "stringLiteral", + "value": "not.ov" + }, + { + "type": "stringLiteral", + "value": "not.fts" + }, + { + "type": "stringLiteral", + "value": "not.plfts" + }, + { + "type": "stringLiteral", + "value": "not.phfts" + }, + { + "type": "stringLiteral", + "value": "not.wfts" } ] } @@ -5222,14 +5410,14 @@ "title": "Classes", "kind": 128, "children": [ - 127 + 132 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 320 + 329 ] } ], @@ -5242,7 +5430,7 @@ ] }, { - "id": 321, + "id": 330, "name": "\"lib/PostgrestQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -5252,7 +5440,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts", "children": [ { - "id": 322, + "id": 331, "name": "PostgrestQueryBuilder", "kind": 128, "kindString": "Class", @@ -5261,7 +5449,7 @@ }, "typeParameter": [ { - "id": 323, + "id": 332, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5272,7 +5460,7 @@ ], "children": [ { - "id": 324, + "id": 333, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -5281,7 +5469,7 @@ }, "signatures": [ { - "id": 325, + "id": 334, "name": "new PostgrestQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -5290,7 +5478,7 @@ }, "parameters": [ { - "id": 326, + "id": 335, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -5303,7 +5491,7 @@ } }, { - "id": 327, + "id": 336, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5314,7 +5502,7 @@ "type": { "type": "reflection", "declaration": { - "id": 328, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5323,7 +5511,7 @@ }, "children": [ { - "id": 329, + "id": 338, "name": "headers", "kind": 32, "kindString": "Variable", @@ -5340,7 +5528,7 @@ "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5349,7 +5537,7 @@ }, "indexSignature": [ { - "id": 331, + "id": 340, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5358,7 +5546,7 @@ }, "parameters": [ { - "id": 332, + "id": 341, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5381,7 +5569,7 @@ } }, { - "id": 333, + "id": 342, "name": "schema", "kind": 32, "kindString": "Variable", @@ -5415,8 +5603,8 @@ "title": "Variables", "kind": 32, "children": [ - 329, - 333 + 338, + 342 ] } ], @@ -5434,12 +5622,12 @@ ], "type": { "type": "reference", - "id": 322, + "id": 331, "name": "PostgrestQueryBuilder" }, "overwrites": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } } @@ -5453,12 +5641,12 @@ ], "overwrites": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } }, { - "id": 385, + "id": 394, "name": "body", "kind": 1024, "kindString": "Property", @@ -5509,7 +5697,7 @@ } }, { - "id": 380, + "id": 389, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5527,7 +5715,7 @@ "type": { "type": "reflection", "declaration": { - "id": 381, + "id": 390, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5536,7 +5724,7 @@ }, "indexSignature": [ { - "id": 382, + "id": 391, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5545,7 +5733,7 @@ }, "parameters": [ { - "id": 383, + "id": 392, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5580,7 +5768,7 @@ } }, { - "id": 378, + "id": 387, "name": "method", "kind": 1024, "kindString": "Property", @@ -5627,7 +5815,7 @@ } }, { - "id": 384, + "id": 393, "name": "schema", "kind": 1024, "kindString": "Property", @@ -5663,10 +5851,37 @@ } }, { - "id": 386, + "id": 395, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 57, + "character": 30 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 37, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 396, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -5675,35 +5890,22 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 30 + "line": 58, + "character": 18 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 38, + "name": "PostgrestBuilder.signal" } }, { - "id": 379, + "id": 388, "name": "url", "kind": 1024, "kindString": "Property", @@ -5729,7 +5931,7 @@ } }, { - "id": 372, + "id": 381, "name": "delete", "kind": 2048, "kindString": "Method", @@ -5738,7 +5940,7 @@ }, "signatures": [ { - "id": 373, + "id": 382, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -5750,7 +5952,7 @@ }, "parameters": [ { - "id": 374, + "id": 383, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5761,7 +5963,7 @@ "type": { "type": "reflection", "declaration": { - "id": 375, + "id": 384, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5770,7 +5972,7 @@ }, "children": [ { - "id": 377, + "id": 386, "name": "count", "kind": 32, "kindString": "Variable", @@ -5811,7 +6013,7 @@ "defaultValue": "null" }, { - "id": 376, + "id": 385, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5849,8 +6051,8 @@ "title": "Variables", "kind": 32, "children": [ - 377, - 376 + 386, + 385 ] } ], @@ -5868,7 +6070,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -5888,7 +6090,7 @@ ] }, { - "id": 341, + "id": 350, "name": "insert", "kind": 2048, "kindString": "Method", @@ -5897,7 +6099,7 @@ }, "signatures": [ { - "id": 342, + "id": 351, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5909,7 +6111,7 @@ }, "parameters": [ { - "id": 343, + "id": 352, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5949,7 +6151,7 @@ } }, { - "id": 344, + "id": 353, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5967,7 +6169,7 @@ { "type": "reflection", "declaration": { - "id": 345, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5976,7 +6178,7 @@ }, "children": [ { - "id": 347, + "id": 356, "name": "count", "kind": 32, "kindString": "Variable", @@ -6014,7 +6216,7 @@ } }, { - "id": 346, + "id": 355, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6049,8 +6251,8 @@ "title": "Variables", "kind": 32, "children": [ - 347, - 346 + 356, + 355 ] } ] @@ -6062,7 +6264,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -6073,7 +6275,7 @@ } }, { - "id": 348, + "id": 357, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -6090,7 +6292,7 @@ }, "parameters": [ { - "id": 349, + "id": 358, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6127,7 +6329,7 @@ } }, { - "id": 350, + "id": 359, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6145,7 +6347,7 @@ { "type": "reflection", "declaration": { - "id": 351, + "id": 360, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6154,7 +6356,7 @@ }, "children": [ { - "id": 355, + "id": 364, "name": "count", "kind": 32, "kindString": "Variable", @@ -6192,7 +6394,7 @@ } }, { - "id": 353, + "id": 362, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -6222,7 +6424,7 @@ } }, { - "id": 354, + "id": 363, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6252,7 +6454,7 @@ } }, { - "id": 352, + "id": 361, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -6291,10 +6493,10 @@ "title": "Variables", "kind": 32, "children": [ - 355, - 353, - 354, - 352 + 364, + 362, + 363, + 361 ] } ] @@ -6306,7 +6508,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -6336,7 +6538,7 @@ ] }, { - "id": 334, + "id": 343, "name": "select", "kind": 2048, "kindString": "Method", @@ -6345,7 +6547,7 @@ }, "signatures": [ { - "id": 335, + "id": 344, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -6357,7 +6559,7 @@ }, "parameters": [ { - "id": 336, + "id": 345, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -6374,7 +6576,7 @@ "defaultValue": "\"*\"" }, { - "id": 337, + "id": 346, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6385,7 +6587,7 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 347, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6394,7 +6596,7 @@ }, "children": [ { - "id": 340, + "id": 349, "name": "count", "kind": 32, "kindString": "Variable", @@ -6435,7 +6637,7 @@ "defaultValue": "null" }, { - "id": 339, + "id": 348, "name": "head", "kind": 32, "kindString": "Variable", @@ -6464,8 +6666,8 @@ "title": "Variables", "kind": 32, "children": [ - 340, - 339 + 349, + 348 ] } ], @@ -6483,7 +6685,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -6503,7 +6705,7 @@ ] }, { - "id": 389, + "id": 399, "name": "then", "kind": 2048, "kindString": "Method", @@ -6512,7 +6714,7 @@ }, "signatures": [ { - "id": 390, + "id": 400, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -6521,7 +6723,7 @@ }, "typeParameter": [ { - "id": 391, + "id": 401, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -6530,7 +6732,7 @@ } }, { - "id": 392, + "id": 402, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -6541,7 +6743,7 @@ ], "parameters": [ { - "id": 393, + "id": 403, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -6555,7 +6757,7 @@ { "type": "reflection", "declaration": { - "id": 394, + "id": 404, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6564,7 +6766,7 @@ }, "signatures": [ { - "id": 395, + "id": 405, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6573,7 +6775,7 @@ }, "parameters": [ { - "id": 396, + "id": 406, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6582,7 +6784,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -6637,7 +6839,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -6655,7 +6857,7 @@ } }, { - "id": 397, + "id": 407, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -6669,7 +6871,7 @@ { "type": "reflection", "declaration": { - "id": 398, + "id": 408, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6678,7 +6880,7 @@ }, "signatures": [ { - "id": 399, + "id": 409, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6687,7 +6889,7 @@ }, "parameters": [ { - "id": 400, + "id": 410, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -6732,7 +6934,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -6785,7 +6987,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } } @@ -6793,18 +6995,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } }, { - "id": 387, + "id": 397, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -6813,7 +7015,7 @@ }, "signatures": [ { - "id": 388, + "id": 398, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -6837,7 +7039,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -6845,18 +7047,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 365, + "id": 374, "name": "update", "kind": 2048, "kindString": "Method", @@ -6865,7 +7067,7 @@ }, "signatures": [ { - "id": 366, + "id": 375, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6877,7 +7079,7 @@ }, "parameters": [ { - "id": 367, + "id": 376, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6899,7 +7101,7 @@ } }, { - "id": 368, + "id": 377, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6910,7 +7112,7 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 378, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6919,7 +7121,7 @@ }, "children": [ { - "id": 371, + "id": 380, "name": "count", "kind": 32, "kindString": "Variable", @@ -6960,7 +7162,7 @@ "defaultValue": "null" }, { - "id": 370, + "id": 379, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6998,8 +7200,8 @@ "title": "Variables", "kind": 32, "children": [ - 371, - 370 + 380, + 379 ] } ], @@ -7017,7 +7219,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -7037,7 +7239,7 @@ ] }, { - "id": 356, + "id": 365, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -7046,7 +7248,7 @@ }, "signatures": [ { - "id": 357, + "id": 366, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -7058,7 +7260,7 @@ }, "parameters": [ { - "id": 358, + "id": 367, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -7098,7 +7300,7 @@ } }, { - "id": 359, + "id": 368, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -7109,7 +7311,7 @@ "type": { "type": "reflection", "declaration": { - "id": 360, + "id": 369, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7118,7 +7320,7 @@ }, "children": [ { - "id": 363, + "id": 372, "name": "count", "kind": 32, "kindString": "Variable", @@ -7159,7 +7361,7 @@ "defaultValue": "null" }, { - "id": 364, + "id": 373, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -7183,7 +7385,7 @@ "defaultValue": "false" }, { - "id": 361, + "id": 370, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -7215,7 +7417,7 @@ } }, { - "id": 362, + "id": 371, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7253,10 +7455,10 @@ "title": "Variables", "kind": 32, "children": [ - 363, - 364, - 361, - 362 + 372, + 373, + 370, + 371 ] } ], @@ -7274,7 +7476,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -7299,32 +7501,33 @@ "title": "Constructors", "kind": 512, "children": [ - 324 + 333 ] }, { "title": "Properties", "kind": 1024, "children": [ - 385, - 380, - 378, - 384, - 386, - 379 + 394, + 389, + 387, + 393, + 395, + 396, + 388 ] }, { "title": "Methods", "kind": 2048, "children": [ - 372, - 341, - 334, - 389, - 387, - 365, - 356 + 381, + 350, + 343, + 399, + 397, + 374, + 365 ] } ], @@ -7354,7 +7557,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -7374,7 +7577,7 @@ "title": "Classes", "kind": 128, "children": [ - 322 + 331 ] } ], @@ -7387,7 +7590,7 @@ ] }, { - "id": 401, + "id": 411, "name": "\"lib/PostgrestRpcBuilder\"", "kind": 1, "kindString": "Module", @@ -7397,7 +7600,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts", "children": [ { - "id": 402, + "id": 412, "name": "PostgrestRpcBuilder", "kind": 128, "kindString": "Class", @@ -7406,7 +7609,7 @@ }, "typeParameter": [ { - "id": 403, + "id": 413, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -7417,7 +7620,7 @@ ], "children": [ { - "id": 404, + "id": 414, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7426,7 +7629,7 @@ }, "signatures": [ { - "id": 405, + "id": 415, "name": "new PostgrestRpcBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -7435,7 +7638,7 @@ }, "parameters": [ { - "id": 406, + "id": 416, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -7448,7 +7651,7 @@ } }, { - "id": 407, + "id": 417, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -7459,7 +7662,7 @@ "type": { "type": "reflection", "declaration": { - "id": 408, + "id": 418, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7468,7 +7671,7 @@ }, "children": [ { - "id": 409, + "id": 419, "name": "headers", "kind": 32, "kindString": "Variable", @@ -7485,7 +7688,7 @@ "type": { "type": "reflection", "declaration": { - "id": 410, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7494,7 +7697,7 @@ }, "indexSignature": [ { - "id": 411, + "id": 421, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7503,7 +7706,7 @@ }, "parameters": [ { - "id": 412, + "id": 422, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7526,7 +7729,7 @@ } }, { - "id": 413, + "id": 423, "name": "schema", "kind": 32, "kindString": "Variable", @@ -7560,8 +7763,8 @@ "title": "Variables", "kind": 32, "children": [ - 409, - 413 + 419, + 423 ] } ], @@ -7579,12 +7782,12 @@ ], "type": { "type": "reference", - "id": 402, + "id": 412, "name": "PostgrestRpcBuilder" }, "overwrites": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } } @@ -7598,12 +7801,12 @@ ], "overwrites": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } }, { - "id": 427, + "id": 438, "name": "body", "kind": 1024, "kindString": "Property", @@ -7654,7 +7857,7 @@ } }, { - "id": 422, + "id": 433, "name": "headers", "kind": 1024, "kindString": "Property", @@ -7672,7 +7875,7 @@ "type": { "type": "reflection", "declaration": { - "id": 423, + "id": 434, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7681,7 +7884,7 @@ }, "indexSignature": [ { - "id": 424, + "id": 435, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7690,7 +7893,7 @@ }, "parameters": [ { - "id": 425, + "id": 436, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7725,7 +7928,7 @@ } }, { - "id": 420, + "id": 431, "name": "method", "kind": 1024, "kindString": "Property", @@ -7772,7 +7975,7 @@ } }, { - "id": 426, + "id": 437, "name": "schema", "kind": 1024, "kindString": "Property", @@ -7808,10 +8011,37 @@ } }, { - "id": 428, + "id": 439, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 57, + "character": 30 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 37, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 440, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -7820,35 +8050,22 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 30 + "line": 58, + "character": 18 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 38, + "name": "PostgrestBuilder.signal" } }, { - "id": 421, + "id": 432, "name": "url", "kind": 1024, "kindString": "Property", @@ -7874,7 +8091,7 @@ } }, { - "id": 414, + "id": 424, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -7883,7 +8100,7 @@ }, "signatures": [ { - "id": 415, + "id": 425, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -7895,7 +8112,7 @@ }, "parameters": [ { - "id": 416, + "id": 426, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -7918,7 +8135,7 @@ } }, { - "id": 417, + "id": 427, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -7929,7 +8146,7 @@ "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 428, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7938,7 +8155,7 @@ }, "children": [ { - "id": 419, + "id": 430, "name": "count", "kind": 32, "kindString": "Variable", @@ -7948,7 +8165,7 @@ "sources": [ { "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 21, + "line": 22, "character": 11 } ], @@ -7974,6 +8191,27 @@ ] }, "defaultValue": "null" + }, + { + "id": 429, + "name": "head", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/PostgrestRpcBuilder.ts", + "line": 21, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" } ], "groups": [ @@ -7981,7 +8219,8 @@ "title": "Variables", "kind": 32, "children": [ - 419 + 430, + 429 ] } ], @@ -7999,7 +8238,7 @@ ], "type": { "type": "reference", - "id": 127, + "id": 132, "typeArguments": [ { "type": "typeParameter", @@ -8019,7 +8258,7 @@ ] }, { - "id": 431, + "id": 443, "name": "then", "kind": 2048, "kindString": "Method", @@ -8028,7 +8267,7 @@ }, "signatures": [ { - "id": 432, + "id": 444, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -8037,7 +8276,7 @@ }, "typeParameter": [ { - "id": 433, + "id": 445, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -8046,7 +8285,7 @@ } }, { - "id": 434, + "id": 446, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -8057,7 +8296,7 @@ ], "parameters": [ { - "id": 435, + "id": 447, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -8071,7 +8310,7 @@ { "type": "reflection", "declaration": { - "id": 436, + "id": 448, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8080,7 +8319,7 @@ }, "signatures": [ { - "id": 437, + "id": 449, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -8089,7 +8328,7 @@ }, "parameters": [ { - "id": 438, + "id": 450, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -8098,7 +8337,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -8153,7 +8392,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -8171,7 +8410,7 @@ } }, { - "id": 439, + "id": 451, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -8185,7 +8424,7 @@ { "type": "reflection", "declaration": { - "id": 440, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8194,7 +8433,7 @@ }, "signatures": [ { - "id": 441, + "id": 453, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -8203,7 +8442,7 @@ }, "parameters": [ { - "id": 442, + "id": 454, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -8248,7 +8487,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -8301,7 +8540,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } } @@ -8309,18 +8548,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } }, { - "id": 429, + "id": 441, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -8329,7 +8568,7 @@ }, "signatures": [ { - "id": 430, + "id": 442, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -8353,7 +8592,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -8361,13 +8600,13 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -8377,28 +8616,29 @@ "title": "Constructors", "kind": 512, "children": [ - 404 + 414 ] }, { "title": "Properties", "kind": 1024, "children": [ - 427, - 422, - 420, - 426, - 428, - 421 + 438, + 433, + 431, + 437, + 439, + 440, + 432 ] }, { "title": "Methods", "kind": 2048, "children": [ - 414, - 431, - 429 + 424, + 443, + 441 ] } ], @@ -8428,7 +8668,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -8448,7 +8688,7 @@ "title": "Classes", "kind": 128, "children": [ - 402 + 412 ] } ], @@ -8461,7 +8701,7 @@ ] }, { - "id": 67, + "id": 68, "name": "\"lib/PostgrestTransformBuilder\"", "kind": 1, "kindString": "Module", @@ -8471,7 +8711,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts", "children": [ { - "id": 68, + "id": 69, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", @@ -8483,7 +8723,7 @@ }, "typeParameter": [ { - "id": 69, + "id": 70, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8494,7 +8734,7 @@ ], "children": [ { - "id": 109, + "id": 114, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8503,7 +8743,7 @@ }, "signatures": [ { - "id": 110, + "id": 115, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -8512,7 +8752,7 @@ }, "parameters": [ { - "id": 111, + "id": 116, "name": "builder", "kind": 32768, "kindString": "Parameter", @@ -8534,12 +8774,12 @@ ], "type": { "type": "reference", - "id": 68, + "id": 69, "name": "PostgrestTransformBuilder" }, "inheritedFrom": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } } @@ -8547,18 +8787,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 40 + "line": 58, + "character": 32 } ], "inheritedFrom": { "type": "reference", - "id": 38, + "id": 39, "name": "PostgrestBuilder.__constructor" } }, { - "id": 107, + "id": 111, "name": "body", "kind": 1024, "kindString": "Property", @@ -8609,7 +8849,7 @@ } }, { - "id": 102, + "id": 106, "name": "headers", "kind": 1024, "kindString": "Property", @@ -8627,7 +8867,7 @@ "type": { "type": "reflection", "declaration": { - "id": 103, + "id": 107, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8636,7 +8876,7 @@ }, "indexSignature": [ { - "id": 104, + "id": 108, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8645,7 +8885,7 @@ }, "parameters": [ { - "id": 105, + "id": 109, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8680,7 +8920,7 @@ } }, { - "id": 100, + "id": 104, "name": "method", "kind": 1024, "kindString": "Property", @@ -8727,7 +8967,7 @@ } }, { - "id": 106, + "id": 110, "name": "schema", "kind": 1024, "kindString": "Property", @@ -8763,10 +9003,37 @@ } }, { - "id": 108, + "id": 112, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 57, + "character": 30 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 37, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 113, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -8775,35 +9042,22 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 30 + "line": 58, + "character": 18 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 38, + "name": "PostgrestBuilder.signal" } }, { - "id": 101, + "id": 105, "name": "url", "kind": 1024, "kindString": "Property", @@ -8829,7 +9083,56 @@ } }, { - "id": 98, + "id": 95, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 96, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Sets the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 97, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestTransformBuilder.ts", + "line": 91, + "character": 13 + } + ] + }, + { + "id": 102, "name": "csv", "kind": 2048, "kindString": "Method", @@ -8838,7 +9141,7 @@ }, "signatures": [ { - "id": 99, + "id": 103, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -8853,7 +9156,7 @@ "typeArguments": [ { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "intrinsic", @@ -8870,13 +9173,13 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 126, + "line": 134, "character": 5 } ] }, { - "id": 81, + "id": 82, "name": "limit", "kind": 2048, "kindString": "Method", @@ -8885,7 +9188,7 @@ }, "signatures": [ { - "id": 82, + "id": 83, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -8897,7 +9200,7 @@ }, "parameters": [ { - "id": 83, + "id": 84, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -8913,7 +9216,7 @@ } }, { - "id": 84, + "id": 85, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -8924,7 +9227,7 @@ "type": { "type": "reflection", "declaration": { - "id": 85, + "id": 86, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8933,7 +9236,7 @@ }, "children": [ { - "id": 86, + "id": 87, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -8970,7 +9273,7 @@ "title": "Variables", "kind": 32, "children": [ - 86 + 87 ] } ], @@ -9001,7 +9304,7 @@ ] }, { - "id": 96, + "id": 100, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -9010,7 +9313,7 @@ }, "signatures": [ { - "id": 97, + "id": 101, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -9025,7 +9328,7 @@ "typeArguments": [ { "type": "reference", - "id": 65, + "id": 66, "typeArguments": [ { "type": "typeParameter", @@ -9042,13 +9345,13 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 102, + "line": 110, "character": 13 } ] }, { - "id": 73, + "id": 74, "name": "order", "kind": 2048, "kindString": "Method", @@ -9057,7 +9360,7 @@ }, "signatures": [ { - "id": 74, + "id": 75, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -9069,7 +9372,7 @@ }, "parameters": [ { - "id": 75, + "id": 76, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -9089,7 +9392,7 @@ } }, { - "id": 76, + "id": 77, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -9100,7 +9403,7 @@ "type": { "type": "reflection", "declaration": { - "id": 77, + "id": 78, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9109,7 +9412,7 @@ }, "children": [ { - "id": 78, + "id": 79, "name": "ascending", "kind": 32, "kindString": "Variable", @@ -9133,7 +9436,7 @@ "defaultValue": "true" }, { - "id": 80, + "id": 81, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -9165,7 +9468,7 @@ } }, { - "id": 79, + "id": 80, "name": "nullsFirst", "kind": 32, "kindString": "Variable", @@ -9194,9 +9497,9 @@ "title": "Variables", "kind": 32, "children": [ - 78, - 80, - 79 + 79, + 81, + 80 ] } ], @@ -9227,7 +9530,7 @@ ] }, { - "id": 87, + "id": 88, "name": "range", "kind": 2048, "kindString": "Method", @@ -9236,7 +9539,7 @@ }, "signatures": [ { - "id": 88, + "id": 89, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -9248,7 +9551,7 @@ }, "parameters": [ { - "id": 89, + "id": 90, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -9264,7 +9567,7 @@ } }, { - "id": 90, + "id": 91, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -9280,7 +9583,7 @@ } }, { - "id": 91, + "id": 92, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -9291,7 +9594,7 @@ "type": { "type": "reflection", "declaration": { - "id": 92, + "id": 93, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9300,7 +9603,7 @@ }, "children": [ { - "id": 93, + "id": 94, "name": "foreignTable", "kind": 32, "kindString": "Variable", @@ -9337,7 +9640,7 @@ "title": "Variables", "kind": 32, "children": [ - 93 + 94 ] } ], @@ -9368,7 +9671,7 @@ ] }, { - "id": 70, + "id": 71, "name": "select", "kind": 2048, "kindString": "Method", @@ -9377,7 +9680,7 @@ }, "signatures": [ { - "id": 71, + "id": 72, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -9389,7 +9692,7 @@ }, "parameters": [ { - "id": 72, + "id": 73, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -9421,7 +9724,7 @@ ] }, { - "id": 94, + "id": 98, "name": "single", "kind": 2048, "kindString": "Method", @@ -9430,7 +9733,7 @@ }, "signatures": [ { - "id": 95, + "id": 99, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -9445,7 +9748,7 @@ "typeArguments": [ { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "typeParameter", @@ -9462,13 +9765,13 @@ "sources": [ { "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 92, + "line": 100, "character": 8 } ] }, { - "id": 114, + "id": 119, "name": "then", "kind": 2048, "kindString": "Method", @@ -9477,7 +9780,7 @@ }, "signatures": [ { - "id": 115, + "id": 120, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -9486,7 +9789,7 @@ }, "typeParameter": [ { - "id": 116, + "id": 121, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -9495,7 +9798,7 @@ } }, { - "id": 117, + "id": 122, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -9506,7 +9809,7 @@ ], "parameters": [ { - "id": 118, + "id": 123, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -9520,7 +9823,7 @@ { "type": "reflection", "declaration": { - "id": 119, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9529,7 +9832,7 @@ }, "signatures": [ { - "id": 120, + "id": 125, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -9538,7 +9841,7 @@ }, "parameters": [ { - "id": 121, + "id": 126, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -9547,7 +9850,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -9602,7 +9905,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -9620,7 +9923,7 @@ } }, { - "id": 122, + "id": 127, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -9634,7 +9937,7 @@ { "type": "reflection", "declaration": { - "id": 123, + "id": 128, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9643,7 +9946,7 @@ }, "signatures": [ { - "id": 124, + "id": 129, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -9652,7 +9955,7 @@ }, "parameters": [ { - "id": 125, + "id": 130, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -9697,7 +10000,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -9750,7 +10053,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } } @@ -9758,18 +10061,18 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "PostgrestBuilder.then" } }, { - "id": 112, + "id": 117, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -9778,7 +10081,7 @@ }, "signatures": [ { - "id": 113, + "id": 118, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -9802,7 +10105,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -9810,13 +10113,13 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "PostgrestBuilder.throwOnError" } } @@ -9826,34 +10129,36 @@ "title": "Constructors", "kind": 512, "children": [ - 109 + 114 ] }, { "title": "Properties", "kind": 1024, "children": [ - 107, - 102, - 100, + 111, 106, - 108, - 101 + 104, + 110, + 112, + 113, + 105 ] }, { "title": "Methods", "kind": 2048, "children": [ + 95, + 102, + 82, + 100, + 74, + 88, + 71, 98, - 81, - 96, - 73, - 87, - 70, - 94, - 114, - 112 + 119, + 117 ] } ], @@ -9880,7 +10185,7 @@ "extendedBy": [ { "type": "reference", - "id": 127, + "id": 132, "name": "PostgrestFilterBuilder" } ], @@ -9890,7 +10195,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -9910,7 +10215,7 @@ "title": "Classes", "kind": 128, "children": [ - 68 + 69 ] } ], @@ -9923,7 +10228,7 @@ ] }, { - "id": 445, + "id": 457, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -9933,7 +10238,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/constants.ts", "children": [ { - "id": 446, + "id": 458, "name": "DEFAULT_HEADERS", "kind": 2097152, "kindString": "Object literal", @@ -9943,7 +10248,7 @@ }, "children": [ { - "id": 447, + "id": 459, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -9969,7 +10274,7 @@ "title": "Variables", "kind": 32, "children": [ - 447 + 459 ] } ], @@ -9991,7 +10296,7 @@ "title": "Object literals", "kind": 2097152, "children": [ - 446 + 458 ] } ], @@ -10035,7 +10340,7 @@ ], "children": [ { - "id": 38, + "id": 39, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10044,7 +10349,7 @@ }, "signatures": [ { - "id": 39, + "id": 40, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -10053,7 +10358,7 @@ }, "parameters": [ { - "id": 40, + "id": 41, "name": "builder", "kind": 32768, "kindString": "Parameter", @@ -10083,8 +10388,8 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 57, - "character": 40 + "line": 58, + "character": 32 } ] }, @@ -10280,8 +10585,7 @@ "kindString": "Property", "flags": { "isProtected": true, - "isExported": true, - "isOptional": true + "isExported": true }, "sources": [ { @@ -10291,21 +10595,31 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 38, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "lib/types.ts", + "line": 58, + "character": 18 + } + ], + "type": { + "type": "reference", + "name": "AbortSignal" } }, { @@ -10330,7 +10644,7 @@ } }, { - "id": 43, + "id": 44, "name": "then", "kind": 2048, "kindString": "Method", @@ -10339,7 +10653,7 @@ }, "signatures": [ { - "id": 44, + "id": 45, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -10348,7 +10662,7 @@ }, "typeParameter": [ { - "id": 45, + "id": 46, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -10357,7 +10671,7 @@ } }, { - "id": 46, + "id": 47, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -10368,7 +10682,7 @@ ], "parameters": [ { - "id": 47, + "id": 48, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -10382,7 +10696,7 @@ { "type": "reflection", "declaration": { - "id": 48, + "id": 49, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10391,7 +10705,7 @@ }, "signatures": [ { - "id": 49, + "id": 50, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -10400,7 +10714,7 @@ }, "parameters": [ { - "id": 50, + "id": 51, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -10409,7 +10723,7 @@ }, "type": { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -10464,7 +10778,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 76, + "line": 77, "character": 9 } ] @@ -10482,7 +10796,7 @@ } }, { - "id": 51, + "id": 52, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -10496,7 +10810,7 @@ { "type": "reflection", "declaration": { - "id": 52, + "id": 53, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10505,7 +10819,7 @@ }, "signatures": [ { - "id": 53, + "id": 54, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -10514,7 +10828,7 @@ }, "parameters": [ { - "id": 54, + "id": 55, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -10559,7 +10873,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 79, + "line": 80, "character": 18 } ] @@ -10615,13 +10929,13 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 74, + "line": 75, "character": 6 } ] }, { - "id": 41, + "id": 42, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -10630,7 +10944,7 @@ }, "signatures": [ { - "id": 42, + "id": 43, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -10657,7 +10971,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 69, + "line": 70, "character": 14 } ] @@ -10668,7 +10982,7 @@ "title": "Constructors", "kind": 512, "children": [ - 38 + 39 ] }, { @@ -10680,6 +10994,7 @@ 29, 35, 37, + 38, 30 ] }, @@ -10687,8 +11002,8 @@ "title": "Methods", "kind": 2048, "children": [ - 43, - 41 + 44, + 42 ] } ], @@ -10702,17 +11017,17 @@ "extendedBy": [ { "type": "reference", - "id": 68, + "id": 69, "name": "PostgrestTransformBuilder" }, { "type": "reference", - "id": 322, + "id": 331, "name": "PostgrestQueryBuilder" }, { "type": "reference", - "id": 402, + "id": 412, "name": "PostgrestRpcBuilder" } ], @@ -10722,7 +11037,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 62, "typeArguments": [ { "type": "typeParameter", @@ -10895,7 +11210,7 @@ ], "type": { "type": "reference", - "id": 55, + "id": 56, "name": "PostgrestError" } }, @@ -11300,7 +11615,7 @@ ] }, { - "id": 55, + "id": 56, "name": "PostgrestError", "kind": 4194304, "kindString": "Type alias", @@ -11321,7 +11636,7 @@ "type": { "type": "reflection", "declaration": { - "id": 56, + "id": 57, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11330,7 +11645,7 @@ }, "children": [ { - "id": 60, + "id": 61, "name": "code", "kind": 32, "kindString": "Variable", @@ -11350,7 +11665,7 @@ } }, { - "id": 58, + "id": 59, "name": "details", "kind": 32, "kindString": "Variable", @@ -11370,7 +11685,7 @@ } }, { - "id": 59, + "id": 60, "name": "hint", "kind": 32, "kindString": "Variable", @@ -11390,7 +11705,7 @@ } }, { - "id": 57, + "id": 58, "name": "message", "kind": 32, "kindString": "Variable", @@ -11415,10 +11730,10 @@ "title": "Variables", "kind": 32, "children": [ - 60, - 58, + 61, 59, - 57 + 60, + 58 ] } ], @@ -11433,7 +11748,7 @@ } }, { - "id": 65, + "id": 66, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -11442,7 +11757,7 @@ }, "typeParameter": [ { - "id": 66, + "id": 67, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11460,7 +11775,7 @@ ], "type": { "type": "reference", - "id": 63, + "id": 64, "typeArguments": [ { "type": "union", @@ -11480,7 +11795,7 @@ } }, { - "id": 61, + "id": 62, "name": "PostgrestResponse", "kind": 4194304, "kindString": "Type alias", @@ -11489,7 +11804,7 @@ }, "typeParameter": [ { - "id": 62, + "id": 63, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11528,7 +11843,7 @@ } }, { - "id": 63, + "id": 64, "name": "PostgrestSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -11537,7 +11852,7 @@ }, "typeParameter": [ { - "id": 64, + "id": 65, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11598,10 +11913,10 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 55, - 65, - 61, - 63 + 56, + 66, + 62, + 64 ] } ], @@ -11614,7 +11929,7 @@ ] }, { - "id": 443, + "id": 455, "name": "\"lib/version\"", "kind": 1, "kindString": "Module", @@ -11624,7 +11939,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/version.ts", "children": [ { - "id": 444, + "id": 456, "name": "version", "kind": 32, "kindString": "Variable", @@ -11651,7 +11966,7 @@ "title": "Variables", "kind": 32, "children": [ - 444 + 456 ] } ], @@ -11669,15 +11984,15 @@ "title": "Modules", "kind": 1, "children": [ - 448, - 481, - 126, - 321, - 401, - 67, - 445, + 460, + 494, + 131, + 330, + 411, + 68, + 457, 1, - 443 + 455 ] } ] diff --git a/web/spec/realtime.json b/web/spec/realtime.json index 6dd7a8be4ca..71555efa8a5 100644 --- a/web/spec/realtime.json +++ b/web/spec/realtime.json @@ -4012,7 +4012,7 @@ ] }, { - "id": 419, + "id": 407, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -6745,7 +6745,7 @@ }, { "id": 352, - "name": "time", + "name": "text", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -6758,11 +6758,11 @@ "character": 6 } ], - "defaultValue": "\"time\"" + "defaultValue": "\"text\"" }, { "id": 353, - "name": "timestamp", + "name": "time", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -6772,14 +6772,14 @@ { "fileName": "lib/transformers.ts", "line": 27, - "character": 11 + "character": 6 } ], - "defaultValue": "\"timestamp\"" + "defaultValue": "\"time\"" }, { "id": 354, - "name": "timestamptz", + "name": "timestamp", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -6789,14 +6789,14 @@ { "fileName": "lib/transformers.ts", "line": 28, - "character": 13 + "character": 11 } ], - "defaultValue": "\"timestamptz\"" + "defaultValue": "\"timestamp\"" }, { "id": 355, - "name": "timetz", + "name": "timestamptz", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -6806,14 +6806,14 @@ { "fileName": "lib/transformers.ts", "line": 29, - "character": 8 + "character": 13 } ], - "defaultValue": "\"timetz\"" + "defaultValue": "\"timestamptz\"" }, { "id": 356, - "name": "tsrange", + "name": "timetz", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -6823,14 +6823,14 @@ { "fileName": "lib/transformers.ts", "line": 30, - "character": 9 + "character": 8 } ], - "defaultValue": "\"tsrange\"" + "defaultValue": "\"timetz\"" }, { "id": 357, - "name": "tstzrange", + "name": "tsrange", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -6840,6 +6840,23 @@ { "fileName": "lib/transformers.ts", "line": 31, + "character": 9 + } + ], + "defaultValue": "\"tsrange\"" + }, + { + "id": 358, + "name": "tstzrange", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 32, "character": 11 } ], @@ -6873,7 +6890,8 @@ 354, 355, 356, - 357 + 357, + 358 ] } ], @@ -6886,156 +6904,207 @@ ] }, { - "id": 358, - "name": "Column", + "id": 365, + "name": "BaseValue", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "lib/transformers.ts", - "line": 34, + "line": 42, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "null" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 359, + "name": "Columns", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 35, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 360, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 363, + "name": "flags", + "kind": 32, + "kindString": "Variable", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 38, + "character": 7 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 361, + "name": "name", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 36, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 362, + "name": "type", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 37, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 364, + "name": "type_modifier", + "kind": 32, + "kindString": "Variable", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 363, + 361, + 362, + 364 + ] + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 35, + "character": 14 + } + ] + } + } + } + }, + { + "id": 367, + "name": "Record", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 45, "character": 11 } ], "type": { "type": "reflection", "declaration": { - "id": 359, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 360, - "name": "flags", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 35, - "character": 7 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 361, - "name": "name", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 36, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 362, - "name": "type", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 37, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 363, - "name": "type_modifier", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 38, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 360, - 361, - 362, - 363 - ] - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 34, - "character": 13 - } - ] - } - } - }, - { - "id": 364, - "name": "Records", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 41, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 365, + "id": 368, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": [ { - "id": 366, + "id": 369, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 367, + "id": 370, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7047,21 +7116,54 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 41, - "character": 14 + "line": 45, + "character": 13 } ] } } }, + { + "id": 366, + "name": "RecordValue", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 43, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 365, + "name": "BaseValue" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 365, + "name": "BaseValue" + } + } + ] + } + }, { "id": 384, "name": "convertCell", @@ -7133,37 +7235,36 @@ }, { "id": 387, - "name": "stringValue", + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, - "comment": { - "shortText": "The cell value\n" - }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 112, + "line": 118, "character": 24 } ] }, { - "id": 368, + "id": 371, "name": "convertChangeData", "kind": 64, "kindString": "Function", @@ -7182,7 +7283,7 @@ }, "signatures": [ { - "id": 369, + "id": 372, "name": "convertChangeData", "kind": 4096, "kindString": "Call signature", @@ -7200,7 +7301,7 @@ }, "parameters": [ { - "id": 370, + "id": 373, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -7208,17 +7309,14 @@ "isExported": true }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 358, - "name": "Column" - } + "type": "reference", + "id": 359, + "name": "Columns" } }, { - "id": 371, - "name": "records", + "id": 374, + "name": "record", "kind": 32768, "kindString": "Parameter", "flags": { @@ -7227,12 +7325,12 @@ "comment": {}, "type": { "type": "reference", - "id": 364, - "name": "Records" + "id": 367, + "name": "Record" } }, { - "id": 372, + "id": 375, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7245,7 +7343,7 @@ "type": { "type": "reflection", "declaration": { - "id": 373, + "id": 376, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7254,7 +7352,7 @@ }, "children": [ { - "id": 374, + "id": 377, "name": "skipTypes", "kind": 32, "kindString": "Variable", @@ -7265,7 +7363,7 @@ "sources": [ { "fileName": "lib/transformers.ts", - "line": 60, + "line": 64, "character": 22 } ], @@ -7283,14 +7381,14 @@ "title": "Variables", "kind": 32, "children": [ - 374 + 377 ] } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 60, + "line": 64, "character": 10 } ] @@ -7300,53 +7398,16 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 375, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 376, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 377, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } + "type": "reference", + "id": 367, + "name": "Record" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 57, + "line": 61, "character": 30 } ] @@ -7423,17 +7484,14 @@ "isExported": true }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 358, - "name": "Column" - } + "type": "reference", + "id": 359, + "name": "Columns" } }, { "id": 382, - "name": "records", + "name": "record", "kind": 32768, "kindString": "Parameter", "flags": { @@ -7444,8 +7502,8 @@ }, "type": { "type": "reference", - "id": 364, - "name": "Records" + "id": 367, + "name": "Record" } }, { @@ -7469,15 +7527,16 @@ } ], "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 85, + "line": 88, "character": 26 } ] @@ -7500,32 +7559,34 @@ "parameters": [ { "id": 390, - "name": "stringValue", + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 183, + "line": 162, "character": 10 } ] }, { - "id": 412, + "id": 400, "name": "toArray", "kind": 64, "kindString": "Function", @@ -7538,17 +7599,21 @@ "tags": [ { "tag": "example", - "text": "toArray('{1,2,3,4}', 'int4')\n//=> [1,2,3,4]" + "text": "toArray('{}', 'int4')\n//=> []" }, { "tag": "example", - "text": "toArray('{}', 'int4')\n//=> []\n" + "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']" + }, + { + "tag": "example", + "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n" } ] }, "signatures": [ { - "id": 413, + "id": 401, "name": "toArray", "kind": 4096, "kindString": "Call signature", @@ -7560,30 +7625,35 @@ "tags": [ { "tag": "example", - "text": "toArray('{1,2,3,4}', 'int4')\n//=> [1,2,3,4]" + "text": "toArray('{}', 'int4')\n//=> []" }, { "tag": "example", - "text": "toArray('{}', 'int4')\n//=> []\n" + "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']" + }, + { + "tag": "example", + "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n" } ] }, "parameters": [ { - "id": 414, - "name": "stringValue", + "id": 402, + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } }, { - "id": 415, + "id": 403, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -7597,18 +7667,16 @@ } ], "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 225, + "line": 206, "character": 20 } ] @@ -7634,288 +7702,36 @@ "parameters": [ { "id": 393, - "name": "stringValue", + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 186, - "character": 22 - } - ] - }, - { - "id": 394, - "name": "toDate", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 395, - "name": "toDate", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 396, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { "type": "reference", - "name": "Date" + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 196, - "character": 19 + "line": 165, + "character": 22 } ] }, { "id": 397, - "name": "toDateRange", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 398, - "name": "toDateRange", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 399, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Date" - } - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 199, - "character": 24 - } - ] - }, - { - "id": 400, - "name": "toFloat", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 401, - "name": "toFloat", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 402, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 203, - "character": 20 - } - ] - }, - { - "id": 403, - "name": "toInt", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 404, - "name": "toInt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 405, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 206, - "character": 18 - } - ] - }, - { - "id": 406, - "name": "toIntRange", - "kind": 64, - "kindString": "Function", - "flags": { - "isExported": true, - "isConst": true - }, - "signatures": [ - { - "id": 407, - "name": "toIntRange", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 408, - "name": "stringValue", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "number" - } - } - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 209, - "character": 23 - } - ] - }, - { - "id": 409, "name": "toJson", "kind": 64, "kindString": "Function", @@ -7925,7 +7741,7 @@ }, "signatures": [ { - "id": 410, + "id": 398, "name": "toJson", "kind": 4096, "kindString": "Call signature", @@ -7934,35 +7750,86 @@ }, "parameters": [ { - "id": 411, - "name": "stringValue", + "id": 399, + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 213, + "line": 184, "character": 19 } ] }, { - "id": 416, + "id": 394, + "name": "toNumber", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": true + }, + "signatures": [ + { + "id": 395, + "name": "toNumber", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 396, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 366, + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "id": 366, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 175, + "character": 21 + } + ] + }, + { + "id": 404, "name": "toTimestampString", "kind": 64, "kindString": "Function", @@ -7981,7 +7848,7 @@ }, "signatures": [ { - "id": 417, + "id": 405, "name": "toTimestampString", "kind": 4096, "kindString": "Call signature", @@ -7999,29 +7866,31 @@ }, "parameters": [ { - "id": 418, - "name": "stringValue", + "id": 406, + "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 366, + "name": "RecordValue" } } ], "sources": [ { "fileName": "lib/transformers.ts", - "line": 246, + "line": 241, "character": 30 } ] @@ -8039,8 +7908,10 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 358, - 364 + 365, + 359, + 367, + 366 ] }, { @@ -8048,18 +7919,14 @@ "kind": 64, "children": [ 384, - 368, + 371, 378, 388, - 412, - 391, - 394, - 397, 400, - 403, - 406, - 409, - 416 + 391, + 397, + 394, + 404 ] } ], @@ -8129,7 +7996,7 @@ "children": [ 200, 96, - 419, + 407, 3, 42, 175, diff --git a/web/spec/supabase.json b/web/spec/supabase.json index 7c73d87c4cb..565be61b750 100644 --- a/web/spec/supabase.json +++ b/web/spec/supabase.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 279, + "id": 291, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 280, + "id": 292, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -29,7 +29,7 @@ }, "children": [ { - "id": 288, + "id": 300, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -41,7 +41,7 @@ }, "signatures": [ { - "id": 291, + "id": 303, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -53,7 +53,7 @@ }, "parameters": [ { - "id": 292, + "id": 304, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -69,7 +69,7 @@ } }, { - "id": 293, + "id": 305, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -85,7 +85,7 @@ } }, { - "id": 294, + "id": 306, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -95,14 +95,14 @@ }, "type": { "type": "reference", - "id": 30, + "id": 36, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 280, + "id": 292, "name": "SupabaseClient" } } @@ -110,13 +110,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 33, + "line": 34, "character": 36 } ] }, { - "id": 281, + "id": 293, "name": "auth", "kind": 1024, "kindString": "Property", @@ -129,18 +129,18 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 26, + "line": 27, "character": 6 } ], "type": { "type": "reference", - "id": 53, + "id": 59, "name": "SupabaseAuthClient" } }, { - "id": 285, + "id": 297, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -151,7 +151,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 31, + "line": 32, "character": 19 } ], @@ -161,7 +161,7 @@ } }, { - "id": 287, + "id": 299, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -172,7 +172,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 33, + "line": 34, "character": 20 } ], @@ -182,7 +182,7 @@ } }, { - "id": 284, + "id": 296, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -193,7 +193,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 30, + "line": 31, "character": 23 } ], @@ -203,7 +203,7 @@ } }, { - "id": 283, + "id": 295, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -214,7 +214,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 29, + "line": 30, "character": 19 } ], @@ -224,7 +224,7 @@ } }, { - "id": 282, + "id": 294, "name": "schema", "kind": 1024, "kindString": "Property", @@ -235,7 +235,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 28, + "line": 29, "character": 18 } ], @@ -245,7 +245,7 @@ } }, { - "id": 286, + "id": 298, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -256,7 +256,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 32, + "line": 33, "character": 22 } ], @@ -266,7 +266,7 @@ } }, { - "id": 290, + "id": 302, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -281,7 +281,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 48, + "line": 49, "character": 25 } ], @@ -291,7 +291,7 @@ } }, { - "id": 289, + "id": 301, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -306,7 +306,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 47, + "line": 48, "character": 25 } ], @@ -316,7 +316,7 @@ } }, { - "id": 295, + "id": 307, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -328,7 +328,7 @@ }, "getSignature": [ { - "id": 296, + "id": 308, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -347,13 +347,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 73, + "line": 76, "character": 13 } ] }, { - "id": 339, + "id": 352, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -363,7 +363,7 @@ }, "signatures": [ { - "id": 340, + "id": 353, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -372,7 +372,7 @@ }, "parameters": [ { - "id": 341, + "id": 354, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -400,13 +400,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 187, + "line": 194, "character": 23 } ] }, { - "id": 312, + "id": 325, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -416,7 +416,7 @@ }, "signatures": [ { - "id": 313, + "id": 326, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -425,7 +425,7 @@ }, "parameters": [ { - "id": 314, + "id": 327, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -453,13 +453,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 131, + "line": 138, "character": 34 } ] }, { - "id": 334, + "id": 347, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -469,7 +469,7 @@ }, "signatures": [ { - "id": 335, + "id": 348, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -479,7 +479,7 @@ "type": { "type": "reflection", "declaration": { - "id": 336, + "id": 349, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -488,7 +488,7 @@ }, "indexSignature": [ { - "id": 337, + "id": 350, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -497,7 +497,7 @@ }, "parameters": [ { - "id": 338, + "id": 351, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -519,7 +519,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 179, + "line": 186, "character": 28 } ] @@ -530,13 +530,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 179, + "line": 186, "character": 25 } ] }, { - "id": 332, + "id": 345, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -546,7 +546,7 @@ }, "signatures": [ { - "id": 333, + "id": 346, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -562,13 +562,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 172, + "line": 179, "character": 30 } ] }, { - "id": 329, + "id": 342, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -578,7 +578,7 @@ }, "signatures": [ { - "id": 330, + "id": 343, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -587,7 +587,7 @@ }, "parameters": [ { - "id": 331, + "id": 344, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -610,13 +610,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 165, + "line": 172, "character": 29 } ] }, { - "id": 317, + "id": 330, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -626,7 +626,7 @@ }, "signatures": [ { - "id": 318, + "id": 331, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -635,7 +635,7 @@ }, "parameters": [ { - "id": 319, + "id": 332, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -646,7 +646,7 @@ "type": { "type": "reflection", "declaration": { - "id": 320, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -655,7 +655,7 @@ }, "children": [ { - "id": 321, + "id": 334, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -665,7 +665,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 152, "character": 20 } ], @@ -688,7 +688,7 @@ } }, { - "id": 323, + "id": 336, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -698,7 +698,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 147, + "line": 154, "character": 22 } ], @@ -721,7 +721,7 @@ } }, { - "id": 325, + "id": 338, "name": "headers", "kind": 32, "kindString": "Variable", @@ -731,7 +731,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 149, + "line": 156, "character": 11 } ], @@ -745,7 +745,7 @@ { "type": "reflection", "declaration": { - "id": 326, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -754,7 +754,7 @@ }, "indexSignature": [ { - "id": 327, + "id": 340, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -763,7 +763,7 @@ }, "parameters": [ { - "id": 328, + "id": 341, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -788,7 +788,7 @@ } }, { - "id": 324, + "id": 337, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -798,7 +798,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 148, + "line": 155, "character": 16 } ], @@ -846,7 +846,7 @@ } }, { - "id": 322, + "id": 335, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -856,7 +856,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 146, + "line": 153, "character": 18 } ], @@ -884,18 +884,18 @@ "title": "Variables", "kind": 32, "children": [ - 321, - 323, - 325, - 324, - 322 + 334, + 336, + 338, + 337, + 335 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, + "line": 151, "character": 34 } ] @@ -905,7 +905,7 @@ ], "type": { "type": "reference", - "id": 53, + "id": 59, "name": "SupabaseAuthClient" } } @@ -913,13 +913,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, + "line": 151, "character": 33 } ] }, { - "id": 297, + "id": 309, "name": "from", "kind": 2048, "kindString": "Method", @@ -928,7 +928,7 @@ }, "signatures": [ { - "id": 298, + "id": 310, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -940,7 +940,7 @@ }, "typeParameter": [ { - "id": 299, + "id": 311, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -951,7 +951,7 @@ ], "parameters": [ { - "id": 300, + "id": 312, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -969,7 +969,7 @@ ], "type": { "type": "reference", - "id": 189, + "id": 200, "typeArguments": [ { "type": "typeParameter", @@ -987,13 +987,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 82, + "line": 85, "character": 6 } ] }, { - "id": 315, + "id": 328, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -1002,7 +1002,7 @@ }, "signatures": [ { - "id": 316, + "id": 329, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -1024,13 +1024,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 140, + "line": 147, "character": 18 } ] }, { - "id": 309, + "id": 322, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -1039,7 +1039,7 @@ }, "signatures": [ { - "id": 310, + "id": 323, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -1051,7 +1051,7 @@ }, "parameters": [ { - "id": 311, + "id": 324, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -1082,13 +1082,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 114, + "line": 121, "character": 20 } ] }, { - "id": 301, + "id": 313, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1097,7 +1097,7 @@ }, "signatures": [ { - "id": 302, + "id": 314, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1109,7 +1109,7 @@ }, "typeParameter": [ { - "id": 303, + "id": 315, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1120,7 +1120,7 @@ ], "parameters": [ { - "id": 304, + "id": 316, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1136,7 +1136,7 @@ } }, { - "id": 305, + "id": 317, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1162,7 +1162,7 @@ } }, { - "id": 306, + "id": 318, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1173,7 +1173,7 @@ "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1182,7 +1182,7 @@ }, "children": [ { - "id": 308, + "id": 321, "name": "count", "kind": 32, "kindString": "Variable", @@ -1195,7 +1195,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 103, + "line": 109, "character": 11 } ], @@ -1221,6 +1221,30 @@ ] }, "defaultValue": "null" + }, + { + "id": 320, + "name": "head", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "When set to true, no data will be returned." + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 108, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" } ], "groups": [ @@ -1228,14 +1252,15 @@ "title": "Variables", "kind": 32, "children": [ - 308 + 321, + 320 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 102, + "line": 106, "character": 20 } ] @@ -1259,7 +1284,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 100, + "line": 104, "character": 5 } ] @@ -1270,58 +1295,58 @@ "title": "Constructors", "kind": 512, "children": [ - 288 + 300 ] }, { "title": "Properties", "kind": 1024, "children": [ - 281, - 285, - 287, - 284, - 283, - 282, - 286, - 290, - 289 + 293, + 297, + 299, + 296, + 295, + 294, + 298, + 302, + 301 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 295 + 307 ] }, { "title": "Methods", "kind": 2048, "children": [ - 339, - 312, - 334, - 332, - 329, - 317, - 297, - 315, + 352, + 325, + 347, + 345, + 342, + 330, 309, - 301 + 328, + 322, + 313 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 22, + "line": 23, "character": 35 } ] }, { - "id": 342, + "id": 355, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1330,7 +1355,7 @@ }, "children": [ { - "id": 344, + "id": 357, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1338,7 +1363,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 11, + "line": 12, "character": 18 } ], @@ -1349,7 +1374,7 @@ "defaultValue": "true" }, { - "id": 346, + "id": 359, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1357,7 +1382,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 13, + "line": 14, "character": 20 } ], @@ -1368,7 +1393,7 @@ "defaultValue": "true" }, { - "id": 347, + "id": 360, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1376,21 +1401,21 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 14, + "line": 15, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 348, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 349, + "id": 362, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -1414,7 +1439,7 @@ "title": "Variables", "kind": 32, "children": [ - 349 + 362 ] } ] @@ -1423,7 +1448,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 345, + "id": 358, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1431,7 +1456,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 12, + "line": 13, "character": 16 } ], @@ -1442,7 +1467,7 @@ "defaultValue": "true" }, { - "id": 343, + "id": 356, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1450,7 +1475,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 10, + "line": 11, "character": 8 } ], @@ -1466,18 +1491,18 @@ "title": "Variables", "kind": 32, "children": [ - 344, - 346, - 347, - 345, - 343 + 357, + 359, + 360, + 358, + 356 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 9, + "line": 10, "character": 21 } ], @@ -1492,14 +1517,14 @@ "title": "Classes", "kind": 128, "children": [ - 280 + 292 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 342 + 355 ] } ], @@ -1512,7 +1537,7 @@ ] }, { - "id": 350, + "id": 363, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1522,7 +1547,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 351, + "id": 364, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1535,7 +1560,7 @@ }, "signatures": [ { - "id": 352, + "id": 365, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1547,7 +1572,7 @@ }, "parameters": [ { - "id": 353, + "id": 366, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1560,7 +1585,7 @@ } }, { - "id": 354, + "id": 367, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1573,7 +1598,7 @@ } }, { - "id": 355, + "id": 368, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1583,14 +1608,14 @@ }, "type": { "type": "reference", - "id": 30, + "id": 36, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 280, + "id": 292, "name": "SupabaseClient" } } @@ -1609,7 +1634,7 @@ "title": "Functions", "kind": 64, "children": [ - 351 + 364 ] } ], @@ -1622,7 +1647,7 @@ ] }, { - "id": 52, + "id": 58, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", @@ -1632,7 +1657,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { - "id": 53, + "id": 59, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", @@ -1641,7 +1666,7 @@ }, "children": [ { - "id": 54, + "id": 60, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1650,7 +1675,7 @@ }, "signatures": [ { - "id": 55, + "id": 61, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", @@ -1659,7 +1684,7 @@ }, "parameters": [ { - "id": 56, + "id": 62, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1668,14 +1693,14 @@ }, "type": { "type": "reference", - "id": 7, + "id": 13, "name": "SupabaseAuthClientOptions" } } ], "type": { "type": "reference", - "id": 53, + "id": 59, "name": "SupabaseAuthClient" }, "overwrites": { @@ -1697,7 +1722,7 @@ } }, { - "id": 57, + "id": 63, "name": "api", "kind": 1024, "kindString": "Property", @@ -1720,12 +1745,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 57, + "id": 63, "name": "GoTrueClient.api" } }, { - "id": 60, + "id": 66, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -1746,12 +1771,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 60, + "id": 66, "name": "GoTrueClient.autoRefreshToken" } }, { - "id": 59, + "id": 65, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -1784,12 +1809,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 59, + "id": 65, "name": "GoTrueClient.currentSession" } }, { - "id": 58, + "id": 64, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -1822,12 +1847,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 58, + "id": 64, "name": "GoTrueClient.currentUser" } }, { - "id": 62, + "id": 68, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -1848,12 +1873,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 62, + "id": 68, "name": "GoTrueClient.localStorage" } }, { - "id": 61, + "id": 67, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -1874,12 +1899,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 61, + "id": 67, "name": "GoTrueClient.persistSession" } }, { - "id": 64, + "id": 70, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -1910,12 +1935,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 64, + "id": 70, "name": "GoTrueClient.refreshTokenTimer" } }, { - "id": 63, + "id": 69, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -1946,12 +1971,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 63, + "id": 69, "name": "GoTrueClient.stateChangeEmitters" } }, { - "id": 140, + "id": 147, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -1960,7 +1985,7 @@ }, "signatures": [ { - "id": 141, + "id": 148, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -1972,7 +1997,7 @@ }, "parameters": [ { - "id": 142, + "id": 149, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1990,7 +2015,7 @@ { "type": "reflection", "declaration": { - "id": 143, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1999,7 +2024,7 @@ }, "children": [ { - "id": 144, + "id": 151, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2013,7 +2038,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 143, + "line": 146, "character": 20 } ], @@ -2041,7 +2066,7 @@ "title": "Variables", "kind": 32, "children": [ - 144 + 151 ] } ] @@ -2057,7 +2082,7 @@ { "type": "reflection", "declaration": { - "id": 145, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2066,7 +2091,7 @@ }, "children": [ { - "id": 146, + "id": 153, "name": "data", "kind": 32, "kindString": "Variable", @@ -2076,7 +2101,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 145, + "line": 148, "character": 12 } ], @@ -2095,7 +2120,7 @@ } }, { - "id": 147, + "id": 154, "name": "error", "kind": 32, "kindString": "Variable", @@ -2105,7 +2130,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 146, + "line": 149, "character": 13 } ], @@ -2129,15 +2154,15 @@ "title": "Variables", "kind": 32, "children": [ - 146, - 147 + 153, + 154 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 144, + "line": 147, "character": 16 } ] @@ -2148,7 +2173,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 140, + "id": 147, "name": "GoTrueClient.getSessionFromUrl" } } @@ -2156,18 +2181,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 142, + "line": 145, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 140, + "id": 147, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 152, + "id": 159, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -2176,7 +2201,7 @@ }, "signatures": [ { - "id": 153, + "id": 160, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -2189,7 +2214,7 @@ }, "parameters": [ { - "id": 154, + "id": 161, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -2199,7 +2224,7 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2208,7 +2233,7 @@ }, "signatures": [ { - "id": 156, + "id": 163, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2217,7 +2242,7 @@ }, "parameters": [ { - "id": 157, + "id": 164, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -2230,7 +2255,7 @@ } }, { - "id": 158, + "id": 165, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -2261,7 +2286,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 161, + "line": 164, "character": 31 } ] @@ -2272,7 +2297,7 @@ "type": { "type": "reflection", "declaration": { - "id": 159, + "id": 166, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2281,7 +2306,7 @@ }, "children": [ { - "id": 160, + "id": 167, "name": "data", "kind": 32, "kindString": "Variable", @@ -2291,7 +2316,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 162, + "line": 165, "character": 12 } ], @@ -2310,7 +2335,7 @@ } }, { - "id": 161, + "id": 168, "name": "error", "kind": 32, "kindString": "Variable", @@ -2320,7 +2345,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 163, + "line": 166, "character": 13 } ], @@ -2344,15 +2369,15 @@ "title": "Variables", "kind": 32, "children": [ - 160, - 161 + 167, + 168 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 161, + "line": 164, "character": 91 } ] @@ -2360,7 +2385,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 152, + "id": 159, "name": "GoTrueClient.onAuthStateChange" } } @@ -2368,18 +2393,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 161, + "line": 164, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 152, + "id": 159, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 118, + "id": 125, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -2388,7 +2413,7 @@ }, "signatures": [ { - "id": 119, + "id": 126, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -2404,7 +2429,7 @@ { "type": "reflection", "declaration": { - "id": 120, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2413,7 +2438,7 @@ }, "children": [ { - "id": 121, + "id": 128, "name": "data", "kind": 32, "kindString": "Variable", @@ -2423,7 +2448,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 113, + "line": 116, "character": 12 } ], @@ -2442,7 +2467,7 @@ } }, { - "id": 123, + "id": 130, "name": "error", "kind": 32, "kindString": "Variable", @@ -2452,7 +2477,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 115, + "line": 118, "character": 13 } ], @@ -2471,7 +2496,7 @@ } }, { - "id": 122, + "id": 129, "name": "user", "kind": 32, "kindString": "Variable", @@ -2481,7 +2506,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 117, "character": 12 } ], @@ -2505,16 +2530,16 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 123, - 122 + 128, + 130, + 129 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 112, + "line": 115, "character": 30 } ] @@ -2525,7 +2550,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 118, + "id": 125, "name": "GoTrueClient.refreshSession" } } @@ -2533,18 +2558,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 112, + "line": 115, "character": 18 } ], "inheritedFrom": { "type": "reference", - "id": 118, + "id": 125, "name": "GoTrueClient.refreshSession" } }, { - "id": 116, + "id": 123, "name": "session", "kind": 2048, "kindString": "Method", @@ -2553,7 +2578,7 @@ }, "signatures": [ { - "id": 117, + "id": 124, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -2578,7 +2603,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 116, + "id": 123, "name": "GoTrueClient.session" } } @@ -2586,18 +2611,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 108, + "line": 111, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 116, + "id": 123, "name": "GoTrueClient.session" } }, { - "id": 137, + "id": 144, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -2606,7 +2631,7 @@ }, "signatures": [ { - "id": 138, + "id": 145, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -2618,7 +2643,7 @@ }, "parameters": [ { - "id": 139, + "id": 146, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -2640,7 +2665,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 137, + "id": 144, "name": "GoTrueClient.setAuth" } } @@ -2648,18 +2673,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 137, + "line": 140, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 137, + "id": 144, "name": "GoTrueClient.setAuth" } }, { - "id": 131, + "id": 138, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -2668,7 +2693,7 @@ }, "signatures": [ { - "id": 132, + "id": 139, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -2680,7 +2705,7 @@ }, "parameters": [ { - "id": 133, + "id": 140, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -2702,7 +2727,7 @@ { "type": "reflection", "declaration": { - "id": 134, + "id": 141, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2711,7 +2736,7 @@ }, "children": [ { - "id": 136, + "id": 143, "name": "error", "kind": 32, "kindString": "Variable", @@ -2721,7 +2746,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 131, + "line": 134, "character": 13 } ], @@ -2740,7 +2765,7 @@ } }, { - "id": 135, + "id": 142, "name": "session", "kind": 32, "kindString": "Variable", @@ -2750,7 +2775,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 130, + "line": 133, "character": 15 } ], @@ -2774,15 +2799,15 @@ "title": "Variables", "kind": 32, "children": [ - 136, - 135 + 143, + 142 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 129, + "line": 132, "character": 47 } ] @@ -2793,7 +2818,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 131, + "id": 138, "name": "GoTrueClient.setSession" } } @@ -2801,18 +2826,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 129, + "line": 132, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 131, + "id": 138, "name": "GoTrueClient.setSession" } }, { - "id": 80, + "id": 87, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -2821,7 +2846,7 @@ }, "signatures": [ { - "id": 81, + "id": 88, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -2833,7 +2858,7 @@ }, "parameters": [ { - "id": 82, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -2844,7 +2869,7 @@ "type": { "type": "reflection", "declaration": { - "id": 83, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2853,7 +2878,7 @@ }, "children": [ { - "id": 84, + "id": 91, "name": "email", "kind": 32, "kindString": "Variable", @@ -2866,7 +2891,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 18 } ], @@ -2885,7 +2910,7 @@ } }, { - "id": 86, + "id": 93, "name": "password", "kind": 32, "kindString": "Variable", @@ -2898,7 +2923,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 35 } ], @@ -2917,7 +2942,7 @@ } }, { - "id": 85, + "id": 92, "name": "phone", "kind": 32, "kindString": "Variable", @@ -2927,7 +2952,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 25 } ], @@ -2946,7 +2971,7 @@ } }, { - "id": 88, + "id": 95, "name": "provider", "kind": 32, "kindString": "Variable", @@ -2959,7 +2984,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 59 } ], @@ -3014,7 +3039,7 @@ } }, { - "id": 87, + "id": 94, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -3027,7 +3052,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 49 } ], @@ -3051,18 +3076,18 @@ "title": "Variables", "kind": 32, "children": [ - 84, - 86, - 85, - 88, - 87 + 91, + 93, + 92, + 95, + 94 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 11 } ] @@ -3070,7 +3095,7 @@ } }, { - "id": 89, + "id": 96, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3088,7 +3113,7 @@ { "type": "reflection", "declaration": { - "id": 90, + "id": 97, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3097,7 +3122,7 @@ }, "children": [ { - "id": 91, + "id": 98, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3108,7 +3133,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 75, + "line": 78, "character": 18 } ], @@ -3127,7 +3152,7 @@ } }, { - "id": 92, + "id": 99, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -3138,7 +3163,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 76, + "line": 79, "character": 14 } ], @@ -3162,8 +3187,8 @@ "title": "Variables", "kind": 32, "children": [ - 91, - 92 + 98, + 99 ] } ] @@ -3179,7 +3204,7 @@ { "type": "reflection", "declaration": { - "id": 93, + "id": 100, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3188,7 +3213,7 @@ }, "children": [ { - "id": 99, + "id": 106, "name": "data", "kind": 32, "kindString": "Variable", @@ -3198,7 +3223,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 83, + "line": 86, "character": 12 } ], @@ -3217,7 +3242,7 @@ } }, { - "id": 98, + "id": 105, "name": "error", "kind": 32, "kindString": "Variable", @@ -3227,7 +3252,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 82, + "line": 85, "character": 13 } ], @@ -3246,7 +3271,7 @@ } }, { - "id": 96, + "id": 103, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3257,7 +3282,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 80, + "line": 83, "character": 16 } ], @@ -3267,7 +3292,7 @@ } }, { - "id": 94, + "id": 101, "name": "session", "kind": 32, "kindString": "Variable", @@ -3277,7 +3302,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 78, + "line": 81, "character": 15 } ], @@ -3296,7 +3321,7 @@ } }, { - "id": 97, + "id": 104, "name": "url", "kind": 32, "kindString": "Variable", @@ -3307,7 +3332,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 81, + "line": 84, "character": 11 } ], @@ -3326,7 +3351,7 @@ } }, { - "id": 95, + "id": 102, "name": "user", "kind": 32, "kindString": "Variable", @@ -3336,7 +3361,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 79, + "line": 82, "character": 12 } ], @@ -3360,19 +3385,19 @@ "title": "Variables", "kind": 32, "children": [ - 99, - 98, - 96, - 94, - 97, - 95 + 106, + 105, + 103, + 101, + 104, + 102 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 77, + "line": 80, "character": 16 } ] @@ -3383,7 +3408,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 80, + "id": 87, "name": "GoTrueClient.signIn" } } @@ -3391,18 +3416,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 77, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 80, + "id": 87, "name": "GoTrueClient.signIn" } }, { - "id": 148, + "id": 155, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -3411,7 +3436,7 @@ }, "signatures": [ { - "id": 149, + "id": 156, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3428,7 +3453,7 @@ { "type": "reflection", "declaration": { - "id": 150, + "id": 157, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3437,7 +3462,7 @@ }, "children": [ { - "id": 151, + "id": 158, "name": "error", "kind": 32, "kindString": "Variable", @@ -3447,7 +3472,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 158, "character": 13 } ], @@ -3471,14 +3496,14 @@ "title": "Variables", "kind": 32, "children": [ - 151 + 158 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 154, + "line": 157, "character": 23 } ] @@ -3489,7 +3514,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 148, + "id": 155, "name": "GoTrueClient.signOut" } } @@ -3497,18 +3522,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 154, + "line": 157, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 148, + "id": 155, "name": "GoTrueClient.signOut" } }, { - "id": 65, + "id": 71, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -3517,7 +3542,7 @@ }, "signatures": [ { - "id": 66, + "id": 72, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -3529,7 +3554,7 @@ }, "parameters": [ { - "id": 67, + "id": 73, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3540,7 +3565,7 @@ "type": { "type": "reflection", "declaration": { - "id": 68, + "id": 74, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3549,7 +3574,7 @@ }, "children": [ { - "id": 69, + "id": 75, "name": "email", "kind": 32, "kindString": "Variable", @@ -3562,7 +3587,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 18 } ], @@ -3581,7 +3606,7 @@ } }, { - "id": 70, + "id": 76, "name": "password", "kind": 32, "kindString": "Variable", @@ -3594,7 +3619,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 28 } ], @@ -3613,7 +3638,7 @@ } }, { - "id": 71, + "id": 77, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3626,7 +3651,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 35 } ], @@ -3650,16 +3675,16 @@ "title": "Variables", "kind": 32, "children": [ - 69, - 70, - 71 + 75, + 76, + 77 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 11 } ] @@ -3667,7 +3692,7 @@ } }, { - "id": 72, + "id": 78, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3685,7 +3710,7 @@ { "type": "reflection", "declaration": { - "id": 73, + "id": 79, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3694,7 +3719,37 @@ }, "children": [ { - "id": 74, + "id": 81, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 60, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "object" + } + ] + } + }, + { + "id": 80, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3705,7 +3760,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 57, + "line": 59, "character": 18 } ], @@ -3729,7 +3784,8 @@ "title": "Variables", "kind": 32, "children": [ - 74 + 81, + 80 ] } ] @@ -3745,7 +3801,7 @@ { "type": "reflection", "declaration": { - "id": 75, + "id": 82, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3754,17 +3810,20 @@ }, "children": [ { - "id": 79, + "id": 86, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, + "comment": { + "text": "Optional user metadata.\n" + }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 62, + "line": 65, "character": 12 } ], @@ -3787,7 +3846,7 @@ } }, { - "id": 78, + "id": 85, "name": "error", "kind": 32, "kindString": "Variable", @@ -3797,7 +3856,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 61, + "line": 64, "character": 13 } ], @@ -3816,7 +3875,7 @@ } }, { - "id": 77, + "id": 84, "name": "session", "kind": 32, "kindString": "Variable", @@ -3826,7 +3885,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 60, + "line": 63, "character": 15 } ], @@ -3845,7 +3904,7 @@ } }, { - "id": 76, + "id": 83, "name": "user", "kind": 32, "kindString": "Variable", @@ -3855,7 +3914,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 59, + "line": 62, "character": 12 } ], @@ -3879,17 +3938,17 @@ "title": "Variables", "kind": 32, "children": [ - 79, - 78, - 77, - 76 + 86, + 85, + 84, + 83 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 58, + "line": 61, "character": 16 } ] @@ -3900,7 +3959,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 65, + "id": 71, "name": "GoTrueClient.signUp" } } @@ -3908,18 +3967,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 58, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 65, + "id": 71, "name": "GoTrueClient.signUp" } }, { - "id": 124, + "id": 131, "name": "update", "kind": 2048, "kindString": "Method", @@ -3928,7 +3987,7 @@ }, "signatures": [ { - "id": 125, + "id": 132, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -3940,7 +3999,7 @@ }, "parameters": [ { - "id": 126, + "id": 133, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -3959,7 +4018,7 @@ { "type": "reflection", "declaration": { - "id": 127, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3968,7 +4027,7 @@ }, "children": [ { - "id": 128, + "id": 135, "name": "data", "kind": 32, "kindString": "Variable", @@ -3978,7 +4037,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 121, + "line": 124, "character": 12 } ], @@ -3997,7 +4056,7 @@ } }, { - "id": 130, + "id": 137, "name": "error", "kind": 32, "kindString": "Variable", @@ -4007,7 +4066,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 126, "character": 13 } ], @@ -4026,7 +4085,7 @@ } }, { - "id": 129, + "id": 136, "name": "user", "kind": 32, "kindString": "Variable", @@ -4036,7 +4095,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 122, + "line": 125, "character": 12 } ], @@ -4060,16 +4119,16 @@ "title": "Variables", "kind": 32, "children": [ - 128, - 130, - 129 + 135, + 137, + 136 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 120, + "line": 123, "character": 48 } ] @@ -4080,7 +4139,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 124, + "id": 131, "name": "GoTrueClient.update" } } @@ -4088,18 +4147,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 120, + "line": 123, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 124, + "id": 131, "name": "GoTrueClient.update" } }, { - "id": 114, + "id": 121, "name": "user", "kind": 2048, "kindString": "Method", @@ -4108,7 +4167,7 @@ }, "signatures": [ { - "id": 115, + "id": 122, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -4134,7 +4193,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 114, + "id": 121, "name": "GoTrueClient.user" } } @@ -4142,18 +4201,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 104, + "line": 107, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 114, + "id": 121, "name": "GoTrueClient.user" } }, { - "id": 100, + "id": 107, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -4162,7 +4221,7 @@ }, "signatures": [ { - "id": 101, + "id": 108, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -4174,7 +4233,7 @@ }, "parameters": [ { - "id": 102, + "id": 109, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4185,7 +4244,7 @@ "type": { "type": "reflection", "declaration": { - "id": 103, + "id": 110, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4194,7 +4253,7 @@ }, "children": [ { - "id": 104, + "id": 111, "name": "phone", "kind": 32, "kindString": "Variable", @@ -4207,7 +4266,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 94, "character": 21 } ], @@ -4217,7 +4276,7 @@ } }, { - "id": 105, + "id": 112, "name": "token", "kind": 32, "kindString": "Variable", @@ -4230,7 +4289,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 94, "character": 28 } ], @@ -4245,15 +4304,15 @@ "title": "Variables", "kind": 32, "children": [ - 104, - 105 + 111, + 112 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 94, "character": 14 } ] @@ -4261,7 +4320,7 @@ } }, { - "id": 106, + "id": 113, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4279,7 +4338,7 @@ { "type": "reflection", "declaration": { - "id": 107, + "id": 114, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4288,7 +4347,7 @@ }, "children": [ { - "id": 108, + "id": 115, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4299,7 +4358,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 92, + "line": 95, "character": 18 } ], @@ -4323,7 +4382,7 @@ "title": "Variables", "kind": 32, "children": [ - 108 + 115 ] } ] @@ -4339,7 +4398,7 @@ { "type": "reflection", "declaration": { - "id": 109, + "id": 116, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4348,7 +4407,7 @@ }, "children": [ { - "id": 113, + "id": 120, "name": "data", "kind": 32, "kindString": "Variable", @@ -4358,7 +4417,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 97, + "line": 100, "character": 12 } ], @@ -4381,7 +4440,7 @@ } }, { - "id": 112, + "id": 119, "name": "error", "kind": 32, "kindString": "Variable", @@ -4391,7 +4450,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 96, + "line": 99, "character": 13 } ], @@ -4410,7 +4469,7 @@ } }, { - "id": 111, + "id": 118, "name": "session", "kind": 32, "kindString": "Variable", @@ -4420,7 +4479,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 95, + "line": 98, "character": 15 } ], @@ -4439,7 +4498,7 @@ } }, { - "id": 110, + "id": 117, "name": "user", "kind": 32, "kindString": "Variable", @@ -4449,7 +4508,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 94, + "line": 97, "character": 12 } ], @@ -4473,17 +4532,17 @@ "title": "Variables", "kind": 32, "children": [ - 113, - 112, - 111, - 110 + 120, + 119, + 118, + 117 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 93, + "line": 96, "character": 16 } ] @@ -4494,7 +4553,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 100, + "id": 107, "name": "GoTrueClient.verifyOTP" } } @@ -4502,13 +4561,13 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 94, "character": 13 } ], "inheritedFrom": { "type": "reference", - "id": 100, + "id": 107, "name": "GoTrueClient.verifyOTP" } } @@ -4518,39 +4577,39 @@ "title": "Constructors", "kind": 512, "children": [ - 54 + 60 ] }, { "title": "Properties", "kind": 1024, "children": [ - 57, - 60, - 59, - 58, - 62, - 61, + 63, + 66, + 65, 64, - 63 + 68, + 67, + 70, + 69 ] }, { "title": "Methods", "kind": 2048, "children": [ - 140, - 152, - 118, - 116, - 137, + 147, + 159, + 125, + 123, + 144, + 138, + 87, + 155, + 71, 131, - 80, - 148, - 65, - 124, - 114, - 100 + 121, + 107 ] } ], @@ -4574,7 +4633,7 @@ "title": "Classes", "kind": 128, "children": [ - 53 + 59 ] } ], @@ -4587,7 +4646,7 @@ ] }, { - "id": 188, + "id": 199, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -4597,7 +4656,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 189, + "id": 200, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -4606,7 +4665,7 @@ }, "typeParameter": [ { - "id": 190, + "id": 201, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4617,7 +4676,7 @@ ], "children": [ { - "id": 193, + "id": 204, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4626,7 +4685,7 @@ }, "signatures": [ { - "id": 194, + "id": 205, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -4635,7 +4694,7 @@ }, "parameters": [ { - "id": 195, + "id": 206, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -4648,7 +4707,7 @@ } }, { - "id": 196, + "id": 207, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4659,7 +4718,7 @@ "type": { "type": "reflection", "declaration": { - "id": 197, + "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4668,7 +4727,7 @@ }, "children": [ { - "id": 198, + "id": 209, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4685,7 +4744,7 @@ "type": { "type": "reflection", "declaration": { - "id": 199, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4694,7 +4753,7 @@ }, "indexSignature": [ { - "id": 200, + "id": 211, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4703,7 +4762,7 @@ }, "parameters": [ { - "id": 201, + "id": 212, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4726,7 +4785,7 @@ } }, { - "id": 203, + "id": 214, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -4746,7 +4805,7 @@ } }, { - "id": 202, + "id": 213, "name": "schema", "kind": 32, "kindString": "Variable", @@ -4766,7 +4825,7 @@ } }, { - "id": 204, + "id": 215, "name": "table", "kind": 32, "kindString": "Variable", @@ -4791,10 +4850,10 @@ "title": "Variables", "kind": 32, "children": [ - 198, - 203, - 202, - 204 + 209, + 214, + 213, + 215 ] } ], @@ -4811,7 +4870,7 @@ ], "type": { "type": "reference", - "id": 189, + "id": 200, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -4833,7 +4892,7 @@ } }, { - "id": 192, + "id": 203, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -4854,7 +4913,7 @@ } }, { - "id": 191, + "id": 202, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -4871,12 +4930,12 @@ ], "type": { "type": "reference", - "id": 163, + "id": 170, "name": "SupabaseRealtimeClient" } }, { - "id": 263, + "id": 274, "name": "body", "kind": 1024, "kindString": "Property", @@ -4922,12 +4981,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 263, + "id": 274, "name": "PostgrestBuilder.body" } }, { - "id": 258, + "id": 269, "name": "headers", "kind": 1024, "kindString": "Property", @@ -4945,7 +5004,7 @@ "type": { "type": "reflection", "declaration": { - "id": 259, + "id": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4954,7 +5013,7 @@ }, "indexSignature": [ { - "id": 260, + "id": 271, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4963,7 +5022,7 @@ }, "parameters": [ { - "id": 261, + "id": 272, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4993,12 +5052,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 258, + "id": 269, "name": "PostgrestBuilder.headers" } }, { - "id": 256, + "id": 267, "name": "method", "kind": 1024, "kindString": "Property", @@ -5040,12 +5099,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 256, + "id": 267, "name": "PostgrestBuilder.method" } }, { - "id": 262, + "id": 273, "name": "schema", "kind": 1024, "kindString": "Property", @@ -5076,15 +5135,41 @@ }, "inheritedFrom": { "type": "reference", - "id": 262, + "id": 273, "name": "PostgrestBuilder.schema" } }, { - "id": 264, + "id": 275, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", + "flags": { + "isProtected": true, + "isExported": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", + "line": 49, + "character": 32 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 275, + "name": "PostgrestBuilder.shouldThrowOnError" + } + }, + { + "id": 276, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { "isProtected": true, "isExported": true, @@ -5093,35 +5178,22 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 49, - "character": 32 + "line": 50, + "character": 20 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] + "type": "reference", + "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", - "id": 264, - "name": "PostgrestBuilder.shouldThrowOnError" + "id": 276, + "name": "PostgrestBuilder.signal" } }, { - "id": 257, + "id": 268, "name": "url", "kind": 1024, "kindString": "Property", @@ -5142,12 +5214,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 257, + "id": 268, "name": "PostgrestBuilder.url" } }, { - "id": 250, + "id": 261, "name": "delete", "kind": 2048, "kindString": "Method", @@ -5156,7 +5228,7 @@ }, "signatures": [ { - "id": 251, + "id": 262, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -5168,7 +5240,7 @@ }, "parameters": [ { - "id": 252, + "id": 263, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5180,7 +5252,7 @@ "type": { "type": "reflection", "declaration": { - "id": 253, + "id": 264, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5189,7 +5261,7 @@ }, "children": [ { - "id": 255, + "id": 266, "name": "count", "kind": 32, "kindString": "Variable", @@ -5233,7 +5305,7 @@ } }, { - "id": 254, + "id": 265, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5274,8 +5346,8 @@ "title": "Variables", "kind": 32, "children": [ - 255, - 254 + 266, + 265 ] } ], @@ -5302,7 +5374,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 250, + "id": 261, "name": "PostgrestQueryBuilder.delete" } } @@ -5316,12 +5388,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 250, + "id": 261, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 219, + "id": 230, "name": "insert", "kind": 2048, "kindString": "Method", @@ -5330,7 +5402,7 @@ }, "signatures": [ { - "id": 220, + "id": 231, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5342,7 +5414,7 @@ }, "parameters": [ { - "id": 221, + "id": 232, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5382,7 +5454,7 @@ } }, { - "id": 222, + "id": 233, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5400,7 +5472,7 @@ { "type": "reflection", "declaration": { - "id": 223, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5409,7 +5481,7 @@ }, "children": [ { - "id": 225, + "id": 236, "name": "count", "kind": 32, "kindString": "Variable", @@ -5447,7 +5519,7 @@ } }, { - "id": 224, + "id": 235, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5482,8 +5554,8 @@ "title": "Variables", "kind": 32, "children": [ - 225, - 224 + 236, + 235 ] } ] @@ -5505,12 +5577,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 230, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 226, + "id": 237, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5527,7 +5599,7 @@ }, "parameters": [ { - "id": 227, + "id": 238, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5564,7 +5636,7 @@ } }, { - "id": 228, + "id": 239, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5582,7 +5654,7 @@ { "type": "reflection", "declaration": { - "id": 229, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5591,7 +5663,7 @@ }, "children": [ { - "id": 233, + "id": 244, "name": "count", "kind": 32, "kindString": "Variable", @@ -5629,7 +5701,7 @@ } }, { - "id": 231, + "id": 242, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -5659,7 +5731,7 @@ } }, { - "id": 232, + "id": 243, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5689,7 +5761,7 @@ } }, { - "id": 230, + "id": 241, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5728,10 +5800,10 @@ "title": "Variables", "kind": 32, "children": [ - 233, - 231, - 232, - 230 + 244, + 242, + 243, + 241 ] } ] @@ -5753,7 +5825,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 230, "name": "PostgrestQueryBuilder.insert" } } @@ -5772,12 +5844,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 219, + "id": 230, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 205, + "id": 216, "name": "on", "kind": 2048, "kindString": "Method", @@ -5786,7 +5858,7 @@ }, "signatures": [ { - "id": 206, + "id": 217, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -5798,7 +5870,7 @@ }, "parameters": [ { - "id": 207, + "id": 218, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5810,12 +5882,12 @@ }, "type": { "type": "reference", - "id": 51, + "id": 57, "name": "SupabaseEventTypes" } }, { - "id": 208, + "id": 219, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5828,7 +5900,7 @@ "type": { "type": "reflection", "declaration": { - "id": 209, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5837,7 +5909,7 @@ }, "signatures": [ { - "id": 210, + "id": 221, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5846,7 +5918,7 @@ }, "parameters": [ { - "id": 211, + "id": 222, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -5855,7 +5927,7 @@ }, "type": { "type": "reference", - "id": 42, + "id": 48, "typeArguments": [ { "type": "typeParameter", @@ -5885,7 +5957,7 @@ ], "type": { "type": "reference", - "id": 163, + "id": 170, "name": "SupabaseRealtimeClient" } } @@ -5899,7 +5971,7 @@ ] }, { - "id": 212, + "id": 223, "name": "select", "kind": 2048, "kindString": "Method", @@ -5908,7 +5980,7 @@ }, "signatures": [ { - "id": 213, + "id": 224, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -5920,7 +5992,7 @@ }, "parameters": [ { - "id": 214, + "id": 225, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -5946,7 +6018,7 @@ } }, { - "id": 215, + "id": 226, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5958,7 +6030,7 @@ "type": { "type": "reflection", "declaration": { - "id": 216, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5967,7 +6039,7 @@ }, "children": [ { - "id": 218, + "id": 229, "name": "count", "kind": 32, "kindString": "Variable", @@ -6011,7 +6083,7 @@ } }, { - "id": 217, + "id": 228, "name": "head", "kind": 32, "kindString": "Variable", @@ -6052,8 +6124,8 @@ "title": "Variables", "kind": 32, "children": [ - 218, - 217 + 229, + 228 ] } ], @@ -6080,7 +6152,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 212, + "id": 223, "name": "PostgrestQueryBuilder.select" } } @@ -6094,12 +6166,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 212, + "id": 223, "name": "PostgrestQueryBuilder.select" } }, { - "id": 267, + "id": 279, "name": "then", "kind": 2048, "kindString": "Method", @@ -6108,7 +6180,7 @@ }, "signatures": [ { - "id": 268, + "id": 280, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -6117,7 +6189,7 @@ }, "typeParameter": [ { - "id": 269, + "id": 281, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -6126,7 +6198,7 @@ } }, { - "id": 270, + "id": 282, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -6137,7 +6209,7 @@ ], "parameters": [ { - "id": 271, + "id": 283, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -6151,7 +6223,7 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 284, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6160,7 +6232,7 @@ }, "signatures": [ { - "id": 273, + "id": 285, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6169,7 +6241,7 @@ }, "parameters": [ { - "id": 274, + "id": 286, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6232,7 +6304,7 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 58, + "line": 59, "character": 75 } ] @@ -6250,7 +6322,7 @@ } }, { - "id": 275, + "id": 287, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -6264,7 +6336,7 @@ { "type": "reflection", "declaration": { - "id": 276, + "id": 288, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6273,7 +6345,7 @@ }, "signatures": [ { - "id": 277, + "id": 289, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6282,7 +6354,7 @@ }, "parameters": [ { - "id": 278, + "id": 290, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -6327,7 +6399,7 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 58, + "line": 59, "character": 176 } ] @@ -6380,7 +6452,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 267, + "id": 279, "name": "PostgrestBuilder.then" } } @@ -6388,18 +6460,18 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 58, + "line": 59, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 267, + "id": 279, "name": "PostgrestBuilder.then" } }, { - "id": 265, + "id": 277, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -6408,7 +6480,7 @@ }, "signatures": [ { - "id": 266, + "id": 278, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -6431,7 +6503,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 265, + "id": 277, "name": "PostgrestBuilder.throwOnError" } } @@ -6439,18 +6511,18 @@ "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", - "line": 57, + "line": 58, "character": 16 } ], "inheritedFrom": { "type": "reference", - "id": 265, + "id": 277, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 243, + "id": 254, "name": "update", "kind": 2048, "kindString": "Method", @@ -6459,7 +6531,7 @@ }, "signatures": [ { - "id": 244, + "id": 255, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6471,7 +6543,7 @@ }, "parameters": [ { - "id": 245, + "id": 256, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6493,7 +6565,7 @@ } }, { - "id": 246, + "id": 257, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6505,7 +6577,7 @@ "type": { "type": "reflection", "declaration": { - "id": 247, + "id": 258, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6514,7 +6586,7 @@ }, "children": [ { - "id": 249, + "id": 260, "name": "count", "kind": 32, "kindString": "Variable", @@ -6558,7 +6630,7 @@ } }, { - "id": 248, + "id": 259, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6599,8 +6671,8 @@ "title": "Variables", "kind": 32, "children": [ - 249, - 248 + 260, + 259 ] } ], @@ -6627,7 +6699,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 243, + "id": 254, "name": "PostgrestQueryBuilder.update" } } @@ -6641,12 +6713,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 243, + "id": 254, "name": "PostgrestQueryBuilder.update" } }, { - "id": 234, + "id": 245, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -6655,7 +6727,7 @@ }, "signatures": [ { - "id": 235, + "id": 246, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -6667,7 +6739,7 @@ }, "parameters": [ { - "id": 236, + "id": 247, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6707,7 +6779,7 @@ } }, { - "id": 237, + "id": 248, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6719,7 +6791,7 @@ "type": { "type": "reflection", "declaration": { - "id": 238, + "id": 249, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6728,7 +6800,7 @@ }, "children": [ { - "id": 241, + "id": 252, "name": "count", "kind": 32, "kindString": "Variable", @@ -6772,7 +6844,7 @@ } }, { - "id": 242, + "id": 253, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -6808,7 +6880,7 @@ } }, { - "id": 239, + "id": 250, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -6840,7 +6912,7 @@ } }, { - "id": 240, + "id": 251, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6881,10 +6953,10 @@ "title": "Variables", "kind": 32, "children": [ - 241, - 242, - 239, - 240 + 252, + 253, + 250, + 251 ] } ], @@ -6911,7 +6983,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 234, + "id": 245, "name": "PostgrestQueryBuilder.upsert" } } @@ -6925,7 +6997,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 234, + "id": 245, "name": "PostgrestQueryBuilder.upsert" } } @@ -6935,35 +7007,36 @@ "title": "Constructors", "kind": 512, "children": [ - 193 + 204 ] }, { "title": "Properties", "kind": 1024, "children": [ - 192, - 191, - 263, - 258, - 256, - 262, - 264, - 257 + 203, + 202, + 274, + 269, + 267, + 273, + 275, + 276, + 268 ] }, { "title": "Methods", "kind": 2048, "children": [ - 250, - 219, - 205, - 212, - 267, - 265, - 243, - 234 + 261, + 230, + 216, + 223, + 279, + 277, + 254, + 245 ] } ], @@ -7011,7 +7084,7 @@ "title": "Classes", "kind": 128, "children": [ - 189 + 200 ] } ], @@ -7024,7 +7097,7 @@ ] }, { - "id": 162, + "id": 169, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -7034,7 +7107,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 163, + "id": 170, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -7043,7 +7116,7 @@ }, "children": [ { - "id": 165, + "id": 172, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7052,7 +7125,7 @@ }, "signatures": [ { - "id": 166, + "id": 173, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -7061,7 +7134,7 @@ }, "parameters": [ { - "id": 167, + "id": 174, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -7074,7 +7147,65 @@ } }, { - "id": 168, + "id": 175, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 176, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 177, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 178, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeClient.ts", + "line": 9, + "character": 12 + } + ] + } + } + }, + { + "id": 179, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -7087,7 +7218,7 @@ } }, { - "id": 169, + "id": 180, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -7102,7 +7233,7 @@ ], "type": { "type": "reference", - "id": 163, + "id": 170, "name": "SupabaseRealtimeClient" } } @@ -7116,7 +7247,7 @@ ] }, { - "id": 164, + "id": 171, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -7136,7 +7267,7 @@ } }, { - "id": 170, + "id": 181, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -7146,7 +7277,7 @@ }, "signatures": [ { - "id": 171, + "id": 182, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -7155,7 +7286,7 @@ }, "parameters": [ { - "id": 172, + "id": 183, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7171,7 +7302,7 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 184, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7180,7 +7311,7 @@ }, "children": [ { - "id": 174, + "id": 185, "name": "new", "kind": 32, "kindString": "Variable", @@ -7190,14 +7321,14 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 14, + "line": 26, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 175, + "id": 186, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7208,7 +7339,7 @@ } }, { - "id": 176, + "id": 187, "name": "old", "kind": 32, "kindString": "Variable", @@ -7218,14 +7349,14 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 15, + "line": 27, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7241,8 +7372,8 @@ "title": "Variables", "kind": 32, "children": [ - 174, - 176 + 185, + 187 ] } ] @@ -7253,13 +7384,13 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 12, + "line": 24, "character": 27 } ] }, { - "id": 178, + "id": 189, "name": "on", "kind": 2048, "kindString": "Method", @@ -7268,7 +7399,7 @@ }, "signatures": [ { - "id": 179, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -7280,7 +7411,7 @@ }, "parameters": [ { - "id": 180, + "id": 191, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -7292,12 +7423,12 @@ }, "type": { "type": "reference", - "id": 51, + "id": 57, "name": "SupabaseEventTypes" } }, { - "id": 181, + "id": 192, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7310,7 +7441,7 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 193, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7319,7 +7450,7 @@ }, "signatures": [ { - "id": 183, + "id": 194, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7328,7 +7459,7 @@ }, "parameters": [ { - "id": 184, + "id": 195, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7337,7 +7468,7 @@ }, "type": { "type": "reference", - "id": 42, + "id": 48, "typeArguments": [ { "type": "intrinsic", @@ -7357,7 +7488,7 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 35, + "line": 47, "character": 41 } ] @@ -7374,13 +7505,13 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 35, + "line": 47, "character": 4 } ] }, { - "id": 185, + "id": 196, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -7389,7 +7520,7 @@ }, "signatures": [ { - "id": 186, + "id": 197, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -7401,7 +7532,7 @@ }, "parameters": [ { - "id": 187, + "id": 198, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7424,7 +7555,7 @@ "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", - "line": 56, + "line": 68, "character": 11 } ] @@ -7435,23 +7566,23 @@ "title": "Constructors", "kind": 512, "children": [ - 165 + 172 ] }, { "title": "Properties", "kind": 1024, "children": [ - 164 + 171 ] }, { "title": "Methods", "kind": 2048, "children": [ - 170, - 178, - 185 + 181, + 189, + 196 ] } ], @@ -7469,7 +7600,7 @@ "title": "Classes", "kind": 128, "children": [ - 163 + 170 ] } ], @@ -7563,7 +7694,7 @@ ] }, { - "id": 356, + "id": 6, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7573,7 +7704,53 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 357, + "id": 9, + "name": "stripTrailingSlash", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 10, + "name": "stripTrailingSlash", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 11, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 11, + "character": 34 + } + ] + }, + { + "id": 7, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7582,7 +7759,7 @@ }, "signatures": [ { - "id": 358, + "id": 8, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7609,7 +7786,8 @@ "title": "Functions", "kind": 64, "children": [ - 357 + 9, + 7 ] } ], @@ -7622,7 +7800,7 @@ ] }, { - "id": 6, + "id": 12, "name": "\"lib/types\"", "kind": 1, "kindString": "Module", @@ -7632,7 +7810,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts", "children": [ { - "id": 7, + "id": 13, "name": "SupabaseAuthClientOptions", "kind": 256, "kindString": "Interface", @@ -7641,7 +7819,7 @@ }, "children": [ { - "id": 25, + "id": 31, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -7652,7 +7830,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 43, + "line": 44, "character": 24 } ], @@ -7675,12 +7853,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 15, + "id": 21, "name": "__type.autoRefreshToken" } }, { - "id": 28, + "id": 34, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -7691,7 +7869,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 46, + "line": 47, "character": 21 } ], @@ -7701,12 +7879,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 18, + "id": 24, "name": "__type.cookieOptions" } }, { - "id": 24, + "id": 30, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -7717,7 +7895,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 42, + "line": 43, "character": 26 } ], @@ -7740,12 +7918,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 14, + "id": 20, "name": "__type.detectSessionInUrl" } }, { - "id": 20, + "id": 26, "name": "headers", "kind": 1024, "kindString": "Property", @@ -7756,7 +7934,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 39, + "line": 40, "character": 15 } ], @@ -7770,7 +7948,7 @@ { "type": "reflection", "declaration": { - "id": 21, + "id": 27, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7779,7 +7957,7 @@ }, "indexSignature": [ { - "id": 22, + "id": 28, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7788,7 +7966,7 @@ }, "parameters": [ { - "id": 23, + "id": 29, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7813,12 +7991,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 10, + "id": 16, "name": "__type.headers" } }, { - "id": 27, + "id": 33, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -7829,7 +8007,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 45, + "line": 46, "character": 20 } ], @@ -7839,12 +8017,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 17, + "id": 23, "name": "__type.localStorage" } }, { - "id": 26, + "id": 32, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -7855,7 +8033,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 44, + "line": 45, "character": 22 } ], @@ -7878,12 +8056,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 16, + "id": 22, "name": "__type.persistSession" } }, { - "id": 19, + "id": 25, "name": "url", "kind": 1024, "kindString": "Property", @@ -7894,7 +8072,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 38, + "line": 39, "character": 11 } ], @@ -7913,7 +8091,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 9, + "id": 15, "name": "__type.url" } } @@ -7923,13 +8101,13 @@ "title": "Properties", "kind": 1024, "children": [ - 25, - 28, - 24, - 20, - 27, + 31, + 34, + 30, 26, - 19 + 33, + 32, + 25 ] } ], @@ -7944,7 +8122,7 @@ { "type": "reflection", "declaration": { - "id": 8, + "id": 14, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7953,7 +8131,7 @@ }, "children": [ { - "id": 15, + "id": 21, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -7964,7 +8142,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 43, + "line": 44, "character": 24 } ], @@ -7987,7 +8165,7 @@ } }, { - "id": 18, + "id": 24, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -7998,7 +8176,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 46, + "line": 47, "character": 21 } ], @@ -8008,7 +8186,7 @@ } }, { - "id": 14, + "id": 20, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -8019,7 +8197,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 42, + "line": 43, "character": 26 } ], @@ -8042,7 +8220,7 @@ } }, { - "id": 10, + "id": 16, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8053,7 +8231,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 39, + "line": 40, "character": 15 } ], @@ -8067,7 +8245,7 @@ { "type": "reflection", "declaration": { - "id": 11, + "id": 17, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8076,7 +8254,7 @@ }, "indexSignature": [ { - "id": 12, + "id": 18, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8085,7 +8263,7 @@ }, "parameters": [ { - "id": 13, + "id": 19, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8110,7 +8288,7 @@ } }, { - "id": 17, + "id": 23, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -8121,7 +8299,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 45, + "line": 46, "character": 20 } ], @@ -8131,7 +8309,7 @@ } }, { - "id": 16, + "id": 22, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -8142,7 +8320,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 44, + "line": 45, "character": 22 } ], @@ -8165,7 +8343,7 @@ } }, { - "id": 9, + "id": 15, "name": "url", "kind": 32, "kindString": "Variable", @@ -8176,7 +8354,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 38, + "line": 39, "character": 11 } ], @@ -8200,13 +8378,13 @@ "title": "Variables", "kind": 32, "children": [ - 15, - 18, - 14, - 10, - 17, + 21, + 24, + 20, 16, - 9 + 23, + 22, + 15 ] } ], @@ -8222,7 +8400,7 @@ ] }, { - "id": 29, + "id": 35, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -8256,7 +8434,7 @@ } }, { - "id": 30, + "id": 36, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -8273,7 +8451,7 @@ "type": { "type": "reflection", "declaration": { - "id": 31, + "id": 37, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8282,7 +8460,7 @@ }, "children": [ { - "id": 37, + "id": 43, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -8319,7 +8497,7 @@ } }, { - "id": 39, + "id": 45, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -8356,7 +8534,7 @@ } }, { - "id": 33, + "id": 39, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8384,7 +8562,7 @@ { "type": "reflection", "declaration": { - "id": 34, + "id": 40, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8393,7 +8571,7 @@ }, "indexSignature": [ { - "id": 35, + "id": 41, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8402,7 +8580,7 @@ }, "parameters": [ { - "id": 36, + "id": 42, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8427,7 +8605,7 @@ } }, { - "id": 40, + "id": 46, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -8458,7 +8636,7 @@ } }, { - "id": 38, + "id": 44, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -8495,7 +8673,7 @@ } }, { - "id": 41, + "id": 47, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -8519,7 +8697,7 @@ } }, { - "id": 32, + "id": 38, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8557,13 +8735,13 @@ "title": "Variables", "kind": 32, "children": [ - 37, + 43, + 45, 39, - 33, - 40, - 38, - 41, - 32 + 46, + 44, + 47, + 38 ] } ], @@ -8578,7 +8756,7 @@ } }, { - "id": 51, + "id": 57, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", @@ -8615,7 +8793,7 @@ } }, { - "id": 42, + "id": 48, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", @@ -8624,7 +8802,7 @@ }, "typeParameter": [ { - "id": 43, + "id": 49, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8643,7 +8821,7 @@ "type": { "type": "reflection", "declaration": { - "id": 44, + "id": 50, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8652,7 +8830,7 @@ }, "children": [ { - "id": 45, + "id": 51, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", @@ -8672,7 +8850,7 @@ } }, { - "id": 46, + "id": 52, "name": "eventType", "kind": 32, "kindString": "Variable", @@ -8705,7 +8883,7 @@ } }, { - "id": 49, + "id": 55, "name": "new", "kind": 32, "kindString": "Variable", @@ -8728,7 +8906,7 @@ } }, { - "id": 50, + "id": 56, "name": "old", "kind": 32, "kindString": "Variable", @@ -8751,7 +8929,7 @@ } }, { - "id": 47, + "id": 53, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8771,7 +8949,7 @@ } }, { - "id": 48, + "id": 54, "name": "table", "kind": 32, "kindString": "Variable", @@ -8796,12 +8974,12 @@ "title": "Variables", "kind": 32, "children": [ - 45, - 46, - 49, - 50, - 47, - 48 + 51, + 52, + 55, + 56, + 53, + 54 ] } ], @@ -8821,17 +8999,17 @@ "title": "Interfaces", "kind": 256, "children": [ - 7 + 13 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 29, - 30, - 51, - 42 + 35, + 36, + 57, + 48 ] } ], @@ -8899,14 +9077,14 @@ "title": "Modules", "kind": 1, "children": [ - 279, - 350, - 52, - 188, - 162, + 291, + 363, + 58, + 199, + 169, 3, - 356, 6, + 12, 1 ] } diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml index b14efbfaa2e..649c9de65a5 100644 --- a/web/spec/supabase.yml +++ b/web/spec/supabase.yml @@ -37,6 +37,7 @@ info: - auth.session() - auth.user() - auth.update() + - auth.setAuth() - auth.onAuthStateChange() - Reset Password (Email) - Delete User @@ -450,6 +451,65 @@ pages: }) ``` + auth.setAuth(): + $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.setAuth' + examples: + - name: Basic example. + description: This is most useful on server-side functions where you cannot log the user in, but have access to the user's access token. + isSpotlight: true + js: | + ```js + function apiFunction(req, res) { + // Assuming the access token was sent as a header "X-Supabase-Auth" + const { access_token } = req.get('X-Supabase-Auth') + + // You can now use it within a Supabase Client + const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key") + const { user, error } = supabase.auth.setAuth(access_token) + + // This client will now send requests as this user + const { data } = await supabase.from('your_table').select() + } + ``` + - name: With Express. + description: This is most useful on server-side functions where you cannot log the user in, but have access to the user's access token. + isSpotlight: true + js: | + ```js + + /** + * Make a request from the client to your server function + */ + async function makeApiRequest() { + const token = newClient.session()?.access_token + + await fetch('https://example.com/withAuth', { + method: 'GET', + withCredentials: true, + credentials: 'include', + headers: { + 'Content-Type': 'application/json' + 'Authorization': bearer, // Your own auth + 'X-Supabase-Auth': token, // Set the Supabase user + } + }) + } + + /** + * Use the Auth token in your server-side function. + */ + async function apiFunction(req, res) { + const { access_token } = req.get('X-Supabase-Auth') + + // You can now use it within a Supabase Client + const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key") + const { user, error } = supabase.auth.setAuth(access_token) + + // This client will now send requests as this user + const { data } = await supabase.from('your_table').select() + } + ``` + auth.onAuthStateChange(): $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.onAuthStateChange' examples: